I am updating code to use the new Alpaca-py python API, and am trying to access account activities, but it is not obvious how, or if that capability exists yet. It used to be get_activities() on the api object. Examing the TradingClient object and the account object (via get_account()) shows no obvious methods.
Thanks
1 Like
I have having the same issues. I would like to grab all the filled buy and sell orders, not the canceled one. If I use the TradingClient object, calling the ‘get_orders’ function is limited to 500 and I am not sure I am getting all the data. The GetOrdersRequest’s enum QueryOrderStatus is not granular enough. I think it needs FILLED in addition to CLOSED, CANCELED, and ALL.
1 Like