Code Monkey home page Code Monkey logo

iqoption-trading-server's Introduction

IQOPTION Trading Server

IQ_OPTION Trader Backend POC

Note: See #3. PRs are welcome.

Development

pip install -r requirements.txt
python main.py

Deployment

docker-compose build
docker-compose up -d

License

MIT
Made by DockerLead with ❤️

iqoption-trading-server's People

Contributors

dockerlead avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

iqoption-trading-server's Issues

ERROR:root:**error** get_candles need reconnect

Start receiving stream from iqoption.com ...
ERROR:root:error get_candles need reconnect
ERROR:root:error get_candles need reconnect
ERROR:root:error get_candles need reconnect
ERROR:root:error get_candles need reconnect

ERROR

2020-12-05 20:52:45,387 Websocket client connected.
2020-12-05 20:52:45,402 POST: https://auth.iqoption.com/api/v2/login headers: {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36', 'Accept-Encoding': 'gzip, deflate', 'Accept': '/', 'Connection': 'keep-alive'} cookies: {}
2020-12-05 20:52:45,404 Starting new HTTPS connection (1): auth.iqoption.com:443
2020-12-05 20:52:46,014 {"name":"timeSync","msg":1607181766119}
2020-12-05 20:52:46,015 {"name":"heartbeat","msg":1607181766119}
2020-12-05 20:52:46,273 <Response [401]>
2020-12-05 20:52:46,274 {"code":"invalid_credentials","message":"You entered the wrong credentials. Please check that the login/password is correct."}
2020-12-05 20:52:46,274 {'Server': 'nginx', 'Date': 'Sat, 05 Dec 2020 15:22:46 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '126', 'Connection': 'keep-alive', 'Vary': 'Origin', 'X-Tracing-Key': '9571cde3-829d-4074-93d2-d593f8147aae'}
2020-12-05 20:52:46,274 <RequestsCookieJar[]>
2020-12-05 20:52:46,468 Websocket connection closed.
Start getting candles ... ============================>
2020-12-05 20:52:46,470 error get_candles need reconnect
2020-12-05 20:52:47,482 Websocket client connected.
2020-12-05 20:52:47,497 POST: https://auth.iqoption.com/api/v2/login headers: {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/53

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.