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 542 forks source link

Buy not working #34

Open rafinha90 opened 7 years ago

rafinha90 commented 7 years ago

Buy is working just sometimes, maybe 1 in 50 times.

Can someone help me?

Here's a sample of my code:

api.connect() time.sleep(10) api.setactives([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 168, 212, 219, 220]) balance = api.profile.balance print balance time.sleep(10) api.subscribe('tradersPulse') api.buy(1, 1, "turbo", "call") time.sleep(10)

genesiscrew commented 7 years ago

ive got the same problem, it says "time for purchasing option is over". ive looked for solutions in foum but nothing works

Shirokr commented 7 years ago

The solution is in the 1st Issues thread, sorry my bad English

redmiix24 commented 6 years ago

while api.timesync.server_datetime.second != 7: print "not yet" if api.timesync.server_datetime.second == 7: api.buy(1, 1, "turbo", "call")

milteven12 commented 6 years ago

Hello @freeost , I tried the same thing is not working, do you figured out how to buy? PS: My code is below: captura eurusd

redmiix24 commented 6 years ago

@milteven12 its not working as for now either, I develop my own robot with C# check video https://www.youtube.com/watch?v=aqjqVWU3XSk