TimelordUK / jspurefix

native typescript FIX engine
MIT License
60 stars 28 forks source link

Connection with server #51

Open ZohaibBlockchain opened 2 years ago

ZohaibBlockchain commented 2 years ago

Hellow there! i am unable to connect with server and below are my connection detail and guide me with a simple examples thanks.

DEFAULT] BeginString=FIX.4.4 StartTime=18:00:00 EndTime=06:00:00 EndDay=Saturday StartDay=Sunday ConnectionType=initiator CipherSuites=TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA HeartBtInt=30 SocketUseSSL=Y DataDictionary=FIX44/UNITY_FIX44.xml EnabledProtocols=TLSv1.2 ReconnectInterval=2 NeedClientAuth=N [SESSION] SenderCompID=CLIENT_STP_771_1 TargetCompID=UNITY_PROD SocketConnectHost=platform.unity.finance SocketConnectPort=21004 SocketConnectProtocol=TCP

TimelordUK commented 2 years ago

can you use https://github.com/TimelordUK/jspf-md-demo as a starting poing -

see https://github.com/TimelordUK/jspf-md-demo/tree/master/data/session

also the quickfix style dictionary can be copied into https://github.com/TimelordUK/jspf-md-demo/tree/master/data/

there is no support for scheduled start and stop this has to be done by client application. We have got support for TLS TCP

ZohaibBlockchain commented 2 years ago

Can you tell me how can i use certificate file and connect with server a very basic example thanks.

TimelordUK commented 2 years ago

the config as set here should help https://github.com/TimelordUK/jspurefix/tree/master/src/sample/tcp/tls-trade-capture

https://github.com/TimelordUK/jspurefix/blob/master/data/session/test-initiator-tls.json

ZohaibBlockchain commented 2 years ago

Brother i really need a basic client code that will connect with server using setting what they gave me please write me a simple client code so i can understand better i am lost here thanks in advance