This commit is contained in:
tiagosiebler
2022-11-14 10:42:18 +00:00
parent c63445d58b
commit d398406781
2 changed files with 3 additions and 3 deletions

View File

@@ -75,17 +75,16 @@ describe('Private Linear REST API POST Endpoints', () => {
order_type: 'Limit',
side: 'Buy',
symbol,
qty: 1,
qty: 1000000,
price: 8100,
base_price: 8300,
stop_px: 8150,
time_in_force: 'GoodTillCancel',
order_link_id: 'cus_order_id_1',
reduce_only: false,
trigger_by: 'LastPrice',
})
).toMatchObject({
ret_code: API_ERROR_CODE.INSUFFICIENT_BALANCE_FOR_ORDER_COST_LINEAR,
ret_code: API_ERROR_CODE.QTY_EXCEEDS_MAX_LIMIT,
});
});