-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Problem
The Symphony Agent API delivers GENERICSYSTEMEVENT events via the datahose
(POST /agent/v5/events/read with "eventTypes": ["GENERICSYSTEMEVENT"]), but
BDK Python 2.11.2 silently drops them:
INFO - ...abstract_datafeed_loop - Received event with an unknown type: GENERICSYSTEMEVENT
Root cause
GENERICSYSTEMEVENT is absent from the RealTimeEvent enum in
abstract_datafeed_loop.py, so _run_listener_method raises a KeyError and
returns without dispatching. Additionally, on_generic_system_event is missing
from RealTimeEventListener, leaving no interface for bot developers to
implement.
The generated model V4GenericSystemEvent and the V4Payload.generic_system_event
field already exist — only the two hand-maintained dispatch files need updating.
Proposed fix
- Add
GENERICSYSTEMEVENT = ("on_generic_system_event", "generic_system_event")
to theRealTimeEventenum. - Add
async def on_generic_system_event(self, initiator, event)no-op to
RealTimeEventListener.
Total change: 2 files, ~15 lines (with comments)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels