Positions
Request positions for all accounts available to the user.
get_positions(
timeout: Integer. A default value of 10 seconds is supplied.
)
All orders from the current day’s trading session are returned in a dictionary, using the orderId as the key to discover the specific order.
Response Object
{
{Account ID}: List. List of all contracts
[{
contract: Contract Object. Contract to trade.
position: Decimal. The total number of shares held in the account.
avgCost: Float. The average price across executions for the position.
}]

