v3.3.5: fix typo in contract endpoint order request interfaces
This commit is contained in:
@@ -16,8 +16,8 @@ export interface ContractOrderRequest {
|
||||
slTriggerBy?: string;
|
||||
timeInForce: USDCTimeInForce;
|
||||
orderLinkId?: string;
|
||||
takeProfit?: number;
|
||||
stopLoss?: number;
|
||||
takeProfit?: string;
|
||||
stopLoss?: string;
|
||||
reduceOnly?: boolean;
|
||||
closeOnTrigger?: boolean;
|
||||
}
|
||||
@@ -44,8 +44,8 @@ export interface ContractModifyOrderRequest {
|
||||
symbol: string;
|
||||
qty?: string;
|
||||
price?: string;
|
||||
takeProfit?: number;
|
||||
stopLoss?: number;
|
||||
takeProfit?: string;
|
||||
stopLoss?: string;
|
||||
tpTriggerBy?: string;
|
||||
slTriggerBy?: string;
|
||||
triggerBy?: string;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
export type LogParams = null | any;
|
||||
|
||||
export const DefaultLogger = {
|
||||
/** Ping/pong events and other raw messages that might be noisy */
|
||||
silly: (...params: LogParams): void => {
|
||||
// console.log(params);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user