mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-29 17:17:56 +03:00
orderUpdateSchema was updated
This commit is contained in:
@@ -33,7 +33,6 @@ export const orderUpdateSchema = z.object({
|
||||
A: z.number(), // settled amount
|
||||
S: z.enum(orderStatuses), // status
|
||||
l: z.boolean().optional(), // is liquidation order
|
||||
L: z.number().optional(), // stop limit price,
|
||||
t: z.number(), // update time
|
||||
c: subOrderSchema.array(),
|
||||
})
|
||||
@@ -46,7 +45,6 @@ export const orderUpdateSchema = z.object({
|
||||
settledAmount: o.A,
|
||||
status: o.S,
|
||||
liquidated: o.l,
|
||||
stopPrice: o.L,
|
||||
subOrders: o.c.map((so) => ({
|
||||
pair: so.P,
|
||||
exchange: so.e,
|
||||
|
||||
Reference in New Issue
Block a user