mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
@@ -237,6 +237,7 @@ class Order(ModelBase):
|
|||||||
'price': self.price,
|
'price': self.price,
|
||||||
'remaining': self.remaining,
|
'remaining': self.remaining,
|
||||||
'ft_fee_base': self.ft_fee_base,
|
'ft_fee_base': self.ft_fee_base,
|
||||||
|
'funding_fee': self.funding_fee,
|
||||||
})
|
})
|
||||||
return resp
|
return resp
|
||||||
|
|
||||||
|
|||||||
@@ -99,6 +99,7 @@ def test_rpc_trade_status(default_conf, ticker, fee, mocker) -> None:
|
|||||||
'order_filled_timestamp': ANY, 'order_type': 'limit', 'price': 1.098e-05,
|
'order_filled_timestamp': ANY, 'order_type': 'limit', 'price': 1.098e-05,
|
||||||
'is_open': False, 'pair': 'ETH/BTC', 'order_id': ANY,
|
'is_open': False, 'pair': 'ETH/BTC', 'order_id': ANY,
|
||||||
'remaining': ANY, 'status': ANY, 'ft_is_entry': True, 'ft_fee_base': None,
|
'remaining': ANY, 'status': ANY, 'ft_is_entry': True, 'ft_fee_base': None,
|
||||||
|
'funding_fee': ANY,
|
||||||
}],
|
}],
|
||||||
}
|
}
|
||||||
mocker.patch('freqtrade.rpc.telegram.Telegram', MagicMock())
|
mocker.patch('freqtrade.rpc.telegram.Telegram', MagicMock())
|
||||||
|
|||||||
Reference in New Issue
Block a user