You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to read one minute iq option data at every minute using the following code.
However, I found that the returned data is not realtime. THe data delayed for 2-3 minutes. Let say the current time in iqoption platform is 21:53:01. I want to read the last candle which is 21:52 but the return data is at 21:50.
Anyone have similar finding?
while True:
last_seconds=int(time.strftime("%S"))
last_minutes=int(time.strftime("%M"))
decimal=currency_decimal[pair]
if (last_seconds >= 59)
time.sleep(2)
candles_con=con.getcandles(OP_code.ACTIVES[symbol], 60,1,time.time())
while con.candles.candles_data==None:
pass
candles_iq=pd.DataFrame(con.candles.candles_data)
The text was updated successfully, but these errors were encountered:
I try to read one minute iq option data at every minute using the following code.
However, I found that the returned data is not realtime. THe data delayed for 2-3 minutes. Let say the current time in iqoption platform is 21:53:01. I want to read the last candle which is 21:52 but the return data is at 21:50.
Anyone have similar finding?
while True:
last_seconds=int(time.strftime("%S"))
last_minutes=int(time.strftime("%M"))
decimal=currency_decimal[pair]
if (last_seconds >= 59)
time.sleep(2)
candles_con=con.getcandles(OP_code.ACTIVES[symbol], 60,1,time.time())
while con.candles.candles_data==None:
pass
candles_iq=pd.DataFrame(con.candles.candles_data)
The text was updated successfully, but these errors were encountered: