Calling API tick stop on 50 values
Hello.
I'm running (with a C# program) API method **ticks ** with **R_100 ** within a loop and stops on 50 calls. Please, why?
Thanks.
Hello.
I'm running (with a C# program) API method **ticks ** with **R_100 ** within a loop and stops on 50 calls. Please, why?
Thanks.
Comments
Visual Studio has a default timeout of 100 seconds on any HTTP or websocket connection. If you add the following line of code before setting up the connection:
that should prevent the timeout. Please note that this affects all other HTTP connections in the same program - alternative websocket implementations such as websocket4net don't have this issue.