Replace more bittrex references

This commit is contained in:
enenn
2018-02-03 22:44:13 +01:00
parent 2582e85e6f
commit a11c24b286
11 changed files with 35 additions and 32 deletions

View File

@@ -3,6 +3,7 @@
import logging
from typing import Dict, Tuple
import ccxt
import arrow
from pandas import DataFrame, Series
from tabulate import tabulate
@@ -113,7 +114,7 @@ def backtest(args) -> DataFrame:
records = []
trades = []
trade_count_lock: dict = {}
exchange._API = Bittrex({'key': '', 'secret': ''})
exchange._API = ccxt.binance()
for pair, pair_data in processed.items():
pair_data['buy'], pair_data['sell'] = 0, 0
ticker = populate_sell_trend(populate_buy_trend(pair_data))
@@ -164,7 +165,7 @@ def start(args):
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
)
exchange._API = Bittrex({'key': '', 'secret': ''})
exchange._API = ccxt.binance()
logger.info('Using config: %s ...', args.config)
config = misc.load_config(args.config)

View File

@@ -17,6 +17,7 @@ import talib.abstract as ta
from hyperopt import STATUS_FAIL, STATUS_OK, Trials, fmin, hp, space_eval, tpe
from hyperopt.mongoexp import MongoTrials
from pandas import DataFrame
import ccxt
import freqtrade.vendor.qtpylib.indicators as qtpylib
# Monkey patch config
@@ -448,7 +449,7 @@ def start(args):
TOTAL_TRIES = args.epochs
exchange._API = Bittrex({'key': '', 'secret': ''})
exchange._API = ccxt.binance()
# Initialize logger
logging.basicConfig(