Login Page - Create Account

Support Board


Date/Time: Tue, 30 Apr 2024 08:46:35 +0000



Post From: Why my broker charges me SC DTC Bridge API fee on Rithmic ??

[2016-07-25 19:15:51]
maxima120 - Posts: 144
I got some time today. So I did a quick on a knee DTC server in C#.

I could quickly get encoding response working, then login and finally heartbeat.

However there is nothing happening when I open an intraday chart. There is no messages coming into the DTC server.

These are last 9 flags:


// SecurityDefinitionsSupported,HistoricalPriceDataSupported,ResubscribeWhenMarketDataFeedAvailable,MarketDepthIsSupported,OneHistoricalPriceDataRequestPerConnection,
//BracketOrdersSupported,UseIntegerPriceOrderMessages,UsesMultiplePositionsPerSymbolAndTradeAccount, MarketDataSupported
response.AddRange(new byte[] { 0x00, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01 });

This is the byte response:

Response (313 bytes): 39 01 02 00 07 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 54 45 53 54 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01 01 00 00 00 00 01

Here is the SC log:

DTC Service | Connecting to the server 127.0.0.1. Port 12220 | 2016-07-25 20:12:16
Socket (807) | Connected. | 2016-07-25 20:12:16
DTC Service | Connected to server. | 2016-07-25 20:12:16
DTC Service | Sending Encoding Request to server | 2016-07-25 20:12:16
DTC Service | Setting DTC Encoding to Binary | 2016-07-25 20:12:16
DTC Service | Sending logon request message. | 2016-07-25 20:12:16
DTC Service | Received logon response. | 2016-07-25 20:12:16
DTC Service | Server Name: TEST. | 2016-07-25 20:12:16
DTC Service | Server protocol version: 7. Client protocol version: 7 | 2016-07-25 20:12:16
DTC Service | Successfully connected. | 2016-07-25 20:12:16
DTC Service | Symbol and Exchange Delimiter: - | 2016-07-25 20:12:16
DTC Service | Connected to data and trading server. | 2016-07-25 20:12:16
DTC Service | Starting real-time market data updates for: ESU6-CME. ID: 1 | 2016-07-25 20:12:16
DTC Service | Using primary service for historical data for ESU6-CME | 2016-07-25 20:12:16
Historical data service client indicated that downloads are not enabled. Symbol: ESU6-CME. Data Type: Intraday data | 2016-07-25 20:12:16
Real-time Intraday chart data file updates started for ESU6-CME | 2016-07-25 20:12:16
Intraday chart data file opened for ESU6-CME | 2016-07-25 20:12:16
DTC Service | Using primary service for historical data for XXX | 2016-07-25 20:12:50
[/code]

Date Time Of Last Edit: 2016-07-25 19:45:56