The date for this record.
OptionaldurationAn f64 representation of time spent performing an activity.
This value is in seconds, but generally a UI should clamp this to a larger value, such as quarter hours.
A UI can choose to record this as a part of an income or expense record, or as a separate record, leaving income and expense undefined.
OptionalexpenseAny expenses associated with this record.
OptionalfeeAny transaction fee associated with this record.
This can be positive (a fee) or negative (a maker rebate, which shows up as a negative fee in the API).
OptionalincomeAny income associated with this record.
OptionalmetadataAny free-form metadata associated with this record.
OptionaloccurredThe exact occurrence timestamp (as an ISO string) for this record.
This is useful for cost basis calculations when there are multiple sequential fills on a single order at different millisecond / price points.
OptionalquantityThe number of contracts purchased / sold / redeemed for this record.
The identifier for this record. Set this to empty string ("") when creating a new record.
OptionalunitThe per-contract price, used together with quantity to derive the
total transaction cost.
An accounting record.