mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Add post-only order test for kraken
This commit is contained in:
parent
ae68d02038
commit
9746d38060
|
@ -15,6 +15,7 @@ STOPLOSS_LIMIT_ORDERTYPE = 'stop-loss-limit'
|
||||||
|
|
||||||
@pytest.mark.parametrize("order_type,time_in_force,expected_params", [
|
@pytest.mark.parametrize("order_type,time_in_force,expected_params", [
|
||||||
('limit', 'ioc', {'timeInForce': 'IOC', 'trading_agreement': 'agree'}),
|
('limit', 'ioc', {'timeInForce': 'IOC', 'trading_agreement': 'agree'}),
|
||||||
|
('limit', 'PO', {'postOnly': True, 'trading_agreement': 'agree'}),
|
||||||
('market', None, {'trading_agreement': 'agree'})
|
('market', None, {'trading_agreement': 'agree'})
|
||||||
])
|
])
|
||||||
def test_kraken_trading_agreement(default_conf, mocker, order_type, time_in_force, expected_params):
|
def test_kraken_trading_agreement(default_conf, mocker, order_type, time_in_force, expected_params):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user