Real-time connection status monitoring & position open/close events
Real-time connection status monitoring & position open/close events
01 Aug 2021, 20:01
Dear friends,
When developing a dashboard tool to reflect the account status, which API functions better allow the implementation of:
1) Real-time connection status monitoring (Needed to display in the tool GUI as connected/disconnected)
2) Real-time position open/close events (Needed for real-time trade monitoring)
Thank you / Kind Regards
Replies
opusensemble
03 Aug 2021, 02:07
Dear amusleh,
Thank you for your reply.
Does ExecutionEvent also apply to position modification (TP, SL or partial closes)?
Thank you
@opusensemble
amusleh
02 Aug 2021, 07:52
Hi,
You have to use ExecutionEvent, whenever a trader executes a trading operation you will receive an execution event with the trading operation details.
Regarding connection status, you have to use your socket and check if you can send/receive a message or not, there is also a client disconnected proto message that you can use.
Please check our OpenAPI.NET WPF and ASP web app samples.
For more please check the Open API documentation.
@amusleh