0
Follow
4
Followers
Giúp mình với, mình không bán được, nó báo: Sell(0.11487, 45): Hướng không hợp lệ
Created 2021-09-19 17:16:27
2
1016
Mua thành công, bán thành công, không bán được, luôn hiển thị Sell ((0.11487, 45): Invalid direction
Thứ nhất: Không có vấn đề gì về tiến trình sau điểm số nhỏ.
Thứ hai: Định hướng bán là mua gần, mua nhiều và bán ít.
Tôi đã sử dụng Binance Futures Perpetual Contract, và một người bạn đã gặp và giải quyết vấn đề này đã giúp tôi giải quyết nó.
exchange.SetDirection("buyclose");
var order_id2 = exchange.Sell(now_records.Close, trade_amount);
Sleep(2000);
"undefined") // không bán được, tiếp tục bán thêm điểm trượt trên giá
{
exchange.SetDirection("buyclose");
order_id = exchange.Sell(now_records.Close + huadian, trade_amount); // mỗi điểm trượt ((huadian) là 0.00001
Sleep(2000);
}
Related Recommendations
How to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced 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?
Comment
All comments (2)
- 1
