Skip to main content

Module cash_flow

Module cash_flow 

Source
Expand description

Cash that moves into or out of an account other than by a trade: perpetual funding, margin interest, stock borrow fees and rebates.

An account stream reports each such movement the venue posts as AccountEventKind::CashFlow, carrying a CashFlow. The library delivers the venue’s own figures; rates, day counts and what to do with the flows stay the consumer’s.

Structs§

CashFlow
One movement of cash into or out of an account that is not a trade, as the venue posted it.
CashFlowId
A venue’s own identifier for one CashFlow, carried through opaquely.
CashFlowPeriod
The period a CashFlow is for: from start, inclusive, to end, exclusive. end is after start.
CashFlowsRead
What one read of a venue’s cash flows over a span returned.

Enums§

CashFlowKind
What a CashFlow is for.
InterestTiming
When in a loan’s life a CashFlowKind::MarginInterest charge falls.