[Quickfix-developers] Quote Request Message FIX 4.2
Brought to you by:
orenmnero
|
From: Alexandre H. <a....@ca...> - 2003-02-25 08:44:26
|
Hello,
Does anybody know how to create properly a Quote Request Message with the
QuickFIX java API in FIX 4.2 ?
The following is not OK:
------- not OK ---------------------
org.quickfix.fix42.QuoteRequest quoteRequestMessage = new
org.quickfix.fix42.QuoteRequest();
Symbol symbol = new Symbol(symbolTextField.getText());
quoteRequestMessage.set(symbol);
-------- not OK --------------------
because the "QuoteRequest" class does not have a "set" method that takes a
"Symbol" object as parameter.
However, this is be possible with FIX 4.1 !
----- OK -----------------------
org.quickfix.fix41.QuoteRequest quoteRequestMessage = new
org.quickfix.fix41.QuoteRequest();
Symbol symbol = new Symbol(symbolTextField.getText());
quoteRequestMessage.set(symbol);
------ OK ----------------------
Thanks for your help,
Best regards,
Alexandre
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Confidentiality Notice :
The information contained in this e-mail message is intended only for the
personal and confidential use of the recipient(s) named above. If the reader
of this message is not the intended recipient or an agent responsible for
delivering it to the intended recipient, you are hereby notified that you
have received this document in error and that any review, dissemination,
distribution, or copying of this message is strictly prohibited. If you have
received this communication in error, please notify pos...@ca...
immediately by e-mail, and delete the original message.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|