We launched live trading at the beginning of this year and the success has been outstanding – we’re listening to your feedback and adding more features!
The algorithm already has access to the portfolio attributes, including the cash, positions, and portfolio value. Today we’re adding more: broker account information is now available to the algorithm.
This makes it easier to trade based on the settled cash, tracking your margin, and controlling the leverage in the account.
In backtesting, these fields will take on default values. The default values are listed in the API help doc below. In live trading, the algorithm will use values as reported by the broker.
The list of available fields is:
These fields are accessible from the newly created account object. Read more about the overview and the API in the help doc!