test coverage for public unified margin endpoints
This commit is contained in:
@@ -7,6 +7,7 @@ export * from './spot-client';
|
||||
export * from './spot-client-v3';
|
||||
export * from './usdc-option-client';
|
||||
export * from './usdc-perpetual-client';
|
||||
export * from './unified-margin-client';
|
||||
export * from './websocket-client';
|
||||
export * from './util/logger';
|
||||
export * from './types';
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { OrderSide } from '../shared';
|
||||
import { USDCOrderFilter } from './usdc-perp';
|
||||
import { USDCAPICategory, USDCOrderType, USDCTimeInForce } from './usdc-shared';
|
||||
|
||||
export interface USDCOptionsContractInfoRequest {
|
||||
|
||||
@@ -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', {
|
||||
|
||||
Reference in New Issue
Block a user