跟单机器人V1.0(要求相同交易所,可多用户跟单、可设定跟单倍数)
5
Follow
2
Followers
Source
JavaScript
/*backtest
start: 2021-03-18 00:00:00
end: 2021-04-07 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_OKCoin","currency":"BTC_USD"},{"eid":"Futures_OKCoin","currency":"BTC_USD"},{"eid":"Futures_OKCoin","currency":"BTC_USD"}]
*/
//var followRatio = 2; // 设置跟单的比例,范围0-100自定义
var followRatios = [1, 3, 4]; //多个跟单账户,分别设置不同的跟单比例,第一个为参考账户默认为1
function test() {Strategy parameters
Related strategies