@pytest.mark.parametrize('stop', ['entry', 'loss'])
def test_post_stop_order(self, private_client, private_model, stop):
    json = private_model.orders.market('buy', 'BTC-USD', size=0.001, stop=stop, stop_price=30000)
    response = private_client.orders.post(json)
    assert isinstance(response, dict)
    assert (response['stop'] == stop)
    assert (response['type'] == 'market')
@pytest.mark.parametrize('stop', ['entry', 'loss'])
def test_post_stop_order(self, private_client, private_model, stop):
    json = private_model.orders.market('buy', 'BTC-USD', size=0.001, stop=stop, stop_price=30000)
    response = private_client.orders.post(json)
    assert isinstance(response, dict)
    assert (response['stop'] == stop)
    assert (response['type'] == 'market')