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
119 stars 539 forks source link

Is it possible to form a rest api of prices from IQOPTION? #100

Open JafferWilson opened 6 years ago

JafferWilson commented 6 years ago

Hello, I was going through your documentation and I didn't understood whether I can get the current live streaming of the prices from the IQO? Can you tell me whether it is available in your repo or not? if not then how I can achieve it using your repo?

lucianopinheiro commented 5 years ago

Send a set-actives via JSON: {"msg": {"actives": [99, 1, 100]}, "name": "setActives", "request_id": "None"}

You will get a continuous newChartData:

{"name":"newChartData","msg":{"active_id":100,"symbol":"USDCAD","bid":1.314235,"ask":1.314745,"value":1.31449,"volume":0,"time":1532120420,"round":true,"closed":true,"show_value":1.31449,"buy":1.314745,"sell":1.314235}}