Package org.drip.oms.exchange
Class VenueHandler
java.lang.Object
org.drip.oms.exchange.VenueHandler
public class VenueHandler
extends java.lang.Object
VenueHandler implements the Handling Agent corresponding to a Suite of Venues. The References are:
- Chen, J. (2021): Time in Force: Definition, Types, and Examples https://www.investopedia.com/terms/t/timeinforce.asp
- Cont, R., and A. Kukanov (2017): Optimal Order Placement in Limit Order Markets Quantitative Finance 17 (1) 21-39
- 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
- Wikipedia (2023): Central Limit Order Book https://en.wikipedia.org/wiki/Central_limit_order_book
- Module = Product Core Module
- Library = Transaction Cost Analytics
- Project = Rd Order Specification, Handling, and Management
- Package = Implementation of Venue Order Handling
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description VenueHandler(Venue venue, boolean allowNEW)
VenueHandler Constructor -
Method Summary
Modifier and Type Method Description boolean
allowNEW()
Retrieve theallowNEW
SettingVenueResponse
handleMarketNewBuy(VenueRequest venueRequest)
Process the Market New Buy RequestVenueResponse
handleMarketNewSell(VenueRequest venueRequest)
Process the Market New Sell RequestVenueResponse
process(VenueRequest venueRequest)
Process the Venue Requestjava.lang.String
toString()
Generate String version of the state without Paddingjava.lang.String
toString(java.lang.String pad)
Generate String version of the state with Padding appliedVenue
venue()
Retrieve the Underlying VenueMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
VenueHandler
VenueHandler Constructor- Parameters:
venue
- Underlying VenueallowNEW
-allowNEW
Setting- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
venue
Retrieve the Underlying Venue- Returns:
- Underlying Venue
-
allowNEW
public boolean allowNEW()Retrieve theallowNEW
Setting- Returns:
allowNEW
Setting
-
handleMarketNewBuy
Process the Market New Buy Request- Parameters:
venueRequest
- Venue Request- Returns:
- The Market New Buy Response
-
handleMarketNewSell
Process the Market New Sell Request- Parameters:
venueRequest
- Venue Request- Returns:
- The Market New Sell Response
-
process
Process the Venue Request- Parameters:
venueRequest
- Venue Request- Returns:
- The processed Response
-
toString
public java.lang.String toString(java.lang.String pad)Generate String version of the state with Padding applied- Parameters:
pad
- Padding- Returns:
- String version of the state with Padding applied
-
toString
public java.lang.String toString()Generate String version of the state without Padding- Overrides:
toString
in classjava.lang.Object
- Returns:
- String version of the state without Padding
-