mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-22 21:59:44 +03:00
futuresTradeInfoSchema was updated
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@orionprotocol/sdk",
|
"name": "@orionprotocol/sdk",
|
||||||
"version": "0.17.7",
|
"version": "0.17.8",
|
||||||
"description": "Orion Protocol SDK",
|
"description": "Orion Protocol SDK",
|
||||||
"main": "./lib/esm/index.js",
|
"main": "./lib/esm/index.js",
|
||||||
"module": "./lib/esm/index.js",
|
"module": "./lib/esm/index.js",
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ const futuresTradeInfoSchema = z.object({
|
|||||||
id: z.string(), // trade info request UUID, set by client side
|
id: z.string(), // trade info request UUID, set by client side
|
||||||
S: z.string(), // sender
|
S: z.string(), // sender
|
||||||
i: z.string(), // instrument
|
i: z.string(), // instrument
|
||||||
bp: z.number(), // buy price
|
bp: z.number().nullable(), // buy price
|
||||||
sp: z.number(), // sell price
|
sp: z.number().nullable(), // sell price
|
||||||
bpw: z.number(), // buy power
|
bpw: z.number(), // buy power
|
||||||
spw: z.number(), // sell power
|
spw: z.number(), // sell power
|
||||||
ma: z.number(), // min amount
|
ma: z.number(), // min amount
|
||||||
|
|||||||
Reference in New Issue
Block a user