public static void UpdatePosition( IPosition position, int quantity, double avgPrice, double realizedPnL )