@pod-network/trade-sdk 0.13.0 → 0.15.0
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.
- package/README.md +7 -3
- package/dist/client.d.ts +5 -5
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +3 -16
- package/dist/client.js.map +1 -1
- package/dist/codec/activity.d.ts +15 -10
- package/dist/codec/activity.d.ts.map +1 -1
- package/dist/codec/activity.js +166 -31
- package/dist/codec/activity.js.map +1 -1
- package/dist/codec/decode.d.ts +2 -14
- package/dist/codec/decode.d.ts.map +1 -1
- package/dist/codec/decode.js +2 -66
- package/dist/codec/decode.js.map +1 -1
- package/dist/codec/orders-v2.d.ts +16 -9
- package/dist/codec/orders-v2.d.ts.map +1 -1
- package/dist/codec/orders-v2.js +6 -16
- package/dist/codec/orders-v2.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/sync/activity.d.ts +19 -28
- package/dist/sync/activity.d.ts.map +1 -1
- package/dist/sync/activity.js +141 -167
- package/dist/sync/activity.js.map +1 -1
- package/dist/sync/orders.js +4 -4
- package/dist/sync/orders.js.map +1 -1
- package/dist/sync/pnl-history.d.ts.map +1 -1
- package/dist/sync/pnl-history.js +14 -9
- package/dist/sync/pnl-history.js.map +1 -1
- package/dist/transport/rest.d.ts +11 -12
- package/dist/transport/rest.d.ts.map +1 -1
- package/dist/transport/rest.js +11 -13
- package/dist/transport/rest.js.map +1 -1
- package/dist/transport/ws.d.ts +1 -3
- package/dist/transport/ws.d.ts.map +1 -1
- package/dist/transport/ws.js.map +1 -1
- package/dist/types/public.d.ts +84 -22
- package/dist/types/public.d.ts.map +1 -1
- package/dist/types/wire.d.ts +69 -63
- package/dist/types/wire.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +8 -11
- package/src/codec/activity.ts +167 -41
- package/src/codec/decode.ts +7 -74
- package/src/codec/orders-v2.ts +11 -26
- package/src/index.ts +2 -1
- package/src/sync/activity.ts +141 -167
- package/src/sync/orders.ts +4 -4
- package/src/sync/pnl-history.ts +13 -7
- package/src/transport/rest.ts +21 -21
- package/src/transport/ws.ts +1 -3
- package/src/types/public.ts +89 -20
- package/src/types/wire.ts +57 -65
package/src/types/public.ts
CHANGED
|
@@ -20,7 +20,7 @@ export type OrderSide = "buy" | "sell";
|
|
|
20
20
|
export type OrderType = "limit" | "market";
|
|
21
21
|
export type OrderStatus =
|
|
22
22
|
| "pending" | "active" | "filled" | "expired"
|
|
23
|
-
| "canceled" | "margin_canceled" | "invalid" | "post_only_refused";
|
|
23
|
+
| "canceled" | "margin_canceled" | "self_trade_canceled" | "invalid" | "post_only_refused";
|
|
24
24
|
export type OrderKind =
|
|
25
25
|
| "user_signed" | "liquidation" | "triggered" | "adl" | "adl_counterparty"
|
|
26
26
|
/** A backstop transfer merged into the order feed as a synthetic terminal row. */
|
|
@@ -76,20 +76,21 @@ export interface AmendRejection {
|
|
|
76
76
|
* Absent when the stream names a single account.
|
|
77
77
|
*/
|
|
78
78
|
requestedBy?: Address;
|
|
79
|
-
/** The batch the refusal landed in (ms). */
|
|
80
79
|
batchMs: number;
|
|
81
80
|
}
|
|
82
81
|
|
|
83
82
|
/** What the engine did to an order, as `pod_orders_v2` reports it (ADR 0029 §3). */
|
|
84
83
|
export type OrderEventKind =
|
|
85
|
-
| "new" | "reject" | "fill" | "cancel" | "expire" | "modify" | "modify_reject";
|
|
84
|
+
| "new" | "reject" | "fill" | "cancel" | "expire" | "modify" | "modify_reject" | "cancel_reject";
|
|
86
85
|
|
|
87
86
|
/**
|
|
88
87
|
* The statuses an order can *close* with. Narrower than `OrderStatus`, which also
|
|
89
88
|
* covers the states a live order passes through — so a `switch` over this one can be
|
|
90
89
|
* exhaustive.
|
|
91
90
|
*/
|
|
92
|
-
export type TerminalStatus = Extract<
|
|
91
|
+
export type TerminalStatus = Extract<
|
|
92
|
+
OrderStatus, "filled" | "canceled" | "margin_canceled" | "self_trade_canceled" | "expired" | "post_only_refused"
|
|
93
|
+
>;
|
|
93
94
|
|
|
94
95
|
/** One fill, plus the status it closed the order with when it did. */
|
|
95
96
|
export interface OrderEventFill extends PartialFill {
|
|
@@ -110,6 +111,8 @@ export interface OrderEventFill extends PartialFill {
|
|
|
110
111
|
* 0029 §6 reserves a `why` for that), so do not try to re-derive it from `status`.
|
|
111
112
|
*/
|
|
112
113
|
closedAs?: TerminalStatus;
|
|
114
|
+
/** This fill's fee; absent on activity rows stored before it was recorded. */
|
|
115
|
+
fee?: bigint;
|
|
113
116
|
}
|
|
114
117
|
|
|
115
118
|
/**
|
|
@@ -149,6 +152,16 @@ export interface OrderEvent {
|
|
|
149
152
|
* from REST.
|
|
150
153
|
*/
|
|
151
154
|
amendRejection?: AmendRejection;
|
|
155
|
+
/** `cancel_reject` only. */
|
|
156
|
+
cancelRejection?: CancelRejection;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/** A cancel the engine refused; the order is untouched. */
|
|
160
|
+
export interface CancelRejection {
|
|
161
|
+
code: RejectCode;
|
|
162
|
+
message?: string;
|
|
163
|
+
/** The batch the refusal landed in (ms). */
|
|
164
|
+
batchMs: number;
|
|
152
165
|
}
|
|
153
166
|
|
|
154
167
|
export interface TokenInfo {
|
|
@@ -277,7 +290,6 @@ export interface Order {
|
|
|
277
290
|
endMs?: number;
|
|
278
291
|
/** Batch-inclusion time (ms) — when the order entered the book. */
|
|
279
292
|
includedMs?: number;
|
|
280
|
-
fills: PartialFill[];
|
|
281
293
|
/** Why the engine rejected the order; set only on `status: "invalid"`. */
|
|
282
294
|
rejectReason?: string;
|
|
283
295
|
// perpetual-only
|
|
@@ -285,6 +297,12 @@ export interface Order {
|
|
|
285
297
|
ioc?: boolean;
|
|
286
298
|
direction?: OrderDirection;
|
|
287
299
|
triggerType?: TriggerType;
|
|
300
|
+
/**
|
|
301
|
+
* Realized PnL across the slices this order's fills closed (signed, 1e18 USD). Absent on
|
|
302
|
+
* spot, on orders that never closed exposure, and on streamed orders, which `pod_orders_v2`
|
|
303
|
+
* does not carry it for; a REST row the stream later updates keeps the value it was fetched with.
|
|
304
|
+
*/
|
|
305
|
+
realizedPnl?: bigint;
|
|
288
306
|
}
|
|
289
307
|
|
|
290
308
|
export type Position = SpotPosition | PerpPosition;
|
|
@@ -451,21 +469,53 @@ export interface CandleQuery {
|
|
|
451
469
|
limit?: number;
|
|
452
470
|
}
|
|
453
471
|
|
|
454
|
-
export type ActivityType =
|
|
472
|
+
export type ActivityType =
|
|
473
|
+
| "order" | "fill" | "modify" | "termination" | "backstop" | "bridge_transfer" | "transfer"
|
|
474
|
+
| "modify_reject" | "cancel_reject";
|
|
455
475
|
|
|
456
476
|
/**
|
|
457
|
-
* One row of an account's activity (ADR 0057)
|
|
458
|
-
*
|
|
459
|
-
*
|
|
460
|
-
* `timeMs` is what the row is ordered by. Fills, cancels and amendments are not
|
|
461
|
-
* rows — they are events on the stream, and the order an `order` row carries
|
|
462
|
-
* already reflects them.
|
|
463
|
-
*
|
|
464
|
-
* Money amounts are signed from the account's side — negative left, positive
|
|
465
|
-
* arrived — and say nothing about the other end.
|
|
477
|
+
* One row of an account's activity (ADR 0057). Money amounts are signed from the
|
|
478
|
+
* account's side: negative left, positive arrived.
|
|
466
479
|
*/
|
|
467
480
|
export type ActivityEntry =
|
|
481
|
+
/** The placement, carrying the order as every later row seen so far left it. */
|
|
468
482
|
| { activityType: "order"; timeMs: number; order: Order }
|
|
483
|
+
| {
|
|
484
|
+
activityType: "fill";
|
|
485
|
+
timeMs: number;
|
|
486
|
+
orderId: Hash;
|
|
487
|
+
orderbookId: MarketId;
|
|
488
|
+
/** This fill alone. */
|
|
489
|
+
base: bigint;
|
|
490
|
+
quote: bigint;
|
|
491
|
+
/** Life-to-date totals; absent only on rows stored before they were recorded. */
|
|
492
|
+
totalBase?: bigint;
|
|
493
|
+
totalQuote?: bigint;
|
|
494
|
+
totalFee?: bigint;
|
|
495
|
+
/** This fill's fee; absent on rows stored before it was recorded. */
|
|
496
|
+
fee?: bigint;
|
|
497
|
+
closedAs?: TerminalStatus;
|
|
498
|
+
/** Perp only; signed. */
|
|
499
|
+
positionAfter?: bigint;
|
|
500
|
+
}
|
|
501
|
+
| {
|
|
502
|
+
activityType: "modify";
|
|
503
|
+
timeMs: number;
|
|
504
|
+
orderId: Hash;
|
|
505
|
+
orderbookId: MarketId;
|
|
506
|
+
price: bigint;
|
|
507
|
+
/** Unsigned magnitude. */
|
|
508
|
+
size: bigint;
|
|
509
|
+
oldPrice: bigint;
|
|
510
|
+
oldSize: bigint;
|
|
511
|
+
}
|
|
512
|
+
| {
|
|
513
|
+
activityType: "termination";
|
|
514
|
+
timeMs: number;
|
|
515
|
+
orderId: Hash;
|
|
516
|
+
orderbookId: MarketId;
|
|
517
|
+
status: TerminalStatus;
|
|
518
|
+
}
|
|
469
519
|
| (BackstopTransfer & { activityType: "backstop"; timeMs: number })
|
|
470
520
|
| {
|
|
471
521
|
activityType: "bridge_transfer";
|
|
@@ -483,13 +533,33 @@ export type ActivityEntry =
|
|
|
483
533
|
activityType: "transfer";
|
|
484
534
|
timeMs: number;
|
|
485
535
|
transferId: Hash;
|
|
536
|
+
/** The receiver when `amount` is negative, the sender otherwise; the account itself on a self-transfer. */
|
|
537
|
+
counterparty: Address;
|
|
486
538
|
token: Address;
|
|
487
539
|
amount: bigint;
|
|
488
540
|
error?: string;
|
|
541
|
+
}
|
|
542
|
+
/** An amendment the engine refused; `message` is the engine's reason. */
|
|
543
|
+
| {
|
|
544
|
+
activityType: "modify_reject";
|
|
545
|
+
timeMs: number;
|
|
546
|
+
orderId: Hash;
|
|
547
|
+
orderbookId: MarketId;
|
|
548
|
+
requestedPrice: bigint;
|
|
549
|
+
requestedSize: bigint;
|
|
550
|
+
message: string;
|
|
551
|
+
}
|
|
552
|
+
/** A cancel the engine refused; `message` is the engine's reason. */
|
|
553
|
+
| {
|
|
554
|
+
activityType: "cancel_reject";
|
|
555
|
+
timeMs: number;
|
|
556
|
+
orderId: Hash;
|
|
557
|
+
orderbookId: MarketId;
|
|
558
|
+
message: string;
|
|
489
559
|
};
|
|
490
560
|
|
|
491
|
-
/** The activity rows that
|
|
492
|
-
export type MoneyActivity =
|
|
561
|
+
/** The activity rows that move money. */
|
|
562
|
+
export type MoneyActivity = Extract<ActivityEntry, { activityType: "backstop" | "bridge_transfer" | "transfer" }>;
|
|
493
563
|
|
|
494
564
|
/**
|
|
495
565
|
* What the stream reported in one tick: the order transitions, and the money
|
|
@@ -501,14 +571,13 @@ export type MoneyActivity = Exclude<ActivityEntry, { activityType: "order" }>;
|
|
|
501
571
|
export type ActivityEvent = OrderEvent | MoneyActivity;
|
|
502
572
|
|
|
503
573
|
/**
|
|
504
|
-
* `from` and `to` are milliseconds
|
|
505
|
-
*
|
|
574
|
+
* `from` and `to` are milliseconds, both inclusive. `types` names the kinds to
|
|
575
|
+
* keep — absent or empty keeps every kind.
|
|
506
576
|
*/
|
|
507
577
|
export interface ActivityQuery {
|
|
508
578
|
types?: ActivityType[];
|
|
509
579
|
from?: number;
|
|
510
580
|
to?: number;
|
|
511
|
-
limit?: number;
|
|
512
581
|
}
|
|
513
582
|
|
|
514
583
|
export interface OrdersQuery {
|
package/src/types/wire.ts
CHANGED
|
@@ -91,13 +91,6 @@ export interface WireCandleTick {
|
|
|
91
91
|
volume: WireDecimal;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
export interface WirePartialFill {
|
|
95
|
-
base_amount: WireDecimal;
|
|
96
|
-
quote_amount: WireDecimal;
|
|
97
|
-
timestamp: number; // micros
|
|
98
|
-
price: WireDecimal;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
94
|
export interface WireOrder {
|
|
102
95
|
orderbook_id?: Hex;
|
|
103
96
|
/** The order endpoints say "perpetual" where `/clob/markets` says "perp". */
|
|
@@ -118,13 +111,14 @@ export interface WireOrder {
|
|
|
118
111
|
end: number | string; // micros
|
|
119
112
|
included_batch?: number | string; // micros; batch-inclusion time (REST order history)
|
|
120
113
|
effective_price?: WireDecimal | null;
|
|
121
|
-
fills?: WirePartialFill[];
|
|
122
114
|
side?: "buy" | "sell";
|
|
123
115
|
reduce_only?: boolean;
|
|
124
116
|
ioc?: boolean;
|
|
125
117
|
direction?: string;
|
|
118
|
+
realized_pnl?: WireDecimal; // signed, perp only
|
|
126
119
|
grouping?: WireDecimal;
|
|
127
120
|
trigger_type?: string | null;
|
|
121
|
+
invalid_reason?: string;
|
|
128
122
|
}
|
|
129
123
|
|
|
130
124
|
export interface WireOrdersPage {
|
|
@@ -269,8 +263,7 @@ export interface WireBackstopPage {
|
|
|
269
263
|
// means something specific — noted per field.
|
|
270
264
|
|
|
271
265
|
export interface WireOrdersFrame {
|
|
272
|
-
/** The orderbook these actions happened on; constant for the frame.
|
|
273
|
-
* `pod_activity`, which is one frame per tick and names the book per entity. */
|
|
266
|
+
/** The orderbook these actions happened on; constant for the frame. */
|
|
274
267
|
book?: Hex;
|
|
275
268
|
/** Deadline (micros) of the batch the actions **landed in**. Half of the resume cursor; `book` is the other half. */
|
|
276
269
|
batch: number;
|
|
@@ -289,8 +282,6 @@ export interface WireOrderEntity {
|
|
|
289
282
|
id: Hex;
|
|
290
283
|
/** Creating transaction, or its parent `submitBatch` envelope. */
|
|
291
284
|
tx: Hex;
|
|
292
|
-
/** The order's book. Sent here by `pod_activity`, which covers a whole
|
|
293
|
-
* account; `pod_orders_v2` names it once on the frame instead. */
|
|
294
285
|
book?: Hex;
|
|
295
286
|
/** Index into the frame's `accts`; present iff `accts` is. */
|
|
296
287
|
a?: number;
|
|
@@ -357,13 +348,15 @@ export interface WireOrderEvent {
|
|
|
357
348
|
tb?: WireDecimal;
|
|
358
349
|
/** Total quote filled so far; travels with `tb`. */
|
|
359
350
|
tq?: WireDecimal;
|
|
360
|
-
/** Total fee charged so far; travels with `tb`.
|
|
351
|
+
/** Total fee charged so far; travels with `tb`. */
|
|
361
352
|
tf?: WireDecimal;
|
|
353
|
+
/** `fill` only: this fill's fee. */
|
|
354
|
+
f?: WireDecimal;
|
|
362
355
|
/**
|
|
363
356
|
* The terminal status an event closed the order with. On `fill`, only on the fill that
|
|
364
357
|
* closed it. On `cancel`, only when the engine removed the order rather than the owner.
|
|
365
358
|
*/
|
|
366
|
-
st?:
|
|
359
|
+
st?: WireTerminalStatus;
|
|
367
360
|
/**
|
|
368
361
|
* `fill` on a perp market: the owner's position after this fill, signed and
|
|
369
362
|
* 1e18-scaled. Omitted on spot, which has no position.
|
|
@@ -441,80 +434,79 @@ export interface WireWithdrawalDetail {
|
|
|
441
434
|
|
|
442
435
|
// --- account activity (ADR 0057) ---
|
|
443
436
|
//
|
|
444
|
-
// `
|
|
445
|
-
// The seed is a union tagged by `activity_type`: the order variant flattens the
|
|
446
|
-
// orders route's `WireOrder`, and every money variant carries exactly the fields
|
|
447
|
-
// its stream event does, so the two decode through one decoder. The channel is
|
|
448
|
-
// `pod_orders_v2`'s frame for a whole account — one frame per tick, with the
|
|
449
|
-
// money the tick moved as extra event kinds.
|
|
450
|
-
|
|
451
|
-
export interface WireActivityPage {
|
|
452
|
-
activity: WireActivityEntry[];
|
|
453
|
-
next_cursor: string | null;
|
|
454
|
-
solution_now: number; // micros
|
|
455
|
-
}
|
|
437
|
+
// REST pages and `pod_activity` frames are `{ "<batch micros>": [entry, ...] }`; absent fields are absent, never null.
|
|
456
438
|
|
|
457
|
-
/** What each money kind carries. Shared because the seed row and the stream
|
|
458
|
-
* event differ only in how they are tagged. */
|
|
459
439
|
export interface WireBackstopMoney {
|
|
460
440
|
/** Absent on the terminal cash sweep, which belongs to no market. */
|
|
461
441
|
book?: Hex;
|
|
462
|
-
|
|
442
|
+
sz: WireDecimal; // signed
|
|
463
443
|
cash: WireDecimal; // signed
|
|
464
444
|
mark: WireDecimal;
|
|
465
|
-
|
|
445
|
+
eq: WireDecimal; // signed
|
|
466
446
|
pnl: WireDecimal; // signed
|
|
467
447
|
}
|
|
468
448
|
|
|
469
449
|
export interface WireBridgeMoney {
|
|
470
450
|
tx: Hex;
|
|
471
|
-
/** Position within the transaction: one tx can bridge several amounts, so the
|
|
472
|
-
* hash alone does not identify the row. */
|
|
473
451
|
idx: number;
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
452
|
+
tok: Hex;
|
|
453
|
+
amt: WireDecimal; // signed
|
|
454
|
+
err?: string;
|
|
477
455
|
}
|
|
478
456
|
|
|
479
457
|
export interface WireTransferMoney {
|
|
480
458
|
id: Hex;
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
459
|
+
/** The receiver when `amt` is negative, the sender otherwise. */
|
|
460
|
+
cp: Hex;
|
|
461
|
+
tok: Hex;
|
|
462
|
+
amt: WireDecimal; // signed
|
|
463
|
+
err?: string;
|
|
484
464
|
}
|
|
485
465
|
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
* is its **signed deadline**, not the batch it landed in.
|
|
489
|
-
*
|
|
490
|
-
* Money amounts are signed from the account's side: negative left, positive
|
|
491
|
-
* arrived, for the bridge and for a transfer alike.
|
|
492
|
-
*/
|
|
493
|
-
export type WireActivityEntry =
|
|
494
|
-
| ({ activity_type: "order"; ts: number } & WireOrder)
|
|
495
|
-
| ({ activity_type: "backstop"; ts: number } & WireBackstopMoney)
|
|
496
|
-
| ({ activity_type: "bridge_transfer"; ts: number } & WireBridgeMoney)
|
|
497
|
-
| ({ activity_type: "transfer"; ts: number } & WireTransferMoney);
|
|
466
|
+
type WireTerminalStatus =
|
|
467
|
+
| "filled" | "canceled" | "margin_canceled" | "self_trade_canceled" | "expired" | "post_only_refused";
|
|
498
468
|
|
|
499
469
|
/**
|
|
500
|
-
*
|
|
501
|
-
*
|
|
502
|
-
* channel takes exactly one account.
|
|
470
|
+
* An unknown `k` from a newer node is dropped by the decoder; it is not in this union
|
|
471
|
+
* because an open member would defeat narrowing on the known ones.
|
|
503
472
|
*/
|
|
504
|
-
export
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
473
|
+
export type WireActivityEntry =
|
|
474
|
+
| ({ k: "order" } & WireOrder)
|
|
475
|
+
| {
|
|
476
|
+
k: "fill";
|
|
477
|
+
id: Hex;
|
|
478
|
+
book: Hex;
|
|
479
|
+
b: WireDecimal;
|
|
480
|
+
q: WireDecimal;
|
|
481
|
+
tb?: WireDecimal;
|
|
482
|
+
tq?: WireDecimal;
|
|
483
|
+
tf?: WireDecimal;
|
|
484
|
+
f?: WireDecimal;
|
|
485
|
+
st?: WireTerminalStatus;
|
|
486
|
+
pa?: WireDecimal;
|
|
487
|
+
}
|
|
488
|
+
| { k: "modify"; id: Hex; book: Hex; px: WireDecimal; sz: WireDecimal; old_px: WireDecimal; old_sz: WireDecimal }
|
|
489
|
+
| {
|
|
490
|
+
k: "termination";
|
|
491
|
+
id: Hex;
|
|
492
|
+
book: Hex;
|
|
493
|
+
st: Exclude<WireTerminalStatus, "filled">;
|
|
494
|
+
}
|
|
515
495
|
| ({ k: "backstop" } & WireBackstopMoney)
|
|
516
496
|
| ({ k: "bridge_transfer" } & WireBridgeMoney)
|
|
517
|
-
| ({ k: "transfer" } & WireTransferMoney)
|
|
497
|
+
| ({ k: "transfer" } & WireTransferMoney)
|
|
498
|
+
| { k: "modify_reject"; id: Hex; book: Hex; px: WireDecimal; sz: WireDecimal; why: string }
|
|
499
|
+
| { k: "cancel_reject"; id: Hex; book: Hex; why: string };
|
|
500
|
+
|
|
501
|
+
/** Entries by batch (micros, decimal string key); the stream sends one key per message. */
|
|
502
|
+
export type WireActivityFrame = Record<string, WireActivityEntry[]>;
|
|
503
|
+
|
|
504
|
+
export interface WireActivityPage {
|
|
505
|
+
activity: WireActivityFrame;
|
|
506
|
+
/** Pass back as `to` for the next, older page; null when the window is exhausted. */
|
|
507
|
+
next: string | null;
|
|
508
|
+
solution_now: number; // micros
|
|
509
|
+
}
|
|
518
510
|
|
|
519
511
|
/** One `/clob/fills/{account}` row: a fill of one order in one batch. */
|
|
520
512
|
export interface WireFillRow {
|