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

API is not placing trades #112

Closed AjayKush114 closed 5 years ago

AjayKush114 commented 5 years ago

Hello sir,

i am using the current update of this version of API, At start it was working fine, But from past two days the API has stopped placing binary trades on Iqoption.

Note:- i am using the sample from your example to place trades on IQ

I_Want_Money = IQ_Option(Email, Password) goal = "EURUSD"

print("get candles")

#print(I_Want_Money.get_candles(goal, 60, 111, time.time()))
print(I_Want_Money.get_balance())
Money = 1
ACTIVES = "EURUSD"
ACTION = "call"  # or "put"
expirations_mode = 1
force_buy = False  # i suggest use False
print(str(I_Want_Money.buy(Money, ACTIVES, ACTION, expirations_mode, force_buy)))

Please guide me to solve this issue.

Thanks, Ajay