@reyaxyz/api-v2-sdk 0.301.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/LICENSE.md +1 -0
  2. package/dist/index.js +47 -0
  3. package/dist/index.js.map +1 -0
  4. package/dist/rest/apis/MarketDataApi.js +393 -0
  5. package/dist/rest/apis/MarketDataApi.js.map +1 -0
  6. package/dist/rest/apis/OrderEntryApi.js +199 -0
  7. package/dist/rest/apis/OrderEntryApi.js.map +1 -0
  8. package/dist/rest/apis/ReferenceDataApi.js +308 -0
  9. package/dist/rest/apis/ReferenceDataApi.js.map +1 -0
  10. package/dist/rest/apis/WalletDataApi.js +387 -0
  11. package/dist/rest/apis/WalletDataApi.js.map +1 -0
  12. package/dist/rest/apis/index.js +23 -0
  13. package/dist/rest/apis/index.js.map +1 -0
  14. package/dist/rest/index.js +22 -0
  15. package/dist/rest/index.js.map +1 -0
  16. package/dist/rest/models/index.js +222 -0
  17. package/dist/rest/models/index.js.map +1 -0
  18. package/dist/rest/runtime.js +551 -0
  19. package/dist/rest/runtime.js.map +1 -0
  20. package/dist/types/index.d.ts +14 -0
  21. package/dist/types/index.d.ts.map +1 -0
  22. package/dist/types/rest/apis/MarketDataApi.d.ts +104 -0
  23. package/dist/types/rest/apis/MarketDataApi.d.ts.map +1 -0
  24. package/dist/types/rest/apis/OrderEntryApi.d.ts +45 -0
  25. package/dist/types/rest/apis/OrderEntryApi.d.ts.map +1 -0
  26. package/dist/types/rest/apis/ReferenceDataApi.d.ts +59 -0
  27. package/dist/types/rest/apis/ReferenceDataApi.d.ts.map +1 -0
  28. package/dist/types/rest/apis/WalletDataApi.d.ts +97 -0
  29. package/dist/types/rest/apis/WalletDataApi.d.ts.map +1 -0
  30. package/dist/types/rest/apis/index.d.ts +5 -0
  31. package/dist/types/rest/apis/index.d.ts.map +1 -0
  32. package/dist/types/rest/index.d.ts +4 -0
  33. package/dist/types/rest/index.d.ts.map +1 -0
  34. package/dist/types/rest/models/index.d.ts +1346 -0
  35. package/dist/types/rest/models/index.d.ts.map +1 -0
  36. package/dist/types/rest/runtime.d.ts +181 -0
  37. package/dist/types/rest/runtime.d.ts.map +1 -0
  38. package/dist/types/websocket/types.d.ts +173 -0
  39. package/dist/types/websocket/types.d.ts.map +1 -0
  40. package/dist/websocket/types.js +61 -0
  41. package/dist/websocket/types.js.map +1 -0
  42. package/package.json +43 -0
  43. package/rest/apis/MarketDataApi.ts +261 -0
  44. package/rest/apis/OrderEntryApi.ts +109 -0
  45. package/rest/apis/ReferenceDataApi.ts +162 -0
  46. package/rest/apis/WalletDataApi.ts +265 -0
  47. package/rest/apis/index.ts +6 -0
  48. package/rest/index.ts +5 -0
  49. package/rest/models/index.ts +1405 -0
  50. package/rest/runtime.ts +421 -0
  51. package/websocket/types.ts +226 -0
@@ -0,0 +1,222 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TimeInForce = exports.SpotExecutionListDataInnerTypeEnum = exports.SpotExecutionListDataInnerSideEnum = exports.SpotExecutionTypeEnum = exports.SpotExecutionSideEnum = exports.Side = exports.ServerErrorCode = exports.ServerErrorErrorEnum = exports.RequestErrorCode = exports.RequestErrorErrorEnum = exports.PositionSideEnum = exports.PerpExecutionListDataInnerTypeEnum = exports.PerpExecutionListDataInnerSideEnum = exports.PerpExecutionTypeEnum = exports.PerpExecutionSideEnum = exports.OrderType = exports.OrderStatus = exports.OrderStatusEnum = exports.OrderTimeInForceEnum = exports.OrderOrderTypeEnum = exports.OrderSideEnum = exports.FeeTierParametersTierTypeEnum = exports.ExecutionType = exports.CreateOrderResponseStatusEnum = exports.CreateOrderRequestTimeInForceEnum = exports.CreateOrderRequestOrderTypeEnum = exports.CancelOrderResponseStatusEnum = void 0;
4
+ /**
5
+ * @export
6
+ */
7
+ exports.CancelOrderResponseStatusEnum = {
8
+ OPEN: 'OPEN',
9
+ FILLED: 'FILLED',
10
+ CANCELLED: 'CANCELLED',
11
+ REJECTED: 'REJECTED'
12
+ };
13
+ /**
14
+ * @export
15
+ */
16
+ exports.CreateOrderRequestOrderTypeEnum = {
17
+ LIMIT: 'LIMIT',
18
+ TP: 'TP',
19
+ SL: 'SL'
20
+ };
21
+ /**
22
+ * @export
23
+ */
24
+ exports.CreateOrderRequestTimeInForceEnum = {
25
+ IOC: 'IOC',
26
+ GTC: 'GTC'
27
+ };
28
+ /**
29
+ * @export
30
+ */
31
+ exports.CreateOrderResponseStatusEnum = {
32
+ OPEN: 'OPEN',
33
+ FILLED: 'FILLED',
34
+ CANCELLED: 'CANCELLED',
35
+ REJECTED: 'REJECTED'
36
+ };
37
+ /**
38
+ * Type of execution
39
+ * @export
40
+ */
41
+ exports.ExecutionType = {
42
+ ORDER_MATCH: 'ORDER_MATCH',
43
+ LIQUIDATION: 'LIQUIDATION',
44
+ ADL: 'ADL'
45
+ };
46
+ /**
47
+ * @export
48
+ */
49
+ exports.FeeTierParametersTierTypeEnum = {
50
+ REGULAR: 'REGULAR',
51
+ VIP: 'VIP'
52
+ };
53
+ /**
54
+ * @export
55
+ */
56
+ exports.OrderSideEnum = {
57
+ B: 'B',
58
+ A: 'A'
59
+ };
60
+ /**
61
+ * @export
62
+ */
63
+ exports.OrderOrderTypeEnum = {
64
+ LIMIT: 'LIMIT',
65
+ TP: 'TP',
66
+ SL: 'SL'
67
+ };
68
+ /**
69
+ * @export
70
+ */
71
+ exports.OrderTimeInForceEnum = {
72
+ IOC: 'IOC',
73
+ GTC: 'GTC'
74
+ };
75
+ /**
76
+ * @export
77
+ */
78
+ exports.OrderStatusEnum = {
79
+ OPEN: 'OPEN',
80
+ FILLED: 'FILLED',
81
+ CANCELLED: 'CANCELLED',
82
+ REJECTED: 'REJECTED'
83
+ };
84
+ /**
85
+ * Order status
86
+ * @export
87
+ */
88
+ exports.OrderStatus = {
89
+ OPEN: 'OPEN',
90
+ FILLED: 'FILLED',
91
+ CANCELLED: 'CANCELLED',
92
+ REJECTED: 'REJECTED'
93
+ };
94
+ /**
95
+ * Order type, (LIMIT = Limit, TP = Take Profit, SL = Stop Loss)
96
+ * @export
97
+ */
98
+ exports.OrderType = {
99
+ LIMIT: 'LIMIT',
100
+ TP: 'TP',
101
+ SL: 'SL'
102
+ };
103
+ /**
104
+ * @export
105
+ */
106
+ exports.PerpExecutionSideEnum = {
107
+ B: 'B',
108
+ A: 'A'
109
+ };
110
+ /**
111
+ * @export
112
+ */
113
+ exports.PerpExecutionTypeEnum = {
114
+ ORDER_MATCH: 'ORDER_MATCH',
115
+ LIQUIDATION: 'LIQUIDATION',
116
+ ADL: 'ADL'
117
+ };
118
+ /**
119
+ * @export
120
+ */
121
+ exports.PerpExecutionListDataInnerSideEnum = {
122
+ B: 'B',
123
+ A: 'A'
124
+ };
125
+ /**
126
+ * @export
127
+ */
128
+ exports.PerpExecutionListDataInnerTypeEnum = {
129
+ ORDER_MATCH: 'ORDER_MATCH',
130
+ LIQUIDATION: 'LIQUIDATION',
131
+ ADL: 'ADL'
132
+ };
133
+ /**
134
+ * @export
135
+ */
136
+ exports.PositionSideEnum = {
137
+ B: 'B',
138
+ A: 'A'
139
+ };
140
+ /**
141
+ * @export
142
+ */
143
+ exports.RequestErrorErrorEnum = {
144
+ SYMBOL_NOT_FOUND: 'SYMBOL_NOT_FOUND',
145
+ NO_ACCOUNTS_FOUND: 'NO_ACCOUNTS_FOUND',
146
+ NO_PRICES_FOUND_FOR_SYMBOL: 'NO_PRICES_FOUND_FOR_SYMBOL',
147
+ INPUT_VALIDATION_ERROR: 'INPUT_VALIDATION_ERROR',
148
+ CREATE_ORDER_OTHER_ERROR: 'CREATE_ORDER_OTHER_ERROR',
149
+ CANCEL_ORDER_OTHER_ERROR: 'CANCEL_ORDER_OTHER_ERROR'
150
+ };
151
+ /**
152
+ * Standardized error codes for API responses
153
+ * @export
154
+ */
155
+ exports.RequestErrorCode = {
156
+ SYMBOL_NOT_FOUND: 'SYMBOL_NOT_FOUND',
157
+ NO_ACCOUNTS_FOUND: 'NO_ACCOUNTS_FOUND',
158
+ NO_PRICES_FOUND_FOR_SYMBOL: 'NO_PRICES_FOUND_FOR_SYMBOL',
159
+ INPUT_VALIDATION_ERROR: 'INPUT_VALIDATION_ERROR',
160
+ CREATE_ORDER_OTHER_ERROR: 'CREATE_ORDER_OTHER_ERROR',
161
+ CANCEL_ORDER_OTHER_ERROR: 'CANCEL_ORDER_OTHER_ERROR'
162
+ };
163
+ /**
164
+ * @export
165
+ */
166
+ exports.ServerErrorErrorEnum = {
167
+ INTERNAL_SERVER_ERROR: 'INTERNAL_SERVER_ERROR'
168
+ };
169
+ /**
170
+ * Standardized error codes for API responses
171
+ * @export
172
+ */
173
+ exports.ServerErrorCode = {
174
+ INTERNAL_SERVER_ERROR: 'INTERNAL_SERVER_ERROR'
175
+ };
176
+ /**
177
+ * Order side (B = Buy/Bid, A = Ask/Sell)
178
+ * @export
179
+ */
180
+ exports.Side = {
181
+ B: 'B',
182
+ A: 'A'
183
+ };
184
+ /**
185
+ * @export
186
+ */
187
+ exports.SpotExecutionSideEnum = {
188
+ B: 'B',
189
+ A: 'A'
190
+ };
191
+ /**
192
+ * @export
193
+ */
194
+ exports.SpotExecutionTypeEnum = {
195
+ ORDER_MATCH: 'ORDER_MATCH',
196
+ LIQUIDATION: 'LIQUIDATION',
197
+ ADL: 'ADL'
198
+ };
199
+ /**
200
+ * @export
201
+ */
202
+ exports.SpotExecutionListDataInnerSideEnum = {
203
+ B: 'B',
204
+ A: 'A'
205
+ };
206
+ /**
207
+ * @export
208
+ */
209
+ exports.SpotExecutionListDataInnerTypeEnum = {
210
+ ORDER_MATCH: 'ORDER_MATCH',
211
+ LIQUIDATION: 'LIQUIDATION',
212
+ ADL: 'ADL'
213
+ };
214
+ /**
215
+ * Order time in force (IOC = Immediate or Cancel, GTC = Good Till Cancel)
216
+ * @export
217
+ */
218
+ exports.TimeInForce = {
219
+ IOC: 'IOC',
220
+ GTC: 'GTC'
221
+ };
222
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"/","sources":["rest/models/index.ts"],"names":[],"mappings":"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","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * \n * @export\n * @interface Account\n */\nexport interface Account {\n /**\n * \n * @type {number}\n * @memberof Account\n */\n accountId: number;\n /**\n * \n * @type {string}\n * @memberof Account\n */\n name: string;\n /**\n * Last update timestamp (milliseconds)\n * @type {number}\n * @memberof Account\n */\n lastUpdateAt: number;\n}\n/**\n * \n * @export\n * @interface AssetDefinition\n */\nexport interface AssetDefinition {\n /**\n * \n * @type {string}\n * @memberof AssetDefinition\n */\n asset: string;\n /**\n * \n * @type {string}\n * @memberof AssetDefinition\n */\n spotMarketSymbol: string;\n /**\n * Notional discount to the value of a collateral when used to satisfy the margin requirements; it does not imply any token conversion, but is rather an accounting adjustment.\n * @type {string}\n * @memberof AssetDefinition\n */\n priceHaircut: string;\n /**\n * Discount in the token price when liquidating collateral.\n * @type {string}\n * @memberof AssetDefinition\n */\n liquidationDiscount: string;\n /**\n * Configuration timestamp (milliseconds)\n * @type {number}\n * @memberof AssetDefinition\n */\n timestamp: number;\n}\n/**\n * \n * @export\n * @interface CancelOrderRequest\n */\nexport interface CancelOrderRequest {\n /**\n * Order ID to cancel\n * @type {string}\n * @memberof CancelOrderRequest\n */\n orderId: string;\n /**\n * See signatures section for more details on how to generate.\n * @type {string}\n * @memberof CancelOrderRequest\n */\n signature: string;\n}\n/**\n * \n * @export\n * @interface CancelOrderResponse\n */\nexport interface CancelOrderResponse {\n /**\n * Order status\n * @type {string}\n * @memberof CancelOrderResponse\n */\n status: CancelOrderResponseStatusEnum;\n /**\n * Cancelled order ID\n * @type {string}\n * @memberof CancelOrderResponse\n */\n orderId: string;\n}\n\n\n/**\n * @export\n */\nexport const CancelOrderResponseStatusEnum = {\n OPEN: 'OPEN',\n FILLED: 'FILLED',\n CANCELLED: 'CANCELLED',\n REJECTED: 'REJECTED'\n} as const;\nexport type CancelOrderResponseStatusEnum = typeof CancelOrderResponseStatusEnum[keyof typeof CancelOrderResponseStatusEnum];\n\n/**\n * \n * @export\n * @interface CandleHistoryData\n */\nexport interface CandleHistoryData {\n /**\n * Array of timestamps (seconds)\n * @type {Array<number>}\n * @memberof CandleHistoryData\n */\n t: Array<number>;\n /**\n * Array of opening prices\n * @type {Array<string>}\n * @memberof CandleHistoryData\n */\n o: Array<string>;\n /**\n * Array of high prices\n * @type {Array<string>}\n * @memberof CandleHistoryData\n */\n h: Array<string>;\n /**\n * Array of low prices\n * @type {Array<string>}\n * @memberof CandleHistoryData\n */\n l: Array<string>;\n /**\n * Array of closing prices\n * @type {Array<string>}\n * @memberof CandleHistoryData\n */\n c: Array<string>;\n}\n/**\n * \n * @export\n * @interface CreateOrderRequest\n */\nexport interface CreateOrderRequest {\n /**\n * \n * @type {number}\n * @memberof CreateOrderRequest\n */\n exchangeId: number;\n /**\n * \n * @type {string}\n * @memberof CreateOrderRequest\n */\n symbol?: string;\n /**\n * \n * @type {number}\n * @memberof CreateOrderRequest\n */\n accountId: number;\n /**\n * Whether this is a buy order\n * @type {boolean}\n * @memberof CreateOrderRequest\n */\n isBuy: boolean;\n /**\n * \n * @type {string}\n * @memberof CreateOrderRequest\n */\n limitPx: string;\n /**\n * \n * @type {string}\n * @memberof CreateOrderRequest\n */\n qty?: string;\n /**\n * Order type, (LIMIT = Limit, TP = Take Profit, SL = Stop Loss)\n * @type {string}\n * @memberof CreateOrderRequest\n */\n orderType: CreateOrderRequestOrderTypeEnum;\n /**\n * Order time in force, exclusively used for LIMIT orders\n * @type {string}\n * @memberof CreateOrderRequest\n */\n timeInForce?: CreateOrderRequestTimeInForceEnum;\n /**\n * Trigger price, only for TP/SL orders\n * @type {string}\n * @memberof CreateOrderRequest\n */\n triggerPx?: string;\n /**\n * Whether this is a reduce-only order, exclusively used for LIMIT IOC orders.\n * @type {boolean}\n * @memberof CreateOrderRequest\n */\n reduceOnly?: boolean;\n /**\n * See signatures and nonces section for more details on how to generate.\n * @type {string}\n * @memberof CreateOrderRequest\n */\n signature: string;\n /**\n * Order nonce, see signatures and nonces section for more details.\n * @type {string}\n * @memberof CreateOrderRequest\n */\n nonce: string;\n /**\n * Signer wallet address\n * @type {string}\n * @memberof CreateOrderRequest\n */\n signerWallet: string;\n /**\n * Expiration timestamp (exclusively for IOC orders). The order will only be filled before this timestamp.\n * @type {number}\n * @memberof CreateOrderRequest\n */\n expiresAfter?: number;\n}\n\n\n/**\n * @export\n */\nexport const CreateOrderRequestOrderTypeEnum = {\n LIMIT: 'LIMIT',\n TP: 'TP',\n SL: 'SL'\n} as const;\nexport type CreateOrderRequestOrderTypeEnum = typeof CreateOrderRequestOrderTypeEnum[keyof typeof CreateOrderRequestOrderTypeEnum];\n\n/**\n * @export\n */\nexport const CreateOrderRequestTimeInForceEnum = {\n IOC: 'IOC',\n GTC: 'GTC'\n} as const;\nexport type CreateOrderRequestTimeInForceEnum = typeof CreateOrderRequestTimeInForceEnum[keyof typeof CreateOrderRequestTimeInForceEnum];\n\n/**\n * \n * @export\n * @interface CreateOrderResponse\n */\nexport interface CreateOrderResponse {\n /**\n * Order status\n * @type {string}\n * @memberof CreateOrderResponse\n */\n status: CreateOrderResponseStatusEnum;\n /**\n * Created order ID (currently generated for all order types except IOC)\n * @type {string}\n * @memberof CreateOrderResponse\n */\n orderId?: string;\n}\n\n\n/**\n * @export\n */\nexport const CreateOrderResponseStatusEnum = {\n OPEN: 'OPEN',\n FILLED: 'FILLED',\n CANCELLED: 'CANCELLED',\n REJECTED: 'REJECTED'\n} as const;\nexport type CreateOrderResponseStatusEnum = typeof CreateOrderResponseStatusEnum[keyof typeof CreateOrderResponseStatusEnum];\n\n\n/**\n * Type of execution\n * @export\n */\nexport const ExecutionType = {\n ORDER_MATCH: 'ORDER_MATCH',\n LIQUIDATION: 'LIQUIDATION',\n ADL: 'ADL'\n} as const;\nexport type ExecutionType = typeof ExecutionType[keyof typeof ExecutionType];\n\n/**\n * \n * @export\n * @interface FeeTierParameters\n */\nexport interface FeeTierParameters {\n /**\n * \n * @type {number}\n * @memberof FeeTierParameters\n */\n tierId: number;\n /**\n * Taker fee rate (fee will be qty * takerFee)\n * @type {string}\n * @memberof FeeTierParameters\n */\n takerFee: string;\n /**\n * Maker fee rate (fee will be qty * makerFee)\n * @type {string}\n * @memberof FeeTierParameters\n */\n makerFee: string;\n /**\n * 14-day volume level required this fee tier to be applied to a wallet\n * @type {string}\n * @memberof FeeTierParameters\n */\n volume14d: string;\n /**\n * Fee tier type (REGULAR = Standard tier, VIP = VIP tier)\n * @type {string}\n * @memberof FeeTierParameters\n */\n tierType: FeeTierParametersTierTypeEnum;\n}\n\n\n/**\n * @export\n */\nexport const FeeTierParametersTierTypeEnum = {\n REGULAR: 'REGULAR',\n VIP: 'VIP'\n} as const;\nexport type FeeTierParametersTierTypeEnum = typeof FeeTierParametersTierTypeEnum[keyof typeof FeeTierParametersTierTypeEnum];\n\n/**\n * \n * @export\n * @interface GlobalFeeParameters\n */\nexport interface GlobalFeeParameters {\n /**\n * OG user discount\n * @type {string}\n * @memberof GlobalFeeParameters\n */\n ogDiscount: string;\n /**\n * Referee discount\n * @type {string}\n * @memberof GlobalFeeParameters\n */\n refereeDiscount: string;\n /**\n * Referrer rebate\n * @type {string}\n * @memberof GlobalFeeParameters\n */\n referrerRebate: string;\n /**\n * Affiliate referrer rebate\n * @type {string}\n * @memberof GlobalFeeParameters\n */\n affiliateReferrerRebate: string;\n}\n/**\n * \n * @export\n * @interface LiquidityParameters\n */\nexport interface LiquidityParameters {\n /**\n * \n * @type {string}\n * @memberof LiquidityParameters\n */\n symbol: string;\n /**\n * Parameter determining the liquidity distribution along the AMM pricing curve, in particular expanding or contracting the max exposure parameter that would otherwise be determined by the capital available.\n * @type {string}\n * @memberof LiquidityParameters\n */\n depth: string;\n /**\n * Parameter determining the sensitivity of the dynamic funding rate to the size of the imbalances; higher multiplier means that the funding rate will diverge faster, all else being equal.\n * @type {string}\n * @memberof LiquidityParameters\n */\n velocityMultiplier: string;\n}\n/**\n * \n * @export\n * @interface MarketDefinition\n */\nexport interface MarketDefinition {\n /**\n * \n * @type {string}\n * @memberof MarketDefinition\n */\n symbol: string;\n /**\n * Numerical identifier for each market, only needed to generate signatures\n * @type {number}\n * @memberof MarketDefinition\n */\n marketId: number;\n /**\n * \n * @type {string}\n * @memberof MarketDefinition\n */\n minOrderQty: string;\n /**\n * Minimum size increment\n * @type {string}\n * @memberof MarketDefinition\n */\n qtyStepSize: string;\n /**\n * Minimum price increment\n * @type {string}\n * @memberof MarketDefinition\n */\n tickSize: string;\n /**\n * Minimum percentage of notional that needs to be covered to avoid liquidation procedures for a given market; below this value, your account is subject to liquidation procedures. When cross margining, all requirements across markets are covered by the same balance, and all positions are subject to liquidations.\n * @type {string}\n * @memberof MarketDefinition\n */\n liquidationMarginParameter: string;\n /**\n * Minimum percentage of notional that needs to be covered post trade; if the account does not satisfy this requirement, trades will not get executed.\n * @type {string}\n * @memberof MarketDefinition\n */\n initialMarginParameter: string;\n /**\n * Maximum leverage allowed\n * @type {number}\n * @memberof MarketDefinition\n */\n maxLeverage: number;\n /**\n * Maximum one-sided open interest in units for a given market.\n * @type {string}\n * @memberof MarketDefinition\n */\n oiCap: string;\n}\n/**\n * \n * @export\n * @interface MarketSummary\n */\nexport interface MarketSummary {\n /**\n * \n * @type {string}\n * @memberof MarketSummary\n */\n symbol: string;\n /**\n * Time when the market summary was last calculated (milliseconds)\n * @type {number}\n * @memberof MarketSummary\n */\n updatedAt: number;\n /**\n * Long open interest in lots\n * @type {string}\n * @memberof MarketSummary\n */\n longOiQty: string;\n /**\n * Short open interest in lots\n * @type {string}\n * @memberof MarketSummary\n */\n shortOiQty: string;\n /**\n * Total open interest quantity\n * @type {string}\n * @memberof MarketSummary\n */\n oiQty: string;\n /**\n * Current hourly funding rate\n * @type {string}\n * @memberof MarketSummary\n */\n fundingRate: string;\n /**\n * Current reference value of funding accrued by one unit of exposure; there is one funding value per market and per direction, with short v long funding values differing possibly due to Auto-Deleveraging (ADL)\n * @type {string}\n * @memberof MarketSummary\n */\n longFundingValue: string;\n /**\n * Current reference value of funding accrued by one unit of exposure; there is one funding value per market and per direction, with short v long funding values differing possibly due to Auto-Deleveraging (ADL)\n * @type {string}\n * @memberof MarketSummary\n */\n shortFundingValue: string;\n /**\n * Funding rate velocity\n * @type {string}\n * @memberof MarketSummary\n */\n fundingRateVelocity: string;\n /**\n * \n * @type {string}\n * @memberof MarketSummary\n */\n volume24h: string;\n /**\n * \n * @type {string}\n * @memberof MarketSummary\n */\n pxChange24h?: string;\n /**\n * Last oracle price, at the moment of the last market summary update\n * @type {string}\n * @memberof MarketSummary\n */\n throttledOraclePrice?: string;\n /**\n * Last pool price, at the moment of the last market summary update\n * @type {string}\n * @memberof MarketSummary\n */\n throttledPoolPrice?: string;\n /**\n * Timestamp of the last price update (milliseconds)\n * @type {number}\n * @memberof MarketSummary\n */\n pricesUpdatedAt?: number;\n}\n/**\n * \n * @export\n * @interface Order\n */\nexport interface Order {\n /**\n * \n * @type {number}\n * @memberof Order\n */\n exchangeId: number;\n /**\n * \n * @type {string}\n * @memberof Order\n */\n symbol: string;\n /**\n * \n * @type {number}\n * @memberof Order\n */\n accountId: number;\n /**\n * \n * @type {string}\n * @memberof Order\n */\n orderId?: string;\n /**\n * \n * @type {string}\n * @memberof Order\n */\n qty?: string;\n /**\n * Executed quantity. Example: I request 1.0 BTCRUSDPERP and the order is filled with 0.2 BTCRUSDPERP, qty will stay at 1.0 and execQty will be 0.2.\n * @type {string}\n * @memberof Order\n */\n execQty?: string;\n /**\n * Order side (B = Buy/Bid, A = Ask/Sell)\n * @type {string}\n * @memberof Order\n */\n side: OrderSideEnum;\n /**\n * \n * @type {string}\n * @memberof Order\n */\n limitPx: string;\n /**\n * Order type, (LIMIT = Limit, TP = Take Profit, SL = Stop Loss)\n * @type {string}\n * @memberof Order\n */\n orderType: OrderOrderTypeEnum;\n /**\n * Price at which TP/SL orders will be triggered, should not be set for other order types.\n * @type {string}\n * @memberof Order\n */\n triggerPx?: string;\n /**\n * Order time in force, exclusively used for LIMIT orders\n * @type {string}\n * @memberof Order\n */\n timeInForce?: OrderTimeInForceEnum;\n /**\n * Whether this is a reduce-only order, exclusively used for LIMIT IOC orders.\n * @type {boolean}\n * @memberof Order\n */\n reduceOnly?: boolean;\n /**\n * Order status\n * @type {string}\n * @memberof Order\n */\n status: OrderStatusEnum;\n /**\n * Creation timestamp (milliseconds)\n * @type {number}\n * @memberof Order\n */\n createdAt: number;\n /**\n * Last update timestamp (milliseconds)\n * @type {number}\n * @memberof Order\n */\n lastUpdateAt: number;\n}\n\n\n/**\n * @export\n */\nexport const OrderSideEnum = {\n B: 'B',\n A: 'A'\n} as const;\nexport type OrderSideEnum = typeof OrderSideEnum[keyof typeof OrderSideEnum];\n\n/**\n * @export\n */\nexport const OrderOrderTypeEnum = {\n LIMIT: 'LIMIT',\n TP: 'TP',\n SL: 'SL'\n} as const;\nexport type OrderOrderTypeEnum = typeof OrderOrderTypeEnum[keyof typeof OrderOrderTypeEnum];\n\n/**\n * @export\n */\nexport const OrderTimeInForceEnum = {\n IOC: 'IOC',\n GTC: 'GTC'\n} as const;\nexport type OrderTimeInForceEnum = typeof OrderTimeInForceEnum[keyof typeof OrderTimeInForceEnum];\n\n/**\n * @export\n */\nexport const OrderStatusEnum = {\n OPEN: 'OPEN',\n FILLED: 'FILLED',\n CANCELLED: 'CANCELLED',\n REJECTED: 'REJECTED'\n} as const;\nexport type OrderStatusEnum = typeof OrderStatusEnum[keyof typeof OrderStatusEnum];\n\n\n/**\n * Order status\n * @export\n */\nexport const OrderStatus = {\n OPEN: 'OPEN',\n FILLED: 'FILLED',\n CANCELLED: 'CANCELLED',\n REJECTED: 'REJECTED'\n} as const;\nexport type OrderStatus = typeof OrderStatus[keyof typeof OrderStatus];\n\n\n/**\n * Order type, (LIMIT = Limit, TP = Take Profit, SL = Stop Loss)\n * @export\n */\nexport const OrderType = {\n LIMIT: 'LIMIT',\n TP: 'TP',\n SL: 'SL'\n} as const;\nexport type OrderType = typeof OrderType[keyof typeof OrderType];\n\n/**\n * \n * @export\n * @interface PaginationParameters\n */\nexport interface PaginationParameters {\n /**\n * Number of items requested\n * @type {number}\n * @memberof PaginationParameters\n */\n limit: number;\n /**\n * Number of items returned\n * @type {number}\n * @memberof PaginationParameters\n */\n count: number;\n /**\n * Timestamp of last result, in milliseconds\n * @type {number}\n * @memberof PaginationParameters\n */\n endTime?: number;\n /**\n * Timestamp of first result, in milliseconds\n * @type {number}\n * @memberof PaginationParameters\n */\n startTime?: number;\n}\n/**\n * \n * @export\n * @interface PerpExecution\n */\nexport interface PerpExecution {\n /**\n * \n * @type {number}\n * @memberof PerpExecution\n */\n exchangeId: number;\n /**\n * \n * @type {string}\n * @memberof PerpExecution\n */\n symbol: string;\n /**\n * \n * @type {number}\n * @memberof PerpExecution\n */\n accountId: number;\n /**\n * \n * @type {string}\n * @memberof PerpExecution\n */\n qty: string;\n /**\n * Order side (B = Buy/Bid, A = Ask/Sell)\n * @type {string}\n * @memberof PerpExecution\n */\n side: PerpExecutionSideEnum;\n /**\n * \n * @type {string}\n * @memberof PerpExecution\n */\n price: string;\n /**\n * \n * @type {string}\n * @memberof PerpExecution\n */\n fee: string;\n /**\n * Type of execution\n * @type {string}\n * @memberof PerpExecution\n */\n type: PerpExecutionTypeEnum;\n /**\n * Execution timestamp (milliseconds)\n * @type {number}\n * @memberof PerpExecution\n */\n timestamp: number;\n /**\n * Execution sequence number, increases by 1 for every perp execution in reya chain\n * @type {number}\n * @memberof PerpExecution\n */\n sequenceNumber: number;\n}\n\n\n/**\n * @export\n */\nexport const PerpExecutionSideEnum = {\n B: 'B',\n A: 'A'\n} as const;\nexport type PerpExecutionSideEnum = typeof PerpExecutionSideEnum[keyof typeof PerpExecutionSideEnum];\n\n/**\n * @export\n */\nexport const PerpExecutionTypeEnum = {\n ORDER_MATCH: 'ORDER_MATCH',\n LIQUIDATION: 'LIQUIDATION',\n ADL: 'ADL'\n} as const;\nexport type PerpExecutionTypeEnum = typeof PerpExecutionTypeEnum[keyof typeof PerpExecutionTypeEnum];\n\n/**\n * \n * @export\n * @interface PerpExecutionList\n */\nexport interface PerpExecutionList {\n /**\n * \n * @type {Array<PerpExecutionListDataInner>}\n * @memberof PerpExecutionList\n */\n data: Array<PerpExecutionListDataInner>;\n /**\n * \n * @type {PerpExecutionListMeta}\n * @memberof PerpExecutionList\n */\n meta: PerpExecutionListMeta;\n}\n/**\n * \n * @export\n * @interface PerpExecutionListDataInner\n */\nexport interface PerpExecutionListDataInner {\n /**\n * \n * @type {number}\n * @memberof PerpExecutionListDataInner\n */\n exchangeId: number;\n /**\n * \n * @type {string}\n * @memberof PerpExecutionListDataInner\n */\n symbol: string;\n /**\n * \n * @type {number}\n * @memberof PerpExecutionListDataInner\n */\n accountId: number;\n /**\n * \n * @type {string}\n * @memberof PerpExecutionListDataInner\n */\n qty: string;\n /**\n * Order side (B = Buy/Bid, A = Ask/Sell)\n * @type {string}\n * @memberof PerpExecutionListDataInner\n */\n side: PerpExecutionListDataInnerSideEnum;\n /**\n * \n * @type {string}\n * @memberof PerpExecutionListDataInner\n */\n price: string;\n /**\n * \n * @type {string}\n * @memberof PerpExecutionListDataInner\n */\n fee: string;\n /**\n * Type of execution\n * @type {string}\n * @memberof PerpExecutionListDataInner\n */\n type: PerpExecutionListDataInnerTypeEnum;\n /**\n * Execution timestamp (milliseconds)\n * @type {number}\n * @memberof PerpExecutionListDataInner\n */\n timestamp: number;\n /**\n * Execution sequence number, increases by 1 for every perp execution in reya chain\n * @type {number}\n * @memberof PerpExecutionListDataInner\n */\n sequenceNumber: number;\n}\n\n\n/**\n * @export\n */\nexport const PerpExecutionListDataInnerSideEnum = {\n B: 'B',\n A: 'A'\n} as const;\nexport type PerpExecutionListDataInnerSideEnum = typeof PerpExecutionListDataInnerSideEnum[keyof typeof PerpExecutionListDataInnerSideEnum];\n\n/**\n * @export\n */\nexport const PerpExecutionListDataInnerTypeEnum = {\n ORDER_MATCH: 'ORDER_MATCH',\n LIQUIDATION: 'LIQUIDATION',\n ADL: 'ADL'\n} as const;\nexport type PerpExecutionListDataInnerTypeEnum = typeof PerpExecutionListDataInnerTypeEnum[keyof typeof PerpExecutionListDataInnerTypeEnum];\n\n/**\n * \n * @export\n * @interface PerpExecutionListMeta\n */\nexport interface PerpExecutionListMeta {\n /**\n * Number of items requested\n * @type {number}\n * @memberof PerpExecutionListMeta\n */\n limit: number;\n /**\n * Number of items returned\n * @type {number}\n * @memberof PerpExecutionListMeta\n */\n count: number;\n /**\n * Timestamp of last result, in milliseconds\n * @type {number}\n * @memberof PerpExecutionListMeta\n */\n endTime?: number;\n /**\n * Timestamp of first result, in milliseconds\n * @type {number}\n * @memberof PerpExecutionListMeta\n */\n startTime?: number;\n}\n/**\n * \n * @export\n * @interface Position\n */\nexport interface Position {\n /**\n * \n * @type {number}\n * @memberof Position\n */\n exchangeId: number;\n /**\n * \n * @type {string}\n * @memberof Position\n */\n symbol: string;\n /**\n * \n * @type {number}\n * @memberof Position\n */\n accountId: number;\n /**\n * \n * @type {string}\n * @memberof Position\n */\n qty: string;\n /**\n * Order side (B = Buy/Bid, A = Ask/Sell)\n * @type {string}\n * @memberof Position\n */\n side: PositionSideEnum;\n /**\n * \n * @type {string}\n * @memberof Position\n */\n avgEntryPrice: string;\n /**\n * Average of funding values at the entry times of currently open exposure, which serves as a baseline from which to compute the accrued funding in the position: units x (fundingValue - avgEntryFundingValue)\n * @type {string}\n * @memberof Position\n */\n avgEntryFundingValue: string;\n /**\n * Sequence number of last execution taken into account for the position.\n * @type {number}\n * @memberof Position\n */\n lastTradeSequenceNumber: number;\n}\n\n\n/**\n * @export\n */\nexport const PositionSideEnum = {\n B: 'B',\n A: 'A'\n} as const;\nexport type PositionSideEnum = typeof PositionSideEnum[keyof typeof PositionSideEnum];\n\n/**\n * \n * @export\n * @interface Price\n */\nexport interface Price {\n /**\n * \n * @type {string}\n * @memberof Price\n */\n symbol: string;\n /**\n * Price given by the Stork feeds, used both as the peg price for prices on Reya, as well as Mark Prices. The Stork price feed is usually the perp prices across three major CEXs\n * @type {string}\n * @memberof Price\n */\n oraclePrice?: string;\n /**\n * The price currently quoted by the AMM for zero volume, from which trades are priced (equivalent to mid price in an order book); a trade of any size will be move this price up or down depending on the direction.\n * @type {string}\n * @memberof Price\n */\n poolPrice?: string;\n /**\n * Last update timestamp (milliseconds)\n * @type {number}\n * @memberof Price\n */\n updatedAt: number;\n}\n/**\n * \n * @export\n * @interface RequestError\n */\nexport interface RequestError {\n /**\n * Standardized error codes for API responses\n * @type {string}\n * @memberof RequestError\n */\n error: RequestErrorErrorEnum;\n /**\n * Human-readable error message\n * @type {string}\n * @memberof RequestError\n */\n message: string;\n}\n\n\n/**\n * @export\n */\nexport const RequestErrorErrorEnum = {\n SYMBOL_NOT_FOUND: 'SYMBOL_NOT_FOUND',\n NO_ACCOUNTS_FOUND: 'NO_ACCOUNTS_FOUND',\n NO_PRICES_FOUND_FOR_SYMBOL: 'NO_PRICES_FOUND_FOR_SYMBOL',\n INPUT_VALIDATION_ERROR: 'INPUT_VALIDATION_ERROR',\n CREATE_ORDER_OTHER_ERROR: 'CREATE_ORDER_OTHER_ERROR',\n CANCEL_ORDER_OTHER_ERROR: 'CANCEL_ORDER_OTHER_ERROR'\n} as const;\nexport type RequestErrorErrorEnum = typeof RequestErrorErrorEnum[keyof typeof RequestErrorErrorEnum];\n\n\n/**\n * Standardized error codes for API responses\n * @export\n */\nexport const RequestErrorCode = {\n SYMBOL_NOT_FOUND: 'SYMBOL_NOT_FOUND',\n NO_ACCOUNTS_FOUND: 'NO_ACCOUNTS_FOUND',\n NO_PRICES_FOUND_FOR_SYMBOL: 'NO_PRICES_FOUND_FOR_SYMBOL',\n INPUT_VALIDATION_ERROR: 'INPUT_VALIDATION_ERROR',\n CREATE_ORDER_OTHER_ERROR: 'CREATE_ORDER_OTHER_ERROR',\n CANCEL_ORDER_OTHER_ERROR: 'CANCEL_ORDER_OTHER_ERROR'\n} as const;\nexport type RequestErrorCode = typeof RequestErrorCode[keyof typeof RequestErrorCode];\n\n/**\n * \n * @export\n * @interface ServerError\n */\nexport interface ServerError {\n /**\n * Standardized error codes for API responses\n * @type {string}\n * @memberof ServerError\n */\n error: ServerErrorErrorEnum;\n /**\n * Human-readable error message\n * @type {string}\n * @memberof ServerError\n */\n message: string;\n}\n\n\n/**\n * @export\n */\nexport const ServerErrorErrorEnum = {\n INTERNAL_SERVER_ERROR: 'INTERNAL_SERVER_ERROR'\n} as const;\nexport type ServerErrorErrorEnum = typeof ServerErrorErrorEnum[keyof typeof ServerErrorErrorEnum];\n\n\n/**\n * Standardized error codes for API responses\n * @export\n */\nexport const ServerErrorCode = {\n INTERNAL_SERVER_ERROR: 'INTERNAL_SERVER_ERROR'\n} as const;\nexport type ServerErrorCode = typeof ServerErrorCode[keyof typeof ServerErrorCode];\n\n\n/**\n * Order side (B = Buy/Bid, A = Ask/Sell)\n * @export\n */\nexport const Side = {\n B: 'B',\n A: 'A'\n} as const;\nexport type Side = typeof Side[keyof typeof Side];\n\n/**\n * \n * @export\n * @interface SpotExecution\n */\nexport interface SpotExecution {\n /**\n * \n * @type {number}\n * @memberof SpotExecution\n */\n exchangeId: number;\n /**\n * \n * @type {string}\n * @memberof SpotExecution\n */\n symbol: string;\n /**\n * \n * @type {number}\n * @memberof SpotExecution\n */\n accountId: number;\n /**\n * Order side (B = Buy/Bid, A = Ask/Sell)\n * @type {string}\n * @memberof SpotExecution\n */\n side: SpotExecutionSideEnum;\n /**\n * \n * @type {string}\n * @memberof SpotExecution\n */\n qty: string;\n /**\n * \n * @type {string}\n * @memberof SpotExecution\n */\n price?: string;\n /**\n * \n * @type {string}\n * @memberof SpotExecution\n */\n fee: string;\n /**\n * Type of execution\n * @type {string}\n * @memberof SpotExecution\n */\n type: SpotExecutionTypeEnum;\n /**\n * Execution timestamp (milliseconds)\n * @type {number}\n * @memberof SpotExecution\n */\n timestamp: number;\n}\n\n\n/**\n * @export\n */\nexport const SpotExecutionSideEnum = {\n B: 'B',\n A: 'A'\n} as const;\nexport type SpotExecutionSideEnum = typeof SpotExecutionSideEnum[keyof typeof SpotExecutionSideEnum];\n\n/**\n * @export\n */\nexport const SpotExecutionTypeEnum = {\n ORDER_MATCH: 'ORDER_MATCH',\n LIQUIDATION: 'LIQUIDATION',\n ADL: 'ADL'\n} as const;\nexport type SpotExecutionTypeEnum = typeof SpotExecutionTypeEnum[keyof typeof SpotExecutionTypeEnum];\n\n/**\n * \n * @export\n * @interface SpotExecutionList\n */\nexport interface SpotExecutionList {\n /**\n * \n * @type {Array<SpotExecutionListDataInner>}\n * @memberof SpotExecutionList\n */\n data: Array<SpotExecutionListDataInner>;\n /**\n * \n * @type {PerpExecutionListMeta}\n * @memberof SpotExecutionList\n */\n meta: PerpExecutionListMeta;\n}\n/**\n * \n * @export\n * @interface SpotExecutionListDataInner\n */\nexport interface SpotExecutionListDataInner {\n /**\n * \n * @type {number}\n * @memberof SpotExecutionListDataInner\n */\n exchangeId: number;\n /**\n * \n * @type {string}\n * @memberof SpotExecutionListDataInner\n */\n symbol: string;\n /**\n * \n * @type {number}\n * @memberof SpotExecutionListDataInner\n */\n accountId: number;\n /**\n * Order side (B = Buy/Bid, A = Ask/Sell)\n * @type {string}\n * @memberof SpotExecutionListDataInner\n */\n side: SpotExecutionListDataInnerSideEnum;\n /**\n * \n * @type {string}\n * @memberof SpotExecutionListDataInner\n */\n qty: string;\n /**\n * \n * @type {string}\n * @memberof SpotExecutionListDataInner\n */\n price?: string;\n /**\n * \n * @type {string}\n * @memberof SpotExecutionListDataInner\n */\n fee: string;\n /**\n * Type of execution\n * @type {string}\n * @memberof SpotExecutionListDataInner\n */\n type: SpotExecutionListDataInnerTypeEnum;\n /**\n * Execution timestamp (milliseconds)\n * @type {number}\n * @memberof SpotExecutionListDataInner\n */\n timestamp: number;\n}\n\n\n/**\n * @export\n */\nexport const SpotExecutionListDataInnerSideEnum = {\n B: 'B',\n A: 'A'\n} as const;\nexport type SpotExecutionListDataInnerSideEnum = typeof SpotExecutionListDataInnerSideEnum[keyof typeof SpotExecutionListDataInnerSideEnum];\n\n/**\n * @export\n */\nexport const SpotExecutionListDataInnerTypeEnum = {\n ORDER_MATCH: 'ORDER_MATCH',\n LIQUIDATION: 'LIQUIDATION',\n ADL: 'ADL'\n} as const;\nexport type SpotExecutionListDataInnerTypeEnum = typeof SpotExecutionListDataInnerTypeEnum[keyof typeof SpotExecutionListDataInnerTypeEnum];\n\n\n/**\n * Order time in force (IOC = Immediate or Cancel, GTC = Good Till Cancel)\n * @export\n */\nexport const TimeInForce = {\n IOC: 'IOC',\n GTC: 'GTC'\n} as const;\nexport type TimeInForce = typeof TimeInForce[keyof typeof TimeInForce];\n\n/**\n * \n * @export\n * @interface WalletConfiguration\n */\nexport interface WalletConfiguration {\n /**\n * Fee tier identifier\n * @type {number}\n * @memberof WalletConfiguration\n */\n feeTierId: number;\n /**\n * OG status\n * @type {boolean}\n * @memberof WalletConfiguration\n */\n ogStatus: boolean;\n /**\n * Affiliate status\n * @type {boolean}\n * @memberof WalletConfiguration\n */\n affiliateStatus: boolean;\n /**\n * Referee status\n * @type {boolean}\n * @memberof WalletConfiguration\n */\n refereeStatus: boolean;\n}\n"]}