Open josrya89 opened 5 years ago
import sys, getopt
from botchart import BotChart from botstrategy import BotStrategy from botcandlestick import BotCandlestick
def main(argv):
chart = BotChart("poloniex", "BTC_XMR", 300)
strategy = BotStrategy()
for candlestick in chart.getPoints(): strategy.tick(candlestick)
if name == "main": main(sys.argv[1:])
I keep getting this error, even after changing the indention of all return lines to the same amount (3 indents each) "Traceback (most recent call last): File "C:\Users\josry\Desktop\trading bot\trading-bot-master\part 3\backtest.py", line 4, in
from botstrategy import BotStrategy
File "C:\Users\josry\Desktop\trading bot\trading-bot-master\part 3\botstrategy.py", line 2, in
from botindicators import BotIndicators
File "C:\Users\josry\Desktop\trading bot\trading-bot-master\part 3\botindicators.py", line 23
return a
^
IndentationError: unexpected indent