Is there functionality in EFS for retrieving the messages which the broker sends in response to certain actions, such as submitting orders? I am referring to the messages which appear in the Messages tab of Account Manager. The information in the Messages tab can be useful, especially in times when an order is rejected for any reason, and accessing this information within EFS could enable the code to respond in case of a specific problem.
Announcement
Collapse
No announcement yet.
Retrieving broker messages in EFS
Collapse
X
-
I am unaware of any EFS method for accessing the specific information found in the Account Manager. However, within the EFS-AT extensions, the function Order.state(OrderID) can provide a comprehensive summary of what is happening or has happened to your order.
-
Hello omerproteus,
The information you're looking for is in what we call the "Callback" Functions in EFS-AT. These call-back functions are triggered when information from a trade is returned. For example, using call-back function onOrderUndate() you can track when the state of order is changed from 'placing' to 'rejected'. To learn more see the document 'eSignal Automated Trading Reference' (section 2, point 10 and points 3 - 9) from this link. Please let us know if we can be of any further assistance
Best Regards,
AveryH
eSignal Support
Comment
Comment