If the API shows the error messages,is it able to auto reconnect by code?
I used to detect the gap between now and the last data received time and?raise EOFError.
I am seeking new method to do it.Any ideas is welcome.
-------error message-------
2022-08-18 20:06:28 Error: ?-1 ? 2157 ? Sec-def data farm connection is broken:secdefnj
2022-08-18 20:06:28 Error: ?-1 ? 2105 ? HMDS data farm connection is broken:ushmds
2022-08-18 20:06:32 Error: ?-1 ? 2103 ? Market data farm connection is broken:cashfarm
2022-08-18 20:06:33 Error: ?-1 ? 2103 ? Market data farm connection is broken:eufarm
2022-08-18 20:07:09 Error: ?-1 ? 2105 ? HMDS data farm connection is broken:cashhmds
2022-08-18 20:07:09 Error: ?3 ? 10182 ? Failed to request live updates (disconnected).
2022-08-18 20:07:10 Error: ?6 ? 10182 ? Failed to request live updates (disconnected).
2022-08-18 20:07:10 Error: ?2 ? 10182 ? Failed to request live updates (disconnected).
2022-08-18 20:07:10 Error: ?1 ? 10182 ? Failed to request live updates (disconnected).
2022-08-18 20:07:10 Error: ?7 ? 10182 ? Failed to request live updates (disconnected).
2022-08-18 20:07:10 Error: ?5 ? 10182 ? Failed to request live updates (disconnected).
2022-08-18 20:07:10 Error: ?0 ? 10182 ? Failed to request live updates (disconnected).
2022-08-18 20:07:10 Error: ?4 ? 10182 ? Failed to request live updates (disconnected).
2022-08-18 22:43:27 Error: ?-1 ? 2103 ? Market data farm connection is broken:usfarm
2022-08-18 22:43:52 Error: ?-1 ? 2103 ? Market data farm connection is broken:usfarm
2022-08-18 22:43:54 Error: ?-1 ? 2103 ? Market data farm connection is broken:eufarm
2022-08-18 22:43:55 Error: ?-1 ? 2103 ? Market data farm connection is broken:cashfarm
2022-08-18 22:43:56 Error: ?-1 ? 2157 ? Sec-def data farm connection is broken:secdefnj
2022-08-18 22:43:58 Error: ?-1 ? 2105 ? HMDS data farm connection is broken:ushmds
2022-08-18 22:45:21 Error: ?-1 ? 2157 ? Sec-def data farm connection is broken:secdefnj
2022-08-18 22:45:21 Error: ?-1 ? 2103 ? Market data farm connection is broken:cashfarm
2022-08-18 22:46:06 Error: ?-1 ? 2105 ? HMDS data farm connection is broken:cashhmds
2022-08-18 22:46:11 Error: ?-1 ? 2103 ? Market data farm connection is broken:eufarm
--
------
Forex trader
David Liao