Class FixedIncomeQuote
java.lang.Object
markets.alpaca.client.openapi.data.model.FixedIncomeQuote
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class FixedIncomeQuote
extends Object
implements Serializable
The best bid and ask information for a given fixed income security. A value of 0 means there is no active bid or ask for that field.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FixedIncomeQuoteCreate an instance of FixedIncomeQuote given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getAms()Best ask minimum trade size in par value.getAp()Best ask price.getAs()Best ask size in par value.getAytm()Best ask yield to maturity.getAytw()Best ask yield to worst.getBms()Best bid minimum trade size in par value.getBp()Best bid price.getBs()Best bid size in par value.getBytm()Best bid yield to maturity.getBytw()Best bid yield to worst.getT()Timestamp in RFC-3339 format with nanosecond precision.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidt(OffsetDateTime t) toJson()Convert an instance of FixedIncomeQuote to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_AMS
- See Also:
-
SERIALIZED_NAME_AP
- See Also:
-
SERIALIZED_NAME_AS
- See Also:
-
SERIALIZED_NAME_AYTM
- See Also:
-
SERIALIZED_NAME_AYTW
- See Also:
-
SERIALIZED_NAME_BMS
- See Also:
-
SERIALIZED_NAME_BP
- See Also:
-
SERIALIZED_NAME_BS
- See Also:
-
SERIALIZED_NAME_BYTM
- See Also:
-
SERIALIZED_NAME_BYTW
- See Also:
-
SERIALIZED_NAME_T
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FixedIncomeQuote
public FixedIncomeQuote()
-
-
Method Details
-
ams
-
getAms
Best ask minimum trade size in par value.- Returns:
- ams
-
setAms
-
ap
-
getAp
Best ask price. 0 means there is no active ask.- Returns:
- ap
-
setAp
-
as
-
getAs
Best ask size in par value. 0 means there is no active ask.- Returns:
- as
-
setAs
-
aytm
-
getAytm
Best ask yield to maturity.- Returns:
- aytm
-
setAytm
-
aytw
-
getAytw
Best ask yield to worst.- Returns:
- aytw
-
setAytw
-
bms
-
getBms
Best bid minimum trade size in par value.- Returns:
- bms
-
setBms
-
bp
-
getBp
Best bid price. 0 means there is no active bid.- Returns:
- bp
-
setBp
-
bs
-
getBs
Best bid size in par value. 0 means there is no active bid.- Returns:
- bs
-
setBs
-
bytm
-
getBytm
Best bid yield to maturity.- Returns:
- bytm
-
setBytm
-
bytw
-
getBytw
Best bid yield to worst.- Returns:
- bytw
-
setBytw
-
t
-
getT
Timestamp in RFC-3339 format with nanosecond precision.- Returns:
- t
-
setT
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the FixedIncomeQuote instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to FixedIncomeQuote
-
fromJson
Create an instance of FixedIncomeQuote given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FixedIncomeQuote
- Throws:
IOException- if the JSON string is invalid with respect to FixedIncomeQuote
-
toJson
Convert an instance of FixedIncomeQuote to an JSON string- Returns:
- JSON string
-