12
Follow
3
Followers
Làm thế nào để viết mã nếu có cả lệnh dài và lệnh ngắn cùng một lúc?
Created 2022-01-15 14:50:06
1
1029
Có phải hàm exchange.GetPosition đóng gói không hỗ trợ nhiều đơn và đơn trống cùng một lúc và phải gọi API của sàn giao dịch để lấy trực tiếp không?
var pos = _C(exchange.GetPosition)
pos[0].Type == PD_LONG
pos[0].Type == PD_SHORT
Hiện tại pos[0] là polynomial, pos[1] Không có gì?
Xin hãy giúp tôi trả lời, cảm ơn!
Related Recommendations
Built-In Function_Cross Analysis and InstructionsHow 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 engine
Comment
All comments (1)
- 1
