Hello,
I am getting the following socket error:
"[OMMSTREAMING_CHAINS_0.0] on_ws_error: Exception: Connection is already closed."
Please note that calling WFC.constituents works but fails on rd.getdata().
Any idea what might be the cause?
Thanks
Moti
session = rd.session.platform.Definition(
app_key = APP_KEY,
grant = rd.session.platform.GrantPassword(
username = RDP_LOGIN,
password = RDP_PASSWORD
)
).get_session()
session.open()
rd.session.set_default(session)
WFC = Chain(name="0#WFCUSDABMK=")
rd.get_data(WFC, ['RT_YIELD_1','GV4_TEXT','MATUR_DATE'])