API Support » Login not completing Sep 07, 2022 @ 05:56 PM (Total replies: 4) | |||||
Thanks! That's what I found after reviewing the advanced example code. |
|||||
API Support » Login not completing Aug 18, 2022 @ 06:00 PM (Total replies: 4) | |||||
I can logon with the AdvancedExample and Gain Trader Developer to execute trades, but I'm having trouble with my new code. I only get so far in the logon process and the logincompleted message isn't sent. When I look at the client object it's not showing connected. My connection code is very straightfoward and I've inspected all the data going in: _gfClient.Connection.Aggregate.Connect( new ConnectionContextBuilder() .WithUserName(UserName) .WithPassword(Password) .WithUUID(UUID) .WithPort(Port) .WithHost(Host) .WithForceLogin(true) .Build() ); |
|||||
API Support » Login not completing Aug 18, 2022 @ 03:04 PM (Total replies: 4) | |||||
I'm comparing detailed logging from the AdvancedExample with my code, I get a matchup with: OrderConnection Connecting to api.gainfutures.com:9210 OrderConnection Outgoing: OrderConnection Connected to Some(66.76.151.18) PriceConnection Connecting to api.gainfutures.com:9211 PriceConnection Outgoing: PriceConnection Connected to Some(66.76.151.18) Login to Gain Futures Order Server v4.1.0.0 Login to Gain Futures Price Server v4.1.0.0 But then I don't see Core Loading or Core Loaded, and I don't see an event for OnLoginComplete. What am I missing? Pete |