Skpd / ctrader-fix-api

17 stars 5 forks source link

Length error? #4

Open nzfarmer1 opened 5 years ago

nzfarmer1 commented 5 years ago

Hi

Am attempting to use the latest version.

Firstly there seems to be an issue with the message length calc. I have made a small fix.

I now have valid FIX messages, but on login is always failing - returning 0 bytes and exiting, regardless of SSH or Plain Text mode.

Deeptradingfx commented 5 years ago

Hi

Am attempting to use the latest version.

Firstly there seems to be an issue with the message length calc. I have made a small fix.

I now have valid FIX messages, but on login is always failing - returning 0 bytes and exiting, regardless of SSH or Plain Text mode.

did you fix it some here return allway 0

nzfarmer1 commented 5 years ago

I gave up. Support from C-Trader team was ok, but the fact their server returns no meaningful error codes and that they don't support a simulator means debugging this became effectively impossible.

If you have the time and inclination, you can get their reference .net client working, then drop into wireshark and see what's going on/missing in the python.

Good luck and if you go this way let me know how you get on.