Return strategy with analyzed data

This commit is contained in:
Matthias
2020-07-31 07:32:27 +02:00
parent 18bbfdd341
commit 32e6ea314c
2 changed files with 9 additions and 3 deletions

View File

@@ -827,6 +827,8 @@ def test_api_pair_candles(botclient, ohlcv_history):
rc = client_get(client,
f"{BASE_URI}/pair_candles?limit={amount}&pair=XRP%2FBTC&timeframe={timeframe}")
assert_response(rc)
assert 'strategy' in rc.json
assert rc.json['strategy'] == 'DefaultStrategy'
assert 'columns' in rc.json
assert 'data_start_ts' in rc.json
assert 'data_start' in rc.json