Backtesting and Running
由bqadm创建,最终由n2nadm 被浏览 2 用户
Introduction
The N2NQuant platform provides multiple ways to generate strategies, which can be found in Quick Start.
After you have a strategy, the process of backtesting and submitting to simulated trading is the same. This article specifically introduces the process of strategy backtesting and submitting to simulated trading.
1. Enter AIStudio to view strategy code
Different strategy generation methods have different entry points, and upon entry, the system will default to opening the code file of the target strategy.
Here we enter "AIStudio" from the navigation bar, and by default, the policy file that was not closed last time is opened.
In the AIStudio development interface, the "<" and ">" buttons support switching between code view and visualization view. Code parameters can be adjusted and modified according to one's own needs, or the original code can be directly used for the next step.
\
2. Conduct strategy backtesting and analyze the backtesting results
Click the "Run ALL" button to perform a strategy backtesting to verify if there are any issues with the strategy logic and if the strategy effect meets expectations.
3. Submit simulated trading
If it is confirmed that there are no issues with the strategy, submit it to the daily task for simulation backtesting through the submit button, and wait for the generation of daily trading signals. The specific steps are as follows:
- Click the submit button
- Choose a specific task type, such as selecting the Hong Kong Stock Daily Task for the Hong Kong Stock Strategy or the US Stock Daily Task for the US Stock Strategy. Then give your strategy a name for a significant increase and select available deployment resources to submit.
If there are no available resources, you can go to the User Center → My Subscription to purchase server resources.
\
4. Check the execution status of the strategy and wait for trading signal notifications
There are two places to check the execution status of the strategy.
- It is in the task management module of "aistudio" to view the execution status of tasks.
- You can view the execution status of the strategy in "My Trades" and bind an email to send reminder emails through "Update Notification".
Signal generation time:
- Hong Kong stock market: around 18:00 (UTC+8, Beijing time)
- US stock market: around 10:30 (UTC+8, Beijing time)
\