Package markets.alpaca.client.ws.model
Record Class LuldBand
java.lang.Object
java.lang.Record
markets.alpaca.client.ws.model.LuldBand
- Record Components:
symbol- ticker symbollimitUp- upper price bandlimitDown- lower price bandindicator- LULD indicator codetimestamp- RFC-3339 timestamptape- consolidated tape identifier
public record LuldBand(String symbol, BigDecimal limitUp, BigDecimal limitDown, String indicator, String timestamp, String tape)
extends Record
A Limit Up – Limit Down (LULD) price band update (
T: "l").-
Constructor Summary
ConstructorsConstructorDescriptionLuldBand(String symbol, BigDecimal limitUp, BigDecimal limitDown, String indicator, String timestamp, String tape) Creates an instance of aLuldBandrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theindicatorrecord component.Returns the value of thelimitDownrecord component.limitUp()Returns the value of thelimitUprecord component.symbol()Returns the value of thesymbolrecord component.tape()Returns the value of thetaperecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LuldBand
public LuldBand(String symbol, BigDecimal limitUp, BigDecimal limitDown, String indicator, String timestamp, String tape) Creates an instance of aLuldBandrecord class.- Parameters:
symbol- the value for thesymbolrecord componentlimitUp- the value for thelimitUprecord componentlimitDown- the value for thelimitDownrecord componentindicator- the value for theindicatorrecord componenttimestamp- the value for thetimestamprecord componenttape- the value for thetaperecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. All components in this record class are compared withObjects::equals(Object,Object). -
symbol
Returns the value of thesymbolrecord component.- Returns:
- the value of the
symbolrecord component
-
limitUp
Returns the value of thelimitUprecord component.- Returns:
- the value of the
limitUprecord component
-
limitDown
Returns the value of thelimitDownrecord component.- Returns:
- the value of the
limitDownrecord component
-
indicator
Returns the value of theindicatorrecord component.- Returns:
- the value of the
indicatorrecord component
-
timestamp
Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-
tape
Returns the value of thetaperecord component.- Returns:
- the value of the
taperecord component
-