What would the positions() show when no orders on the current day have been made and there is already a contract bought on the trading day(s) prior? Thanks.
Positions API has no relation to orderbook, it just shows account's mark to market at the moment. You can see overnight positions and current day's positions in the net field of the positions response.
You can see overnight positions and current day's positions in the
net
field of the positions response.