bwentzloff / trading-bot

Code seen in Cryptocurrency Trading YouTube video here: https://youtu.be/fpqzXgZjSqM
400 stars 262 forks source link

AttributeError: 'dict' object has no attribute 'priceAverage' #23

Open 0xog3 opened 6 years ago

0xog3 commented 6 years ago

im sorry but im new to this but what am i missing?

Traceback (most recent call last): File "backtest.py", line 15, in main(sys.argv[1:]) File "backtest.py", line 12, in main strategy.tick(candlestick) File "/home/pi/trading-bot/part_3/botstrategy.py", line 17, in tick print candlestick.priceAverage AttributeError: 'dict' object has no attribute 'priceAverage'