Created
July 10, 2017 18:00
-
-
Save Death916/9faf38518f45e247ab7adc8f612c7d9a to your computer and use it in GitHub Desktop.
backtest
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
#! 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