You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried it out of the box and it worked, giving me a full market snapshot of the Spot Trading market.
I wanted to use the same code for accessing the Pro Exchange, so I changed my client-config.txt in order to connect to the BTCC Pro Exchange FIX server.
The documentation states that for market data requests no authentication is required, so the code should work out of the box. Sadly, It does not.
If I finally manage, possibly with your help, to pass the logon phase, I would like to use the trading part of the API. Therefore it will be necessary for me to know how to modify the code in order to send the encrypted string inside the messages.
Thanks in advance for your precious help
R
The text was updated successfully, but these errors were encountered:
Hi, I compiled thecode that I found here.
I tried it out of the box and it worked, giving me a full market snapshot of the Spot Trading market.
I wanted to use the same code for accessing the Pro Exchange, so I changed my client-config.txt in order to connect to the BTCC Pro Exchange FIX server.
The documentation states that for market data requests no authentication is required, so the code should work out of the box. Sadly, It does not.
The logon request is the following:
8=FIX.4.4�9=122�35=A�34=1�49=MY ACCESS KEY�52=20151222-13:58:35.566�56=BTCC-PRO-EXCHANGE-SERVER�98=0�108=300�141=Y�10=136�@FIX.4.4:b6468412-d0fa-4a38-bbf9-09b7e231f883->BTCC-PRO-EXCHANGE-SERVER
I always get logged out immediately:
Logout - FIX.4.4:b6468412-d0fa-4a38-bbf9-09b7e231f883->BTCC-PRO-EXCHANGE-SERVER
My client-config.txt file is as follows:
[SESSION]
BeginString=FIX.4.4
SocketConnectPort=9880
FileStorePath=data/btccclient
FileLogPath=data/btccclientlog
ConnectionType=initiator
SenderCompID=MY ACCSS KEY
SocketConnectHost=pro-fix.btcc.com
TargetCompID=BTCC-PRO-EXCHANGE-SERVER
StartTime=00:00:00
EndTime=00:00:00
HeartBtInt=300
ReconnectInterval=5
ResetOnDisconnect=Y
ResetOnLogon=Y
ResetOnLogout=Y
ResetOnError=Y
DataDictionary=FIX.4.4.xml
SocketUseSSL=Y
[KEYS]
AccessKey=MY ACCESS KEY
SecretKey=MY SECRET KEY
If I finally manage, possibly with your help, to pass the logon phase, I would like to use the trading part of the API. Therefore it will be necessary for me to know how to modify the code in order to send the encrypted string inside the messages.
Thanks in advance for your precious help
R
The text was updated successfully, but these errors were encountered: