Type/to search

30行赌徒策略 (做空)

Study
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 = $.Sell(_FirstAmount)
            hold.amount = firstInfo.amount
            hold.price = firstInfo.price
        } else {
Strategy parameters
Strategy parameters
止盈
止损
单次下单量
加倍赌的次数
Comment
All comments (2)

    没看明白,能简单介绍下吗

    8 years ago

    会的 ,会在 网易公开课 教程上 后续更新这个策略 讲解。

    8 years ago
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)