History Version Management
A history version is a snapshot of the strategy at a point in time; use it to roll back or compare code, or to have a live robot run a specific version. On the Strategy Editing Page, click the "History Version" button in the "Code" editing area to open the history version management page.
Creating and managing snapshots
- Create: if the strategy has no snapshot yet, click "Create Now"; otherwise click "Create History Version" above the snapshot list on the right. A snapshot includes the strategy code, notes, description, manual, parameter design, interaction design and so on.
- Manage: rename a snapshot, delete it, or restore the strategy to a snapshot's version.
- Preview: click "Preview" at the bottom left of the page to view the code, notes, description, manual, parameter design and interaction design in the selected snapshot.
- Compare: click "Compare" at the bottom left of the page to see the differences between the selected snapshot and the current strategy.
Running a history version live
- Set the default running version: select a version on the history version management page, click "Modify" in the menu and check "Set as Default Version" in the dialog. Without it, the latest version runs by default.
- Use a history version in a live robot: when creating a robot or changing its parameters, the strategy owner can choose a history version of the strategy to run; this works only for the strategy owner.
- Versions of rented strategies: a renter can run only the default running version set by the strategy owner and cannot choose other history versions; the owner controls the version used by rented strategies by setting the default running version.