futuresTradeInfoSchema was updated

This commit is contained in:
Mikhail Gladchenko
2023-02-14 15:58:52 +00:00
parent 119b3a8355
commit 4289fe3339
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@orionprotocol/sdk",
"version": "0.17.7",
"version": "0.17.8",
"description": "Orion Protocol SDK",
"main": "./lib/esm/index.js",
"module": "./lib/esm/index.js",

View File

@@ -6,8 +6,8 @@ const futuresTradeInfoSchema = z.object({
id: z.string(), // trade info request UUID, set by client side
S: z.string(), // sender
i: z.string(), // instrument
bp: z.number(), // buy price
sp: z.number(), // sell price
bp: z.number().nullable(), // buy price
sp: z.number().nullable(), // sell price
bpw: z.number(), // buy power
spw: z.number(), // sell power
ma: z.number(), // min amount