n1nj4z33 / iqoptionapi

IQ Option API 4.x (Python 2.7) The project is obsolete and is not supported because of problems with access to IQ Options in Russia
120 stars 545 forks source link

IqOption API Websocket channel message format #27

Closed azamatsulaiman closed 7 years ago

azamatsulaiman commented 7 years ago

I want to connect to IQ Option API through java, could someone please provide the format of requests.

Getting {"name":"timeSync","msg":1497719365209} when connected to socket.

{ "name" : "candles", "msg" : "{ "active_id": 1, "duration": 1000, "chunk_size": 25, "from": 1497719363209, "till": 1497719365209 }" } tried this way to subscribe to the channel, but no luck.

what should I pass else (ex: login tokens)? Or does the format is incorrect