Code Monkey home page Code Monkey logo

iqoptionbot's People

Contributors

n1nj4z33 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iqoptionbot's Issues

Demo account

Is there a way to try the bot in the demo account?
How do i switch it?

unsupported operand type(s) for /: 'NoneType' and 'int

i have this error
if self.api.timesync.server_datetime.second == 0:
File "/usr/local/lib/python2.7/dist-packages/iqoptionapi/ws/objects/timesync.py", line 37, in server_datetime
return datetime.datetime.fromtimestamp(self.server_timestamp)
File "/usr/local/lib/python2.7/dist-packages/iqoptionapi/ws/objects/timesync.py", line 24, in server_timestamp
return self.__server_timestamp / 1000
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

Active is always EURUSD-OTC

Acording to the code in pattern base.py line self.api.getcandles(76, 60) the robot is always checking for the EURUSD-OTC candles not the active I chose in config....

Also when creating patterns in signaler.py active ID is not passed in as param to pattern constructor... so it always gets the candles for EURUSD-OTC with hardcoded id 76

Oh and by the way...... it sometimes crashes in pattern code because theres no check if the candles ar NoneType

I'm not a python guru, and I may be mistaking here somewhere, but please investigate this!

Oh and thanks for the great API ;)

Error candle dbhlc ,pinnochio,dblhc,tbh

Hello , i got these error when i activate the bot

i tried with different pattern but its same error
dbhlc ,pinnochio,dblhc , tbh,tbl

exemple of error

Traceback (most recent call last):
File "starter.py", line 170, in
start()
File "starter.py", line 146, in start
signal = signaler.get_signal()
File "/iqoptionbot/signaler.py", line 59, in get_signal
if pattern.put():
File "iqoptionbot/patterns/dbhlc.py", line 20, in put
if self.candles.first_candle.candle_high == self.candles.second_candle.candle_high:
AttributeError: 'NoneType' object has no attribute 'first_candle'

or

Traceback (most recent call last):
File "starter.py", line 170, in
start()
File "starter.py", line 146, in start
signal = signaler.get_signal()
File "/iqoptionbot/signaler.py", line 55, in get_signal
if pattern.call():
File "/iqoptionbot/patterns/tbh.py", line 20, in call
if self.candles.first_candle.candle_high == self.candles.second_candle.candle_high:
AttributeError: 'NoneType' object has no attribute 'second_candle'

any help would be appreciated

thanks you very much

Error

python starter.py -c config.json
Traceback (most recent call last):
File "starter.py", line 10, in
from trader import create_trader
File "/root/iqoptionbot/iqoptionbot/trader.py", line 31
self.api.buy(
^
IndentationError: unexpected indent

No profit or loss

Everything seems to be fine on the logs, there are no errors, and it even says ... successfully buy in direction call, but when I look into my account, nothing changes. I mean my balance remains the same. No activity.

Am i doing something wrong here? Can somebody please help me a bit? :-)

Error when try to run

I'm getting the following error:

sudo python starter.py -c config.json
Traceback (most recent call last):
File "starter.py", line 7, in
from iqoptionapi.api import IQOptionAPI
File "/usr/local/lib/python2.7/dist-packages/iqoptionapi/api.py", line 7, in
import requests
ImportError: No module named requests

Any ideas?

Question:

I get the following error:

self.api.setactives([api_constants.ACTIVES[self.active]])
AttributeError: 'module' object has no attribute 'ACTIVES'

I don't understant what must be inside ACTIVES?

I hope you can help me.

Tutorial

Can someone post a tutorial on how to setup this to start making bids automatically?

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.