Updated V5 InstrumentInfo types

Missing attributes have been added according to the documentation

`postOnlyMaxOrderQty` should be removed from `LinearInverseInstrumentInfoV5` as this has been replaced by `maxOrderQty`.
This commit is contained in:
Brent de Jong
2024-03-27 18:30:25 +01:00
parent 4c211d5fe2
commit 1314ca33cd
2 changed files with 14 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ export type ContractTypeV5 =
| 'InversePerpetual'
| 'LinearPerpetual'
| 'InverseFutures';
export type CopyTradingV5 = 'none' | 'both' | 'utaOnly' | 'normalOnly';
export type InstrumentStatusV5 =
| 'PreLaunch'
@@ -11,6 +12,8 @@ export type InstrumentStatusV5 =
| 'Delivering'
| 'Closed';
export type MarginTradingV5 = 'none' | 'both' | 'utaOnly' | 'normalSpotOnly';
export type OrderFilterV5 = 'Order' | 'tpslOrder' | 'StopOrder';
export type OrderSideV5 = 'Buy' | 'Sell';
export type OrderTypeV5 = 'Market' | 'Limit';