Open amstrdm opened 1 week ago
Ended up adding all new endpoints to the client. See commits for details but the two main endpoint sections I added are
Specifically:
Get All Pies:
GET https://live.trading212.com/api/v0/equity/pies
Create a New Pie:
POST https://live.trading212.com/api/v0/equity/pies
Delete a Pie:
DELETE https://live.trading212.com/api/v0/equity/pies/{id}
Get a Specific Pie:
GET https://live.trading212.com/api/v0/equity/pies/{id}
Update a Pie:
POST https://live.trading212.com/api/v0/equity/pies/{id}
Get Exported History Files:
GET https://live.trading212.com/api/v0/history/exports
Request a New History Export:
POST https://live.trading212.com/api/v0/history/exports
Ended up adding all new endpoints to the client. See commits for details but the two main endpoint sections I added are
Specifically:
Pie Endpoints:
Get All Pies:
GET https://live.trading212.com/api/v0/equity/pies
Create a New Pie:
POST https://live.trading212.com/api/v0/equity/pies
Delete a Pie:
DELETE https://live.trading212.com/api/v0/equity/pies/{id}
Get a Specific Pie:
GET https://live.trading212.com/api/v0/equity/pies/{id}
Update a Pie:
POST https://live.trading212.com/api/v0/equity/pies/{id}
History Exports Endpoints:
Get Exported History Files:
GET https://live.trading212.com/api/v0/history/exports
Request a New History Export:
POST https://live.trading212.com/api/v0/history/exports