move qtpylib to vendor folder

This is necessary to distribute qtpylib with
freqtrade when you install it globally.
This commit is contained in:
gcarq 2017-10-30 20:41:36 +01:00
parent 6f7ac0720b
commit 6f2915e25e
6 changed files with 6 additions and 9 deletions

View File

@ -1,8 +1,5 @@
include LICENSE include LICENSE
include README.md include README.md
include config.json.example include config.json.example
include freqtrade/exchange/*.py recursive-include freqtrade *.py
include freqtrade/rpc/*.py
include freqtrade/tests/*.py
include freqtrade/tests/testdata/*.json include freqtrade/tests/testdata/*.json
include qtpylib/*.py

View File

@ -5,10 +5,10 @@ from datetime import timedelta
import arrow import arrow
import talib.abstract as ta import talib.abstract as ta
from pandas import DataFrame, to_datetime from pandas import DataFrame, to_datetime
from qtpylib.indicators import awesome_oscillator, crossed_above
from freqtrade import exchange from freqtrade import exchange
from freqtrade.exchange import Bittrex, get_ticker_history from freqtrade.exchange import Bittrex, get_ticker_history
from freqtrade.vendor.qtpylib.indicators import awesome_oscillator
logging.basicConfig(level=logging.DEBUG, logging.basicConfig(level=logging.DEBUG,
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s') format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')

View File

@ -1,16 +1,16 @@
# pragma pylint: disable=missing-docstring # pragma pylint: disable=missing-docstring
from operator import itemgetter
import logging import logging
import os import os
from functools import reduce from functools import reduce
from math import exp from math import exp
import pytest from operator import itemgetter
from pandas import DataFrame
from qtpylib.indicators import crossed_above
import pytest
from hyperopt import fmin, tpe, hp, Trials, STATUS_OK from hyperopt import fmin, tpe, hp, Trials, STATUS_OK
from pandas import DataFrame
from freqtrade.tests.test_backtesting import backtest, format_results from freqtrade.tests.test_backtesting import backtest, format_results
from freqtrade.vendor.qtpylib.indicators import crossed_above
logging.disable(logging.DEBUG) # disable debug logs that slow backtesting a lot logging.disable(logging.DEBUG) # disable debug logs that slow backtesting a lot

0
freqtrade/vendor/qtpylib/__init__.py vendored Normal file
View File