You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.
6) Get all balances and holdings data for all accounts
GET v1/holdings
from snaptrade.api_client import SnapTradeAPIClient
client = SnapTradeAPIClient(clientID, consumerKey, brokerage_authorization_ids=None, account_numbers=None)
# brokerage_authorization_ids and account_numbers are optional, but expects a list if used.
account_holdings = client.get_all_holdings(user_id, user_secret, ["36ccb6ce-f71a-492c-99c5-38c4076bd6d1"], [2419011])