How do you write code if you have multiple lines and blank lines at the same time?

Author: Neo1898, Created: 2022-01-15 14:50:06, Updated:

Is the wrapped exchange.GetPosition function not supporting simultaneous multi-order and blank orders, and must call the exchange's API for direct access? This is a list of all the different ways var pos = _C (exchange.GetPosition) is credited in the database. This is a list of all the different ways PD_LONG is credited in the database. Pos[0].Type == PD_SHORT This is a list of all the different ways PD_SHORT is credited in the database.

At this point pos[0] is a polynomial, pos[1] is an empty line?

Please help answer, thank you!


More

The Little DreamGetPosition obtains a multi-headed, empty-headed hold, which can be filtered through the array of holds that GetPosition returns.