12
Follow
3
Followers
Как написать код, если одновременно есть длинные и короткие ордера?
Created 2022-01-15 14:50:06
1
1029
Не поддерживает ли функционал GetPosition для упакованных exchanges одновременное наличие множественных и пустых листов, которые необходимо получить непосредственно с помощью API?
var pos = _C(exchange.GetPosition)
pos[0].Type == PD_LONG
pos[0].Type == PD_SHORT
В настоящее время pos[0] - множественное число, pos[1] пустые листы?
Помогите ответить, спасибо!
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
