alpacahq / alpaca-ts

A TypeScript Node.js library for the https://alpaca.markets REST API and WebSocket streams.
ISC License
156 stars 42 forks source link

What would be the best way to get previous trading history for an account? #127

Open justinfarrelldev opened 6 months ago

justinfarrelldev commented 6 months ago

I would like to be able to get previous trades / account activity for the account (for example, info about a stock being bought, sold, info about a trailing stop loss being activated - like time, price - etc.).

Is this possible within this SDK or the Alpaca API in general?

Thank you for this awesome SDK, it's been amazing so far and has saved numerous hours!

Edit: I tried to label this issue with "Question", but the label seems to not be sticking. Sorry about that!