fhqvst / avanza

A JavaScript client for the unofficial Avanza API
MIT License
229 stars 59 forks source link

Stocks owned info #25

Closed pontussalenbo closed 5 years ago

pontussalenbo commented 5 years ago

Is there any way for me to view all stocks owned on an account and get numbers owned, market value with this API?

fhqvst commented 5 years ago

Yes, getPositions is probably your best bet. Refer to API.md.

pontussalenbo commented 5 years ago

But from what I can understand this will only give me a brief summary of data. It doesnt retrieve that I own 4 Apple stocks with the value of 180$/each with 20% profitpercent or am I doing it wrong?