public class Position extends java.lang.Object implements ApiElement
Modifier and Type | Field and Description |
---|---|
java.lang.String |
accountUrl |
float |
averageBuyPrice |
java.lang.String |
createdAt |
java.lang.String |
instrumentUrl |
float |
intradayAverageBuyPrice |
float |
intradayQuantity |
float |
quantity |
float |
sharesHeldForBuys |
float |
sharesHeldForSells |
float |
sharesHeldForStockGrants |
java.lang.String |
updatedAt |
java.lang.String |
url |
Constructor and Description |
---|
Position() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccount() |
float |
getAverageBuyPrice() |
java.lang.String |
getCreatedAt() |
Instrument |
getInstrumentElement() |
java.lang.String |
getInstrumentUrl() |
float |
getIntradayAverageBuyPrice() |
float |
getIntradayQuantity() |
float |
getQuantity() |
float |
getSharesHeldForBuys() |
float |
getSharesHeldForSells() |
float |
getSharesHeldForStockGrants() |
java.lang.String |
getUpdatedAt() |
java.lang.String |
getUrl() |
boolean |
requiresAuth() |
@SerializedName(value="account") @Expose public java.lang.String accountUrl
@SerializedName(value="instrument") @Expose public java.lang.String instrumentUrl
@SerializedName(value="url") @Expose public java.lang.String url
@SerializedName(value="created_at") @Expose public java.lang.String createdAt
@SerializedName(value="updated_at") @Expose public java.lang.String updatedAt
@SerializedName(value="shares_held_for_stock_grants") @Expose public float sharesHeldForStockGrants
@SerializedName(value="intraday_quantity") @Expose public float intradayQuantity
@SerializedName(value="intraday_average_buy_price") @Expose public float intradayAverageBuyPrice
@SerializedName(value="shares_held_for_buys") @Expose public float sharesHeldForBuys
@SerializedName(value="average_buy_price") @Expose public float averageBuyPrice
@SerializedName(value="shares_held_for_sells") @Expose public float sharesHeldForSells
@SerializedName(value="quantity") @Expose public float quantity
public boolean requiresAuth()
requiresAuth
in interface ApiElement
public Instrument getInstrumentElement()
public float getSharesHeldForStockGrants()
public java.lang.String getAccount()
public float getIntradayQuantity()
public float getIntradayAverageBuyPrice()
public java.lang.String getUrl()
public java.lang.String getCreatedAt()
public java.lang.String getUpdatedAt()
public float getSharesHeldForBuys()
public float getAverageBuyPrice()
public float getSharesHeldForSells()
public float getQuantity()
public java.lang.String getInstrumentUrl()