Optionalfill_Optionalis_true for the maker side of a match, false for the taker side.
null for trades executed before v0.16.0 — the maker/taker flag was
not recorded prior to that release.
Optionalrealized_Funding settled on the user's pre-existing position immediately
before this fill. null for trades executed before v0.17.0 —
funding was reported as part of realized_pnl prior to that
release.
Closing PnL on the fill (price movement on the closed portion).
Prior to v0.17.0 (exclusive) this also bundled the funding settled
on the user's pre-existing position; from v0.17.0 (inclusive)
onward, that funding component is reported separately as
realized_funding.
Identifier shared between the two
OrderFilledevents of a single order-book match.nullfor trades executed before v0.15.0 — fill IDs were not assigned prior to that release.