# Hook: onPositionImpact()

Called when an order placed by the trading system has created/impacted a position. The hook is active only for orders placed through the trading system placeOrder() method.

  • Interface
class MidaTradingSystem {
    protected onPositionImpact (position: MidaPosition): Promise<void>;
}