Skip to content

Instantly share code, notes, and snippets.

@Death916
Created July 10, 2017 18:00
Show Gist options
  • Save Death916/9faf38518f45e247ab7adc8f612c7d9a to your computer and use it in GitHub Desktop.
Save Death916/9faf38518f45e247ab7adc8f612c7d9a to your computer and use it in GitHub Desktop.
backtest
#! python3
import sys, getopt
import time
from botchart import BotChart
from botstrategy import BotStrategy
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:])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment