test coverage for public unified margin endpoints

This commit is contained in:
tiagosiebler
2022-09-10 19:07:58 +01:00
parent 0cbdc5351c
commit 8e60d5dfdf
6 changed files with 268 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ export class UnifiedMarginClient extends BaseRestClient {
/** Query order book info. Each side has a depth of 25 orders. */
getOrderBook(
symbol: string,
category?: string,
category: string,
limit?: number
): Promise<APIResponseV3<any>> {
return this.get('/derivatives/v3/public/order-book/L2', {