Galts-Gulch / avarice

Multi-Indicator Python3 OKCoin CN & Intl Trading Bot/Infrastructure
Other
91 stars 29 forks source link

[BUG] Exception with advanced strategy #40

Open ghostnegotiator opened 8 years ago

ghostnegotiator commented 8 years ago

This occours when using different strategies

  Trade Indicators = ['MACD', 'RSI']
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.4/threading.py", line 1186, in run
    self.function(*self.args, **self.kwargs)
  File "/home/rdash/avarice/genutils.py", line 16, in do_every
    worker_func()
  File "avarice.py", line 133, in RCWrapper
    gu.do_every(ldb.CandleSizeSeconds, RunCommon)
  File "/home/rdash/avarice/genutils.py", line 16, in do_every
    worker_func()
  File "avarice.py", line 107, in RunCommon
    getattr(strategies, config.gc['Trader']['Advanced Strategy'])()
  File "/home/rdash/avarice/strategies.py", line 209, in Default
    if IndList[-1] < LocalBid:
TypeError: unorderable types: float() < str()
RealJohnGalt commented 8 years ago

What version are you running?

ghostnegotiator commented 8 years ago

Version 5 a2

RealJohnGalt commented 8 years ago

The project is no longer being maintained, in favor of a new code base in a new language. See #43 for info.