Class MarketOrderFOK

java.lang.Object

public class MarketOrderFOK
extends MarketOrder
MarketOrderFOK holds the Details of a Fill-Or-Kill (FOK) Market Order. The References are:

  • Berkowitz, S. A., D. E. Logue, and E. A. J. Noser (1988): The Total Cost of Transactions on the NYSE Journal of Finance 43 (1) 97-112
  • Cont, R., and A. Kukanov (2017): Optimal Order Placement in Limit Order Markets Quantitative Finance 17 (1) 21-39
  • Vassilis, P. (2005a): A Realistic Model of Market Liquidity and Depth Journal of Futures Markets 25 (5) 443-464
  • Vassilis, P. (2005b): Slow and Fast Markets Journal of Economics and Business 57 (6) 576-593
  • Weiss, D. (2006): After the Trade is Made: Processing Securities Transactions Portfolio Publishing London UK


Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • MarketOrderFOK

      public MarketOrderFOK​(OrderIssuer issuer, java.lang.String ticker, java.lang.String id, java.util.Date creationTime, Side side, double size, TimeInForce timeInForce, DisplaySettings displaySettings) throws java.lang.Exception
      Fill-Or-Kill (FOK) Market Order Constructor
      Parameters:
      issuer - Order Issuer
      ticker - Security Identifier/Ticker
      id - Order ID
      creationTime - Creation Time
      side - Order Side
      size - Order Size
      timeInForce - Time-in-Force Settings
      displaySettings - Order Display Settings
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • Standard

      public static final MarketOrderFOK Standard​(OrderIssuer issuer, java.lang.String ticker, Side side, double size, TimeInForce timeInForce, DisplaySettings displaySettings)
      Construct a Standard Instance of Buy Fill-Or-Kill (FOK) Market Order
      Parameters:
      issuer - Order Issuer
      ticker - Security Identifier/Ticker
      side - Order Side
      size - Order Size
      timeInForce - Time-in-Force Settings
      displaySettings - Order Display Settings
      Returns:
      Instance of Buy Fill-Or-Kill (FOK) Market Order
    • StandardBuy

      public static final MarketOrderFOK StandardBuy​(OrderIssuer issuer, java.lang.String ticker, double size, TimeInForce timeInForce, DisplaySettings displaySettings)
      Construct a Standard Instance of Buy Fill-Or-Kill (FOK) Market Order
      Parameters:
      issuer - Order Issuer
      ticker - Security Identifier/Ticker
      size - Order Size
      timeInForce - Time-in-Force Settings
      displaySettings - Order Display Settings
      Returns:
      Standard Instance of Buy Fill-Or-Kill (FOK) Market Order
    • StandardSell

      public static final MarketOrderFOK StandardSell​(OrderIssuer issuer, java.lang.String ticker, double size, TimeInForce timeInForce, DisplaySettings displaySettings)
      Construct a Standard Instance of Sell Fill-Or-Kill (FOK) Market Order
      Parameters:
      issuer - Order Issuer
      ticker - Security Identifier/Ticker
      size - Order Size
      timeInForce - Time-in-Force Settings
      displaySettings - Order Display Settings
      Returns:
      Standard Instance of Sell Fill-Or-Kill (FOK) Market Order