Save Parameter Settings
-
Parameter Saving in Backtesting System
When backtesting, if you want to save strategy parameters, you can click the "Save Backtest Settings" button after modifying strategy parameters. For details, please refer to the Backtesting System "Save Backtest Settings".Variable Description Type Default Value number Numeric Type Number 1 string String String Hello FMZ combox Dropdown Dropdown (selected) 1|2|3 bool Boolean Boolean (true/false) true numberA@isShowA Number A Number 2 isShowA Show numberA parameter Boolean (true/false) false The configured strategy parameters will be saved in the strategy as code, for example:
javascript/*backtest start: 2020-02-29 00:00:00 end: 2020-03-29 00:00:00 period: 1d args: [["number",2],["string","Hello FMZ.COM"],["combox",2],["bool",false],["numberA@isShowA",666],["isShowA",true]] */python'''backtest start: 2020-02-29 00:00:00 end: 2020-03-29 00:00:00 period: 1d args: [["number",2],["string","Hello FMZ.COM"],["combox",2],["bool",false],["numberA@isShowA",666],["isShowA",true]] '''c++/*backtest start: 2020-02-29 00:00:00 end: 2020-03-29 00:00:00 period: 1d args: [["number",2],["string","Hello FMZ.COM"],["combox",2],["bool",false],["numberA@isShowA",666],["isShowA",true]] */ -
Live Trading Parameter Import/Export
When running live trading, if you need to save the parameter data of live trading configuration, you can click the "Parameter Settings" option on the strategy live trading page, then click the "Export Parameters" button. The exported strategy parameters will be saved injsonfile format.
The exported strategy parameter configuration can be imported into live trading again. Click the "Import Parameters" button to import the saved strategy live trading parameters into the current live trading. After importing, click the "Update Parameters" button to make the configuration take effect.