Live Trading
On the FMZ Quant Trading Platform, the concept of "Live Trading" is distinguished from "Backtesting". It refers to creating a real strategy program instance that interacts with exchanges (obtaining market data, querying positions, placing and canceling orders, etc.). Strategy program instances that interact with the exchange's production environment are called live trading, and strategy program instances that interact with the exchange's simulation environment (many exchanges provide test environments) are also called live trading.
Creating a live trading instance on the FMZ Quant Trading Platform requires meeting three conditions:
Conditions for Creating Live Trading
- An available strategy
You can create a strategy by clicking the "New Strategy" button on the platform's Strategy Library page. After writing and designing the strategy and saving it, the strategy will be saved in the strategy library. When creating live trading, you can select strategies from the strategy library in the "Running Strategy" dropdown box under the "Live Trading Configuration" section on the Live Trading Creation page. - At least one available docker deployed
You can deploy a docker by clicking the "Deploy Docker" button on the platform's Docker page. After successful docker deployment, when creating live trading, you can select the deployed docker in the "Docker Host" dropdown box under the "Live Trading Configuration" section on the Live Trading Creation page. - At least one configured exchange
You can add an exchange by clicking the "Add Exchange" button on the platform's Exchange page and configure the exchange account information. After the exchange configuration is complete, when creating live trading, you can select the configured exchange in the "Trading Platform" dropdown box under the "Trading Configuration" section on the Live Trading Creation page.
Finally, click the "Create Live Trading" button on the live trading creation page to create and run a quantitative trading strategy program instance (i.e., live trading on the FMZ Quant Trading Platform).
Live Trading Grouping
You can manage created live trading instances by grouping them, with support for custom group names.
Live Trading Observation
Live trading can be displayed publicly, or you can create private observation links to send to specific groups for display.
Live Trading Billing
Live trading is billed hourly at 0.05 USD per live trading instance per hour, with partial hours billed as full hours. Creating a new live trading instance will immediately start billing. "Stopping"/"Restarting" live trading will not result in duplicate billing.
You can check all billing "Transaction Details" on the Recharge page.
Important Notice: When recharging with USDT, please pay attention to:
-
- Whether the transfer network is correct (e.g., currently supports: TRC20, ERC20, BSC).
-
- Whether the recharge asset selection is correct (e.g., USDT).
-
- Whether the recharge address is consistent.
Live Trading Monitoring
In the live trading list on the Live Trading Management page, you can click the "Monitor" button in the Actions column on the right side of running live trading instances to enable live trading monitoring. After enabling monitoring, if the live trading exits without manual operation, the email address currently bound to the FMZ Quant Trading Platform will receive a notification message.
Live Trading Database
Taking live trading ID 123456 as an example, its corresponding database file is located in the path under the docker directory to which the live trading belongs: /logs/storage/123456/123456.db3, where the database file name is 123456.db3.
The database contains the following tables:
- chart: Records chart data.
- kvdb: Records data persistently saved by the
_G()function. - log: Records live trading log data.
- profit: Records live trading profit data.