Author |
Topic: Login not completing (5 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
PJahelka2 Posts: 3 Joined: Jul 06, 2022 |
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 |
||||
CMicciche902 Posts: 348 Joined: |
I'm not seeing any errors on our side. Do you have trouble logging into GAIN Trader Developer?
Download here: https://api.gainfutures.com/WebAPI/api/Files/DownloadClientUpdateLast?brandId=0&clientTypeId=0&branchId=2 Chris M
|
||||
PJahelka2 Posts: 3 Joined: Jul 06, 2022 |
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() ); |
||||
JSmith5611 Posts: 187 Joined: |
Do you have a thread that calls gflicent.Threading.Advance()?
Jason Smith
|
||||
PJahelka2 Posts: 3 Joined: Jul 06, 2022 |
Thanks! That's what I found after reviewing the advanced example code.
|
||||