Lu-Yi-Hsun / iqoptionapi

IQ Option API
372 stars 289 forks source link

check_win_digital_v2 does not return results when the internet goes down during operation #261

Open gabriellcortes opened 4 years ago

gabriellcortes commented 4 years ago

Good afternoon, I set up a program working with thrends, they are always in rotation with 4 orders running at the same time. When the internet goes down during 1 operation, check_win_digital_v2 does not return any value, it locks the thrend and then I get 1 operation less. Unlike check_win for binary, which when it returns the value by the purchase id when the internet returns.

wallacemv commented 3 years ago

the buy_digital method return two parameters ... boolean status and transaction id ... try put a while block before call buy_digital ... and add a 'break' when boolean status == True. but this will make your code start a late operation

federicoaaguirre commented 5 months ago

Hi there, I know this is something too old but has someone found the way to get trades status from API ? none: check_* doesn't work :(