|
@@ -774,8 +774,8 @@ class MarketMonitor:
|
|
|
symbols_with_fills.add(token)
|
|
|
if self.notification_manager:
|
|
|
await self.notification_manager.send_external_trade_notification(
|
|
|
- full_symbol, side_from_fill, amount_from_fill, price_from_fill,
|
|
|
- action_type, timestamp_dt.isoformat(), realized_pnl
|
|
|
+ full_symbol, side_from_fill, amount_from_fill, price_from_fill,
|
|
|
+ action_type, timestamp_dt.isoformat()
|
|
|
)
|
|
|
if is_direct_sl_tp_fill and exchange_order_id_from_fill:
|
|
|
order_db = stats.get_order_by_exchange_id(exchange_order_id_from_fill)
|
|
@@ -885,9 +885,9 @@ class MarketMonitor:
|
|
|
symbols_with_fills.add(token)
|
|
|
if self.notification_manager:
|
|
|
await self.notification_manager.send_external_trade_notification(
|
|
|
- full_symbol, side_from_fill, amount_from_fill, price_from_fill,
|
|
|
- f"verified_external_{lc_position_side}_close",
|
|
|
- timestamp_dt.isoformat(), realized_pnl
|
|
|
+ full_symbol, side_from_fill, amount_from_fill, price_from_fill,
|
|
|
+ f"verified_external_{lc_position_side}_close",
|
|
|
+ timestamp_dt.isoformat()
|
|
|
)
|
|
|
fill_processed_this_iteration = True
|
|
|
else:
|