History Version Management
The platform supports version iteration functionality during strategy development. On the Strategy Editing Page, click the "History Version" button in the "Code" editing area to open the strategy history version management page.
-
When the current strategy has no history version snapshots, click the "Create Now" button to create a snapshot of the current strategy. Snapshot contents include: strategy code, notes, description, manual, parameter design, interaction design, etc.
-
After creating a history snapshot, the saved history snapshot list will be displayed on the right side of the history version management page. Click the "Create History Version" button above the list to continue saving new history snapshots.
-
Edit and use history snapshots: You can perform operations such as modify history snapshot name, delete history snapshot, and restore to the strategy version of the history snapshot on recorded strategy history snapshots.
-
Preview the currently selected history snapshot: Click the "Preview" button at the bottom left of the history version management page to preview the strategy code, notes, description, manual, parameter design, interaction design, and other contents in the current history snapshot.
-
Compare the differences between the currently selected history snapshot and the current strategy: Click the "Compare" button at the bottom left of the history version management page to compare the differences between the current history snapshot and the current strategy.
Running History Versions in Live Trading
Strategy history versions can not only be used for code management and version rollback, but can also be run directly in live trading:
-
Set Default Running Version: On the strategy editor page, click the "History Version" button, select a history version, then click the "Modify" button in the menu. In the popup, you can check the "Set as Default Version" option. If not set, the latest version will run by default.
-
Use History Version in Live Trading: When creating a live trading instance or modifying live trading parameters, the strategy owner can select a specific history version of the strategy to run. This feature is only available to the strategy owner.
-
Version Control for Rented Strategies: When a strategy is rented to other users, the renter can only run the "default running version" set by the strategy owner and cannot select other history versions. The strategy owner can control which version is used for rented strategies by setting the default running version.