Package com.qtsurfer.api.client.model
Class LiveSignal
java.lang.Object
com.qtsurfer.api.client.model.LiveSignal
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
public class LiveSignal
extends Object
One signal, in the same shape the real-time signal channel delivers.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe stage the run was in when this signal was produced.static enumGets or Sets type -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionemittedAtMs(Long emittedAtMs) booleanReturn true if this LiveSignal object is equal to o.getData()The signal's own free-form payload.Content hash, for checking that two independent deliveries of the same signal agree.Time it was published — always at or after `eventTsMs`.Market time the signal was produced.Get instrumentgetKind()`BUY`/`SELL` for a `hint`, the command name for a `command`, absent otherwise.getOrder()Get orderThe parameter set in force when this signal was produced.`true` only for a signal republished to fill a gap in the record.getRunId()Get runIdStable id for this exact signal — dedupe on it across reconnects or overlapping reads.getStage()The stage the run was in when this signal was produced.getType()Get typegetV()Envelope schema version.inthashCode()instrument(LiveSignalInstrument instrument) order(LiveSignalOrder order) paramsVersion(Integer paramsVersion) regenerated(Boolean regenerated) voidvoidvoidsetEmittedAtMs(Long emittedAtMs) voidsetEventTsMs(Long eventTsMs) voidsetInstrument(LiveSignalInstrument instrument) voidvoidsetOrder(LiveSignalOrder order) voidsetParamsVersion(Integer paramsVersion) voidsetRegenerated(Boolean regenerated) voidvoidsetSignalId(String signalId) voidsetStage(LiveSignal.StageEnum stage) voidsetType(LiveSignal.TypeEnum type) voidstage(LiveSignal.StageEnum stage) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.type(LiveSignal.TypeEnum type)
-
Field Details
-
JSON_PROPERTY_V
- See Also:
-
JSON_PROPERTY_SIGNAL_ID
- See Also:
-
JSON_PROPERTY_RUN_ID
- See Also:
-
JSON_PROPERTY_STAGE
- See Also:
-
JSON_PROPERTY_PARAMS_VERSION
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_KIND
- See Also:
-
JSON_PROPERTY_EVENT_TS_MS
- See Also:
-
JSON_PROPERTY_EMITTED_AT_MS
- See Also:
-
JSON_PROPERTY_INSTRUMENT
- See Also:
-
JSON_PROPERTY_ORDER
- See Also:
-
JSON_PROPERTY_DATA
- See Also:
-
JSON_PROPERTY_REGENERATED
- See Also:
-
JSON_PROPERTY_DIGEST
- See Also:
-
-
Constructor Details
-
LiveSignal
public LiveSignal()
-
-
Method Details
-
v
-
getV
Envelope schema version.- Returns:
- v
-
setV
-
signalId
-
getSignalId
Stable id for this exact signal — dedupe on it across reconnects or overlapping reads.- Returns:
- signalId
-
setSignalId
-
runId
-
getRunId
Get runId- Returns:
- runId
-
setRunId
-
stage
-
getStage
The stage the run was in when this signal was produced.- Returns:
- stage
-
setStage
-
paramsVersion
-
getParamsVersion
The parameter set in force when this signal was produced.- Returns:
- paramsVersion
-
setParamsVersion
-
type
-
getType
Get type- Returns:
- type
-
setType
-
kind
-
getKind
`BUY`/`SELL` for a `hint`, the command name for a `command`, absent otherwise.- Returns:
- kind
-
setKind
-
eventTsMs
-
getEventTsMs
Market time the signal was produced.- Returns:
- eventTsMs
-
setEventTsMs
-
emittedAtMs
-
getEmittedAtMs
Time it was published — always at or after `eventTsMs`.- Returns:
- emittedAtMs
-
setEmittedAtMs
-
instrument
-
getInstrument
Get instrument- Returns:
- instrument
-
setInstrument
-
order
-
getOrder
Get order- Returns:
- order
-
setOrder
-
data
-
getData
The signal's own free-form payload.- Returns:
- data
-
setData
-
regenerated
-
getRegenerated
`true` only for a signal republished to fill a gap in the record.- Returns:
- regenerated
-
setRegenerated
-
digest
-
getDigest
Content hash, for checking that two independent deliveries of the same signal agree.- Returns:
- digest
-
setDigest
-
equals
Return true if this LiveSignal object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-