Hi,
I am getting the following error.
terminate called after throwing an instance of 'QuickFAST::UnsupportedConversion'
what(): ascii cannot be converted to Group
As per Dale's comment here,
I think this is because of the same group name and field name(RelatedSymbol) in the same scope.
The template is as follows:
<template name="RelatedSymbol" id="5" dictionary="RelatedSymbol">
<typeRef name="RelatedSymbol"/>
<string name="Symbol" id="55" presence="optional"><copy/></string>
<string name="ProductComplex" id="1227" presence="optional"></string>
<uInt32 name="MDSubBookType" id="1173" presence="optional"></uInt32>
</template>
<template name="MDEntryType" id="6" dictionary="MDEntryType">
<typeRef name="MDEntryType"/>
<string name="MDEntryType" id="269" presence="optional"><copy/></string>
<string name="MDEntryTime" id="273" presence="optional"></string>
<uInt32 name="MDBookType" id="1021" presence="optional"></uInt32>
</template>
<template name="MarketDataRequest" id="7" dictionary="MarketDataRequest">
<typeRef name="MarketDataRequest"/>
<templateRef name="MarketDataRequestHeader"/>
<string name="MDReqID" id="262" presence="mandatory"></string>
<sequence name="NoMDEntryTypes" presence="optional">
<length name="MDEntryType" id="267"/>
<templateRef name="MDEntryType"/>
</sequence>
<sequence name="RelatedSymbol" presence="optional">
<length name="RelatedSymbol" id="146"/>
<templateRef name="RelatedSymbol" />
</sequence>
<templateRef name="StandardTrailer"/>
</template>
Can you please confirm and guide me to the correct path.
Thanks,
Mounika