IqOptionApiDotNet
IqOptionApiDotNet copied to clipboard
No position-changed messages?
I am unable to subscribe to position-changed ws messages. I send the following message after successfully connecting the ws but I never get any position-changed message back to SubscribeIncomingMessage(). Am I missing some sort of prerequisite call first?
Am I supposed to be using another technique to be alerted when a position closes?
{"name":"subscribeMessage", "request_id":"s_28", "local_time":76107, "msg":{ "name":"portfolio.position-changed", "params":{ "routingFilters":{ "user_id":12345678, <-- not my real id "user_balance_id":1234567890, <-- not real "instrument_type":"turbo-option" } }, "version":"3.0"}}