cfdBalance schemas small fix

This commit is contained in:
Mikhail Gladchenko
2023-02-24 13:56:28 +00:00
parent ed3f05d035
commit 11470cbeba
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ const cfdBalanceSchema = z
lfrd: z.string(),
sfrs: z.string(),
sfrd: z.string(),
sop: z.string().nullable(),
sop: z.string().optional(),
})
.transform((obj) => ({
instrument: obj.i,

View File

@@ -54,7 +54,7 @@ export type CFDBalance = {
longFundingRatePerDay: string
shortFundingRatePerSecond: string
shortFundingRatePerDay: string
stopOutPrice: string | null
stopOutPrice?: string
}
export type Order = {