Skip to content

Commit

Permalink
Merge branch 'master' into docsupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagosiebler authored Dec 11, 2023
2 parents 8fce364 + 97210f2 commit 955b755
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/types/request/v5-trade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface OrderParamsV5 {
qty: string;
price?: string;
triggerDirection?: 1 | 2;
orderFilter?: 'Order' | 'tpslOrder';
orderFilter?: OrderFilterV5;
triggerPrice?: string;
triggerBy?: OrderTriggerByV5;
orderIv?: string;
Expand Down
1 change: 1 addition & 0 deletions src/types/response/v5-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export interface ApiKeyInfoV5 {
vipLevel?: string;
mktMakerLevel?: string;
affiliateID?: number;
isMaster: boolean;
}

export interface UpdateApiKeyResultV5 {
Expand Down
2 changes: 1 addition & 1 deletion src/types/v5-shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export type InstrumentStatusV5 =
| 'Delivering'
| 'Closed';

export type OrderFilterV5 = 'Order' | 'tpslOrder';
export type OrderFilterV5 = 'Order' | 'tpslOrder' | 'StopOrder';
export type OrderSideV5 = 'Buy' | 'Sell';
export type OrderTypeV5 = 'Market' | 'Limit';
export type OrderTimeInForceV5 = 'GTC' | 'IOC' | 'FOK' | 'PostOnly';
Expand Down

0 comments on commit 955b755

Please sign in to comment.