Open artem055 opened 4 years ago
Look into pagination: https://developers.wealthsimple.com/
GET /activities?limit=20 GET /activities?limit=20&offset=20 GET /activities?limit=20&offset=40
Etc.
i have the same issue and the offset of any number just returns the same 20 response = self.TradeAPI.makeRequest("GET", f"account/activities?limit=20") print(response.json()['results']) response1 = self.TradeAPI.makeRequest("GET", f"account/activities?limit=20&offset=20") print(response1.json()['results']) sorry I'm aware this is 4 years old
trying ws.get_orders() or ws.get_activities() and only get last 20 orders or activities how to get all orders ? or all activities ?