How to send login and MarketData Request by using Quickfast Interpret Application

72 views
Skip to first unread message

Ramesh Nani

unread,
Oct 24, 2017, 10:43:56 AM10/24/17
to objectcomputing_financial
Hi All,

I would like to  send login and MarketData Request by using Quickfast Interpret Application .

But when i am creating FieldIdentityCPtr, i am getting compilation  errors.
Messages::FieldIdentityCPtr identity_TemplateID = new Messages::FieldIdentity("TemplateID");

intrusive_ptr.hpp:96:23: error: cannot convert 'const QuickFAST::Messages::FieldIdentity*' to 'const QuickFAST::Messages::Field*' for argument '1' to 'void QuickFAST::Messages::intrusive_ptr_release(const QuickFAST::Messages::Field*)'

Dale Wilson

unread,
Oct 24, 2017, 11:41:14 AM10/24/17
to quickfa...@googlegroups.com
Hi Ramesh,

The InterpretApplication is designed to receive FAST messages from a streaming source that does not require login.  It could certainly be used as a basis for developing an application that did send FAST messages in both directions, but that would be a significant effort.

Concerning the specific error you are seeing:  It appears that your code is somehow mixing a pointer to a Field with a pointer to a FieldIdentity.  Somewhere in the absurdly verbose error message there should be information about the code that triggered the expansion of the intrusive_ptr template, and it is likely that you'll find the source of the problem there.

Dale
 

--
You received this message because you are subscribed to the Google Groups "objectcomputing_financial" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quickfast_users+unsubscribe@googlegroups.com.
To post to this group, send email to quickfast_users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quickfast_users/1f9191b1-3ca1-4e44-a5c8-8ca209b8dd59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors.

Ramesh Nani

unread,
Oct 25, 2017, 4:52:30 AM10/25/17
to objectcomputing_financial
Hi Dale,

    Thanks for your response, I am getting FAST Messages from other end, but i am not taking any marketdata from other end, i am seeing some heartbeat messages, so i thought untill i send marketdata request i may not get market data ( FAST UDP) from other end, is there a way to send marketdata request by using Interpret application.

When i am trying to build a message , while adding fields i am getting below errors, but the objects of FieldUInt64 were generated , so they will available right?

Is this mandatory to send market data request , for receiving market data.

Messages::FieldIdentity identity_TemplateID("TemplateID");
Messages::MessageBuilderPtr logon_msg;
//Messages::Message *logon_msg = new Messages::Message(1);
//Messages::FieldUInt64::create(1);
Messages::FieldAscii::create("A");
logon_msg->addField(identity_TemplateID, Messages::FieldUInt32::create(1));


error: 'QuickFAST::Messages::FieldUInt64' has not been declared
error: 'QuickFAST::Messages::FieldAscii' has not been declared


On Tuesday, October 24, 2017 at 9:11:14 PM UTC+5:30, Dale Wilson wrote:
Hi Ramesh,

The InterpretApplication is designed to receive FAST messages from a streaming source that does not require login.  It could certainly be used as a basis for developing an application that did send FAST messages in both directions, but that would be a significant effort.

Concerning the specific error you are seeing:  It appears that your code is somehow mixing a pointer to a Field with a pointer to a FieldIdentity.  Somewhere in the absurdly verbose error message there should be information about the code that triggered the expansion of the intrusive_ptr template, and it is likely that you'll find the source of the problem there.

Dale
 
On Tue, Oct 24, 2017 at 9:38 AM, Ramesh Nani <ramesh...@gmail.com> wrote:
Hi All,

I would like to  send login and MarketData Request by using Quickfast Interpret Application .

But when i am creating FieldIdentityCPtr, i am getting compilation  errors.
Messages::FieldIdentityCPtr identity_TemplateID = new Messages::FieldIdentity("TemplateID");

intrusive_ptr.hpp:96:23: error: cannot convert 'const QuickFAST::Messages::FieldIdentity*' to 'const QuickFAST::Messages::Field*' for argument '1' to 'void QuickFAST::Messages::intrusive_ptr_release(const QuickFAST::Messages::Field*)'

--
You received this message because you are subscribed to the Google Groups "objectcomputing_financial" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quickfast_use...@googlegroups.com.
To post to this group, send email to quickfa...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages