Topics
23 Apr 2019, 14:12
 1240
 5
22 Jan 2019, 16:06
 2453
 13
Replies

touch.mjb
23 Apr 2019, 20:48

I was talking about api thanks !


@touch.mjb

touch.mjb
22 Jan 2019, 20:18

@Panagiotis Charalampous

Its too complicated i will just use quickfixengine, but thanks for your answers !


@touch.mjb

touch.mjb
22 Jan 2019, 18:23

RE: RE: RE:

touch.mjb said:

touch.mjb said:

Hi,

 

Body = '|8=FIX.4.4|9=126|35=A|49=theBroker.12345|56=CSERVER|34=1|52=20170117-08:03:04|57=TRADE|50=any_string|98=0|108=30|141=Y|553=12345|554=passw0rd!|'
CheckSum = sum([ord(i) for i in list(Body)]) % 256

and

 

BodyLength = str(len(Body))

 

The thing i don't get is why i don't receive any error message ? i can telnet to the server so i know its up but can't get any answer from him do you have any bare metal-default-message i can try for logon please ?


@touch.mjb

touch.mjb
22 Jan 2019, 18:17

RE: RE:

touch.mjb said:

Hi,

 

Body = '|8=FIX.4.4|9=126|35=A|49=theBroker.12345|56=CSERVER|34=1|52=20170117-08:03:04|57=TRADE|50=any_string|98=0|108=30|141=Y|553=12345|554=passw0rd!|'
CheckSum = sum([ord(i) for i in list(Body)]) % 256

and

 

BodyLength = str(len(Body))

 


@touch.mjb

touch.mjb
22 Jan 2019, 18:13

RE:

Hi,

 

Body = '|8=FIX.4.4|9=126|35=A|49=theBroker.12345|56=CSERVER|34=1|52=20170117-08:03:04|57=TRADE|50=any_string|98=0|108=30|141=Y|553=12345|554=passw0rd!|'
CheckSum = sum([ord(i) for i in list(Body)]) % 256

 


@touch.mjb

touch.mjb
22 Jan 2019, 17:00

RE: RE:

And i have tried to change the time to fracional seconds like "20190122-15:55:18.737" but still nothing.


@touch.mjb

touch.mjb
22 Jan 2019, 16:57

RE:

I tried with the domain name and change the password from cTrader to be sure its the good one and still no answer from the server, i check fom an other forum and they say if the answer is empty like that that mean the server close/refued my connection...I don't know if its true or why.


@touch.mjb

touch.mjb
22 Jan 2019, 16:42

RE:

Panagiotis Charalampous said:

Hi touch.mjb,

Your SenderCompID (tag 49) seems wrong. Can you please check it?

Best Regards,

Panagiotis

 

Hello,

The real one is "icmcapital.3002XXX" i have changed it for the example but i also get and empty answer with the true one.

thanks for your time.


@touch.mjb

touch.mjb
22 Jan 2019, 16:22

* s.sendall("8=FIX.4.4|9=126|35=A|49=theBroker.12345|56=CSERVER|34=1|52=20170117-08:03:04|57=TRADE|50=any_string|98=0|108=30|141=Y|553=12345|554=passw0rd!|10=131|".replace('|', chr(0x01)).encode(encoding='ascii'))


@touch.mjb