0
Follow
0
Followers
S'il vous plaît, donnez-moi un code Python pour limiter le stop loss
Created 2020-07-19 22:11:11
2
1736
Je l'utilise.
python
exchange.SetDirection('buy')
exchange.Buy(50,1)
# 想下限价止损单
exchage.SetDirection('closebuy')
exchange.Sell(45,1) # 此时会立刻成交
J'espère qu'il y a un code qui fonctionne.
Related Recommendations
Advanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?5.5 Trading strategy optimization
Comment
All comments (2)
- 1

