Created
July 10, 2017 18:00
-
-
Save Death916/a14bd32d2e3c3492533b82d95376eec4 to your computer and use it in GitHub Desktop.
tracebk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "backtest.py", line 17, in <module> | |
main(sys.argv[1:]) | |
File "backtest.py", line 14, in main | |
strategy.tick(candlestick) | |
File "G:\code\python\GIT\FORKS\trading-bot-master\trading-bot-master\part3\botstrategy.py", line 25, in tick | |
self.evaluatePositions() | |
File "G:\code\python\GIT\FORKS\trading-bot-master\trading-bot-master\part3\botstrategy.py", line 36, in evaluatePositions | |
if int(self.currentPrice < (self.indicators.movingAverage(self.prices,15))): | |
TypeError: '<' not supported between instances of 'float' and 'NoneType' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment