Replies

beneditobvn
05 Sep 2018, 15:00

Note
I do not know If It helps, but I think that It can be happening due to logout not done for a number of times. It usually happens when there is an error when I run my script And the logout os not fone because the error crashes the script.
@beneditobvn

beneditobvn
12 May 2018, 08:54

RE: It is the problem

Panagiotis Charalampous said:

Hi beneditobvn,

In the second message you sent, you separate the price decimals with comma. Please use dot. 

Best Regards,

Panagiotis

I had already seen this before, but I thought that Command's Prompt from Windows showed a decimal variable with "," instead of "." because when the convert decimal to string, the number stays that way. When you said it, I changed the code of GitHub to replace "," to "." and worked. Thanks for your time and for be fast in the answers. I advise the developer to change it too in the MessageConstructor posted in GitHub. Thanks for the help again.


@beneditobvn

beneditobvn
11 May 2018, 07:09

RE: Thank you for your time, but unfortunatety it did not work.

Panagiotis Charalampous said:

Hi beneditobvn,

For some reason tag 59 seems to be missing from your message. See below a correct message

8=FIX.4.4|9=14935=D|49=icmarkets.3311962|56=cServer|57=TRADE|50=3311962|34=2|52=20180510-07:25:56|11=10|55=1|54=2|60=20180510-07:25:56|38=1000|40=3|99=1.18451|59=3|10=167

Best Regards,

Panagiotis

8=FIX.4.4|9=149|35=D|49=icmarkets.3327815|56=CSERVER|57=TRADE|50=3327815|34=2|52=20180511-03:56:16|11=11|55=1|54=1|60=20180511-03:56:16|38=1000|40=2|44=1,18951|59=3|10=223|


8=FIX.4.4|9=146|35=3|34=2|49=CSERVER|50=TRADE|52=20180511-03:56:16.267|56=icmarkets.3327815|57=3327815|45=2|58=Incorrect data format for value|371=44|372=D|373=6|10=085|

I tried to place the tag 59 with values 1, 3 and 6 and the replies were the same. I think it is not the problem because it is not required and the tag 371 of the reply has value 44. I tinhk it means that the problem is in the value of the tag 44 (the price), because of this and because I send Market Orders (do not need price) normally.

Thanks for the answer and I am waiting a new one. Please, help me.


@beneditobvn

beneditobvn
26 Mar 2018, 21:41

Hey darhk, have you finished a Python script that works with this FIX API?


@beneditobvn

beneditobvn
26 Mar 2018, 21:39 ( Updated at: 23 Jan 2024, 13:16 )

Hey [smuttynutty], do you have a Python script that works fine with this FIX API?


@beneditobvn