Right now we have no events that track manual margin modifications, and the OrderConfirmed event is overloaded with position and margin modification details.
[x] Add a MarginModified event to track margin updates (deposits/withdrawals/margin realisation)
[x] Split position and margin modification details out of OrderConfirmed into MarginModified and a newPositionModified event.
Right now we have no events that track manual margin modifications, and the
OrderConfirmed
event is overloaded with position and margin modification details.MarginModified
event to track margin updates (deposits/withdrawals/margin realisation)OrderConfirmed
intoMarginModified
and a newPositionModified
event.