Imported from previous forum
Could you please answer some questions of this example
order :
[8=FIX.4.0
9=0156
35=D
49=SyberBuy
56=SyberSell
34=3050=SenderSubID
57=TargetSubID
52=20000420-15:04:33
11=1
21=1
55=BNP
54=1
38=900
40=1
44=102.0
126=2000-04-2100:00:00.0
10=108]
1)the order is a buy of 900 shares of BNP at the market price. So what does the 44 field means?
I don’t understand why the price at 102.0 is filled
-
why the checksum field change and is not fixed. what 108 means?
-
how does it works when some optional fields are filled? Is the field number nine calculate automatically the number of bytes?
-
I can’t find by myself 156 bytes in this message. How many bytes is an Int? Is that a short, a long??
Thanks a lot
> 1)the order is a buy of 900 shares of BNP at the
> market price. So what does the 44 field means?
44 is price, which in this case would be ignored
since it is a market order. Some FIX engines
are not as strict about checking business logic
like this (i.e. allowing you to put a price
even though it is a market order)
> 2) why the checksum field change and is not
> fixed. what 108 means?
From the FIX Specs:
"The checksum of a FIX message is calculated by summing every byte of the message up to but not including the checksum field itself. This checksum is then transformed into a modulo 256 number for transmission and comparison. The checksum is calculated after all encryption is completed, i.e. the message as transmitted between parties is processed."
> 3) how does it works when some optional fields > are filled? Is the field number nine calculate > automatically the number of bytes?
From the FIX specs: Tag 9 is "Message length, in bytes, forward to the CheckSum field." so this
would include all fields set (required and
optional)
> 4) I can’t find by myself 156 bytes in this
> message. How many bytes is an Int? Is that a
> short, a long??
the bytes number indicates the total number of
characters in the message, and doesn’t have to
do with the format of the field (int, char,
etc)
Egils Kaljo
Javelin Technologies
egils@javtech.com
> Could you please answer some questions of this example
>
> order :
>
> [8=FIX.4.0
> 9=0156
> 35=D
> 49=SyberBuy
> 56=SyberSell
> 34=3050=SenderSubID
> 57=TargetSubID
> 52=20000420-15:04:33
> 11=1
> 21=1
> 55=BNP
> 54=1
> 38=900
> 40=1
> 44=102.0
> 126=2000-04-2100:00:00.0
> 10=108]
>
> 1)the order is a buy of 900 shares of BNP at the market price. So what does the 44 field means?
> I don’t understand why the price at 102.0 is filled
>
> 2) why the checksum field change and is not fixed. what 108 means?
>
> 3) how does it works when some optional fields are filled? Is the field number nine calculate automatically the number of bytes?
>
> 4) I can’t find by myself 156 bytes in this message. How many bytes is an Int? Is that a short, a long??
>
>
> Thanks a lot
>