0
Follow
2
Followers
我用 exchange.IO("cross", false )可以设置币安 U 本位永续合约交易模式为逐仓。
但是,当策略再次运行时,日志会提示我不必重复设置合约交易模式。
所以我想加个判断,先获取现状模式,如果为逐仓就跳过,如果为全仓才设置为逐仓。
请教如何用 JS 代码实现?我是新手,请多帮助,谢谢。
Related Recommendations
Inventor Quant Workflow FAQ (Continuously Updated)Financial Magic Zone Global KOL RecruitmentFAQ Summary (Updating...)PINE Language Introductory Tutorial of FMZ QuantPrimary Tutorial of Strategy Writing with FMZ Quant Trading Platform (Must Read)Getting Started with FMZ Quant Trading Platform (Must Read)
Comment
All comments (1)
- 1

