Type/to search
0
Follow
0
Followers
Comment écrire une position complète d'achat et une position complète de vente en Python ?
Help
Created 2021-04-27 16:51:55  
 3
 1297

La documentation de l'API ne permet d'acheter que le nombre spécifié d'écrits.
def main():
id = exchange.Buy(100, 1)
Log("id:", id)
Comment écrire "achat en gros" et "vente en gros" en Python ?

Related Recommendations
Comment
All comments (3)

    exchange.Buy("梭哈")

    5 years ago

    可用余额/价格

    5 years ago

    buyPrice = _N(ticker.Sell + spread, ZPrecision)
    buyAmount = _N(diffAsset / buyPrice, XPrecision)
    if buyAmount < MinStock:
    return False
    exchange.Buy(buyPrice, buyAmount)

    5 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)