Imported from previous forum
I want to use the Security Definition Request message (type = c) for obtaining a list of tradable securities in an equity market.
Initially I thought to use the repeating group provided in Security Definition message (type = d) to include the list of all security details for a market in one single message. However it seems this repeating group is meant to be used for the underlying security details for an option.
My questions is what is the correct way of returning a list of tradable stocks? If the repeating group is not used then do I need to return one security per Security Defintion message? if that’s the case, how can we tell when all the information has been received?
[ original email was from Jim Northey - jnorthey@lasalletech.com ]
Here is the usage that was intended when the spec was developed:
To obtain a list of stocks traded by a counterparty, a Security Definition Request with SecurityRequestType[321]=3 and SecurityType[167]="CS"(for common stock) (Unfortunately you cannot specify multiple security types on a single request (if no security type is requested, the default is assumed to be all securities traded by a counterparty)).
The response should be a sequence of one or more Security Definition messages with SecurityResponseType[323]=4 that contains a repeating group of stocks (there is no rule as to how many stocks can be listed in one message - it is limited by maximum FIX message size).
Each stock would be listed in the the repeating group using the "Underlying*" tags (311,312,309, etc.). Yes, this is a little awkward and confusing from a nomenclature perspective - but we had to do this to maintain the FIX message syntax rule that a message would not reuse the same tag in different parts of the message.
There is an ommission in the FIX 4.2 specification that was reported via a previous posting: the TotalNumberSecurities[393]is optionally used in a Security Definition message to indicate the total number of securities being reqturned when multiple security definition messages are being returned to satisfy one Security Definition Request.
Hope this helps.
> I want to use the Security Definition Request message (type = c) for obtaining a list of tradable securities in an equity market.
>
> Initially I thought to use the repeating group provided in Security Definition message (type = d) to include the list of all security details for a market in one single message. However it seems this repeating group is meant to be used for the underlying security details for an option.
>
> My questions is what is the correct way of returning a list of tradable stocks? If the repeating group is not used then do I need to return one security per Security Defintion message? if that’s the case, how can we tell when all the information has been received?
>
>
>
>
>