mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Readd ticker_interval to trade api response
This commit is contained in:
parent
1a5dba9a79
commit
02fca141a0
|
@ -258,6 +258,7 @@ class Trade(_DECL_BASE):
|
|||
'amount': round(self.amount, 8),
|
||||
'stake_amount': round(self.stake_amount, 8),
|
||||
'strategy': self.strategy,
|
||||
'ticker_interval': self.timeframe, # DEPRECATED
|
||||
'timeframe': self.timeframe,
|
||||
|
||||
'fee_open': self.fee_open,
|
||||
|
|
|
@ -323,6 +323,7 @@ def test_api_show_config(botclient, mocker):
|
|||
assert 'dry_run' in rc.json
|
||||
assert rc.json['exchange'] == 'bittrex'
|
||||
assert rc.json['ticker_interval'] == '5m'
|
||||
assert rc.json['timeframe'] == '5m'
|
||||
assert rc.json['state'] == 'running'
|
||||
assert not rc.json['trailing_stop']
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user