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

https://iqoption.com/api/profile/changebalance Can't change balance? #130

Open PattarananGUY1 opened 10 months ago

PattarananGUY1 commented 10 months ago

Traceback (most recent call last): File "c:\Users\guy\Downloads\I DID IT ahuoddhdjilaqwdolqwdiqwi;ld\mt4_iq_rev2\main.py", line 32, in Iq.change_balance("REAL") File "C:\Users\guy\AppData\Local\Programs\Python\Python39\lib\site-packages\iqoptionapi-5.2-py3.9.egg\iqoptionapi\stable_api.py", line 394, in change_balance self.api.changebalance(real_id) File "C:\Users\guy\AppData\Local\Programs\Python\Python39\lib\site-packages\iqoptionapi-5.2-py3.9.egg\iqoptionapi\http\changebalance.py", line 28, in call return self._post(data) return self.send_http_request("POST", data=data, headers=headers) File "C:\Users\guy\AppData\Local\Programs\Python\Python39\lib\site-packages\iqoptionapi-5.2-py3.9.egg\iqoptionapi\http\resource.py", line 25, in send_http_request return self.api.send_http_request(self, method, data=data, params=params, headers=headers) File "C:\Users\guy\AppData\Local\Programs\Python\Python39\lib\site-packages\iqoptionapi-5.2-py3.9.egg\iqoptionapi\api.py", line 194, in send_http_request response.raise_for_status() File "C:\Users\guy\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://iqoption.com/api/profile/changebalance