v3.3.5: fix typo in contract endpoint order request interfaces

This commit is contained in:
tiagosiebler
2022-12-07 17:23:38 +00:00
parent 574ffd41f2
commit 57e24dc035
4 changed files with 8 additions and 7 deletions

View File

@@ -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;

View File

@@ -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);
},