DRylskiy1654 has contributed to 1 posts out of 5677 total posts
20 most recent posts:
API Support » Order Breaks Limits - Details May 20, 2024 @ 08:56 AM (Total replies: 6)
|
You can catch errors using this mechanism:
private void RegisterHandlers() { Client.Traders.TraderError += TraderError; }
private void TraderError(IGFClient client, TraderErrorEventArgs e) { Console.WriteLine(e.Message); }
If you installed GFAPI v4.12.305.1903, you need to use this mechanism:
private void RegisterHandlers() { Client.ServerErrors.Error += ServerError; }
private void ServerError(IGFClient client, ServerErrorEventArgs e) { Console.WriteLine(e.Message); }
|