Support Board
Date/Time: Sat, 01 Mar 2025 08:06:15 +0000
Post From: New websocket
[2020-04-25 03:35:25] |
JasonS - Posts: 11 |
I figured it out. Yeh you don't need Size but you need Type of course. My code gen bugged out on Type, as soon as I put that back in it works!! DTC Protocol server | Incoming connection from 192.168.1.7. | 2020-04-24 23:30:36.399 DTC client #38. 192.168.1.7 (3) | Creating socket. | 2020-04-24 23:30:36.400 WSServer | DTC client #38. 192.168.1.7 (3) | Start Server | 2020-04-24 23:30:36.400 WSServer | DTC client #38. 192.168.1.7 (3) | Switch to HANDSHAKE | 2020-04-24 23:30:36.400 WSServer | DTC client #38. 192.168.1.7 (3) | Switch to READY_DATA | 2020-04-24 23:30:36.400 WSServer | DTC client #38. 192.168.1.7 (3) | Response HANDSHAKE with status code 101 | 2020-04-24 23:30:36.400 JSON data: {"ClientName": "DTC Client", "HeartbeatIntervalInSeconds": 120, "Password": "xxxxxx", "ProtocolVersion": 8, "TradeMode": 3, "Type": 1, "Username": "xxxxx"} | 2020-04-24 23:30:36.401 DTC client #38. 192.168.1.7 | Requested heartbeat interval: 40 | 2020-04-24 23:30:36.402 DTC client #38. DTC Client. 192.168.1.7 | Received logon request. | 2020-04-24 23:30:36.402 DTC client #38. 192.168.1.7 (3) | Send: {"Type":2,"ProtocolVersion":8,"Result":1,"Integer_1":0,"MarketDepthUpdatesBestBidAndAsk":0,"TradingIsSupported":0,"OCOOrdersSupported":0,"OrderCancelReplaceSupported":0,"SecurityDefinitionsSupported":1,"HistoricalPriceDataSupported":0, "ResubscribeWhenMarketDataFeedAvailable":0,"MarketDepthIsSupported":1,"OneHistoricalPriceDataRequestPerConnection":0,"BracketOrdersSupported":0,"UseIntegerPriceOrderMessages":0,"UsesMultiplePositionsPerSymbolAndTradeAccount":0, "MarketDataSupported":1,"ResultText":"Connected to SC DTC Protocol server. Service=sc_futures.dtc.trading|SymbolSettings=sc_futures.dtc.trading","ReconnectAddress":"","ServerName":"SC DTC Server","SymbolExchangeDelimiter":""} | 2020-04-24 23:30:36.402 DTC client #38. DTC Client. 192.168.1.7 | Sent successful Logon response message to client. Username: xxxxx. Result text: Connected to SC DTC Protocol server. Service=sc_futures.dtc.trading|SymbolSettings=sc_futures.dtc.trading | 2020-04-24 23:30:36.402 Date Time Of Last Edit: 2020-04-25 03:36:14
|