Lu-Yi-Hsun / iqoptionapi

IQ Option API
372 stars 289 forks source link

IQ PAYING 60% digitally on any payment #308

Open Davicastro19 opened 3 years ago

Davicastro19 commented 3 years ago

why is iqoption paying 60% when buying via api, and manual pays correctly? anyone with the same problem?

SpikeBarrier commented 3 years ago

Update your code to use buy_digital_spot_v2. That buys at the correct profit. There is still an issue with getting the profit percentage though.

Davicastro19 commented 3 years ago

Update your code to use buy_digital_spot_v2. That buys at the correct profit. There is still an issue with getting the profit percentage though.

pow, thanks, just a split i change in .api or on stable_api? na verdade ja utilizo essa buy_digital_spot_v2- sempre foi essa. não entendo oq devo mudar...

houssem-g commented 3 years ago

Hello, I got the same problem and I asked to IQ why I have this profit of 60% now, they said, because I am connecting from an unknown sources. So I suppose the problem come from the method connect in the api and not the digital buy itself.

SpikeBarrier commented 3 years ago

I was using the version of the API installed by pip install iqoptionapi but I had to change to: pip install -U git+git://github.com/iqoptionapi/iqoptionapi.git which is a newer version then buy_digital_spot_v2 worked correctly. Unless I'm mistaken, there also seems to be 2 versions of the API on github.

I also had to change from get_digital_current_profit to get_digital_payout to find out what the expected profit % on the instrument would be.

hadipirhadi commented 3 years ago

Can anyone help me with his/her own sample code ( My Sample Code )

vuppalaseshu commented 3 years ago

Hi,

I am not able to install pip install -U git+git://github.com/iqoptionapi/iqoptionapi.git. it is getting below error:

C:\Users\vpavanku\PycharmProjects\pythonProject2\venv\Scripts>pip install -U git+git://github.com/iqoptionapi/iqoptionapi.git Collecting git+git://github.com/iqoptionapi/iqoptionapi.git Cloning git://github.com/iqoptionapi/iqoptionapi.git to c:\users\vpavanku\appdata\local\temp\pip-req-build-elaow5f Running command git clone -q git://github.com/iqoptionapi/iqoptionapi.git 'C:\Users\vpavanku\AppData\Local\Temp\pip-req-build-elaow5f' ERROR: Error [WinError 2] The system cannot find the file specified while executing command git clone -q git://github.com/iqoptionapi/iqoptionapi.git 'C:\Users\vpavanku\AppData\Local\Temp\pip-req-build-elaow5f_' ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?

C:\Users\vpavanku\PycharmProjects\pythonProject2\venv\Scripts>

could anyone helped me in this

vuppalaseshu commented 3 years ago

I was using the version of the API installed by pip install iqoptionapi but I had to change to: pip install -U git+git://github.com/iqoptionapi/iqoptionapi.git which is a newer version then buy_digital_spot_v2 worked correctly. Unless I'm mistaken, there also seems to be 2 versions of the API on github.

I also had to change from get_digital_current_profit to get_digital_payout to find out what the expected profit % on the instrument would be.

i am still getting 60% profit. Could you please help me in this..