mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
move qtpylib to vendor folder
This is necessary to distribute qtpylib with freqtrade when you install it globally.
This commit is contained in:
parent
6f7ac0720b
commit
6f2915e25e
|
@ -1,8 +1,5 @@
|
|||
include LICENSE
|
||||
include README.md
|
||||
include config.json.example
|
||||
include freqtrade/exchange/*.py
|
||||
include freqtrade/rpc/*.py
|
||||
include freqtrade/tests/*.py
|
||||
recursive-include freqtrade *.py
|
||||
include freqtrade/tests/testdata/*.json
|
||||
include qtpylib/*.py
|
||||
|
|
|
@ -5,10 +5,10 @@ from datetime import timedelta
|
|||
import arrow
|
||||
import talib.abstract as ta
|
||||
from pandas import DataFrame, to_datetime
|
||||
from qtpylib.indicators import awesome_oscillator, crossed_above
|
||||
|
||||
from freqtrade import exchange
|
||||
from freqtrade.exchange import Bittrex, get_ticker_history
|
||||
from freqtrade.vendor.qtpylib.indicators import awesome_oscillator
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG,
|
||||
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
# pragma pylint: disable=missing-docstring
|
||||
from operator import itemgetter
|
||||
import logging
|
||||
import os
|
||||
from functools import reduce
|
||||
from math import exp
|
||||
import pytest
|
||||
from pandas import DataFrame
|
||||
from qtpylib.indicators import crossed_above
|
||||
from operator import itemgetter
|
||||
|
||||
import pytest
|
||||
from hyperopt import fmin, tpe, hp, Trials, STATUS_OK
|
||||
from pandas import DataFrame
|
||||
|
||||
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
|
||||
|
||||
|
|
0
freqtrade/vendor/qtpylib/__init__.py
vendored
Normal file
0
freqtrade/vendor/qtpylib/__init__.py
vendored
Normal file
Loading…
Reference in New Issue
Block a user