Initialize a new instance of the FTAccountData class.
The session object used for making HTTP requests.
Cancel an existing order.
The order ID to cancel.
Response from the API.
Get account balances for a given account.
Account number of the account you want to get balances for.
Response from the API.
Get account history for a given account.
Account number of the account you want to get history for.
The range of the history. Defaults to "ytd".
OptionalcustomRange: [string, string]The custom range of the history format [YYYY-MM-DD, YYYY-MM-DD]. Required if dateRange is "cust".
Response from the API.
Return a filtered, flattened view of useful balance fields.
Account number to query balances for.
Optionalkeywords: string[]Additional case-insensitive substrings to match in keys.
A dict mapping dot-notated keys to values from the balances response.
Retrieve existing order data for a given account.
Account number of the account to retrieve orders for.
Number of orders to retrieve per page. Defaults to 0 (all orders).
Response from the API.
Get currently held positions for a given account.
Account number of the account you want to get positions for.
Response from the API.
Initialize account data by fetching user info and account list.
Class for storing account information.