Futures Market Game Development
700 USDProduct Requirement Document (PRD)
Project Overview
This document aims to provide a cryptocurrency-based Futures Trading Game system for the platform. The platform previously included an up/down game mode, but this mode will be discontinued in favor of developing a futures trading game. Players will be able to engage in cryptocurrency futures trading on the platform, using leverage and real-time market data to place bets. The backend management system will allow administrators to set the minimum and maximum bet amounts, as well as the minimum and maximum leverage multipliers, ensuring players trade within the specified ranges. Additionally, the platform will integrate various popular cryptocurrencies for trading.
Functional Requirements
1. Futures Trading Functionality
Requirement Description:
Users can engage in cryptocurrency futures trading on the platform, using market data and leverage to place bets.
Futures trading in the game will be based on real-time market data, and the system will settle based on the leverage chosen by the player.
Functional Requirements:
Support futures trading for various cryptocurrencies, such as BTC, ETH, BNB, XRP, DOG, SOL, etc., and allow administrators to add or remove other cryptocurrencies.
Provide real-time market data, including price fluctuations, 24-hour price changes, etc., as the basis for betting.
Allow players to choose leverage multipliers for trading, with the specific multipliers set by the backend administrator.
Provide Long (buy) and Short (sell) futures contract options, allowing players to trade based on market trends.
Display futures price, price change, leverage multiplier, and the player's profit or loss.
2. Backend Settings
Requirement Description:
Backend administrators can set the minimum and maximum bet amounts, the minimum and maximum leverage multipliers, and adjust the real-time data sources for each cryptocurrency in the dashboard.
Functional Requirements:
The backend can set the betting amount range, ensuring players can only trade within that range.
The backend can set the leverage multiplier range, allowing players to choose only within the specified multiplier range.
The backend should support the selection of real-time market data sources, which will be used for futures trading settlement.
Administrators can view each player's transaction history and profit/loss.
3. Real-Time Market Data
Requirement Description:
Futures trading should be based on real-time market data, and administrators can choose multiple sources for real-time exchange rates and price changes for cryptocurrencies.
Functional Requirements:
The backend should support the integration of real-time data sources for popular cryptocurrencies, such as Binance, CoinGecko, CoinMarketCap, etc., providing up-to-date exchange rates and price fluctuations.
Each transaction in the game should automatically calculate the player’s profit or loss based on real-time market data, with changes instantly reflected in the transaction results.
Players can view real-time market price fluctuations and percentage changes to assist in making trading decisions.
4. Player Trading Functionality
Requirement Description:
Players can engage in futures trading based on market data, selecting appropriate trading amounts and leverage multipliers, and placing bets.
Functional Requirements:
Players can choose their trading amounts within the range set by the backend for the bet amounts.
Players can select the appropriate leverage multiplier and trade Long (buy) or Short (sell) based on market changes.
After selecting the amount and leverage, players can see the expected profit or loss and confirm the trade.
The transaction result will be calculated based on the market price fluctuations and selected leverage multiplier and will update the player's account balance in real-time after the trade is completed.
5. Trading Settlement
Requirement Description:
Futures trading should settle based on market data, with the player's profit or loss related to the selected leverage multiplier and market fluctuations.
Functional Requirements:
At each trade settlement, the system should calculate the player’s profit or loss based on the market price and leverage multiplier.
The profit or loss calculation should immediately reflect in the player’s account balance, allowing real-time tracking of profits and losses.
Support automatic settlement based on the futures contract’s execution, and the user’s account balance should be automatically updated.
System Design
1. Frontend Design
Game Interface:
Display real-time market data, including cryptocurrency prices, price fluctuations, etc.
Players can place bets based on the available trading amounts and leverage multipliers.
Provide clear trading information such as futures price, price change, leverage multiplier, and expected profit/loss to help players make decisions.
Display a clear trading history and profit/loss, updating the player’s balance in real-time.
2. Backend Design
Data Storage:
Store player futures trading records, betting amounts, leverage multipliers, profits, and losses.
Store real-time market data and historical trading data.
API Interfaces:
Provide API interfaces to retrieve real-time market data, such as price and price fluctuations.
Provide API interfaces for futures trading, supporting the player’s betting amount, leverage multiplier settings, and trade settlement.
3. Data Integration
Real-Time Market Data Integration:
Integrate real-time market data sources for popular cryptocurrencies, such as CoinGecko, Binance, etc., to provide up-to-date exchange rates and market data.
Non-Functional Requirements
1. Performance Requirements
The trading process and market data updates should be as real-time as possible, ensuring platform response times are under 1 second.
The system should support high-frequency trading, quickly processing and updating related data when users place multiple trades.
2. Security Requirements
All transactions and data transfers should use HTTPS encryption to ensure the security of player trading data.
Market data interfaces and trading data should be authenticated to prevent malicious attacks or data tampering.
3. Compatibility Requirements
The system should support both PC and mobile users, ensuring a smooth experience for futures trading across different devices.
Flowchart
Players enter the futures trading page and view real-time market data.
Players select the trading amount and leverage multiplier, then confirm the trade.
The backend verifies whether the selected amount is within the set range.
The trade is submitted, and the system calculates the profit or loss based on market data and leverage multiplier, then settles the trade.
The trading result is reflected in the player's account balance in real-time.
Conclusion
The futures trading system will provide platform users with a cryptocurrency futures trading feature, supporting leveraged trading and real-time market data. With clear settings and operational logic, it will enhance the user experience. The backend management interface will allow administrators to easily set betting amounts and leverage multipliers, ensuring fair and flexible trading.
Note: This PRD is for understanding the requirements, and the content is for reference only.
Delivery date 18 days, no more than 25 days
Product Requirement Document (PRD)
Project Overview
This document aims to provide a cryptocurrency-based Futures Trading Game system for the platform. The platform previously included an up/down game mode, but this mode will be discontinued in favor of developing a futures trading game. Players will be able to engage in cryptocurrency futures trading on the platform, using leverage and real-time market data to place bets. The backend management system will allow administrators to set the minimum and maximum bet amounts, as well as the minimum and maximum leverage multipliers, ensuring players trade within the specified ranges. Additionally, the platform will integrate various popular cryptocurrencies for trading.
Functional Requirements
1. Futures Trading Functionality
Requirement Description:
Users can engage in cryptocurrency futures trading on the platform, using market data and leverage to place bets.
Futures trading in the game will be based on real-time market data, and the system will settle based on the leverage chosen by the player.
Functional Requirements:
Support futures trading for various cryptocurrencies, such as BTC, ETH, BNB, XRP, DOG, SOL, etc., and allow administrators to add or remove other cryptocurrencies.
Provide real-time market data, including price fluctuations, 24-hour price changes, etc., as the basis for betting.
Allow players to choose leverage multipliers for trading, with the specific multipliers set by the backend administrator.
Provide Long (buy) and Short (sell) futures contract options, allowing players to trade based on market trends.
Display futures price, price change, leverage multiplier, and the player's profit or loss.
2. Backend Settings
Requirement Description:
Backend administrators can set the minimum and maximum bet amounts, the minimum and maximum leverage multipliers, and adjust the real-time data sources for each cryptocurrency in the dashboard.
Functional Requirements:
The backend can set the betting amount range, ensuring players can only trade within that range.
The backend can set the leverage multiplier range, allowing players to choose only within the specified multiplier range.
The backend should support the selection of real-time market data sources, which will be used for futures trading settlement.
Administrators can view each player's transaction history and profit/loss.
3. Real-Time Market Data
Requirement Description:
Futures trading should be based on real-time market data, and administrators can choose multiple sources for real-time exchange rates and price changes for cryptocurrencies.
Functional Requirements:
The backend should support the integration of real-time data sources for popular cryptocurrencies, such as Binance, CoinGecko, CoinMarketCap, etc., providing up-to-date exchange rates and price fluctuations.
Each transaction in the game should automatically calculate the player’s profit or loss based on real-time market data, with changes instantly reflected in the transaction results.
Players can view real-time market price fluctuations and percentage changes to assist in making trading decisions.
4. Player Trading Functionality
Requirement Description:
Players can engage in futures trading based on market data, selecting appropriate trading amounts and leverage multipliers, and placing bets.
Functional Requirements:
Players can choose their trading amounts within the range set by the backend for the bet amounts.
Players can select the appropriate leverage multiplier and trade Long (buy) or Short (sell) based on market changes.
After selecting the amount and leverage, players can see the expected profit or loss and confirm the trade.
The transaction result will be calculated based on the market price fluctuations and selected leverage multiplier and will update the player's account balance in real-time after the trade is completed.
5. Trading Settlement
Requirement Description:
Futures trading should settle based on market data, with the player's profit or loss related to the selected leverage multiplier and market fluctuations.
Functional Requirements:
At each trade settlement, the system should calculate the player’s profit or loss based on the market price and leverage multiplier.
The profit or loss calculation should immediately reflect in the player’s account balance, allowing real-time tracking of profits and losses.
Support automatic settlement based on the futures contract’s execution, and the user’s account balance should be automatically updated.
System Design
1. Frontend Design
Game Interface:
Display real-time market data, including cryptocurrency prices, price fluctuations, etc.
Players can place bets based on the available trading amounts and leverage multipliers.
Provide clear trading information such as futures price, price change, leverage multiplier, and expected profit/loss to help players make decisions.
Display a clear trading history and profit/loss, updating the player’s balance in real-time.
2. Backend Design
Data Storage:
Store player futures trading records, betting amounts, leverage multipliers, profits, and losses.
Store real-time market data and historical trading data.
API Interfaces:
Provide API interfaces to retrieve real-time market data, such as price and price fluctuations.
Provide API interfaces for futures trading, supporting the player’s betting amount, leverage multiplier settings, and trade settlement.
3. Data Integration
Real-Time Market Data Integration:
Integrate real-time market data sources for popular cryptocurrencies, such as CoinGecko, Binance, etc., to provide up-to-date exchange rates and market data.
Non-Functional Requirements
1. Performance Requirements
The trading process and market data updates should be as real-time as possible, ensuring platform response times are under 1 second.
The system should support high-frequency trading, quickly processing and updating related data when users place multiple trades.
2. Security Requirements
All transactions and data transfers should use HTTPS encryption to ensure the security of player trading data.
Market data interfaces and trading data should be authenticated to prevent malicious attacks or data tampering.
3. Compatibility Requirements
The system should support both PC and mobile users, ensuring a smooth experience for futures trading across different devices.
Flowchart
Players enter the futures trading page and view real-time market data.
Players select the trading amount and leverage multiplier, then confirm the trade.
The backend verifies whether the selected amount is within the set range.
The trade is submitted, and the system calculates the profit or loss based on market data and leverage multiplier, then settles the trade.
The trading result is reflected in the player's account balance in real-time.
Conclusion
The futures trading system will provide platform users with a cryptocurrency futures trading feature, supporting leveraged trading and real-time market data. With clear settings and operational logic, it will enhance the user experience. The backend management interface will allow administrators to easily set betting amounts and leverage multipliers, ensuring fair and flexible trading.
Note: This PRD is for understanding the requirements, and the content is for reference only.
Current freelance projects in the category Cryptocurrency & Blockchain
Need Smart Contract Engineer/Mentor
8000 USD
I want to find the Smart Contract Engineer/Mentor who has rich experience in Solidity smart contract development. Cryptocurrency & Blockchain, Engineering ∙ 3 days 21 hours back ∙ 11 proposals |