平台价格比较1.0
0
Follow
3
Followers
1.4---增加告警周期设置
1.3---增加微信通知
1.2---支持期货平台
1.1---稳定版本
Source
JavaScript
var _ContractType0 = ["this_week", "next_week", "month", "quarter"][ContractType0];
var _MarginLeve0 = [10, 20][MLevel0];
var _ContractType1 = ["this_week", "next_week", "month", "quarter"][ContractType1];
var _MarginLeve1 = [10, 20][MLevel1];
var usdrate0 = 6.35;
var usdrate1 = 6.35;
var rate0 = 1;
var rate1 = 1;
var TS = 0; //是否告警
var _CType0 = [0, 1][CType0];
var _CType1 = [0, 1][CType1];
var _Price0 = [0, 1, 2][Price0];//Asks[0], Last, Bids[0]Strategy parameters
Commands
Related strategies
Comment
All comments (1)
- 1