Search the Community
Showing results for tags 'dotnet'.
Found 2 results
I set up Lightstreamer's QuickStart and it worked fine. I then made the changes needed to connect to push.cityindex.com, including getting a session ID from https://ciapi.cityindex.com/TradingAPI. . I get a client listener onServerError with errorCode = 60 errorMessage = “License not valid for this Client version”. The explanation from LightStreamer is "That message means that the client in use is newer than the license installed on the server.To use that client with that server, assuming them are compatible, you need to change the server license." I am using c# using Dotnet Standard Client version 5.0.5. So, appears to be a licensing problem between Gain Capital Labs and Lightstreamer. Another user posted at http://faq.labs.gaincapital.com/topic/2039-lightstreamer/?tab=comments#comment-3692 suggest using V 4.0.0. Unfortunately, Lightstreamer documentation is not helpful because they have upgraded all their sample code to v 5.0.5. Can you provide some sample c# code to start a price stream under 4.0.0? Regards, Chuck
I am a USA customer with an account through forex.com I am developing using .net c#. I'm doing fine with the REST API but I can't connect to the Gain Capital Lightstream server. I was able to connect to the Lightstream demo push server. However, when I try to connect to https://push.cityindex.com I get no response. Not an error; it just ignores me. The client remains in a disconnected state. Elsewhere on this forum, it was suggested that this might be due to using the wrong client software for the version of the server being run by Gain Capital. The Lightstreamer documentation site, under ".net" describes the Dotnet Standard Client version 5.0.5 which is what I was trying to use. The NuGet package manager has 7 versions of Lightstreamer.DotnetStandard.Client available from 4.0.0 to 5.0.5. It also has Dotnet Client available in 4 versions from 3.0.0 to 3.1.6640.22649. The differences in these versions are not trivial. Going from Standard 4.* to 5.* even has different using statements. Before I spend time getting even more frustrated trying different clients, would you please tell me what version of the server you are using and what version of which client package I should be using? Perhaps you could provide a c# sample, not a whole working application, but at least the usings, and the minimum statements to establish a connection and start a stream of prices for a couple currency pairs? I can get the session ID from REST API. Please?