Package org.drip.param.definition
Class Quote
java.lang.Object
org.drip.param.definition.Quote
- Direct Known Subclasses:
MultiSided
public abstract class Quote
extends java.lang.Object
Quote interface contains the stubs corresponding to a product quote. It contains the quote value,
quote instant for the different quote sides (bid/ask/mid).
- Module = Product Core Module
- Library = Fixed Income Analytics
- Project = Product Cash Flow, Valuation, Market, Pricing, and Quoting Parameters
- Package = Latent State Quantification Metrics Tweak
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description Quote()
-
Method Summary
Modifier and Type Method Description abstract boolean
setSide(java.lang.String strSide, double dblQuote, double dblSize)
Set the quote for the specified sideabstract double
size(java.lang.String strSide)
Get the quote size for the given sideabstract DateTime
time(java.lang.String strSide)
Get the time of the quoteabstract double
value(java.lang.String strSide)
Get the quote value for the given sideMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Quote
public Quote()
-
-
Method Details
-
value
public abstract double value(java.lang.String strSide)Get the quote value for the given side- Parameters:
strSide
- bid/ask/mid- Returns:
- Quote Value
-
size
public abstract double size(java.lang.String strSide)Get the quote size for the given side- Parameters:
strSide
- bid/ask/mid- Returns:
- Size
-
time
Get the time of the quote- Parameters:
strSide
- bid/ask/mid- Returns:
- DateTime
-
setSide
public abstract boolean setSide(java.lang.String strSide, double dblQuote, double dblSize)Set the quote for the specified side- Parameters:
strSide
- bid/ask/middblQuote
- Quote valuedblSize
- Size- Returns:
- Success (true) or failure (false)
-