30行赌徒策略
8
Follow
1364
Followers
Source
JavaScript
var hold = {price : 0, amount : 0}
var _Gear = 0
function main(){
var initAccount = _C(exchange.GetAccount)
Log(initAccount, "#FF0000")
while(1){
var ticker = _C(exchange.GetTicker)
if(hold.amount == 0){
var firstInfo = $.Buy(_FirstAmount)
hold.amount = firstInfo.amount
hold.price = firstInfo.price
} else {Strategy parameters
Related strategies
Comment
All comments (0)
No data
- 1
