iqoptionapi | IQ Option API 4.x | TLS library
kandi X-RAY | iqoptionapi Summary
kandi X-RAY | iqoptionapi Summary
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
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Connect to the server
- Return the login object
- Get the profile object
- Get an instance of ssid
- Set session cookies
- Send a HTTP request
- Prepare the HTTP URL for the resource
- Called when a message is received
- Add list infodata
- Setup logging
iqoptionapi Key Features
iqoptionapi Examples and Code Snippets
Community Discussions
Trending Discussions on iqoptionapi
QUESTION
I have gone through the link: multiprocessing.Pool - PicklingError: Can't pickle : attribute lookup thread.lock failed
Still I did not got the solution for that.
Here is what I have tried:
Server
ANSWER
Answered 2019-Jul-09 at 15:01The IQOption API object probably owns a thread, which can't be passed through to subprocesses. Use threads for concurrency instead...
Here's a roughly equivalent (untested) version of your server code using the built-in socketserver
module, using threads (with ThreadingMixIn
) to parallelize each client connection.
QUESTION
I have obtained the OHLC values from the iqoption and trying to find out a way to use it with MT5.
Here is how I got the values:
ANSWER
Answered 2018-Jul-06 at 06:31After second-reading what you wrote (and edited) I can see you want:
- a symbol synchronized with iqoption [ through your proxy / remotely ]
- The symbol could be used for backtesting
- The symbol could be used for on-screen live/strategy/indicator run
That implies operations outside strategy/indicator which MT platforms do not allow in an automated manner - you can achieve it manually by providing a data package, parsing it to CSV and importing to custom symbol creator. Well documented here.
Unfortunately, you choose a platform that by-design stands for self-contained strategies and indicators, more for beginners than professionals taking it seriously.
Refer to the link I provided and see for yourself. The official doc states you can create a custom symbol via mql ref, yet even though they state, in the foreword, it allows 3rd party providers - it's not referenced anywhere else and does not show any integration possibilities.
QUESTION
I am trying to run the repository of IqoptionAppi
While I am trying to run the command: api.getcandles(1,60,25)
the following error occured:
ANSWER
Answered 2018-Jun-26 at 11:29Problem here is that iqoptionapi/ws/chanels/candles.py module from latest PyPI version differs from Github's master
branch version and there is no amount
parameter (it seems to be equal to 2
).
In master
branch:
QUESTION
I'm trying to collect data of cotizations through an API each minute, and for this I have used a loop that pauses 60 seconds, actually all this works but I have some troubles.
For example, when I send a petition at the time 12:00
, it receives the data of the 11:59
but I want to receive the data of 12:00
.
This only happens when I use time.sleep()
and the delay it is proportional to the seconds that I put inside of the time.sleep()
function
This is my code:
...ANSWER
Answered 2017-Jan-25 at 16:56It looks like IQOptionAPI uses websocket-client, which is asynchronous. Sending a request will return immediately, without waiting for a response from the server. You are checking for the response before you have received it. As a result, what you are getting is actually the result of the previous request. That's why it corresponds to the length of the sleep
you use.
I don't immediately see a way within IQOptionAPI to make a synchronous request or get any sort of feedback when the response comes in, but it would be best to look a little closer and see if there is indeed a way. As a workaround, try inserting a couple of seconds of delay between the request and checking the response:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install iqoptionapi
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page