Git Product home page Git Product logo

btcchina-fix-api-csharp's People

Contributors

btcchina-github avatar howhen avatar kz-btcchina avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

btcchina-fix-api-csharp's Issues

No way to login to the BTCC Pro Exchange FIX Server

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.