Merge pull request #172 from gcarq/new_pair_set

New currency pair set
This commit is contained in:
Samuel Husso 2017-12-11 09:33:05 +02:00 committed by GitHub
commit 01874e379f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
33 changed files with 33 additions and 31 deletions

View File

@ -18,14 +18,16 @@
"key": "key", "key": "key",
"secret": "secret", "secret": "secret",
"pair_whitelist": [ "pair_whitelist": [
"BTC_RLC", "BTC_ETH",
"BTC_TKN", "BTC_LTC",
"BTC_TRST", "BTC_ETC",
"BTC_SWT", "BTC_DASH",
"BTC_PIVX", "BTC_ZEC",
"BTC_MLN", "BTC_XLM",
"BTC_XZC", "BTC_NXT",
"BTC_LUN" "BTC_POWR",
"BTC_ADA",
"BTC_XMR"
] ]
}, },
"experimental": { "experimental": {

View File

@ -20,8 +20,8 @@ def load_data(ticker_interval: int = 5, pairs: Optional[List[str]] = None) -> Di
path = os.path.abspath(os.path.dirname(__file__)) path = os.path.abspath(os.path.dirname(__file__))
result = {} result = {}
_pairs = pairs or [ _pairs = pairs or [
'BTC_BCC', 'BTC_ETH', 'BTC_DASH', 'BTC_POWR', 'BTC_ETC', "BTC_ETH", "BTC_LTC", "BTC_ETC", "BTC_DASH", "BTC_ZEC",
'BTC_VTC', 'BTC_WAVES', 'BTC_LSK', 'BTC_XLM', 'BTC_OK', "BTC_XLM", "BTC_NXT", "BTC_POWR", "BTC_ADA", "BTC_XMR",
] ]
for pair in _pairs: for pair in _pairs:
with open('{abspath}/../tests/testdata/{pair}-{ticker_interval}.json'.format( with open('{abspath}/../tests/testdata/{pair}-{ticker_interval}.json'.format(

View File

@ -22,7 +22,7 @@ def test_dataframe_correct_columns(result):
def test_dataframe_correct_length(result): def test_dataframe_correct_length(result):
assert len(result.index) == 14382 assert len(result.index) == 14395
def test_populates_buy_trend(result): def test_populates_buy_trend(result):

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long