fhqvst / avanza

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

Problem with subscribing to Channels with multiple arguments #48

Closed sthlmjohan closed 4 years ago

sthlmjohan commented 4 years ago

Hi,

Trying to subscribe to the Channels for real-time updates using the: POSITIONS, ORDERS and DEALS but I do not get any response back from these. I have double checked that I am sending all my accountIds that are retrieved using getOverview. Any idea what could be wrong, or what the correct syntax is?

Have there been any changes lately in the underlying API at Avanzas part?

Regards / Johan

sthlmjohan commented 4 years ago

Solved the problem. Apparently the order of the accounts matter for these function calls.

paragloom commented 3 years ago

Solved the problem. Apparently the order of the accounts matter for these function calls.

@sthlmjohan could you elaborate on this order fix? I'm having the same issue.