Record Class SorExecution.VenueConfig
java.lang.Object
java.lang.Record
com.quantfinlib.backtest.SorExecution.VenueConfig
- Record Components:
- fraction of the bar's volume dealable at this venue's touch on each bar (e.g. 0.05)
- Enclosing class:
SorExecution
-
Constructor Summary
ConstructorsConstructorDescriptionVenueConfig(String name, double feeBps, double liquidityShare, boolean dark) Creates an instance of aVenueConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleandark()Returns the value of thedarkrecord component.final booleanIndicates whether some other object is "equal to" this one.doublefeeBps()Returns the value of thefeeBpsrecord component.final inthashCode()Returns a hash code value for this object.doubleReturns the value of theliquiditySharerecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
VenueConfig
Creates an instance of aVenueConfigrecord class.- Parameters:
name- the value for thenamerecord componentfeeBps- the value for thefeeBpsrecord componentliquidityShare- the value for theliquiditySharerecord componentdark- the value for thedarkrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
feeBps
public double feeBps()Returns the value of thefeeBpsrecord component.- Returns:
- the value of the
feeBpsrecord component
-
dark
public boolean dark()Returns the value of thedarkrecord component.- Returns:
- the value of the
darkrecord component
-