{{Quickfixn}} IndicationOfInterest - IOIid error

Wayne Kaplan wkaplan at financialnortheastern.com
Wed Feb 12 08:18:07 PST 2020


This is what I’ve installed through NuGet…

QuickFix.Net.NETCore  v1.8.1
QuickFix.Net.NETCore.FIX44 v1.8.1

Do I need QuickFix.Net.NetStandard v.1.7.9?


Wayne




Wayne Kaplan

Senior Software Developer

[cid:image001.jpg at 01D5E196.194194D0]
100 Passaic Avenue

973-396-1057 Direct

Fairfield, NJ 07004

866-855-1504 Fax

800-362-9876 x1205

wkaplan at financialnortheastern.com

[cid:image002.jpg at 01D5E196.194194D0]
www.financialnortheastern.com<http://www.financialnortheastern.com/>


From: Quickfixn [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Grant Birchmeier
Sent: Tuesday, February 11, 2020 3:25 PM
To: Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
Subject: Re: {{Quickfixn}} IndicationOfInterest - IOIid error

I've never coded in VB, but it's all just classes and methods in either language.

StringField is just a QF/n class (it's the base class of all string fields), and given your earlier code, I know you know how to use "new"!

To create a field 23=999 (which is IOIShares or IOIQty, depending on which FIX version you are on), the code would be:
    new StringField(23, "999")
Similarly, you could also do it as a IntField:
    new IntField(23, 999)
QF/n is smart enough to work it either way.

If you have an IOI message, you can call:
    ioiMsg.setField(new StringField(23, "999"));

(There is no SetString, sorry, my mistake.  )

And the generic getter is:
    ioiMsg.getField(23) // returns field value as a string, e.g. 999

Or you can do:
    f23 = StringField(23);
    ioiMsg.GetField(f23); // sets f23's value to what it finds for 23 in ioiMsg
    // the above will also work if f23 = IntField(23)

You should definitely have a look at this page:
http://quickfixn.org/tutorial/custom-fields-groups-and-messages.html
The generic methods are touched on at the bottom, but the custom DD stuff on the page is also very important.

-Grant


On Tue, Feb 11, 2020 at 2:06 PM Wayne Kaplan <wkaplan at financialnortheastern.com<mailto:wkaplan at financialnortheastern.com>> wrote:
Also….

I’ve only been using vb.net<http://vb.net> for a couple of years.
Prior to that I had been using Visual FoxPro and earlier versions of Fox since 1988.

That being said I’m not all that familiar with some of the ins and outs of .net programming.

How would I do the following…

create a generic "new StringField(23)", And then add it with setString(stringField).
'You can later retrieve it with GetString(23).

Any help would be great however I understand if you won’t be able to…

Thanks

Wayne





--
Grant Birchmeier
Connamara Systems, LLC
Made-To-Measure Trading Solutions.
Exactly what you need. No more. No less.
http://connamara.com

This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you from Connamara Systems, LLC.

________________________________
Although all information has been obtained from sources that Financial Northeastern Corporation and Financial Northeastern Securities believe to be reliable we do not guarantee its accuracy or completeness. All prices, yields and availability are subject to change without notice. Securities offered through Financial Northeastern Securities, a registered broker/dealer.

Financial Northeastern Corporation
FNC Insurance Services, Inc.
Financial Northeastern Securities, Inc.

100 Passaic Avenue
Fairfield, New Jersey 07004
(800) FNC-4141 or (973) 882-9337

485 Metro Place South
Suite 465
Dublin, Ohio 43017
(877) 889-1095
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20200212/546aa059/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 5800 bytes
Desc: image001.jpg
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20200212/546aa059/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 1857 bytes
Desc: image002.jpg
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20200212/546aa059/attachment-0005.jpg>


More information about the Quickfixn mailing list