Package com.qtsurfer.api.client.model
Class LiveSource
java.lang.Object
com.qtsurfer.api.client.model.LiveSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
public class LiveSource
extends Object
One market feed a live run consumes. Exactly one entry per run today.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumBoth `ticker` and `kline` connect to the lightest (fastest) cadence available for the exchange — today, 1 tick/second on every supported exchange. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddInstrumentsItem(String instrumentsItem) booleanReturn true if this LiveSource object is equal to o.Get exchangeInstrument symbols, or `[\"*\"]` for every instrument the exchange/segment offers (tier-gated).Get segmentgetType()Both `ticker` and `kline` connect to the lightest (fastest) cadence available for the exchange — today, 1 tick/second on every supported exchange.Venue category.inthashCode()instruments(List<String> instruments) voidsetExchange(String exchange) voidsetInstruments(List<String> instruments) voidsetSegment(String segment) voidsetType(LiveSource.TypeEnum type) voidsetVenueType(String venueType) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.type(LiveSource.TypeEnum type)
-
Field Details
-
JSON_PROPERTY_VENUE_TYPE
- See Also:
-
JSON_PROPERTY_EXCHANGE
- See Also:
-
JSON_PROPERTY_SEGMENT
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_INSTRUMENTS
- See Also:
-
-
Constructor Details
-
LiveSource
public LiveSource()
-
-
Method Details
-
venueType
-
getVenueType
Venue category. `cx` (centralized exchange) is the only one live runs support today.- Returns:
- venueType
-
setVenueType
-
exchange
-
getExchange
Get exchange- Returns:
- exchange
-
setExchange
-
segment
-
getSegment
Get segment- Returns:
- segment
-
setSegment
-
type
-
getType
Both `ticker` and `kline` connect to the lightest (fastest) cadence available for the exchange — today, 1 tick/second on every supported exchange. Choosing a specific cadence is not offered yet.- Returns:
- type
-
setType
-
instruments
-
addInstrumentsItem
-
getInstruments
Instrument symbols, or `[\"*\"]` for every instrument the exchange/segment offers (tier-gated).- Returns:
- instruments
-
setInstruments
-
equals
Return true if this LiveSource 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
-