Parameter saving in the backtesting system
If you wish to save the strategy parameters during backtesting, you can click the Save Backtest Settings
button after the strategy parameters are modified, refer to the backtesting system Save Backtest Settings.
Variables | Description | Type | Default Value |
---|---|---|---|
number | Numeric type | Number | 1 |
string | Numeric type | String | Hello FMZ |
combox | ComboBox | ComboBox (selected) | 1|2|3 |
bool | Boolean value | Boolean (true/false) | true |
numberA@isShowA | Number A | Number | 2 |
isShowA | Whether to display the parameter numberA | Boolean (true/false) | false |
You can save the strategy parameter settings in form of code, for example:
/*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]]
*/
'''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]]
'''
/*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]]
*/
Living Trading Parameters Import & Export
When running the live trading, you need to save the parameter data of the live trading configuration, you can click the “Export” button. The exported strategy parameters will be saved in the json
file.
The exported strategy parameter configuration can also be imported to the living trading again. Click the “Import” button to import the saved strategy live trading parameters to the current live trading. Then, click “Save” to save.