The Lab

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


To place an order, call submitOrder(). feedID Feed to


FeedID

  • a valid Trading Venue. (Trading Subscription must be made first.)

MarketID

  • marketID

...

  • identifier for the Market.

...


Side

  • BID / OFR refers to the side of the order, not the side of the quote being targeted.. Setting the side to BID means "I BUY", while setting the order side to OFR means "I SELL".


Amount

  • amount needs to a valid MFFloat object

Term Order

  • To specify the order via the term's currency add  the details to the submit method's 'parameters' list - using "OnTerm" as the key and the
    currency as the value.

    Code Block
    languagecpp
    title3.14.0 Term Order Specification
    parameters.push_back(KeyValue("OnTerm", "JPY"));



Venue specific optional order parameters

  • Some venues have optional order parameters which can be provided via the submitOrder's 'parameters' parameter . These are detailed here: Parameterized Orders

    Code Block
    languagecpp
    title3.14.0 Example Order Parameter Usage
    parameters.push_back(KeyValue("IcebergHighRandomTime", "1000"));


  • You can add multiple order parameters via this mechanism.