Receive Meta Data

View as MarkdownOpen in Claude

EWrapper.wshEventData (

requestId: int. Request identifier used to track data.

dataJson: String. metadata in json format.
)

Returns meta data from the WSH calendar

1def wshMetaData(self, reqId: int, dataJson: str):
2 print("WshMetaData.", "ReqId:", reqId, "Data JSON:", dataJson)

Once the json content has been received, the specific event types used to filter [EClient.reqWshEventData()](/tws-api/doc/wall-street-horizon/event-data/wsh-event-data-object) are listed under “meta_data” -> “event_types”.

The “name” field will express what the filter will return, such as “Board of Directors Meeting”

The “tag” field will return the filter used in your JSON query. The related example would be “wshe_bod”.