Support post-only orders for Binance spot

closes #8044
This commit is contained in:
Matthias
2023-03-19 15:36:35 +01:00
parent 9ccc3e52ec
commit 3d91dd8a98
3 changed files with 37 additions and 2 deletions

View File

@@ -3387,7 +3387,7 @@ def test_merge_ft_has_dict(default_conf, mocker):
ex = Binance(default_conf)
assert ex._ft_has != Exchange._ft_has_default
assert ex.get_option('stoploss_on_exchange')
assert ex.get_option('order_time_in_force') == ['GTC', 'FOK', 'IOC']
assert ex.get_option('order_time_in_force') == ['GTC', 'FOK', 'IOC', 'PO']
assert ex.get_option('trades_pagination') == 'id'
assert ex.get_option('trades_pagination_arg') == 'fromId'