n1nj4z33 / iqoptionbot Goto Github PK
View Code? Open in Web Editor NEWIQ Option Trade system (Python 2.7)
IQ Option Trade system (Python 2.7)
Is there a way to try the bot in the demo account?
How do i switch it?
Need to work with logging
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'
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 ;)
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
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
Like the title i want to know how to check my amount in tournament
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? :-)
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?
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.
Can someone post a tutorial on how to setup this to start making bids automatically?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.