Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'createType' type is missing from AccountOrderV5 Response #324

Closed
sakiskatsikas opened this issue Mar 8, 2024 · 1 comment
Closed

'createType' type is missing from AccountOrderV5 Response #324

sakiskatsikas opened this issue Mar 8, 2024 · 1 comment

Comments

@sakiskatsikas
Copy link

export interface AccountOrderV5 {
  orderId: string;
  orderLinkId: string;
  blockTradeId: string;
  symbol: string;
  price: string;
  qty: string;
  side: OrderSideV5;
  isLeverage: string;
  positionIdx: PositionIdx;
  orderStatus: OrderStatusV5;
  cancelType: OrderCancelTypeV5;
  rejectReason: OrderRejectReasonV5;
  avgPrice: string;
  leavesQty: string;
  leavesValue: string;
  cumExecQty: string;
  cumExecValue: string;
  cumExecFee: string;
  timeInForce: OrderTimeInForceV5;
  orderType: OrderTypeV5;
  stopOrderType: StopOrderTypeV5;
  orderIv: string;
  triggerPrice: string;
  takeProfit: string;
  stopLoss: string;
  tpslMode: 'Full' | 'Partial' | '';
  tpLimitPrice: string;
  slLimitPrice: string;
  tpTriggerBy: OrderTriggerByV5;
  slTriggerBy: OrderTriggerByV5;
  triggerDirection: number;
  triggerBy: OrderTriggerByV5;
  lastPriceOnCreated: string;
  reduceOnly: boolean;
  closeOnTrigger: boolean;
  placeType: 'iv' | 'price' | '';
  smpType: string;
  smpGroup: number;
  smpOrderId: string;
  createdTime: string;
  updatedTime: string;
  createType: string;     <===== ADD THIS LINE
}
tiagosiebler added a commit that referenced this issue Mar 11, 2024
v3.9.7: feat(#324) add new account order v5 properties
@tiagosiebler
Copy link
Owner

Added in v3.9.7 via #325 - thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants