Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type APIStatusApiCheckRequest
- type APIStatusApiService
- type Account
- func (o *Account) GetBalance() AccountBalance
- func (o *Account) GetBalanceOk() (*AccountBalance, bool)
- func (o *Account) GetBrokerageAuthorization() string
- func (o *Account) GetBrokerageAuthorizationOk() (*string, bool)
- func (o *Account) GetCashRestrictions() []string
- func (o *Account) GetCashRestrictionsOk() ([]string, bool)
- func (o *Account) GetCreatedDate() time.Time
- func (o *Account) GetCreatedDateOk() (*time.Time, bool)
- func (o *Account) GetId() string
- func (o *Account) GetIdOk() (*string, bool)
- func (o *Account) GetInstitutionName() string
- func (o *Account) GetInstitutionNameOk() (*string, bool)
- func (o *Account) GetMeta() map[string]interface{}
- func (o *Account) GetMetaOk() (map[string]interface{}, bool)
- func (o *Account) GetName() string
- func (o *Account) GetNameOk() (*string, bool)
- func (o *Account) GetNumber() string
- func (o *Account) GetNumberOk() (*string, bool)
- func (o *Account) GetPortfolioGroup() string
- func (o *Account) GetPortfolioGroupOk() (*string, bool)
- func (o *Account) GetRawType() string
- func (o *Account) GetRawTypeOk() (*string, bool)
- func (o *Account) GetStatus() string
- func (o *Account) GetStatusOk() (*string, bool)
- func (o *Account) GetSyncStatus() AccountSyncStatus
- func (o *Account) GetSyncStatusOk() (*AccountSyncStatus, bool)
- func (o *Account) HasCashRestrictions() bool
- func (o *Account) HasMeta() bool
- func (o *Account) HasPortfolioGroup() bool
- func (o *Account) HasRawType() bool
- func (o *Account) HasStatus() bool
- func (o Account) MarshalJSON() ([]byte, error)
- func (o *Account) SetBalance(v AccountBalance)
- func (o *Account) SetBrokerageAuthorization(v string)
- func (o *Account) SetCashRestrictions(v []string)
- func (o *Account) SetCreatedDate(v time.Time)
- func (o *Account) SetId(v string)
- func (o *Account) SetInstitutionName(v string)
- func (o *Account) SetMeta(v map[string]interface{})
- func (o *Account) SetName(v string)
- func (o *Account) SetNumber(v string)
- func (o *Account) SetPortfolioGroup(v string)
- func (o *Account) SetRawType(v string)
- func (o *Account) SetRawTypeNil()
- func (o *Account) SetStatus(v string)
- func (o *Account) SetStatusNil()
- func (o *Account) SetSyncStatus(v AccountSyncStatus)
- func (o *Account) UnmarshalJSON(bytes []byte) (err error)
- func (o *Account) UnsetRawType()
- func (o *Account) UnsetStatus()
- type AccountBalance
- func (o *AccountBalance) GetTotal() AccountBalanceTotal
- func (o *AccountBalance) GetTotalOk() (*AccountBalanceTotal, bool)
- func (o *AccountBalance) HasTotal() bool
- func (o AccountBalance) MarshalJSON() ([]byte, error)
- func (o *AccountBalance) SetTotal(v AccountBalanceTotal)
- func (o *AccountBalance) SetTotalNil()
- func (o *AccountBalance) UnsetTotal()
- type AccountBalanceTotal
- func (o *AccountBalanceTotal) GetAmount() float32
- func (o *AccountBalanceTotal) GetAmountOk() (*float32, bool)
- func (o *AccountBalanceTotal) GetCurrency() string
- func (o *AccountBalanceTotal) GetCurrencyOk() (*string, bool)
- func (o *AccountBalanceTotal) HasAmount() bool
- func (o *AccountBalanceTotal) HasCurrency() bool
- func (o AccountBalanceTotal) MarshalJSON() ([]byte, error)
- func (o *AccountBalanceTotal) SetAmount(v float32)
- func (o *AccountBalanceTotal) SetCurrency(v string)
- type AccountHoldings
- func (o *AccountHoldings) GetAccount() SnapTradeHoldingsAccount
- func (o *AccountHoldings) GetAccountOk() (*SnapTradeHoldingsAccount, bool)
- func (o *AccountHoldings) GetBalances() []Balance
- func (o *AccountHoldings) GetBalancesOk() ([]Balance, bool)
- func (o *AccountHoldings) GetPositions() []Position
- func (o *AccountHoldings) GetPositionsOk() ([]Position, bool)
- func (o *AccountHoldings) GetTotalValue() SnapTradeHoldingsTotalValue
- func (o *AccountHoldings) GetTotalValueOk() (*SnapTradeHoldingsTotalValue, bool)
- func (o *AccountHoldings) HasAccount() bool
- func (o *AccountHoldings) HasBalances() bool
- func (o *AccountHoldings) HasPositions() bool
- func (o *AccountHoldings) HasTotalValue() bool
- func (o AccountHoldings) MarshalJSON() ([]byte, error)
- func (o *AccountHoldings) SetAccount(v SnapTradeHoldingsAccount)
- func (o *AccountHoldings) SetBalances(v []Balance)
- func (o *AccountHoldings) SetPositions(v []Position)
- func (o *AccountHoldings) SetTotalValue(v SnapTradeHoldingsTotalValue)
- func (o *AccountHoldings) UnmarshalJSON(bytes []byte) (err error)
- type AccountHoldingsAccount
- func (o *AccountHoldingsAccount) GetAccount() Account
- func (o *AccountHoldingsAccount) GetAccountOk() (*Account, bool)
- func (o *AccountHoldingsAccount) GetBalances() []Balance
- func (o *AccountHoldingsAccount) GetBalancesOk() ([]Balance, bool)
- func (o *AccountHoldingsAccount) GetOptionPositions() []OptionsPosition
- func (o *AccountHoldingsAccount) GetOptionPositionsOk() ([]OptionsPosition, bool)
- func (o *AccountHoldingsAccount) GetOrders() []AccountOrderRecord
- func (o *AccountHoldingsAccount) GetOrdersOk() ([]AccountOrderRecord, bool)
- func (o *AccountHoldingsAccount) GetPositions() []Position
- func (o *AccountHoldingsAccount) GetPositionsOk() ([]Position, bool)
- func (o *AccountHoldingsAccount) GetTotalValue() SnapTradeHoldingsTotalValue
- func (o *AccountHoldingsAccount) GetTotalValueOk() (*SnapTradeHoldingsTotalValue, bool)
- func (o *AccountHoldingsAccount) HasAccount() bool
- func (o *AccountHoldingsAccount) HasBalances() bool
- func (o *AccountHoldingsAccount) HasOptionPositions() bool
- func (o *AccountHoldingsAccount) HasOrders() bool
- func (o *AccountHoldingsAccount) HasPositions() bool
- func (o *AccountHoldingsAccount) HasTotalValue() bool
- func (o AccountHoldingsAccount) MarshalJSON() ([]byte, error)
- func (o *AccountHoldingsAccount) SetAccount(v Account)
- func (o *AccountHoldingsAccount) SetBalances(v []Balance)
- func (o *AccountHoldingsAccount) SetOptionPositions(v []OptionsPosition)
- func (o *AccountHoldingsAccount) SetOrders(v []AccountOrderRecord)
- func (o *AccountHoldingsAccount) SetPositions(v []Position)
- func (o *AccountHoldingsAccount) SetTotalValue(v SnapTradeHoldingsTotalValue)
- func (o *AccountHoldingsAccount) UnmarshalJSON(bytes []byte) (err error)
- type AccountInformationApiGetAccountActivitiesRequest
- func (r *AccountInformationApiGetAccountActivitiesRequest) EndDate(endDate string) *AccountInformationApiGetAccountActivitiesRequest
- func (r AccountInformationApiGetAccountActivitiesRequest) Execute() (*PaginatedUniversalActivity, *http.Response, error)
- func (r *AccountInformationApiGetAccountActivitiesRequest) Limit(limit int32) *AccountInformationApiGetAccountActivitiesRequest
- func (r *AccountInformationApiGetAccountActivitiesRequest) Offset(offset int32) *AccountInformationApiGetAccountActivitiesRequest
- func (r *AccountInformationApiGetAccountActivitiesRequest) StartDate(startDate string) *AccountInformationApiGetAccountActivitiesRequest
- func (r *AccountInformationApiGetAccountActivitiesRequest) Type_(type_ string) *AccountInformationApiGetAccountActivitiesRequest
- type AccountInformationApiGetAllUserHoldingsRequest
- type AccountInformationApiGetUserAccountBalanceRequest
- type AccountInformationApiGetUserAccountDetailsRequest
- type AccountInformationApiGetUserAccountOrderDetailRequest
- type AccountInformationApiGetUserAccountOrdersRequest
- func (r *AccountInformationApiGetUserAccountOrdersRequest) Days(days int32) *AccountInformationApiGetUserAccountOrdersRequest
- func (r AccountInformationApiGetUserAccountOrdersRequest) Execute() ([]AccountOrderRecord, *http.Response, error)
- func (r *AccountInformationApiGetUserAccountOrdersRequest) State(state string) *AccountInformationApiGetUserAccountOrdersRequest
- type AccountInformationApiGetUserAccountPositionsRequest
- type AccountInformationApiGetUserAccountRecentOrdersRequest
- type AccountInformationApiGetUserAccountReturnRatesRequest
- type AccountInformationApiGetUserHoldingsRequest
- type AccountInformationApiListUserAccountsRequest
- type AccountInformationApiService
- func (a *AccountInformationApiService) GetAccountActivities(accountId string, userId string, userSecret string) AccountInformationApiGetAccountActivitiesRequest
- func (a *AccountInformationApiService) GetAccountActivitiesExecute(r AccountInformationApiGetAccountActivitiesRequest) (*PaginatedUniversalActivity, *http.Response, error)
- func (a *AccountInformationApiService) GetAllUserHoldings(userId string, userSecret string) AccountInformationApiGetAllUserHoldingsRequest
- func (a *AccountInformationApiService) GetAllUserHoldingsExecute(r AccountInformationApiGetAllUserHoldingsRequest) ([]AccountHoldings, *http.Response, error)
- func (a *AccountInformationApiService) GetUserAccountBalance(userId string, userSecret string, accountId string) AccountInformationApiGetUserAccountBalanceRequest
- func (a *AccountInformationApiService) GetUserAccountBalanceExecute(r AccountInformationApiGetUserAccountBalanceRequest) ([]Balance, *http.Response, error)
- func (a *AccountInformationApiService) GetUserAccountDetails(userId string, userSecret string, accountId string) AccountInformationApiGetUserAccountDetailsRequest
- func (a *AccountInformationApiService) GetUserAccountDetailsExecute(r AccountInformationApiGetUserAccountDetailsRequest) (*Account, *http.Response, error)
- func (a *AccountInformationApiService) GetUserAccountOrderDetail(accountId string, userId string, userSecret string, ...) AccountInformationApiGetUserAccountOrderDetailRequest
- func (a *AccountInformationApiService) GetUserAccountOrderDetailExecute(r AccountInformationApiGetUserAccountOrderDetailRequest) (*AccountOrderRecord, *http.Response, error)
- func (a *AccountInformationApiService) GetUserAccountOrders(userId string, userSecret string, accountId string) AccountInformationApiGetUserAccountOrdersRequest
- func (a *AccountInformationApiService) GetUserAccountOrdersExecute(r AccountInformationApiGetUserAccountOrdersRequest) ([]AccountOrderRecord, *http.Response, error)
- func (a *AccountInformationApiService) GetUserAccountPositions(userId string, userSecret string, accountId string) AccountInformationApiGetUserAccountPositionsRequest
- func (a *AccountInformationApiService) GetUserAccountPositionsExecute(r AccountInformationApiGetUserAccountPositionsRequest) ([]Position, *http.Response, error)
- func (a *AccountInformationApiService) GetUserAccountRecentOrders(userId string, userSecret string, accountId string) AccountInformationApiGetUserAccountRecentOrdersRequest
- func (a *AccountInformationApiService) GetUserAccountRecentOrdersExecute(r AccountInformationApiGetUserAccountRecentOrdersRequest) (*RecentOrdersResponse, *http.Response, error)
- func (a *AccountInformationApiService) GetUserAccountReturnRates(userId string, userSecret string, accountId string) AccountInformationApiGetUserAccountReturnRatesRequest
- func (a *AccountInformationApiService) GetUserAccountReturnRatesExecute(r AccountInformationApiGetUserAccountReturnRatesRequest) (*RateOfReturnResponse, *http.Response, error)
- func (a *AccountInformationApiService) GetUserHoldings(accountId string, userId string, userSecret string) AccountInformationApiGetUserHoldingsRequest
- func (a *AccountInformationApiService) GetUserHoldingsExecute(r AccountInformationApiGetUserHoldingsRequest) (*AccountHoldingsAccount, *http.Response, error)
- func (a *AccountInformationApiService) ListUserAccounts(userId string, userSecret string) AccountInformationApiListUserAccountsRequest
- func (a *AccountInformationApiService) ListUserAccountsExecute(r AccountInformationApiListUserAccountsRequest) ([]Account, *http.Response, error)
- func (a *AccountInformationApiService) UpdateUserAccount(userId string, userSecret string, accountId string) AccountInformationApiUpdateUserAccountRequest
- func (a *AccountInformationApiService) UpdateUserAccountExecute(r AccountInformationApiUpdateUserAccountRequest) ([]Account, *http.Response, error)
- type AccountInformationApiUpdateUserAccountRequest
- type AccountInformationGetUserAccountOrderDetailRequest
- func (o *AccountInformationGetUserAccountOrderDetailRequest) GetBrokerageOrderId() string
- func (o *AccountInformationGetUserAccountOrderDetailRequest) GetBrokerageOrderIdOk() (*string, bool)
- func (o AccountInformationGetUserAccountOrderDetailRequest) MarshalJSON() ([]byte, error)
- func (o *AccountInformationGetUserAccountOrderDetailRequest) SetBrokerageOrderId(v string)
- type AccountOrderRecord
- func (o *AccountOrderRecord) GetAction() string
- func (o *AccountOrderRecord) GetActionOk() (*string, bool)
- func (o *AccountOrderRecord) GetBrokerageOrderId() string
- func (o *AccountOrderRecord) GetBrokerageOrderIdOk() (*string, bool)
- func (o *AccountOrderRecord) GetCanceledQuantity() string
- func (o *AccountOrderRecord) GetCanceledQuantityOk() (*string, bool)
- func (o *AccountOrderRecord) GetChildBrokerageOrderIds() AccountOrderRecordChildBrokerageOrderIds
- func (o *AccountOrderRecord) GetChildBrokerageOrderIdsOk() (*AccountOrderRecordChildBrokerageOrderIds, bool)
- func (o *AccountOrderRecord) GetExecutionPrice() float32
- func (o *AccountOrderRecord) GetExecutionPriceOk() (*float32, bool)
- func (o *AccountOrderRecord) GetExpiryDate() time.Time
- func (o *AccountOrderRecord) GetExpiryDateOk() (*time.Time, bool)
- func (o *AccountOrderRecord) GetFilledQuantity() string
- func (o *AccountOrderRecord) GetFilledQuantityOk() (*string, bool)
- func (o *AccountOrderRecord) GetLimitPrice() float32
- func (o *AccountOrderRecord) GetLimitPriceOk() (*float32, bool)
- func (o *AccountOrderRecord) GetOpenQuantity() string
- func (o *AccountOrderRecord) GetOpenQuantityOk() (*string, bool)
- func (o *AccountOrderRecord) GetOptionSymbol() AccountOrderRecordOptionSymbol
- func (o *AccountOrderRecord) GetOptionSymbolOk() (*AccountOrderRecordOptionSymbol, bool)
- func (o *AccountOrderRecord) GetOrderType() string
- func (o *AccountOrderRecord) GetOrderTypeOk() (*string, bool)
- func (o *AccountOrderRecord) GetQuoteCurrency() AccountOrderRecordQuoteCurrency
- func (o *AccountOrderRecord) GetQuoteCurrencyOk() (*AccountOrderRecordQuoteCurrency, bool)
- func (o *AccountOrderRecord) GetQuoteUniversalSymbol() AccountOrderRecordQuoteUniversalSymbol
- func (o *AccountOrderRecord) GetQuoteUniversalSymbolOk() (*AccountOrderRecordQuoteUniversalSymbol, bool)
- func (o *AccountOrderRecord) GetStatus() AccountOrderRecordStatus
- func (o *AccountOrderRecord) GetStatusOk() (*AccountOrderRecordStatus, bool)
- func (o *AccountOrderRecord) GetStopPrice() float32
- func (o *AccountOrderRecord) GetStopPriceOk() (*float32, bool)
- func (o *AccountOrderRecord) GetSymbol() string
- func (o *AccountOrderRecord) GetSymbolOk() (*string, bool)
- func (o *AccountOrderRecord) GetTimeExecuted() time.Time
- func (o *AccountOrderRecord) GetTimeExecutedOk() (*time.Time, bool)
- func (o *AccountOrderRecord) GetTimeInForce() string
- func (o *AccountOrderRecord) GetTimeInForceOk() (*string, bool)
- func (o *AccountOrderRecord) GetTimePlaced() time.Time
- func (o *AccountOrderRecord) GetTimePlacedOk() (*time.Time, bool)
- func (o *AccountOrderRecord) GetTimeUpdated() time.Time
- func (o *AccountOrderRecord) GetTimeUpdatedOk() (*time.Time, bool)
- func (o *AccountOrderRecord) GetTotalQuantity() string
- func (o *AccountOrderRecord) GetTotalQuantityOk() (*string, bool)
- func (o *AccountOrderRecord) GetUniversalSymbol() AccountOrderRecordUniversalSymbol
- func (o *AccountOrderRecord) GetUniversalSymbolOk() (*AccountOrderRecordUniversalSymbol, bool)
- func (o *AccountOrderRecord) HasAction() bool
- func (o *AccountOrderRecord) HasBrokerageOrderId() bool
- func (o *AccountOrderRecord) HasCanceledQuantity() bool
- func (o *AccountOrderRecord) HasChildBrokerageOrderIds() bool
- func (o *AccountOrderRecord) HasExecutionPrice() bool
- func (o *AccountOrderRecord) HasExpiryDate() bool
- func (o *AccountOrderRecord) HasFilledQuantity() bool
- func (o *AccountOrderRecord) HasLimitPrice() bool
- func (o *AccountOrderRecord) HasOpenQuantity() bool
- func (o *AccountOrderRecord) HasOptionSymbol() bool
- func (o *AccountOrderRecord) HasOrderType() bool
- func (o *AccountOrderRecord) HasQuoteCurrency() bool
- func (o *AccountOrderRecord) HasQuoteUniversalSymbol() bool
- func (o *AccountOrderRecord) HasStatus() bool
- func (o *AccountOrderRecord) HasStopPrice() bool
- func (o *AccountOrderRecord) HasSymbol() bool
- func (o *AccountOrderRecord) HasTimeExecuted() bool
- func (o *AccountOrderRecord) HasTimeInForce() bool
- func (o *AccountOrderRecord) HasTimePlaced() bool
- func (o *AccountOrderRecord) HasTimeUpdated() bool
- func (o *AccountOrderRecord) HasTotalQuantity() bool
- func (o *AccountOrderRecord) HasUniversalSymbol() bool
- func (o AccountOrderRecord) MarshalJSON() ([]byte, error)
- func (o *AccountOrderRecord) SetAction(v string)
- func (o *AccountOrderRecord) SetBrokerageOrderId(v string)
- func (o *AccountOrderRecord) SetCanceledQuantity(v string)
- func (o *AccountOrderRecord) SetCanceledQuantityNil()
- func (o *AccountOrderRecord) SetChildBrokerageOrderIds(v AccountOrderRecordChildBrokerageOrderIds)
- func (o *AccountOrderRecord) SetChildBrokerageOrderIdsNil()
- func (o *AccountOrderRecord) SetExecutionPrice(v float32)
- func (o *AccountOrderRecord) SetExecutionPriceNil()
- func (o *AccountOrderRecord) SetExpiryDate(v time.Time)
- func (o *AccountOrderRecord) SetExpiryDateNil()
- func (o *AccountOrderRecord) SetFilledQuantity(v string)
- func (o *AccountOrderRecord) SetFilledQuantityNil()
- func (o *AccountOrderRecord) SetLimitPrice(v float32)
- func (o *AccountOrderRecord) SetLimitPriceNil()
- func (o *AccountOrderRecord) SetOpenQuantity(v string)
- func (o *AccountOrderRecord) SetOpenQuantityNil()
- func (o *AccountOrderRecord) SetOptionSymbol(v AccountOrderRecordOptionSymbol)
- func (o *AccountOrderRecord) SetOrderType(v string)
- func (o *AccountOrderRecord) SetOrderTypeNil()
- func (o *AccountOrderRecord) SetQuoteCurrency(v AccountOrderRecordQuoteCurrency)
- func (o *AccountOrderRecord) SetQuoteUniversalSymbol(v AccountOrderRecordQuoteUniversalSymbol)
- func (o *AccountOrderRecord) SetStatus(v AccountOrderRecordStatus)
- func (o *AccountOrderRecord) SetStopPrice(v float32)
- func (o *AccountOrderRecord) SetStopPriceNil()
- func (o *AccountOrderRecord) SetSymbol(v string)
- func (o *AccountOrderRecord) SetTimeExecuted(v time.Time)
- func (o *AccountOrderRecord) SetTimeExecutedNil()
- func (o *AccountOrderRecord) SetTimeInForce(v string)
- func (o *AccountOrderRecord) SetTimePlaced(v time.Time)
- func (o *AccountOrderRecord) SetTimeUpdated(v time.Time)
- func (o *AccountOrderRecord) SetTimeUpdatedNil()
- func (o *AccountOrderRecord) SetTotalQuantity(v string)
- func (o *AccountOrderRecord) SetTotalQuantityNil()
- func (o *AccountOrderRecord) SetUniversalSymbol(v AccountOrderRecordUniversalSymbol)
- func (o *AccountOrderRecord) UnmarshalJSON(bytes []byte) (err error)
- func (o *AccountOrderRecord) UnsetCanceledQuantity()
- func (o *AccountOrderRecord) UnsetChildBrokerageOrderIds()
- func (o *AccountOrderRecord) UnsetExecutionPrice()
- func (o *AccountOrderRecord) UnsetExpiryDate()
- func (o *AccountOrderRecord) UnsetFilledQuantity()
- func (o *AccountOrderRecord) UnsetLimitPrice()
- func (o *AccountOrderRecord) UnsetOpenQuantity()
- func (o *AccountOrderRecord) UnsetOrderType()
- func (o *AccountOrderRecord) UnsetStopPrice()
- func (o *AccountOrderRecord) UnsetTimeExecuted()
- func (o *AccountOrderRecord) UnsetTimeUpdated()
- func (o *AccountOrderRecord) UnsetTotalQuantity()
- type AccountOrderRecordChildBrokerageOrderIds
- func (o *AccountOrderRecordChildBrokerageOrderIds) GetStopLossOrderId() string
- func (o *AccountOrderRecordChildBrokerageOrderIds) GetStopLossOrderIdOk() (*string, bool)
- func (o *AccountOrderRecordChildBrokerageOrderIds) GetTakeProfitOrderId() string
- func (o *AccountOrderRecordChildBrokerageOrderIds) GetTakeProfitOrderIdOk() (*string, bool)
- func (o *AccountOrderRecordChildBrokerageOrderIds) HasStopLossOrderId() bool
- func (o *AccountOrderRecordChildBrokerageOrderIds) HasTakeProfitOrderId() bool
- func (o AccountOrderRecordChildBrokerageOrderIds) MarshalJSON() ([]byte, error)
- func (o *AccountOrderRecordChildBrokerageOrderIds) SetStopLossOrderId(v string)
- func (o *AccountOrderRecordChildBrokerageOrderIds) SetTakeProfitOrderId(v string)
- type AccountOrderRecordLeg
- func (o *AccountOrderRecordLeg) GetAction() string
- func (o *AccountOrderRecordLeg) GetActionOk() (*string, bool)
- func (o *AccountOrderRecordLeg) GetCanceledQuantity() string
- func (o *AccountOrderRecordLeg) GetCanceledQuantityOk() (*string, bool)
- func (o *AccountOrderRecordLeg) GetExecutionPrice() float32
- func (o *AccountOrderRecordLeg) GetExecutionPriceOk() (*float32, bool)
- func (o *AccountOrderRecordLeg) GetFilledQuantity() string
- func (o *AccountOrderRecordLeg) GetFilledQuantityOk() (*string, bool)
- func (o *AccountOrderRecordLeg) GetInstrument() AccountOrderRecordLegInstrument
- func (o *AccountOrderRecordLeg) GetInstrumentOk() (*AccountOrderRecordLegInstrument, bool)
- func (o *AccountOrderRecordLeg) GetLegId() string
- func (o *AccountOrderRecordLeg) GetLegIdOk() (*string, bool)
- func (o *AccountOrderRecordLeg) GetStatus() AccountOrderRecordStatusV2
- func (o *AccountOrderRecordLeg) GetStatusOk() (*AccountOrderRecordStatusV2, bool)
- func (o *AccountOrderRecordLeg) GetTotalQuantity() string
- func (o *AccountOrderRecordLeg) GetTotalQuantityOk() (*string, bool)
- func (o *AccountOrderRecordLeg) HasAction() bool
- func (o *AccountOrderRecordLeg) HasCanceledQuantity() bool
- func (o *AccountOrderRecordLeg) HasExecutionPrice() bool
- func (o *AccountOrderRecordLeg) HasFilledQuantity() bool
- func (o *AccountOrderRecordLeg) HasInstrument() bool
- func (o *AccountOrderRecordLeg) HasLegId() bool
- func (o *AccountOrderRecordLeg) HasStatus() bool
- func (o *AccountOrderRecordLeg) HasTotalQuantity() bool
- func (o AccountOrderRecordLeg) MarshalJSON() ([]byte, error)
- func (o *AccountOrderRecordLeg) SetAction(v string)
- func (o *AccountOrderRecordLeg) SetCanceledQuantity(v string)
- func (o *AccountOrderRecordLeg) SetCanceledQuantityNil()
- func (o *AccountOrderRecordLeg) SetExecutionPrice(v float32)
- func (o *AccountOrderRecordLeg) SetExecutionPriceNil()
- func (o *AccountOrderRecordLeg) SetFilledQuantity(v string)
- func (o *AccountOrderRecordLeg) SetFilledQuantityNil()
- func (o *AccountOrderRecordLeg) SetInstrument(v AccountOrderRecordLegInstrument)
- func (o *AccountOrderRecordLeg) SetLegId(v string)
- func (o *AccountOrderRecordLeg) SetLegIdNil()
- func (o *AccountOrderRecordLeg) SetStatus(v AccountOrderRecordStatusV2)
- func (o *AccountOrderRecordLeg) SetStatusNil()
- func (o *AccountOrderRecordLeg) SetTotalQuantity(v string)
- func (o *AccountOrderRecordLeg) SetTotalQuantityNil()
- func (o *AccountOrderRecordLeg) UnmarshalJSON(bytes []byte) (err error)
- func (o *AccountOrderRecordLeg) UnsetCanceledQuantity()
- func (o *AccountOrderRecordLeg) UnsetExecutionPrice()
- func (o *AccountOrderRecordLeg) UnsetFilledQuantity()
- func (o *AccountOrderRecordLeg) UnsetLegId()
- func (o *AccountOrderRecordLeg) UnsetStatus()
- func (o *AccountOrderRecordLeg) UnsetTotalQuantity()
- type AccountOrderRecordLegInstrument
- func (o *AccountOrderRecordLegInstrument) GetAssetType() string
- func (o *AccountOrderRecordLegInstrument) GetAssetTypeOk() (*string, bool)
- func (o *AccountOrderRecordLegInstrument) GetDescription() string
- func (o *AccountOrderRecordLegInstrument) GetDescriptionOk() (*string, bool)
- func (o *AccountOrderRecordLegInstrument) GetExchangeMicCode() string
- func (o *AccountOrderRecordLegInstrument) GetExchangeMicCodeOk() (*string, bool)
- func (o *AccountOrderRecordLegInstrument) GetFigiCode() string
- func (o *AccountOrderRecordLegInstrument) GetFigiCodeOk() (*string, bool)
- func (o *AccountOrderRecordLegInstrument) GetSymbol() string
- func (o *AccountOrderRecordLegInstrument) GetSymbolOk() (*string, bool)
- func (o *AccountOrderRecordLegInstrument) HasAssetType() bool
- func (o *AccountOrderRecordLegInstrument) HasDescription() bool
- func (o *AccountOrderRecordLegInstrument) HasExchangeMicCode() bool
- func (o *AccountOrderRecordLegInstrument) HasFigiCode() bool
- func (o *AccountOrderRecordLegInstrument) HasSymbol() bool
- func (o AccountOrderRecordLegInstrument) MarshalJSON() ([]byte, error)
- func (o *AccountOrderRecordLegInstrument) SetAssetType(v string)
- func (o *AccountOrderRecordLegInstrument) SetDescription(v string)
- func (o *AccountOrderRecordLegInstrument) SetExchangeMicCode(v string)
- func (o *AccountOrderRecordLegInstrument) SetFigiCode(v string)
- func (o *AccountOrderRecordLegInstrument) SetFigiCodeNil()
- func (o *AccountOrderRecordLegInstrument) SetSymbol(v string)
- func (o *AccountOrderRecordLegInstrument) UnmarshalJSON(bytes []byte) (err error)
- func (o *AccountOrderRecordLegInstrument) UnsetFigiCode()
- type AccountOrderRecordOptionSymbol
- func (o *AccountOrderRecordOptionSymbol) GetExpirationDate() string
- func (o *AccountOrderRecordOptionSymbol) GetExpirationDateOk() (*string, bool)
- func (o *AccountOrderRecordOptionSymbol) GetId() string
- func (o *AccountOrderRecordOptionSymbol) GetIdOk() (*string, bool)
- func (o *AccountOrderRecordOptionSymbol) GetIsMiniOption() bool
- func (o *AccountOrderRecordOptionSymbol) GetIsMiniOptionOk() (*bool, bool)
- func (o *AccountOrderRecordOptionSymbol) GetOptionType() string
- func (o *AccountOrderRecordOptionSymbol) GetOptionTypeOk() (*string, bool)
- func (o *AccountOrderRecordOptionSymbol) GetStrikePrice() float32
- func (o *AccountOrderRecordOptionSymbol) GetStrikePriceOk() (*float32, bool)
- func (o *AccountOrderRecordOptionSymbol) GetTicker() string
- func (o *AccountOrderRecordOptionSymbol) GetTickerOk() (*string, bool)
- func (o *AccountOrderRecordOptionSymbol) GetUnderlyingSymbol() UnderlyingSymbol
- func (o *AccountOrderRecordOptionSymbol) GetUnderlyingSymbolOk() (*UnderlyingSymbol, bool)
- func (o *AccountOrderRecordOptionSymbol) HasIsMiniOption() bool
- func (o AccountOrderRecordOptionSymbol) MarshalJSON() ([]byte, error)
- func (o *AccountOrderRecordOptionSymbol) SetExpirationDate(v string)
- func (o *AccountOrderRecordOptionSymbol) SetId(v string)
- func (o *AccountOrderRecordOptionSymbol) SetIsMiniOption(v bool)
- func (o *AccountOrderRecordOptionSymbol) SetOptionType(v string)
- func (o *AccountOrderRecordOptionSymbol) SetStrikePrice(v float32)
- func (o *AccountOrderRecordOptionSymbol) SetTicker(v string)
- func (o *AccountOrderRecordOptionSymbol) SetUnderlyingSymbol(v UnderlyingSymbol)
- type AccountOrderRecordQuoteCurrency
- func (o *AccountOrderRecordQuoteCurrency) GetCode() string
- func (o *AccountOrderRecordQuoteCurrency) GetCodeOk() (*string, bool)
- func (o *AccountOrderRecordQuoteCurrency) GetId() string
- func (o *AccountOrderRecordQuoteCurrency) GetIdOk() (*string, bool)
- func (o *AccountOrderRecordQuoteCurrency) GetName() string
- func (o *AccountOrderRecordQuoteCurrency) GetNameOk() (*string, bool)
- func (o *AccountOrderRecordQuoteCurrency) HasCode() bool
- func (o *AccountOrderRecordQuoteCurrency) HasId() bool
- func (o *AccountOrderRecordQuoteCurrency) HasName() bool
- func (o AccountOrderRecordQuoteCurrency) MarshalJSON() ([]byte, error)
- func (o *AccountOrderRecordQuoteCurrency) SetCode(v string)
- func (o *AccountOrderRecordQuoteCurrency) SetId(v string)
- func (o *AccountOrderRecordQuoteCurrency) SetName(v string)
- type AccountOrderRecordQuoteUniversalSymbol
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetCurrencies() []Currency
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetCurrenciesOk() ([]Currency, bool)
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetCurrency() SymbolCurrency
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetCurrencyOk() (*SymbolCurrency, bool)
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetDescription() string
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetDescriptionOk() (*string, bool)
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetExchange() SymbolExchange
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetExchangeOk() (*SymbolExchange, bool)
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetFigiCode() string
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetFigiCodeOk() (*string, bool)
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetFigiInstrument() SymbolFigiInstrument
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetFigiInstrumentOk() (*SymbolFigiInstrument, bool)
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetId() string
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetIdOk() (*string, bool)
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetRawSymbol() string
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetRawSymbolOk() (*string, bool)
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetSymbol() string
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetSymbolOk() (*string, bool)
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetType() SecurityType
- func (o *AccountOrderRecordQuoteUniversalSymbol) GetTypeOk() (*SecurityType, bool)
- func (o *AccountOrderRecordQuoteUniversalSymbol) HasDescription() bool
- func (o *AccountOrderRecordQuoteUniversalSymbol) HasExchange() bool
- func (o *AccountOrderRecordQuoteUniversalSymbol) HasFigiCode() bool
- func (o *AccountOrderRecordQuoteUniversalSymbol) HasFigiInstrument() bool
- func (o AccountOrderRecordQuoteUniversalSymbol) MarshalJSON() ([]byte, error)
- func (o *AccountOrderRecordQuoteUniversalSymbol) SetCurrencies(v []Currency)
- func (o *AccountOrderRecordQuoteUniversalSymbol) SetCurrency(v SymbolCurrency)
- func (o *AccountOrderRecordQuoteUniversalSymbol) SetDescription(v string)
- func (o *AccountOrderRecordQuoteUniversalSymbol) SetDescriptionNil()
- func (o *AccountOrderRecordQuoteUniversalSymbol) SetExchange(v SymbolExchange)
- func (o *AccountOrderRecordQuoteUniversalSymbol) SetFigiCode(v string)
- func (o *AccountOrderRecordQuoteUniversalSymbol) SetFigiCodeNil()
- func (o *AccountOrderRecordQuoteUniversalSymbol) SetFigiInstrument(v SymbolFigiInstrument)
- func (o *AccountOrderRecordQuoteUniversalSymbol) SetFigiInstrumentNil()
- func (o *AccountOrderRecordQuoteUniversalSymbol) SetId(v string)
- func (o *AccountOrderRecordQuoteUniversalSymbol) SetRawSymbol(v string)
- func (o *AccountOrderRecordQuoteUniversalSymbol) SetSymbol(v string)
- func (o *AccountOrderRecordQuoteUniversalSymbol) SetType(v SecurityType)
- func (o *AccountOrderRecordQuoteUniversalSymbol) UnsetDescription()
- func (o *AccountOrderRecordQuoteUniversalSymbol) UnsetFigiCode()
- func (o *AccountOrderRecordQuoteUniversalSymbol) UnsetFigiInstrument()
- type AccountOrderRecordStatus
- type AccountOrderRecordStatusV2
- type AccountOrderRecordUniversalSymbol
- func (o *AccountOrderRecordUniversalSymbol) GetCurrencies() []Currency
- func (o *AccountOrderRecordUniversalSymbol) GetCurrenciesOk() ([]Currency, bool)
- func (o *AccountOrderRecordUniversalSymbol) GetCurrency() SymbolCurrency
- func (o *AccountOrderRecordUniversalSymbol) GetCurrencyOk() (*SymbolCurrency, bool)
- func (o *AccountOrderRecordUniversalSymbol) GetDescription() string
- func (o *AccountOrderRecordUniversalSymbol) GetDescriptionOk() (*string, bool)
- func (o *AccountOrderRecordUniversalSymbol) GetExchange() SymbolExchange
- func (o *AccountOrderRecordUniversalSymbol) GetExchangeOk() (*SymbolExchange, bool)
- func (o *AccountOrderRecordUniversalSymbol) GetFigiCode() string
- func (o *AccountOrderRecordUniversalSymbol) GetFigiCodeOk() (*string, bool)
- func (o *AccountOrderRecordUniversalSymbol) GetFigiInstrument() SymbolFigiInstrument
- func (o *AccountOrderRecordUniversalSymbol) GetFigiInstrumentOk() (*SymbolFigiInstrument, bool)
- func (o *AccountOrderRecordUniversalSymbol) GetId() string
- func (o *AccountOrderRecordUniversalSymbol) GetIdOk() (*string, bool)
- func (o *AccountOrderRecordUniversalSymbol) GetRawSymbol() string
- func (o *AccountOrderRecordUniversalSymbol) GetRawSymbolOk() (*string, bool)
- func (o *AccountOrderRecordUniversalSymbol) GetSymbol() string
- func (o *AccountOrderRecordUniversalSymbol) GetSymbolOk() (*string, bool)
- func (o *AccountOrderRecordUniversalSymbol) GetType() SecurityType
- func (o *AccountOrderRecordUniversalSymbol) GetTypeOk() (*SecurityType, bool)
- func (o *AccountOrderRecordUniversalSymbol) HasDescription() bool
- func (o *AccountOrderRecordUniversalSymbol) HasExchange() bool
- func (o *AccountOrderRecordUniversalSymbol) HasFigiCode() bool
- func (o *AccountOrderRecordUniversalSymbol) HasFigiInstrument() bool
- func (o AccountOrderRecordUniversalSymbol) MarshalJSON() ([]byte, error)
- func (o *AccountOrderRecordUniversalSymbol) SetCurrencies(v []Currency)
- func (o *AccountOrderRecordUniversalSymbol) SetCurrency(v SymbolCurrency)
- func (o *AccountOrderRecordUniversalSymbol) SetDescription(v string)
- func (o *AccountOrderRecordUniversalSymbol) SetDescriptionNil()
- func (o *AccountOrderRecordUniversalSymbol) SetExchange(v SymbolExchange)
- func (o *AccountOrderRecordUniversalSymbol) SetFigiCode(v string)
- func (o *AccountOrderRecordUniversalSymbol) SetFigiCodeNil()
- func (o *AccountOrderRecordUniversalSymbol) SetFigiInstrument(v SymbolFigiInstrument)
- func (o *AccountOrderRecordUniversalSymbol) SetFigiInstrumentNil()
- func (o *AccountOrderRecordUniversalSymbol) SetId(v string)
- func (o *AccountOrderRecordUniversalSymbol) SetRawSymbol(v string)
- func (o *AccountOrderRecordUniversalSymbol) SetSymbol(v string)
- func (o *AccountOrderRecordUniversalSymbol) SetType(v SecurityType)
- func (o *AccountOrderRecordUniversalSymbol) UnsetDescription()
- func (o *AccountOrderRecordUniversalSymbol) UnsetFigiCode()
- func (o *AccountOrderRecordUniversalSymbol) UnsetFigiInstrument()
- type AccountOrderRecordV2
- func (o *AccountOrderRecordV2) GetBrokerageOrderId() string
- func (o *AccountOrderRecordV2) GetBrokerageOrderIdOk() (*string, bool)
- func (o *AccountOrderRecordV2) GetExecutionPrice() float32
- func (o *AccountOrderRecordV2) GetExecutionPriceOk() (*float32, bool)
- func (o *AccountOrderRecordV2) GetLegs() []AccountOrderRecordLeg
- func (o *AccountOrderRecordV2) GetLegsOk() ([]AccountOrderRecordLeg, bool)
- func (o *AccountOrderRecordV2) GetLimitPrice() float32
- func (o *AccountOrderRecordV2) GetLimitPriceOk() (*float32, bool)
- func (o *AccountOrderRecordV2) GetOrderType() string
- func (o *AccountOrderRecordV2) GetOrderTypeOk() (*string, bool)
- func (o *AccountOrderRecordV2) GetQuoteCurrency() string
- func (o *AccountOrderRecordV2) GetQuoteCurrencyOk() (*string, bool)
- func (o *AccountOrderRecordV2) GetStatus() AccountOrderRecordStatus
- func (o *AccountOrderRecordV2) GetStatusOk() (*AccountOrderRecordStatus, bool)
- func (o *AccountOrderRecordV2) GetStopPrice() float32
- func (o *AccountOrderRecordV2) GetStopPriceOk() (*float32, bool)
- func (o *AccountOrderRecordV2) GetTimeExecuted() time.Time
- func (o *AccountOrderRecordV2) GetTimeExecutedOk() (*time.Time, bool)
- func (o *AccountOrderRecordV2) GetTimeInForce() string
- func (o *AccountOrderRecordV2) GetTimeInForceOk() (*string, bool)
- func (o *AccountOrderRecordV2) GetTimePlaced() time.Time
- func (o *AccountOrderRecordV2) GetTimePlacedOk() (*time.Time, bool)
- func (o *AccountOrderRecordV2) HasBrokerageOrderId() bool
- func (o *AccountOrderRecordV2) HasExecutionPrice() bool
- func (o *AccountOrderRecordV2) HasLegs() bool
- func (o *AccountOrderRecordV2) HasLimitPrice() bool
- func (o *AccountOrderRecordV2) HasOrderType() bool
- func (o *AccountOrderRecordV2) HasQuoteCurrency() bool
- func (o *AccountOrderRecordV2) HasStatus() bool
- func (o *AccountOrderRecordV2) HasStopPrice() bool
- func (o *AccountOrderRecordV2) HasTimeExecuted() bool
- func (o *AccountOrderRecordV2) HasTimeInForce() bool
- func (o *AccountOrderRecordV2) HasTimePlaced() bool
- func (o AccountOrderRecordV2) MarshalJSON() ([]byte, error)
- func (o *AccountOrderRecordV2) SetBrokerageOrderId(v string)
- func (o *AccountOrderRecordV2) SetExecutionPrice(v float32)
- func (o *AccountOrderRecordV2) SetExecutionPriceNil()
- func (o *AccountOrderRecordV2) SetLegs(v []AccountOrderRecordLeg)
- func (o *AccountOrderRecordV2) SetLimitPrice(v float32)
- func (o *AccountOrderRecordV2) SetLimitPriceNil()
- func (o *AccountOrderRecordV2) SetOrderType(v string)
- func (o *AccountOrderRecordV2) SetOrderTypeNil()
- func (o *AccountOrderRecordV2) SetQuoteCurrency(v string)
- func (o *AccountOrderRecordV2) SetStatus(v AccountOrderRecordStatus)
- func (o *AccountOrderRecordV2) SetStopPrice(v float32)
- func (o *AccountOrderRecordV2) SetStopPriceNil()
- func (o *AccountOrderRecordV2) SetTimeExecuted(v time.Time)
- func (o *AccountOrderRecordV2) SetTimeExecutedNil()
- func (o *AccountOrderRecordV2) SetTimeInForce(v string)
- func (o *AccountOrderRecordV2) SetTimePlaced(v time.Time)
- func (o *AccountOrderRecordV2) UnmarshalJSON(bytes []byte) (err error)
- func (o *AccountOrderRecordV2) UnsetExecutionPrice()
- func (o *AccountOrderRecordV2) UnsetLimitPrice()
- func (o *AccountOrderRecordV2) UnsetOrderType()
- func (o *AccountOrderRecordV2) UnsetStopPrice()
- func (o *AccountOrderRecordV2) UnsetTimeExecuted()
- type AccountOrdersV2Response
- func (o *AccountOrdersV2Response) GetOrders() []AccountOrderRecordV2
- func (o *AccountOrdersV2Response) GetOrdersOk() ([]AccountOrderRecordV2, bool)
- func (o AccountOrdersV2Response) MarshalJSON() ([]byte, error)
- func (o *AccountOrdersV2Response) SetOrders(v []AccountOrderRecordV2)
- func (o *AccountOrdersV2Response) UnmarshalJSON(bytes []byte) (err error)
- type AccountSimple
- func (o *AccountSimple) GetId() string
- func (o *AccountSimple) GetIdOk() (*string, bool)
- func (o *AccountSimple) GetName() string
- func (o *AccountSimple) GetNameOk() (*string, bool)
- func (o *AccountSimple) GetNumber() string
- func (o *AccountSimple) GetNumberOk() (*string, bool)
- func (o *AccountSimple) GetSyncStatus() AccountSyncStatus
- func (o *AccountSimple) GetSyncStatusOk() (*AccountSyncStatus, bool)
- func (o *AccountSimple) HasId() bool
- func (o *AccountSimple) HasName() bool
- func (o *AccountSimple) HasNumber() bool
- func (o *AccountSimple) HasSyncStatus() bool
- func (o AccountSimple) MarshalJSON() ([]byte, error)
- func (o *AccountSimple) SetId(v string)
- func (o *AccountSimple) SetName(v string)
- func (o *AccountSimple) SetNumber(v string)
- func (o *AccountSimple) SetSyncStatus(v AccountSyncStatus)
- func (o *AccountSimple) UnmarshalJSON(bytes []byte) (err error)
- type AccountSyncStatus
- func (o *AccountSyncStatus) GetHoldings() HoldingsStatus
- func (o *AccountSyncStatus) GetHoldingsOk() (*HoldingsStatus, bool)
- func (o *AccountSyncStatus) GetTransactions() TransactionsStatus
- func (o *AccountSyncStatus) GetTransactionsOk() (*TransactionsStatus, bool)
- func (o *AccountSyncStatus) HasHoldings() bool
- func (o *AccountSyncStatus) HasTransactions() bool
- func (o AccountSyncStatus) MarshalJSON() ([]byte, error)
- func (o *AccountSyncStatus) SetHoldings(v HoldingsStatus)
- func (o *AccountSyncStatus) SetTransactions(v TransactionsStatus)
- type AccountUniversalActivity
- func (o *AccountUniversalActivity) GetAmount() float32
- func (o *AccountUniversalActivity) GetAmountOk() (*float32, bool)
- func (o *AccountUniversalActivity) GetCurrency() AccountUniversalActivityCurrency
- func (o *AccountUniversalActivity) GetCurrencyOk() (*AccountUniversalActivityCurrency, bool)
- func (o *AccountUniversalActivity) GetDescription() string
- func (o *AccountUniversalActivity) GetDescriptionOk() (*string, bool)
- func (o *AccountUniversalActivity) GetExternalReferenceId() string
- func (o *AccountUniversalActivity) GetExternalReferenceIdOk() (*string, bool)
- func (o *AccountUniversalActivity) GetFee() float32
- func (o *AccountUniversalActivity) GetFeeOk() (*float32, bool)
- func (o *AccountUniversalActivity) GetFxRate() float32
- func (o *AccountUniversalActivity) GetFxRateOk() (*float32, bool)
- func (o *AccountUniversalActivity) GetId() string
- func (o *AccountUniversalActivity) GetIdOk() (*string, bool)
- func (o *AccountUniversalActivity) GetInstitution() string
- func (o *AccountUniversalActivity) GetInstitutionOk() (*string, bool)
- func (o *AccountUniversalActivity) GetOptionSymbol() AccountUniversalActivityOptionSymbol
- func (o *AccountUniversalActivity) GetOptionSymbolOk() (*AccountUniversalActivityOptionSymbol, bool)
- func (o *AccountUniversalActivity) GetOptionType() string
- func (o *AccountUniversalActivity) GetOptionTypeOk() (*string, bool)
- func (o *AccountUniversalActivity) GetPrice() float32
- func (o *AccountUniversalActivity) GetPriceOk() (*float32, bool)
- func (o *AccountUniversalActivity) GetSettlementDate() time.Time
- func (o *AccountUniversalActivity) GetSettlementDateOk() (*time.Time, bool)
- func (o *AccountUniversalActivity) GetSymbol() AccountUniversalActivitySymbol
- func (o *AccountUniversalActivity) GetSymbolOk() (*AccountUniversalActivitySymbol, bool)
- func (o *AccountUniversalActivity) GetTradeDate() time.Time
- func (o *AccountUniversalActivity) GetTradeDateOk() (*time.Time, bool)
- func (o *AccountUniversalActivity) GetType() string
- func (o *AccountUniversalActivity) GetTypeOk() (*string, bool)
- func (o *AccountUniversalActivity) GetUnits() float32
- func (o *AccountUniversalActivity) GetUnitsOk() (*float32, bool)
- func (o *AccountUniversalActivity) HasAmount() bool
- func (o *AccountUniversalActivity) HasCurrency() bool
- func (o *AccountUniversalActivity) HasDescription() bool
- func (o *AccountUniversalActivity) HasExternalReferenceId() bool
- func (o *AccountUniversalActivity) HasFee() bool
- func (o *AccountUniversalActivity) HasFxRate() bool
- func (o *AccountUniversalActivity) HasId() bool
- func (o *AccountUniversalActivity) HasInstitution() bool
- func (o *AccountUniversalActivity) HasOptionSymbol() bool
- func (o *AccountUniversalActivity) HasOptionType() bool
- func (o *AccountUniversalActivity) HasPrice() bool
- func (o *AccountUniversalActivity) HasSettlementDate() bool
- func (o *AccountUniversalActivity) HasSymbol() bool
- func (o *AccountUniversalActivity) HasTradeDate() bool
- func (o *AccountUniversalActivity) HasType() bool
- func (o *AccountUniversalActivity) HasUnits() bool
- func (o AccountUniversalActivity) MarshalJSON() ([]byte, error)
- func (o *AccountUniversalActivity) SetAmount(v float32)
- func (o *AccountUniversalActivity) SetAmountNil()
- func (o *AccountUniversalActivity) SetCurrency(v AccountUniversalActivityCurrency)
- func (o *AccountUniversalActivity) SetDescription(v string)
- func (o *AccountUniversalActivity) SetExternalReferenceId(v string)
- func (o *AccountUniversalActivity) SetExternalReferenceIdNil()
- func (o *AccountUniversalActivity) SetFee(v float32)
- func (o *AccountUniversalActivity) SetFxRate(v float32)
- func (o *AccountUniversalActivity) SetFxRateNil()
- func (o *AccountUniversalActivity) SetId(v string)
- func (o *AccountUniversalActivity) SetInstitution(v string)
- func (o *AccountUniversalActivity) SetOptionSymbol(v AccountUniversalActivityOptionSymbol)
- func (o *AccountUniversalActivity) SetOptionSymbolNil()
- func (o *AccountUniversalActivity) SetOptionType(v string)
- func (o *AccountUniversalActivity) SetPrice(v float32)
- func (o *AccountUniversalActivity) SetSettlementDate(v time.Time)
- func (o *AccountUniversalActivity) SetSymbol(v AccountUniversalActivitySymbol)
- func (o *AccountUniversalActivity) SetSymbolNil()
- func (o *AccountUniversalActivity) SetTradeDate(v time.Time)
- func (o *AccountUniversalActivity) SetTradeDateNil()
- func (o *AccountUniversalActivity) SetType(v string)
- func (o *AccountUniversalActivity) SetUnits(v float32)
- func (o *AccountUniversalActivity) UnmarshalJSON(bytes []byte) (err error)
- func (o *AccountUniversalActivity) UnsetAmount()
- func (o *AccountUniversalActivity) UnsetExternalReferenceId()
- func (o *AccountUniversalActivity) UnsetFxRate()
- func (o *AccountUniversalActivity) UnsetOptionSymbol()
- func (o *AccountUniversalActivity) UnsetSymbol()
- func (o *AccountUniversalActivity) UnsetTradeDate()
- type AccountUniversalActivityCurrency
- func (o *AccountUniversalActivityCurrency) GetCode() string
- func (o *AccountUniversalActivityCurrency) GetCodeOk() (*string, bool)
- func (o *AccountUniversalActivityCurrency) GetId() string
- func (o *AccountUniversalActivityCurrency) GetIdOk() (*string, bool)
- func (o *AccountUniversalActivityCurrency) GetName() string
- func (o *AccountUniversalActivityCurrency) GetNameOk() (*string, bool)
- func (o *AccountUniversalActivityCurrency) HasCode() bool
- func (o *AccountUniversalActivityCurrency) HasId() bool
- func (o *AccountUniversalActivityCurrency) HasName() bool
- func (o AccountUniversalActivityCurrency) MarshalJSON() ([]byte, error)
- func (o *AccountUniversalActivityCurrency) SetCode(v string)
- func (o *AccountUniversalActivityCurrency) SetId(v string)
- func (o *AccountUniversalActivityCurrency) SetName(v string)
- type AccountUniversalActivityOptionSymbol
- func (o *AccountUniversalActivityOptionSymbol) GetExpirationDate() string
- func (o *AccountUniversalActivityOptionSymbol) GetExpirationDateOk() (*string, bool)
- func (o *AccountUniversalActivityOptionSymbol) GetId() string
- func (o *AccountUniversalActivityOptionSymbol) GetIdOk() (*string, bool)
- func (o *AccountUniversalActivityOptionSymbol) GetIsMiniOption() bool
- func (o *AccountUniversalActivityOptionSymbol) GetIsMiniOptionOk() (*bool, bool)
- func (o *AccountUniversalActivityOptionSymbol) GetOptionType() string
- func (o *AccountUniversalActivityOptionSymbol) GetOptionTypeOk() (*string, bool)
- func (o *AccountUniversalActivityOptionSymbol) GetStrikePrice() float32
- func (o *AccountUniversalActivityOptionSymbol) GetStrikePriceOk() (*float32, bool)
- func (o *AccountUniversalActivityOptionSymbol) GetTicker() string
- func (o *AccountUniversalActivityOptionSymbol) GetTickerOk() (*string, bool)
- func (o *AccountUniversalActivityOptionSymbol) GetUnderlyingSymbol() UnderlyingSymbol
- func (o *AccountUniversalActivityOptionSymbol) GetUnderlyingSymbolOk() (*UnderlyingSymbol, bool)
- func (o *AccountUniversalActivityOptionSymbol) HasIsMiniOption() bool
- func (o AccountUniversalActivityOptionSymbol) MarshalJSON() ([]byte, error)
- func (o *AccountUniversalActivityOptionSymbol) SetExpirationDate(v string)
- func (o *AccountUniversalActivityOptionSymbol) SetId(v string)
- func (o *AccountUniversalActivityOptionSymbol) SetIsMiniOption(v bool)
- func (o *AccountUniversalActivityOptionSymbol) SetOptionType(v string)
- func (o *AccountUniversalActivityOptionSymbol) SetStrikePrice(v float32)
- func (o *AccountUniversalActivityOptionSymbol) SetTicker(v string)
- func (o *AccountUniversalActivityOptionSymbol) SetUnderlyingSymbol(v UnderlyingSymbol)
- type AccountUniversalActivitySymbol
- func (o *AccountUniversalActivitySymbol) GetCurrency() SymbolCurrency
- func (o *AccountUniversalActivitySymbol) GetCurrencyOk() (*SymbolCurrency, bool)
- func (o *AccountUniversalActivitySymbol) GetDescription() string
- func (o *AccountUniversalActivitySymbol) GetDescriptionOk() (*string, bool)
- func (o *AccountUniversalActivitySymbol) GetExchange() SymbolExchange
- func (o *AccountUniversalActivitySymbol) GetExchangeOk() (*SymbolExchange, bool)
- func (o *AccountUniversalActivitySymbol) GetFigiCode() string
- func (o *AccountUniversalActivitySymbol) GetFigiCodeOk() (*string, bool)
- func (o *AccountUniversalActivitySymbol) GetFigiInstrument() SymbolFigiInstrument
- func (o *AccountUniversalActivitySymbol) GetFigiInstrumentOk() (*SymbolFigiInstrument, bool)
- func (o *AccountUniversalActivitySymbol) GetId() string
- func (o *AccountUniversalActivitySymbol) GetIdOk() (*string, bool)
- func (o *AccountUniversalActivitySymbol) GetRawSymbol() string
- func (o *AccountUniversalActivitySymbol) GetRawSymbolOk() (*string, bool)
- func (o *AccountUniversalActivitySymbol) GetSymbol() string
- func (o *AccountUniversalActivitySymbol) GetSymbolOk() (*string, bool)
- func (o *AccountUniversalActivitySymbol) GetType() SecurityType
- func (o *AccountUniversalActivitySymbol) GetTypeOk() (*SecurityType, bool)
- func (o *AccountUniversalActivitySymbol) HasCurrency() bool
- func (o *AccountUniversalActivitySymbol) HasDescription() bool
- func (o *AccountUniversalActivitySymbol) HasExchange() bool
- func (o *AccountUniversalActivitySymbol) HasFigiCode() bool
- func (o *AccountUniversalActivitySymbol) HasFigiInstrument() bool
- func (o *AccountUniversalActivitySymbol) HasId() bool
- func (o *AccountUniversalActivitySymbol) HasRawSymbol() bool
- func (o *AccountUniversalActivitySymbol) HasSymbol() bool
- func (o *AccountUniversalActivitySymbol) HasType() bool
- func (o AccountUniversalActivitySymbol) MarshalJSON() ([]byte, error)
- func (o *AccountUniversalActivitySymbol) SetCurrency(v SymbolCurrency)
- func (o *AccountUniversalActivitySymbol) SetDescription(v string)
- func (o *AccountUniversalActivitySymbol) SetDescriptionNil()
- func (o *AccountUniversalActivitySymbol) SetExchange(v SymbolExchange)
- func (o *AccountUniversalActivitySymbol) SetFigiCode(v string)
- func (o *AccountUniversalActivitySymbol) SetFigiCodeNil()
- func (o *AccountUniversalActivitySymbol) SetFigiInstrument(v SymbolFigiInstrument)
- func (o *AccountUniversalActivitySymbol) SetFigiInstrumentNil()
- func (o *AccountUniversalActivitySymbol) SetId(v string)
- func (o *AccountUniversalActivitySymbol) SetRawSymbol(v string)
- func (o *AccountUniversalActivitySymbol) SetSymbol(v string)
- func (o *AccountUniversalActivitySymbol) SetType(v SecurityType)
- func (o *AccountUniversalActivitySymbol) UnsetDescription()
- func (o *AccountUniversalActivitySymbol) UnsetFigiCode()
- func (o *AccountUniversalActivitySymbol) UnsetFigiInstrument()
- type ActionStrict
- type ActionStrictWithOptions
- type AuthenticationApiDeleteSnapTradeUserRequest
- type AuthenticationApiListSnapTradeUsersRequest
- type AuthenticationApiLoginSnapTradeUserRequest
- func (r AuthenticationApiLoginSnapTradeUserRequest) Execute() (*AuthenticationLoginSnapTradeUser200Response, *http.Response, error)
- func (r *AuthenticationApiLoginSnapTradeUserRequest) SnapTradeLoginUserRequestBody(snapTradeLoginUserRequestBody SnapTradeLoginUserRequestBody) *AuthenticationApiLoginSnapTradeUserRequest
- type AuthenticationApiRegisterSnapTradeUserRequest
- type AuthenticationApiResetSnapTradeUserSecretRequest
- type AuthenticationApiService
- func (a *AuthenticationApiService) DeleteSnapTradeUser(userId string) AuthenticationApiDeleteSnapTradeUserRequest
- func (a *AuthenticationApiService) DeleteSnapTradeUserExecute(r AuthenticationApiDeleteSnapTradeUserRequest) (*DeleteUserResponse, *http.Response, error)
- func (a *AuthenticationApiService) ListSnapTradeUsers() AuthenticationApiListSnapTradeUsersRequest
- func (a *AuthenticationApiService) ListSnapTradeUsersExecute(r AuthenticationApiListSnapTradeUsersRequest) ([]string, *http.Response, error)
- func (a *AuthenticationApiService) LoginSnapTradeUser(userId string, userSecret string) AuthenticationApiLoginSnapTradeUserRequest
- func (a *AuthenticationApiService) LoginSnapTradeUserExecute(r AuthenticationApiLoginSnapTradeUserRequest) (*AuthenticationLoginSnapTradeUser200Response, *http.Response, error)
- func (a *AuthenticationApiService) RegisterSnapTradeUser(snapTradeRegisterUserRequestBody SnapTradeRegisterUserRequestBody) AuthenticationApiRegisterSnapTradeUserRequest
- func (a *AuthenticationApiService) RegisterSnapTradeUserExecute(r AuthenticationApiRegisterSnapTradeUserRequest) (*UserIDandSecret, *http.Response, error)
- func (a *AuthenticationApiService) ResetSnapTradeUserSecret(userIDandSecret UserIDandSecret) AuthenticationApiResetSnapTradeUserSecretRequest
- func (a *AuthenticationApiService) ResetSnapTradeUserSecretExecute(r AuthenticationApiResetSnapTradeUserSecretRequest) (*UserIDandSecret, *http.Response, error)
- type AuthenticationLoginSnapTradeUser200Response
- type Balance
- func (o *Balance) GetBuyingPower() float32
- func (o *Balance) GetBuyingPowerOk() (*float32, bool)
- func (o *Balance) GetCash() float32
- func (o *Balance) GetCashOk() (*float32, bool)
- func (o *Balance) GetCurrency() BalanceCurrency
- func (o *Balance) GetCurrencyOk() (*BalanceCurrency, bool)
- func (o *Balance) HasBuyingPower() bool
- func (o *Balance) HasCash() bool
- func (o *Balance) HasCurrency() bool
- func (o Balance) MarshalJSON() ([]byte, error)
- func (o *Balance) SetBuyingPower(v float32)
- func (o *Balance) SetBuyingPowerNil()
- func (o *Balance) SetCash(v float32)
- func (o *Balance) SetCashNil()
- func (o *Balance) SetCurrency(v BalanceCurrency)
- func (o *Balance) UnmarshalJSON(bytes []byte) (err error)
- func (o *Balance) UnsetBuyingPower()
- func (o *Balance) UnsetCash()
- type BalanceCurrency
- func (o *BalanceCurrency) GetCode() string
- func (o *BalanceCurrency) GetCodeOk() (*string, bool)
- func (o *BalanceCurrency) GetId() string
- func (o *BalanceCurrency) GetIdOk() (*string, bool)
- func (o *BalanceCurrency) GetName() string
- func (o *BalanceCurrency) GetNameOk() (*string, bool)
- func (o *BalanceCurrency) HasCode() bool
- func (o *BalanceCurrency) HasId() bool
- func (o *BalanceCurrency) HasName() bool
- func (o BalanceCurrency) MarshalJSON() ([]byte, error)
- func (o *BalanceCurrency) SetCode(v string)
- func (o *BalanceCurrency) SetId(v string)
- func (o *BalanceCurrency) SetName(v string)
- type BasicAuth
- type Brokerage
- func (o *Brokerage) GetAllowsFractionalUnits() bool
- func (o *Brokerage) GetAllowsFractionalUnitsOk() (*bool, bool)
- func (o *Brokerage) GetAllowsTrading() bool
- func (o *Brokerage) GetAllowsTradingOk() (*bool, bool)
- func (o *Brokerage) GetAwsS3LogoUrl() string
- func (o *Brokerage) GetAwsS3LogoUrlOk() (*string, bool)
- func (o *Brokerage) GetAwsS3SquareLogoUrl() string
- func (o *Brokerage) GetAwsS3SquareLogoUrlOk() (*string, bool)
- func (o *Brokerage) GetBrokerageType() BrokerageType
- func (o *Brokerage) GetBrokerageTypeOk() (*BrokerageType, bool)
- func (o *Brokerage) GetDescription() string
- func (o *Brokerage) GetDescriptionOk() (*string, bool)
- func (o *Brokerage) GetDisplayName() string
- func (o *Brokerage) GetDisplayNameOk() (*string, bool)
- func (o *Brokerage) GetEnabled() bool
- func (o *Brokerage) GetEnabledOk() (*bool, bool)
- func (o *Brokerage) GetExchanges() []interface{}
- func (o *Brokerage) GetExchangesOk() ([]interface{}, bool)
- func (o *Brokerage) GetHasReporting() bool
- func (o *Brokerage) GetHasReportingOk() (*bool, bool)
- func (o *Brokerage) GetId() string
- func (o *Brokerage) GetIdOk() (*string, bool)
- func (o *Brokerage) GetIsRealTimeConnection() bool
- func (o *Brokerage) GetIsRealTimeConnectionOk() (*bool, bool)
- func (o *Brokerage) GetMaintenanceMode() bool
- func (o *Brokerage) GetMaintenanceModeOk() (*bool, bool)
- func (o *Brokerage) GetName() string
- func (o *Brokerage) GetNameOk() (*string, bool)
- func (o *Brokerage) GetOpenUrl() string
- func (o *Brokerage) GetOpenUrlOk() (*string, bool)
- func (o *Brokerage) GetSlug() string
- func (o *Brokerage) GetSlugOk() (*string, bool)
- func (o *Brokerage) GetUrl() string
- func (o *Brokerage) GetUrlOk() (*string, bool)
- func (o *Brokerage) HasAllowsFractionalUnits() bool
- func (o *Brokerage) HasAllowsTrading() bool
- func (o *Brokerage) HasAwsS3LogoUrl() bool
- func (o *Brokerage) HasAwsS3SquareLogoUrl() bool
- func (o *Brokerage) HasBrokerageType() bool
- func (o *Brokerage) HasDescription() bool
- func (o *Brokerage) HasDisplayName() bool
- func (o *Brokerage) HasEnabled() bool
- func (o *Brokerage) HasExchanges() bool
- func (o *Brokerage) HasHasReporting() bool
- func (o *Brokerage) HasId() bool
- func (o *Brokerage) HasIsRealTimeConnection() bool
- func (o *Brokerage) HasMaintenanceMode() bool
- func (o *Brokerage) HasName() bool
- func (o *Brokerage) HasOpenUrl() bool
- func (o *Brokerage) HasSlug() bool
- func (o *Brokerage) HasUrl() bool
- func (o Brokerage) MarshalJSON() ([]byte, error)
- func (o *Brokerage) SetAllowsFractionalUnits(v bool)
- func (o *Brokerage) SetAllowsFractionalUnitsNil()
- func (o *Brokerage) SetAllowsTrading(v bool)
- func (o *Brokerage) SetAllowsTradingNil()
- func (o *Brokerage) SetAwsS3LogoUrl(v string)
- func (o *Brokerage) SetAwsS3SquareLogoUrl(v string)
- func (o *Brokerage) SetAwsS3SquareLogoUrlNil()
- func (o *Brokerage) SetBrokerageType(v BrokerageType)
- func (o *Brokerage) SetDescription(v string)
- func (o *Brokerage) SetDisplayName(v string)
- func (o *Brokerage) SetEnabled(v bool)
- func (o *Brokerage) SetExchanges(v []interface{})
- func (o *Brokerage) SetHasReporting(v bool)
- func (o *Brokerage) SetHasReportingNil()
- func (o *Brokerage) SetId(v string)
- func (o *Brokerage) SetIsRealTimeConnection(v bool)
- func (o *Brokerage) SetMaintenanceMode(v bool)
- func (o *Brokerage) SetName(v string)
- func (o *Brokerage) SetOpenUrl(v string)
- func (o *Brokerage) SetOpenUrlNil()
- func (o *Brokerage) SetSlug(v string)
- func (o *Brokerage) SetUrl(v string)
- func (o *Brokerage) UnmarshalJSON(bytes []byte) (err error)
- func (o *Brokerage) UnsetAllowsFractionalUnits()
- func (o *Brokerage) UnsetAllowsTrading()
- func (o *Brokerage) UnsetAwsS3SquareLogoUrl()
- func (o *Brokerage) UnsetHasReporting()
- func (o *Brokerage) UnsetOpenUrl()
- type BrokerageAuthorization
- func (o *BrokerageAuthorization) GetBrokerage() Brokerage
- func (o *BrokerageAuthorization) GetBrokerageOk() (*Brokerage, bool)
- func (o *BrokerageAuthorization) GetCreatedDate() time.Time
- func (o *BrokerageAuthorization) GetCreatedDateOk() (*time.Time, bool)
- func (o *BrokerageAuthorization) GetDisabled() bool
- func (o *BrokerageAuthorization) GetDisabledDate() time.Time
- func (o *BrokerageAuthorization) GetDisabledDateOk() (*time.Time, bool)
- func (o *BrokerageAuthorization) GetDisabledOk() (*bool, bool)
- func (o *BrokerageAuthorization) GetId() string
- func (o *BrokerageAuthorization) GetIdOk() (*string, bool)
- func (o *BrokerageAuthorization) GetIsEligibleForPayout() bool
- func (o *BrokerageAuthorization) GetIsEligibleForPayoutOk() (*bool, bool)
- func (o *BrokerageAuthorization) GetMeta() map[string]interface{}
- func (o *BrokerageAuthorization) GetMetaOk() (map[string]interface{}, bool)
- func (o *BrokerageAuthorization) GetName() string
- func (o *BrokerageAuthorization) GetNameOk() (*string, bool)
- func (o *BrokerageAuthorization) GetType() string
- func (o *BrokerageAuthorization) GetTypeOk() (*string, bool)
- func (o *BrokerageAuthorization) GetUpdatedDate() time.Time
- func (o *BrokerageAuthorization) GetUpdatedDateOk() (*time.Time, bool)
- func (o *BrokerageAuthorization) HasBrokerage() bool
- func (o *BrokerageAuthorization) HasCreatedDate() bool
- func (o *BrokerageAuthorization) HasDisabled() bool
- func (o *BrokerageAuthorization) HasDisabledDate() bool
- func (o *BrokerageAuthorization) HasId() bool
- func (o *BrokerageAuthorization) HasIsEligibleForPayout() bool
- func (o *BrokerageAuthorization) HasMeta() bool
- func (o *BrokerageAuthorization) HasName() bool
- func (o *BrokerageAuthorization) HasType() bool
- func (o *BrokerageAuthorization) HasUpdatedDate() bool
- func (o BrokerageAuthorization) MarshalJSON() ([]byte, error)
- func (o *BrokerageAuthorization) SetBrokerage(v Brokerage)
- func (o *BrokerageAuthorization) SetCreatedDate(v time.Time)
- func (o *BrokerageAuthorization) SetDisabled(v bool)
- func (o *BrokerageAuthorization) SetDisabledDate(v time.Time)
- func (o *BrokerageAuthorization) SetDisabledDateNil()
- func (o *BrokerageAuthorization) SetId(v string)
- func (o *BrokerageAuthorization) SetIsEligibleForPayout(v bool)
- func (o *BrokerageAuthorization) SetMeta(v map[string]interface{})
- func (o *BrokerageAuthorization) SetName(v string)
- func (o *BrokerageAuthorization) SetType(v string)
- func (o *BrokerageAuthorization) SetUpdatedDate(v time.Time)
- func (o *BrokerageAuthorization) UnmarshalJSON(bytes []byte) (err error)
- func (o *BrokerageAuthorization) UnsetDisabledDate()
- type BrokerageAuthorizationDisabledConfirmation
- func (o *BrokerageAuthorizationDisabledConfirmation) GetDetail() string
- func (o *BrokerageAuthorizationDisabledConfirmation) GetDetailOk() (*string, bool)
- func (o *BrokerageAuthorizationDisabledConfirmation) HasDetail() bool
- func (o BrokerageAuthorizationDisabledConfirmation) MarshalJSON() ([]byte, error)
- func (o *BrokerageAuthorizationDisabledConfirmation) SetDetail(v string)
- func (o *BrokerageAuthorizationDisabledConfirmation) UnmarshalJSON(bytes []byte) (err error)
- type BrokerageAuthorizationRefreshConfirmation
- func (o *BrokerageAuthorizationRefreshConfirmation) GetDetail() string
- func (o *BrokerageAuthorizationRefreshConfirmation) GetDetailOk() (*string, bool)
- func (o *BrokerageAuthorizationRefreshConfirmation) HasDetail() bool
- func (o BrokerageAuthorizationRefreshConfirmation) MarshalJSON() ([]byte, error)
- func (o *BrokerageAuthorizationRefreshConfirmation) SetDetail(v string)
- func (o *BrokerageAuthorizationRefreshConfirmation) UnmarshalJSON(bytes []byte) (err error)
- type BrokerageAuthorizationTypeReadOnly
- func (o *BrokerageAuthorizationTypeReadOnly) GetAuthType() string
- func (o *BrokerageAuthorizationTypeReadOnly) GetAuthTypeOk() (*string, bool)
- func (o *BrokerageAuthorizationTypeReadOnly) GetBrokerage() BrokerageAuthorizationTypeReadOnlyBrokerage
- func (o *BrokerageAuthorizationTypeReadOnly) GetBrokerageOk() (*BrokerageAuthorizationTypeReadOnlyBrokerage, bool)
- func (o *BrokerageAuthorizationTypeReadOnly) GetId() string
- func (o *BrokerageAuthorizationTypeReadOnly) GetIdOk() (*string, bool)
- func (o *BrokerageAuthorizationTypeReadOnly) GetType() string
- func (o *BrokerageAuthorizationTypeReadOnly) GetTypeOk() (*string, bool)
- func (o *BrokerageAuthorizationTypeReadOnly) HasAuthType() bool
- func (o *BrokerageAuthorizationTypeReadOnly) HasBrokerage() bool
- func (o *BrokerageAuthorizationTypeReadOnly) HasId() bool
- func (o *BrokerageAuthorizationTypeReadOnly) HasType() bool
- func (o BrokerageAuthorizationTypeReadOnly) MarshalJSON() ([]byte, error)
- func (o *BrokerageAuthorizationTypeReadOnly) SetAuthType(v string)
- func (o *BrokerageAuthorizationTypeReadOnly) SetBrokerage(v BrokerageAuthorizationTypeReadOnlyBrokerage)
- func (o *BrokerageAuthorizationTypeReadOnly) SetId(v string)
- func (o *BrokerageAuthorizationTypeReadOnly) SetType(v string)
- func (o *BrokerageAuthorizationTypeReadOnly) UnmarshalJSON(bytes []byte) (err error)
- type BrokerageAuthorizationTypeReadOnlyBrokerage
- func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) GetId() string
- func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) GetIdOk() (*string, bool)
- func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) GetName() string
- func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) GetNameOk() (*string, bool)
- func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) GetSlug() string
- func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) GetSlugOk() (*string, bool)
- func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) HasId() bool
- func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) HasName() bool
- func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) HasSlug() bool
- func (o BrokerageAuthorizationTypeReadOnlyBrokerage) MarshalJSON() ([]byte, error)
- func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) SetId(v string)
- func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) SetName(v string)
- func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) SetSlug(v string)
- func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) UnmarshalJSON(bytes []byte) (err error)
- type BrokerageInstrument
- func (o *BrokerageInstrument) GetExchangeMic() string
- func (o *BrokerageInstrument) GetExchangeMicOk() (*string, bool)
- func (o *BrokerageInstrument) GetFractionable() bool
- func (o *BrokerageInstrument) GetFractionableOk() (*bool, bool)
- func (o *BrokerageInstrument) GetSymbol() string
- func (o *BrokerageInstrument) GetSymbolOk() (*string, bool)
- func (o *BrokerageInstrument) GetTradeable() bool
- func (o *BrokerageInstrument) GetTradeableOk() (*bool, bool)
- func (o *BrokerageInstrument) GetUniversalSymbolId() string
- func (o *BrokerageInstrument) GetUniversalSymbolIdOk() (*string, bool)
- func (o *BrokerageInstrument) HasExchangeMic() bool
- func (o *BrokerageInstrument) HasFractionable() bool
- func (o *BrokerageInstrument) HasTradeable() bool
- func (o *BrokerageInstrument) HasUniversalSymbolId() bool
- func (o BrokerageInstrument) MarshalJSON() ([]byte, error)
- func (o *BrokerageInstrument) SetExchangeMic(v string)
- func (o *BrokerageInstrument) SetExchangeMicNil()
- func (o *BrokerageInstrument) SetFractionable(v bool)
- func (o *BrokerageInstrument) SetFractionableNil()
- func (o *BrokerageInstrument) SetSymbol(v string)
- func (o *BrokerageInstrument) SetTradeable(v bool)
- func (o *BrokerageInstrument) SetTradeableNil()
- func (o *BrokerageInstrument) SetUniversalSymbolId(v string)
- func (o *BrokerageInstrument) SetUniversalSymbolIdNil()
- func (o *BrokerageInstrument) UnmarshalJSON(bytes []byte) (err error)
- func (o *BrokerageInstrument) UnsetExchangeMic()
- func (o *BrokerageInstrument) UnsetFractionable()
- func (o *BrokerageInstrument) UnsetTradeable()
- func (o *BrokerageInstrument) UnsetUniversalSymbolId()
- type BrokerageInstrumentsResponse
- func (o *BrokerageInstrumentsResponse) GetInstruments() []BrokerageInstrument
- func (o *BrokerageInstrumentsResponse) GetInstrumentsOk() ([]BrokerageInstrument, bool)
- func (o *BrokerageInstrumentsResponse) HasInstruments() bool
- func (o BrokerageInstrumentsResponse) MarshalJSON() ([]byte, error)
- func (o *BrokerageInstrumentsResponse) SetInstruments(v []BrokerageInstrument)
- func (o *BrokerageInstrumentsResponse) UnmarshalJSON(bytes []byte) (err error)
- type BrokerageType
- func (o *BrokerageType) GetId() string
- func (o *BrokerageType) GetIdOk() (*string, bool)
- func (o *BrokerageType) GetName() string
- func (o *BrokerageType) GetNameOk() (*string, bool)
- func (o *BrokerageType) HasId() bool
- func (o *BrokerageType) HasName() bool
- func (o BrokerageType) MarshalJSON() ([]byte, error)
- func (o *BrokerageType) SetId(v string)
- func (o *BrokerageType) SetName(v string)
- func (o *BrokerageType) UnmarshalJSON(bytes []byte) (err error)
- type CancelOrderResponse
- func (o *CancelOrderResponse) GetBrokerageOrderId() string
- func (o *CancelOrderResponse) GetBrokerageOrderIdOk() (*string, bool)
- func (o *CancelOrderResponse) GetRawResponse() map[string]interface{}
- func (o *CancelOrderResponse) GetRawResponseOk() (map[string]interface{}, bool)
- func (o *CancelOrderResponse) HasRawResponse() bool
- func (o CancelOrderResponse) MarshalJSON() ([]byte, error)
- func (o *CancelOrderResponse) SetBrokerageOrderId(v string)
- func (o *CancelOrderResponse) SetRawResponse(v map[string]interface{})
- func (o *CancelOrderResponse) UnmarshalJSON(bytes []byte) (err error)
- type ChildBrokerageOrderIDs
- func (o *ChildBrokerageOrderIDs) GetStopLossOrderId() string
- func (o *ChildBrokerageOrderIDs) GetStopLossOrderIdOk() (*string, bool)
- func (o *ChildBrokerageOrderIDs) GetTakeProfitOrderId() string
- func (o *ChildBrokerageOrderIDs) GetTakeProfitOrderIdOk() (*string, bool)
- func (o *ChildBrokerageOrderIDs) HasStopLossOrderId() bool
- func (o *ChildBrokerageOrderIDs) HasTakeProfitOrderId() bool
- func (o ChildBrokerageOrderIDs) MarshalJSON() ([]byte, error)
- func (o *ChildBrokerageOrderIDs) SetStopLossOrderId(v string)
- func (o *ChildBrokerageOrderIDs) SetTakeProfitOrderId(v string)
- func (o *ChildBrokerageOrderIDs) UnmarshalJSON(bytes []byte) (err error)
- type Configuration
- func (c *Configuration) AddAPIKey(key string, apiKey APIKey)
- func (c *Configuration) AddDefaultHeader(key string, value string)
- func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)
- func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)
- func (c *Configuration) SetConsumerKey(ConsumerKey string)
- func (c *Configuration) SetHost(host string)
- func (c *Configuration) SetOAuthClientCredentials(clientId string, clientSecret string)
- func (c *Configuration) SetPartnerClientId(partnerClientId string)
- func (c *Configuration) SetPartnerSignature(partnerSignature string)
- func (c *Configuration) SetPartnerTimestamp(partnerTimestamp string)
- func (c *Configuration) SetTokenUrl(tokenUrl string)
- type ConnectionsApiDetailBrokerageAuthorizationRequest
- type ConnectionsApiDisableBrokerageAuthorizationRequest
- type ConnectionsApiListBrokerageAuthorizationsRequest
- type ConnectionsApiRefreshBrokerageAuthorizationRequest
- type ConnectionsApiRemoveBrokerageAuthorizationRequest
- type ConnectionsApiReturnRatesRequest
- type ConnectionsApiService
- func (a *ConnectionsApiService) DetailBrokerageAuthorization(authorizationId string, userId string, userSecret string) ConnectionsApiDetailBrokerageAuthorizationRequest
- func (a *ConnectionsApiService) DetailBrokerageAuthorizationExecute(r ConnectionsApiDetailBrokerageAuthorizationRequest) (*BrokerageAuthorization, *http.Response, error)
- func (a *ConnectionsApiService) DisableBrokerageAuthorization(authorizationId string, userId string, userSecret string) ConnectionsApiDisableBrokerageAuthorizationRequest
- func (a *ConnectionsApiService) DisableBrokerageAuthorizationExecute(r ConnectionsApiDisableBrokerageAuthorizationRequest) (*BrokerageAuthorizationDisabledConfirmation, *http.Response, error)
- func (a *ConnectionsApiService) ListBrokerageAuthorizations(userId string, userSecret string) ConnectionsApiListBrokerageAuthorizationsRequest
- func (a *ConnectionsApiService) ListBrokerageAuthorizationsExecute(r ConnectionsApiListBrokerageAuthorizationsRequest) ([]BrokerageAuthorization, *http.Response, error)
- func (a *ConnectionsApiService) RefreshBrokerageAuthorization(authorizationId string, userId string, userSecret string) ConnectionsApiRefreshBrokerageAuthorizationRequest
- func (a *ConnectionsApiService) RefreshBrokerageAuthorizationExecute(r ConnectionsApiRefreshBrokerageAuthorizationRequest) (*BrokerageAuthorizationRefreshConfirmation, *http.Response, error)
- func (a *ConnectionsApiService) RemoveBrokerageAuthorization(authorizationId string, userId string, userSecret string) ConnectionsApiRemoveBrokerageAuthorizationRequest
- func (a *ConnectionsApiService) RemoveBrokerageAuthorizationExecute(r ConnectionsApiRemoveBrokerageAuthorizationRequest) (*http.Response, error)
- func (a *ConnectionsApiService) ReturnRates(userId string, userSecret string, authorizationId string) ConnectionsApiReturnRatesRequest
- func (a *ConnectionsApiService) ReturnRatesExecute(r ConnectionsApiReturnRatesRequest) (*RateOfReturnResponse, *http.Response, error)
- func (a *ConnectionsApiService) SessionEvents(partnerClientId string) ConnectionsApiSessionEventsRequest
- func (a *ConnectionsApiService) SessionEventsExecute(r ConnectionsApiSessionEventsRequest) ([]SessionEvent, *http.Response, error)
- type ConnectionsApiSessionEventsRequest
- func (r ConnectionsApiSessionEventsRequest) Execute() ([]SessionEvent, *http.Response, error)
- func (r *ConnectionsApiSessionEventsRequest) SessionId(sessionId string) *ConnectionsApiSessionEventsRequest
- func (r *ConnectionsApiSessionEventsRequest) UserId(userId string) *ConnectionsApiSessionEventsRequest
- type CryptoOrderForm
- func (o *CryptoOrderForm) GetAmount() float64
- func (o *CryptoOrderForm) GetAmountOk() (*float64, bool)
- func (o *CryptoOrderForm) GetExpirationDate() time.Time
- func (o *CryptoOrderForm) GetExpirationDateOk() (*time.Time, bool)
- func (o *CryptoOrderForm) GetInstrument() CryptoTradingInstrument
- func (o *CryptoOrderForm) GetInstrumentOk() (*CryptoTradingInstrument, bool)
- func (o *CryptoOrderForm) GetLimitPrice() float64
- func (o *CryptoOrderForm) GetLimitPriceOk() (*float64, bool)
- func (o *CryptoOrderForm) GetPostOnly() bool
- func (o *CryptoOrderForm) GetPostOnlyOk() (*bool, bool)
- func (o *CryptoOrderForm) GetSide() ActionStrict
- func (o *CryptoOrderForm) GetSideOk() (*ActionStrict, bool)
- func (o *CryptoOrderForm) GetStopPrice() float64
- func (o *CryptoOrderForm) GetStopPriceOk() (*float64, bool)
- func (o *CryptoOrderForm) GetTimeInForce() string
- func (o *CryptoOrderForm) GetTimeInForceOk() (*string, bool)
- func (o *CryptoOrderForm) GetType() string
- func (o *CryptoOrderForm) GetTypeOk() (*string, bool)
- func (o *CryptoOrderForm) HasExpirationDate() bool
- func (o *CryptoOrderForm) HasLimitPrice() bool
- func (o *CryptoOrderForm) HasPostOnly() bool
- func (o *CryptoOrderForm) HasStopPrice() bool
- func (o CryptoOrderForm) MarshalJSON() ([]byte, error)
- func (o *CryptoOrderForm) SetAmount(v float64)
- func (o *CryptoOrderForm) SetExpirationDate(v time.Time)
- func (o *CryptoOrderForm) SetInstrument(v CryptoTradingInstrument)
- func (o *CryptoOrderForm) SetLimitPrice(v float64)
- func (o *CryptoOrderForm) SetPostOnly(v bool)
- func (o *CryptoOrderForm) SetSide(v ActionStrict)
- func (o *CryptoOrderForm) SetStopPrice(v float64)
- func (o *CryptoOrderForm) SetTimeInForce(v string)
- func (o *CryptoOrderForm) SetType(v string)
- type CryptoOrderPreview
- func (o *CryptoOrderPreview) GetEstimatedFee() CryptoOrderPreviewEstimatedFee
- func (o *CryptoOrderPreview) GetEstimatedFeeOk() (*CryptoOrderPreviewEstimatedFee, bool)
- func (o *CryptoOrderPreview) HasEstimatedFee() bool
- func (o CryptoOrderPreview) MarshalJSON() ([]byte, error)
- func (o *CryptoOrderPreview) SetEstimatedFee(v CryptoOrderPreviewEstimatedFee)
- func (o *CryptoOrderPreview) UnmarshalJSON(bytes []byte) (err error)
- type CryptoOrderPreviewEstimatedFee
- func (o *CryptoOrderPreviewEstimatedFee) GetAmount() float64
- func (o *CryptoOrderPreviewEstimatedFee) GetAmountOk() (*float64, bool)
- func (o *CryptoOrderPreviewEstimatedFee) GetCurrency() string
- func (o *CryptoOrderPreviewEstimatedFee) GetCurrencyOk() (*string, bool)
- func (o CryptoOrderPreviewEstimatedFee) MarshalJSON() ([]byte, error)
- func (o *CryptoOrderPreviewEstimatedFee) SetAmount(v float64)
- func (o *CryptoOrderPreviewEstimatedFee) SetCurrency(v string)
- func (o *CryptoOrderPreviewEstimatedFee) UnmarshalJSON(bytes []byte) (err error)
- type CryptoTradingInstrument
- func (o *CryptoTradingInstrument) GetSymbol() string
- func (o *CryptoTradingInstrument) GetSymbolOk() (*string, bool)
- func (o *CryptoTradingInstrument) GetType() string
- func (o *CryptoTradingInstrument) GetTypeOk() (*string, bool)
- func (o CryptoTradingInstrument) MarshalJSON() ([]byte, error)
- func (o *CryptoTradingInstrument) SetSymbol(v string)
- func (o *CryptoTradingInstrument) SetType(v string)
- func (o *CryptoTradingInstrument) UnmarshalJSON(bytes []byte) (err error)
- type CryptocurrencyPair
- func (o *CryptocurrencyPair) GetBase() string
- func (o *CryptocurrencyPair) GetBaseOk() (*string, bool)
- func (o *CryptocurrencyPair) GetIncrement() string
- func (o *CryptocurrencyPair) GetIncrementOk() (*string, bool)
- func (o *CryptocurrencyPair) GetQuote() string
- func (o *CryptocurrencyPair) GetQuoteOk() (*string, bool)
- func (o *CryptocurrencyPair) GetSymbol() string
- func (o *CryptocurrencyPair) GetSymbolOk() (*string, bool)
- func (o *CryptocurrencyPair) HasIncrement() bool
- func (o *CryptocurrencyPair) HasSymbol() bool
- func (o CryptocurrencyPair) MarshalJSON() ([]byte, error)
- func (o *CryptocurrencyPair) SetBase(v string)
- func (o *CryptocurrencyPair) SetIncrement(v string)
- func (o *CryptocurrencyPair) SetIncrementNil()
- func (o *CryptocurrencyPair) SetQuote(v string)
- func (o *CryptocurrencyPair) SetSymbol(v string)
- func (o *CryptocurrencyPair) UnmarshalJSON(bytes []byte) (err error)
- func (o *CryptocurrencyPair) UnsetIncrement()
- type CryptocurrencyPairQuote
- func (o *CryptocurrencyPairQuote) GetAsk() float64
- func (o *CryptocurrencyPairQuote) GetAskOk() (*float64, bool)
- func (o *CryptocurrencyPairQuote) GetBid() float64
- func (o *CryptocurrencyPairQuote) GetBidOk() (*float64, bool)
- func (o *CryptocurrencyPairQuote) GetMid() float64
- func (o *CryptocurrencyPairQuote) GetMidOk() (*float64, bool)
- func (o *CryptocurrencyPairQuote) GetTimestamp() time.Time
- func (o *CryptocurrencyPairQuote) GetTimestampOk() (*time.Time, bool)
- func (o *CryptocurrencyPairQuote) HasMid() bool
- func (o *CryptocurrencyPairQuote) HasTimestamp() bool
- func (o CryptocurrencyPairQuote) MarshalJSON() ([]byte, error)
- func (o *CryptocurrencyPairQuote) SetAsk(v float64)
- func (o *CryptocurrencyPairQuote) SetBid(v float64)
- func (o *CryptocurrencyPairQuote) SetMid(v float64)
- func (o *CryptocurrencyPairQuote) SetTimestamp(v time.Time)
- func (o *CryptocurrencyPairQuote) UnmarshalJSON(bytes []byte) (err error)
- type Currency
- func (o *Currency) GetCode() string
- func (o *Currency) GetCodeOk() (*string, bool)
- func (o *Currency) GetId() string
- func (o *Currency) GetIdOk() (*string, bool)
- func (o *Currency) GetName() string
- func (o *Currency) GetNameOk() (*string, bool)
- func (o *Currency) HasCode() bool
- func (o *Currency) HasId() bool
- func (o *Currency) HasName() bool
- func (o Currency) MarshalJSON() ([]byte, error)
- func (o *Currency) SetCode(v string)
- func (o *Currency) SetId(v string)
- func (o *Currency) SetName(v string)
- func (o *Currency) UnmarshalJSON(bytes []byte) (err error)
- type DeleteUserResponse
- func (o *DeleteUserResponse) GetDetail() string
- func (o *DeleteUserResponse) GetDetailOk() (*string, bool)
- func (o *DeleteUserResponse) GetStatus() string
- func (o *DeleteUserResponse) GetStatusOk() (*string, bool)
- func (o *DeleteUserResponse) GetUserId() string
- func (o *DeleteUserResponse) GetUserIdOk() (*string, bool)
- func (o *DeleteUserResponse) HasDetail() bool
- func (o *DeleteUserResponse) HasStatus() bool
- func (o *DeleteUserResponse) HasUserId() bool
- func (o DeleteUserResponse) MarshalJSON() ([]byte, error)
- func (o *DeleteUserResponse) SetDetail(v string)
- func (o *DeleteUserResponse) SetStatus(v string)
- func (o *DeleteUserResponse) SetUserId(v string)
- func (o *DeleteUserResponse) UnmarshalJSON(bytes []byte) (err error)
- type DividendAtDate
- func (o *DividendAtDate) GetAmount() float32
- func (o *DividendAtDate) GetAmountOk() (*float32, bool)
- func (o *DividendAtDate) GetCurrency() string
- func (o *DividendAtDate) GetCurrencyOk() (*string, bool)
- func (o *DividendAtDate) GetSymbol() string
- func (o *DividendAtDate) GetSymbolOk() (*string, bool)
- func (o *DividendAtDate) HasAmount() bool
- func (o *DividendAtDate) HasCurrency() bool
- func (o *DividendAtDate) HasSymbol() bool
- func (o DividendAtDate) MarshalJSON() ([]byte, error)
- func (o *DividendAtDate) SetAmount(v float32)
- func (o *DividendAtDate) SetAmountNil()
- func (o *DividendAtDate) SetCurrency(v string)
- func (o *DividendAtDate) SetSymbol(v string)
- func (o *DividendAtDate) SetSymbolNil()
- func (o *DividendAtDate) UnmarshalJSON(bytes []byte) (err error)
- func (o *DividendAtDate) UnsetAmount()
- func (o *DividendAtDate) UnsetSymbol()
- type EncryptedResponse
- func (o *EncryptedResponse) GetEncryptedMessageData() EncryptedResponseEncryptedMessageData
- func (o *EncryptedResponse) GetEncryptedMessageDataOk() (*EncryptedResponseEncryptedMessageData, bool)
- func (o *EncryptedResponse) GetEncryptedSharedKey() string
- func (o *EncryptedResponse) GetEncryptedSharedKeyOk() (*string, bool)
- func (o *EncryptedResponse) HasEncryptedMessageData() bool
- func (o *EncryptedResponse) HasEncryptedSharedKey() bool
- func (o EncryptedResponse) MarshalJSON() ([]byte, error)
- func (o *EncryptedResponse) SetEncryptedMessageData(v EncryptedResponseEncryptedMessageData)
- func (o *EncryptedResponse) SetEncryptedSharedKey(v string)
- type EncryptedResponseEncryptedMessageData
- func (o *EncryptedResponseEncryptedMessageData) GetEncryptedMessage() string
- func (o *EncryptedResponseEncryptedMessageData) GetEncryptedMessageOk() (*string, bool)
- func (o *EncryptedResponseEncryptedMessageData) GetNonce() string
- func (o *EncryptedResponseEncryptedMessageData) GetNonceOk() (*string, bool)
- func (o *EncryptedResponseEncryptedMessageData) GetTag() string
- func (o *EncryptedResponseEncryptedMessageData) GetTagOk() (*string, bool)
- func (o *EncryptedResponseEncryptedMessageData) HasEncryptedMessage() bool
- func (o *EncryptedResponseEncryptedMessageData) HasNonce() bool
- func (o *EncryptedResponseEncryptedMessageData) HasTag() bool
- func (o EncryptedResponseEncryptedMessageData) MarshalJSON() ([]byte, error)
- func (o *EncryptedResponseEncryptedMessageData) SetEncryptedMessage(v string)
- func (o *EncryptedResponseEncryptedMessageData) SetNonce(v string)
- func (o *EncryptedResponseEncryptedMessageData) SetTag(v string)
- func (o *EncryptedResponseEncryptedMessageData) UnmarshalJSON(bytes []byte) (err error)
- type Exchange
- func (o *Exchange) GetCloseTime() string
- func (o *Exchange) GetCloseTimeOk() (*string, bool)
- func (o *Exchange) GetCode() string
- func (o *Exchange) GetCodeOk() (*string, bool)
- func (o *Exchange) GetId() string
- func (o *Exchange) GetIdOk() (*string, bool)
- func (o *Exchange) GetMicCode() string
- func (o *Exchange) GetMicCodeOk() (*string, bool)
- func (o *Exchange) GetName() string
- func (o *Exchange) GetNameOk() (*string, bool)
- func (o *Exchange) GetStartTime() string
- func (o *Exchange) GetStartTimeOk() (*string, bool)
- func (o *Exchange) GetSuffix() string
- func (o *Exchange) GetSuffixOk() (*string, bool)
- func (o *Exchange) GetTimezone() string
- func (o *Exchange) GetTimezoneOk() (*string, bool)
- func (o *Exchange) HasCloseTime() bool
- func (o *Exchange) HasCode() bool
- func (o *Exchange) HasId() bool
- func (o *Exchange) HasMicCode() bool
- func (o *Exchange) HasName() bool
- func (o *Exchange) HasStartTime() bool
- func (o *Exchange) HasSuffix() bool
- func (o *Exchange) HasTimezone() bool
- func (o Exchange) MarshalJSON() ([]byte, error)
- func (o *Exchange) SetCloseTime(v string)
- func (o *Exchange) SetCode(v string)
- func (o *Exchange) SetId(v string)
- func (o *Exchange) SetMicCode(v string)
- func (o *Exchange) SetName(v string)
- func (o *Exchange) SetStartTime(v string)
- func (o *Exchange) SetSuffix(v string)
- func (o *Exchange) SetSuffixNil()
- func (o *Exchange) SetTimezone(v string)
- func (o *Exchange) UnmarshalJSON(bytes []byte) (err error)
- func (o *Exchange) UnsetSuffix()
- type ExchangeRatePairs
- func (o *ExchangeRatePairs) GetDst() Currency
- func (o *ExchangeRatePairs) GetDstOk() (*Currency, bool)
- func (o *ExchangeRatePairs) GetExchangeRate() float32
- func (o *ExchangeRatePairs) GetExchangeRateOk() (*float32, bool)
- func (o *ExchangeRatePairs) GetSrc() Currency
- func (o *ExchangeRatePairs) GetSrcOk() (*Currency, bool)
- func (o *ExchangeRatePairs) HasDst() bool
- func (o *ExchangeRatePairs) HasExchangeRate() bool
- func (o *ExchangeRatePairs) HasSrc() bool
- func (o ExchangeRatePairs) MarshalJSON() ([]byte, error)
- func (o *ExchangeRatePairs) SetDst(v Currency)
- func (o *ExchangeRatePairs) SetExchangeRate(v float32)
- func (o *ExchangeRatePairs) SetSrc(v Currency)
- func (o *ExchangeRatePairs) UnmarshalJSON(bytes []byte) (err error)
- type ExperimentalEndpointsApiGetUserAccountOrdersV2Request
- func (r *ExperimentalEndpointsApiGetUserAccountOrdersV2Request) Days(days int32) *ExperimentalEndpointsApiGetUserAccountOrdersV2Request
- func (r ExperimentalEndpointsApiGetUserAccountOrdersV2Request) Execute() (*AccountOrdersV2Response, *http.Response, error)
- func (r *ExperimentalEndpointsApiGetUserAccountOrdersV2Request) State(state string) *ExperimentalEndpointsApiGetUserAccountOrdersV2Request
- type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request
- type ExperimentalEndpointsApiService
- func (a *ExperimentalEndpointsApiService) GetUserAccountOrdersV2(userId string, userSecret string, accountId string) ExperimentalEndpointsApiGetUserAccountOrdersV2Request
- func (a *ExperimentalEndpointsApiService) GetUserAccountOrdersV2Execute(r ExperimentalEndpointsApiGetUserAccountOrdersV2Request) (*AccountOrdersV2Response, *http.Response, error)
- func (a *ExperimentalEndpointsApiService) GetUserAccountRecentOrdersV2(userId string, userSecret string, accountId string) ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request
- func (a *ExperimentalEndpointsApiService) GetUserAccountRecentOrdersV2Execute(r ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request) (*AccountOrdersV2Response, *http.Response, error)
- type FigiInstrument
- func (o *FigiInstrument) GetFigiCode() string
- func (o *FigiInstrument) GetFigiCodeOk() (*string, bool)
- func (o *FigiInstrument) GetFigiShareClass() string
- func (o *FigiInstrument) GetFigiShareClassOk() (*string, bool)
- func (o *FigiInstrument) HasFigiCode() bool
- func (o *FigiInstrument) HasFigiShareClass() bool
- func (o FigiInstrument) MarshalJSON() ([]byte, error)
- func (o *FigiInstrument) SetFigiCode(v string)
- func (o *FigiInstrument) SetFigiCodeNil()
- func (o *FigiInstrument) SetFigiShareClass(v string)
- func (o *FigiInstrument) SetFigiShareClassNil()
- func (o *FigiInstrument) UnmarshalJSON(bytes []byte) (err error)
- func (o *FigiInstrument) UnsetFigiCode()
- func (o *FigiInstrument) UnsetFigiShareClass()
- type GenericOpenAPIError
- type HoldingsStatus
- func (o *HoldingsStatus) GetInitialSyncCompleted() bool
- func (o *HoldingsStatus) GetInitialSyncCompletedOk() (*bool, bool)
- func (o *HoldingsStatus) GetLastSuccessfulSync() time.Time
- func (o *HoldingsStatus) GetLastSuccessfulSyncOk() (*time.Time, bool)
- func (o *HoldingsStatus) HasInitialSyncCompleted() bool
- func (o *HoldingsStatus) HasLastSuccessfulSync() bool
- func (o HoldingsStatus) MarshalJSON() ([]byte, error)
- func (o *HoldingsStatus) SetInitialSyncCompleted(v bool)
- func (o *HoldingsStatus) SetLastSuccessfulSync(v time.Time)
- func (o *HoldingsStatus) SetLastSuccessfulSyncNil()
- func (o *HoldingsStatus) UnsetLastSuccessfulSync()
- type LoginRedirectURI
- func (o *LoginRedirectURI) GetRedirectURI() string
- func (o *LoginRedirectURI) GetRedirectURIOk() (*string, bool)
- func (o *LoginRedirectURI) GetSessionId() string
- func (o *LoginRedirectURI) GetSessionIdOk() (*string, bool)
- func (o *LoginRedirectURI) HasRedirectURI() bool
- func (o *LoginRedirectURI) HasSessionId() bool
- func (o LoginRedirectURI) MarshalJSON() ([]byte, error)
- func (o *LoginRedirectURI) SetRedirectURI(v string)
- func (o *LoginRedirectURI) SetSessionId(v string)
- type ManualTrade
- func (o *ManualTrade) GetAccount() string
- func (o *ManualTrade) GetAccountOk() (*string, bool)
- func (o *ManualTrade) GetAction() ActionStrict
- func (o *ManualTrade) GetActionOk() (*ActionStrict, bool)
- func (o *ManualTrade) GetId() string
- func (o *ManualTrade) GetIdOk() (*string, bool)
- func (o *ManualTrade) GetOrderType() OrderTypeStrict
- func (o *ManualTrade) GetOrderTypeOk() (*OrderTypeStrict, bool)
- func (o *ManualTrade) GetPrice() float32
- func (o *ManualTrade) GetPriceOk() (*float32, bool)
- func (o *ManualTrade) GetSymbol() ManualTradeSymbol
- func (o *ManualTrade) GetSymbolOk() (*ManualTradeSymbol, bool)
- func (o *ManualTrade) GetTimeInForce() TimeInForceStrict
- func (o *ManualTrade) GetTimeInForceOk() (*TimeInForceStrict, bool)
- func (o *ManualTrade) GetUnits() float32
- func (o *ManualTrade) GetUnitsOk() (*float32, bool)
- func (o *ManualTrade) HasAccount() bool
- func (o *ManualTrade) HasAction() bool
- func (o *ManualTrade) HasId() bool
- func (o *ManualTrade) HasOrderType() bool
- func (o *ManualTrade) HasPrice() bool
- func (o *ManualTrade) HasSymbol() bool
- func (o *ManualTrade) HasTimeInForce() bool
- func (o *ManualTrade) HasUnits() bool
- func (o ManualTrade) MarshalJSON() ([]byte, error)
- func (o *ManualTrade) SetAccount(v string)
- func (o *ManualTrade) SetAction(v ActionStrict)
- func (o *ManualTrade) SetId(v string)
- func (o *ManualTrade) SetOrderType(v OrderTypeStrict)
- func (o *ManualTrade) SetPrice(v float32)
- func (o *ManualTrade) SetPriceNil()
- func (o *ManualTrade) SetSymbol(v ManualTradeSymbol)
- func (o *ManualTrade) SetTimeInForce(v TimeInForceStrict)
- func (o *ManualTrade) SetUnits(v float32)
- func (o *ManualTrade) SetUnitsNil()
- func (o *ManualTrade) UnmarshalJSON(bytes []byte) (err error)
- func (o *ManualTrade) UnsetPrice()
- func (o *ManualTrade) UnsetUnits()
- type ManualTradeAndImpact
- func (o *ManualTradeAndImpact) GetCombinedRemainingBalance() ManualTradeBalance
- func (o *ManualTradeAndImpact) GetCombinedRemainingBalanceOk() (*ManualTradeBalance, bool)
- func (o *ManualTradeAndImpact) GetTrade() ManualTrade
- func (o *ManualTradeAndImpact) GetTradeImpacts() []ManualTradeImpact
- func (o *ManualTradeAndImpact) GetTradeImpactsOk() ([]ManualTradeImpact, bool)
- func (o *ManualTradeAndImpact) GetTradeOk() (*ManualTrade, bool)
- func (o *ManualTradeAndImpact) HasCombinedRemainingBalance() bool
- func (o *ManualTradeAndImpact) HasTrade() bool
- func (o *ManualTradeAndImpact) HasTradeImpacts() bool
- func (o ManualTradeAndImpact) MarshalJSON() ([]byte, error)
- func (o *ManualTradeAndImpact) SetCombinedRemainingBalance(v ManualTradeBalance)
- func (o *ManualTradeAndImpact) SetTrade(v ManualTrade)
- func (o *ManualTradeAndImpact) SetTradeImpacts(v []ManualTradeImpact)
- func (o *ManualTradeAndImpact) UnmarshalJSON(bytes []byte) (err error)
- type ManualTradeBalance
- func (o *ManualTradeBalance) GetAccount() AccountSimple
- func (o *ManualTradeBalance) GetAccountOk() (*AccountSimple, bool)
- func (o *ManualTradeBalance) GetCash() float32
- func (o *ManualTradeBalance) GetCashOk() (*float32, bool)
- func (o *ManualTradeBalance) GetCurrency() Currency
- func (o *ManualTradeBalance) GetCurrencyOk() (*Currency, bool)
- func (o *ManualTradeBalance) HasAccount() bool
- func (o *ManualTradeBalance) HasCash() bool
- func (o *ManualTradeBalance) HasCurrency() bool
- func (o ManualTradeBalance) MarshalJSON() ([]byte, error)
- func (o *ManualTradeBalance) SetAccount(v AccountSimple)
- func (o *ManualTradeBalance) SetCash(v float32)
- func (o *ManualTradeBalance) SetCashNil()
- func (o *ManualTradeBalance) SetCurrency(v Currency)
- func (o *ManualTradeBalance) UnmarshalJSON(bytes []byte) (err error)
- func (o *ManualTradeBalance) UnsetCash()
- type ManualTradeForm
- func (o *ManualTradeForm) GetAccountId() string
- func (o *ManualTradeForm) GetAccountIdOk() (*string, bool)
- func (o *ManualTradeForm) GetAction() ActionStrict
- func (o *ManualTradeForm) GetActionOk() (*ActionStrict, bool)
- func (o *ManualTradeForm) GetNotionalValue() ManualTradeFormNotionalValue
- func (o *ManualTradeForm) GetNotionalValueOk() (*ManualTradeFormNotionalValue, bool)
- func (o *ManualTradeForm) GetOrderType() OrderTypeStrict
- func (o *ManualTradeForm) GetOrderTypeOk() (*OrderTypeStrict, bool)
- func (o *ManualTradeForm) GetPrice() float32
- func (o *ManualTradeForm) GetPriceOk() (*float32, bool)
- func (o *ManualTradeForm) GetStop() float32
- func (o *ManualTradeForm) GetStopOk() (*float32, bool)
- func (o *ManualTradeForm) GetTimeInForce() TimeInForceStrict
- func (o *ManualTradeForm) GetTimeInForceOk() (*TimeInForceStrict, bool)
- func (o *ManualTradeForm) GetUnits() float32
- func (o *ManualTradeForm) GetUnitsOk() (*float32, bool)
- func (o *ManualTradeForm) GetUniversalSymbolId() string
- func (o *ManualTradeForm) GetUniversalSymbolIdOk() (*string, bool)
- func (o *ManualTradeForm) HasNotionalValue() bool
- func (o *ManualTradeForm) HasPrice() bool
- func (o *ManualTradeForm) HasStop() bool
- func (o *ManualTradeForm) HasUnits() bool
- func (o ManualTradeForm) MarshalJSON() ([]byte, error)
- func (o *ManualTradeForm) SetAccountId(v string)
- func (o *ManualTradeForm) SetAction(v ActionStrict)
- func (o *ManualTradeForm) SetNotionalValue(v ManualTradeFormNotionalValue)
- func (o *ManualTradeForm) SetNotionalValueNil()
- func (o *ManualTradeForm) SetOrderType(v OrderTypeStrict)
- func (o *ManualTradeForm) SetPrice(v float32)
- func (o *ManualTradeForm) SetPriceNil()
- func (o *ManualTradeForm) SetStop(v float32)
- func (o *ManualTradeForm) SetStopNil()
- func (o *ManualTradeForm) SetTimeInForce(v TimeInForceStrict)
- func (o *ManualTradeForm) SetUnits(v float32)
- func (o *ManualTradeForm) SetUnitsNil()
- func (o *ManualTradeForm) SetUniversalSymbolId(v string)
- func (o *ManualTradeForm) UnsetNotionalValue()
- func (o *ManualTradeForm) UnsetPrice()
- func (o *ManualTradeForm) UnsetStop()
- func (o *ManualTradeForm) UnsetUnits()
- type ManualTradeFormBracket
- func (o *ManualTradeFormBracket) GetAction() ActionStrictWithOptions
- func (o *ManualTradeFormBracket) GetActionOk() (*ActionStrictWithOptions, bool)
- func (o *ManualTradeFormBracket) GetInstrument() TradingInstrument
- func (o *ManualTradeFormBracket) GetInstrumentOk() (*TradingInstrument, bool)
- func (o *ManualTradeFormBracket) GetOrderType() OrderTypeStrict
- func (o *ManualTradeFormBracket) GetOrderTypeOk() (*OrderTypeStrict, bool)
- func (o *ManualTradeFormBracket) GetPrice() float32
- func (o *ManualTradeFormBracket) GetPriceOk() (*float32, bool)
- func (o *ManualTradeFormBracket) GetStop() float32
- func (o *ManualTradeFormBracket) GetStopLoss() StopLoss
- func (o *ManualTradeFormBracket) GetStopLossOk() (*StopLoss, bool)
- func (o *ManualTradeFormBracket) GetStopOk() (*float32, bool)
- func (o *ManualTradeFormBracket) GetTakeProfit() TakeProfit
- func (o *ManualTradeFormBracket) GetTakeProfitOk() (*TakeProfit, bool)
- func (o *ManualTradeFormBracket) GetTimeInForce() TimeInForceStrict
- func (o *ManualTradeFormBracket) GetTimeInForceOk() (*TimeInForceStrict, bool)
- func (o *ManualTradeFormBracket) GetUnits() float32
- func (o *ManualTradeFormBracket) GetUnitsOk() (*float32, bool)
- func (o *ManualTradeFormBracket) HasPrice() bool
- func (o *ManualTradeFormBracket) HasStop() bool
- func (o *ManualTradeFormBracket) HasUnits() bool
- func (o ManualTradeFormBracket) MarshalJSON() ([]byte, error)
- func (o *ManualTradeFormBracket) SetAction(v ActionStrictWithOptions)
- func (o *ManualTradeFormBracket) SetInstrument(v TradingInstrument)
- func (o *ManualTradeFormBracket) SetOrderType(v OrderTypeStrict)
- func (o *ManualTradeFormBracket) SetPrice(v float32)
- func (o *ManualTradeFormBracket) SetPriceNil()
- func (o *ManualTradeFormBracket) SetStop(v float32)
- func (o *ManualTradeFormBracket) SetStopLoss(v StopLoss)
- func (o *ManualTradeFormBracket) SetStopNil()
- func (o *ManualTradeFormBracket) SetTakeProfit(v TakeProfit)
- func (o *ManualTradeFormBracket) SetTimeInForce(v TimeInForceStrict)
- func (o *ManualTradeFormBracket) SetUnits(v float32)
- func (o *ManualTradeFormBracket) UnsetPrice()
- func (o *ManualTradeFormBracket) UnsetStop()
- type ManualTradeFormNotionalValue
- type ManualTradeFormWithOptions
- func (o *ManualTradeFormWithOptions) GetAccountId() string
- func (o *ManualTradeFormWithOptions) GetAccountIdOk() (*string, bool)
- func (o *ManualTradeFormWithOptions) GetAction() ActionStrictWithOptions
- func (o *ManualTradeFormWithOptions) GetActionOk() (*ActionStrictWithOptions, bool)
- func (o *ManualTradeFormWithOptions) GetNotionalValue() ManualTradeFormNotionalValue
- func (o *ManualTradeFormWithOptions) GetNotionalValueOk() (*ManualTradeFormNotionalValue, bool)
- func (o *ManualTradeFormWithOptions) GetOrderType() OrderTypeStrict
- func (o *ManualTradeFormWithOptions) GetOrderTypeOk() (*OrderTypeStrict, bool)
- func (o *ManualTradeFormWithOptions) GetPrice() float32
- func (o *ManualTradeFormWithOptions) GetPriceOk() (*float32, bool)
- func (o *ManualTradeFormWithOptions) GetStop() float32
- func (o *ManualTradeFormWithOptions) GetStopOk() (*float32, bool)
- func (o *ManualTradeFormWithOptions) GetSymbol() string
- func (o *ManualTradeFormWithOptions) GetSymbolOk() (*string, bool)
- func (o *ManualTradeFormWithOptions) GetTimeInForce() TimeInForceStrict
- func (o *ManualTradeFormWithOptions) GetTimeInForceOk() (*TimeInForceStrict, bool)
- func (o *ManualTradeFormWithOptions) GetTradingSession() TradingSession
- func (o *ManualTradeFormWithOptions) GetTradingSessionOk() (*TradingSession, bool)
- func (o *ManualTradeFormWithOptions) GetUnits() float32
- func (o *ManualTradeFormWithOptions) GetUnitsOk() (*float32, bool)
- func (o *ManualTradeFormWithOptions) GetUniversalSymbolId() string
- func (o *ManualTradeFormWithOptions) GetUniversalSymbolIdOk() (*string, bool)
- func (o *ManualTradeFormWithOptions) HasNotionalValue() bool
- func (o *ManualTradeFormWithOptions) HasPrice() bool
- func (o *ManualTradeFormWithOptions) HasStop() bool
- func (o *ManualTradeFormWithOptions) HasSymbol() bool
- func (o *ManualTradeFormWithOptions) HasTradingSession() bool
- func (o *ManualTradeFormWithOptions) HasUnits() bool
- func (o *ManualTradeFormWithOptions) HasUniversalSymbolId() bool
- func (o ManualTradeFormWithOptions) MarshalJSON() ([]byte, error)
- func (o *ManualTradeFormWithOptions) SetAccountId(v string)
- func (o *ManualTradeFormWithOptions) SetAction(v ActionStrictWithOptions)
- func (o *ManualTradeFormWithOptions) SetNotionalValue(v ManualTradeFormNotionalValue)
- func (o *ManualTradeFormWithOptions) SetNotionalValueNil()
- func (o *ManualTradeFormWithOptions) SetOrderType(v OrderTypeStrict)
- func (o *ManualTradeFormWithOptions) SetPrice(v float32)
- func (o *ManualTradeFormWithOptions) SetPriceNil()
- func (o *ManualTradeFormWithOptions) SetStop(v float32)
- func (o *ManualTradeFormWithOptions) SetStopNil()
- func (o *ManualTradeFormWithOptions) SetSymbol(v string)
- func (o *ManualTradeFormWithOptions) SetSymbolNil()
- func (o *ManualTradeFormWithOptions) SetTimeInForce(v TimeInForceStrict)
- func (o *ManualTradeFormWithOptions) SetTradingSession(v TradingSession)
- func (o *ManualTradeFormWithOptions) SetUnits(v float32)
- func (o *ManualTradeFormWithOptions) SetUnitsNil()
- func (o *ManualTradeFormWithOptions) SetUniversalSymbolId(v string)
- func (o *ManualTradeFormWithOptions) SetUniversalSymbolIdNil()
- func (o *ManualTradeFormWithOptions) UnsetNotionalValue()
- func (o *ManualTradeFormWithOptions) UnsetPrice()
- func (o *ManualTradeFormWithOptions) UnsetStop()
- func (o *ManualTradeFormWithOptions) UnsetSymbol()
- func (o *ManualTradeFormWithOptions) UnsetUnits()
- func (o *ManualTradeFormWithOptions) UnsetUniversalSymbolId()
- type ManualTradeImpact
- func (o *ManualTradeImpact) GetAccount() string
- func (o *ManualTradeImpact) GetAccountOk() (*string, bool)
- func (o *ManualTradeImpact) GetCurrency() string
- func (o *ManualTradeImpact) GetCurrencyOk() (*string, bool)
- func (o *ManualTradeImpact) GetEstimatedCommission() float32
- func (o *ManualTradeImpact) GetEstimatedCommissionOk() (*float32, bool)
- func (o *ManualTradeImpact) GetForexFees() float32
- func (o *ManualTradeImpact) GetForexFeesOk() (*float32, bool)
- func (o *ManualTradeImpact) GetRemainingCash() float32
- func (o *ManualTradeImpact) GetRemainingCashOk() (*float32, bool)
- func (o *ManualTradeImpact) HasAccount() bool
- func (o *ManualTradeImpact) HasCurrency() bool
- func (o *ManualTradeImpact) HasEstimatedCommission() bool
- func (o *ManualTradeImpact) HasForexFees() bool
- func (o *ManualTradeImpact) HasRemainingCash() bool
- func (o ManualTradeImpact) MarshalJSON() ([]byte, error)
- func (o *ManualTradeImpact) SetAccount(v string)
- func (o *ManualTradeImpact) SetCurrency(v string)
- func (o *ManualTradeImpact) SetEstimatedCommission(v float32)
- func (o *ManualTradeImpact) SetEstimatedCommissionNil()
- func (o *ManualTradeImpact) SetForexFees(v float32)
- func (o *ManualTradeImpact) SetForexFeesNil()
- func (o *ManualTradeImpact) SetRemainingCash(v float32)
- func (o *ManualTradeImpact) SetRemainingCashNil()
- func (o *ManualTradeImpact) UnmarshalJSON(bytes []byte) (err error)
- func (o *ManualTradeImpact) UnsetEstimatedCommission()
- func (o *ManualTradeImpact) UnsetForexFees()
- func (o *ManualTradeImpact) UnsetRemainingCash()
- type ManualTradeReplaceForm
- func (o *ManualTradeReplaceForm) GetAction() ActionStrict
- func (o *ManualTradeReplaceForm) GetActionOk() (*ActionStrict, bool)
- func (o *ManualTradeReplaceForm) GetBrokerageOrderId() string
- func (o *ManualTradeReplaceForm) GetBrokerageOrderIdOk() (*string, bool)
- func (o *ManualTradeReplaceForm) GetOrderType() OrderTypeStrict
- func (o *ManualTradeReplaceForm) GetOrderTypeOk() (*OrderTypeStrict, bool)
- func (o *ManualTradeReplaceForm) GetPrice() float32
- func (o *ManualTradeReplaceForm) GetPriceOk() (*float32, bool)
- func (o *ManualTradeReplaceForm) GetStop() float32
- func (o *ManualTradeReplaceForm) GetStopOk() (*float32, bool)
- func (o *ManualTradeReplaceForm) GetSymbol() string
- func (o *ManualTradeReplaceForm) GetSymbolOk() (*string, bool)
- func (o *ManualTradeReplaceForm) GetTimeInForce() TimeInForceStrict
- func (o *ManualTradeReplaceForm) GetTimeInForceOk() (*TimeInForceStrict, bool)
- func (o *ManualTradeReplaceForm) GetUnits() float32
- func (o *ManualTradeReplaceForm) GetUnitsOk() (*float32, bool)
- func (o *ManualTradeReplaceForm) HasPrice() bool
- func (o *ManualTradeReplaceForm) HasStop() bool
- func (o *ManualTradeReplaceForm) HasSymbol() bool
- func (o *ManualTradeReplaceForm) HasUnits() bool
- func (o ManualTradeReplaceForm) MarshalJSON() ([]byte, error)
- func (o *ManualTradeReplaceForm) SetAction(v ActionStrict)
- func (o *ManualTradeReplaceForm) SetBrokerageOrderId(v string)
- func (o *ManualTradeReplaceForm) SetOrderType(v OrderTypeStrict)
- func (o *ManualTradeReplaceForm) SetPrice(v float32)
- func (o *ManualTradeReplaceForm) SetPriceNil()
- func (o *ManualTradeReplaceForm) SetStop(v float32)
- func (o *ManualTradeReplaceForm) SetStopNil()
- func (o *ManualTradeReplaceForm) SetSymbol(v string)
- func (o *ManualTradeReplaceForm) SetTimeInForce(v TimeInForceStrict)
- func (o *ManualTradeReplaceForm) SetUnits(v float32)
- func (o *ManualTradeReplaceForm) SetUnitsNil()
- func (o *ManualTradeReplaceForm) UnsetPrice()
- func (o *ManualTradeReplaceForm) UnsetStop()
- func (o *ManualTradeReplaceForm) UnsetUnits()
- type ManualTradeSymbol
- func (o *ManualTradeSymbol) GetBrokerageSymbolId() string
- func (o *ManualTradeSymbol) GetBrokerageSymbolIdOk() (*string, bool)
- func (o *ManualTradeSymbol) GetCurrency() Currency
- func (o *ManualTradeSymbol) GetCurrencyOk() (*Currency, bool)
- func (o *ManualTradeSymbol) GetDescription() string
- func (o *ManualTradeSymbol) GetDescriptionOk() (*string, bool)
- func (o *ManualTradeSymbol) GetLocalId() string
- func (o *ManualTradeSymbol) GetLocalIdOk() (*string, bool)
- func (o *ManualTradeSymbol) GetSymbol() string
- func (o *ManualTradeSymbol) GetSymbolOk() (*string, bool)
- func (o *ManualTradeSymbol) GetUniversalSymbolId() string
- func (o *ManualTradeSymbol) GetUniversalSymbolIdOk() (*string, bool)
- func (o *ManualTradeSymbol) HasBrokerageSymbolId() bool
- func (o *ManualTradeSymbol) HasCurrency() bool
- func (o *ManualTradeSymbol) HasDescription() bool
- func (o *ManualTradeSymbol) HasLocalId() bool
- func (o *ManualTradeSymbol) HasSymbol() bool
- func (o *ManualTradeSymbol) HasUniversalSymbolId() bool
- func (o ManualTradeSymbol) MarshalJSON() ([]byte, error)
- func (o *ManualTradeSymbol) SetBrokerageSymbolId(v string)
- func (o *ManualTradeSymbol) SetCurrency(v Currency)
- func (o *ManualTradeSymbol) SetDescription(v string)
- func (o *ManualTradeSymbol) SetDescriptionNil()
- func (o *ManualTradeSymbol) SetLocalId(v string)
- func (o *ManualTradeSymbol) SetSymbol(v string)
- func (o *ManualTradeSymbol) SetUniversalSymbolId(v string)
- func (o *ManualTradeSymbol) UnmarshalJSON(bytes []byte) (err error)
- func (o *ManualTradeSymbol) UnsetDescription()
- type MlegActionStrict
- type MlegInstrumentType
- type MlegLeg
- func (o *MlegLeg) GetAction() MlegActionStrict
- func (o *MlegLeg) GetActionOk() (*MlegActionStrict, bool)
- func (o *MlegLeg) GetInstrument() MlegTradingInstrument
- func (o *MlegLeg) GetInstrumentOk() (*MlegTradingInstrument, bool)
- func (o *MlegLeg) GetUnits() int32
- func (o *MlegLeg) GetUnitsOk() (*int32, bool)
- func (o MlegLeg) MarshalJSON() ([]byte, error)
- func (o *MlegLeg) SetAction(v MlegActionStrict)
- func (o *MlegLeg) SetInstrument(v MlegTradingInstrument)
- func (o *MlegLeg) SetUnits(v int32)
- func (o *MlegLeg) UnmarshalJSON(bytes []byte) (err error)
- type MlegOrderResponse
- func (o *MlegOrderResponse) GetBrokerageOrderId() string
- func (o *MlegOrderResponse) GetBrokerageOrderIdOk() (*string, bool)
- func (o *MlegOrderResponse) GetOrders() []AccountOrderRecord
- func (o *MlegOrderResponse) GetOrdersOk() ([]AccountOrderRecord, bool)
- func (o MlegOrderResponse) MarshalJSON() ([]byte, error)
- func (o *MlegOrderResponse) SetBrokerageOrderId(v string)
- func (o *MlegOrderResponse) SetOrders(v []AccountOrderRecord)
- func (o *MlegOrderResponse) UnmarshalJSON(bytes []byte) (err error)
- type MlegOrderTypeStrict
- type MlegPriceEffectStrict
- type MlegTradeForm
- func (o *MlegTradeForm) GetLegs() []MlegLeg
- func (o *MlegTradeForm) GetLegsOk() ([]MlegLeg, bool)
- func (o *MlegTradeForm) GetLimitPrice() float64
- func (o *MlegTradeForm) GetLimitPriceOk() (*float64, bool)
- func (o *MlegTradeForm) GetOrderType() MlegOrderTypeStrict
- func (o *MlegTradeForm) GetOrderTypeOk() (*MlegOrderTypeStrict, bool)
- func (o *MlegTradeForm) GetPriceEffect() MlegPriceEffectStrict
- func (o *MlegTradeForm) GetPriceEffectOk() (*MlegPriceEffectStrict, bool)
- func (o *MlegTradeForm) GetStopPrice() float64
- func (o *MlegTradeForm) GetStopPriceOk() (*float64, bool)
- func (o *MlegTradeForm) GetTimeInForce() TimeInForceStrict
- func (o *MlegTradeForm) GetTimeInForceOk() (*TimeInForceStrict, bool)
- func (o *MlegTradeForm) HasLimitPrice() bool
- func (o *MlegTradeForm) HasPriceEffect() bool
- func (o *MlegTradeForm) HasStopPrice() bool
- func (o MlegTradeForm) MarshalJSON() ([]byte, error)
- func (o *MlegTradeForm) SetLegs(v []MlegLeg)
- func (o *MlegTradeForm) SetLimitPrice(v float64)
- func (o *MlegTradeForm) SetLimitPriceNil()
- func (o *MlegTradeForm) SetOrderType(v MlegOrderTypeStrict)
- func (o *MlegTradeForm) SetPriceEffect(v MlegPriceEffectStrict)
- func (o *MlegTradeForm) SetPriceEffectNil()
- func (o *MlegTradeForm) SetStopPrice(v float64)
- func (o *MlegTradeForm) SetStopPriceNil()
- func (o *MlegTradeForm) SetTimeInForce(v TimeInForceStrict)
- func (o *MlegTradeForm) UnsetLimitPrice()
- func (o *MlegTradeForm) UnsetPriceEffect()
- func (o *MlegTradeForm) UnsetStopPrice()
- type MlegTradingInstrument
- func (o *MlegTradingInstrument) GetInstrumentType() MlegInstrumentType
- func (o *MlegTradingInstrument) GetInstrumentTypeOk() (*MlegInstrumentType, bool)
- func (o *MlegTradingInstrument) GetSymbol() string
- func (o *MlegTradingInstrument) GetSymbolOk() (*string, bool)
- func (o MlegTradingInstrument) MarshalJSON() ([]byte, error)
- func (o *MlegTradingInstrument) SetInstrumentType(v MlegInstrumentType)
- func (o *MlegTradingInstrument) SetSymbol(v string)
- func (o *MlegTradingInstrument) UnmarshalJSON(bytes []byte) (err error)
- type Model400FailedRequestResponse
- func (o *Model400FailedRequestResponse) GetDefaultCode() interface{}
- func (o *Model400FailedRequestResponse) GetDefaultCodeOk() (*interface{}, bool)
- func (o *Model400FailedRequestResponse) GetDefaultDetail() interface{}
- func (o *Model400FailedRequestResponse) GetDefaultDetailOk() (*interface{}, bool)
- func (o *Model400FailedRequestResponse) HasDefaultCode() bool
- func (o *Model400FailedRequestResponse) HasDefaultDetail() bool
- func (o Model400FailedRequestResponse) MarshalJSON() ([]byte, error)
- func (o *Model400FailedRequestResponse) SetDefaultCode(v interface{})
- func (o *Model400FailedRequestResponse) SetDefaultDetail(v interface{})
- func (o *Model400FailedRequestResponse) UnmarshalJSON(bytes []byte) (err error)
- type Model401FailedRequestResponse
- func (o *Model401FailedRequestResponse) GetDefaultCode() interface{}
- func (o *Model401FailedRequestResponse) GetDefaultCodeOk() (*interface{}, bool)
- func (o *Model401FailedRequestResponse) GetDefaultDetail() interface{}
- func (o *Model401FailedRequestResponse) GetDefaultDetailOk() (*interface{}, bool)
- func (o *Model401FailedRequestResponse) HasDefaultCode() bool
- func (o *Model401FailedRequestResponse) HasDefaultDetail() bool
- func (o Model401FailedRequestResponse) MarshalJSON() ([]byte, error)
- func (o *Model401FailedRequestResponse) SetDefaultCode(v interface{})
- func (o *Model401FailedRequestResponse) SetDefaultDetail(v interface{})
- func (o *Model401FailedRequestResponse) UnmarshalJSON(bytes []byte) (err error)
- type Model402BrokerageAuthAlreadyDisabledException
- func (o *Model402BrokerageAuthAlreadyDisabledException) GetCode() interface{}
- func (o *Model402BrokerageAuthAlreadyDisabledException) GetCodeOk() (*interface{}, bool)
- func (o *Model402BrokerageAuthAlreadyDisabledException) GetDetail() interface{}
- func (o *Model402BrokerageAuthAlreadyDisabledException) GetDetailOk() (*interface{}, bool)
- func (o *Model402BrokerageAuthAlreadyDisabledException) HasCode() bool
- func (o *Model402BrokerageAuthAlreadyDisabledException) HasDetail() bool
- func (o Model402BrokerageAuthAlreadyDisabledException) MarshalJSON() ([]byte, error)
- func (o *Model402BrokerageAuthAlreadyDisabledException) SetCode(v interface{})
- func (o *Model402BrokerageAuthAlreadyDisabledException) SetDetail(v interface{})
- func (o *Model402BrokerageAuthAlreadyDisabledException) UnmarshalJSON(bytes []byte) (err error)
- type Model402BrokerageAuthDisabledResponse
- func (o *Model402BrokerageAuthDisabledResponse) GetCode() interface{}
- func (o *Model402BrokerageAuthDisabledResponse) GetCodeOk() (*interface{}, bool)
- func (o *Model402BrokerageAuthDisabledResponse) GetDetail() interface{}
- func (o *Model402BrokerageAuthDisabledResponse) GetDetailOk() (*interface{}, bool)
- func (o *Model402BrokerageAuthDisabledResponse) HasCode() bool
- func (o *Model402BrokerageAuthDisabledResponse) HasDetail() bool
- func (o Model402BrokerageAuthDisabledResponse) MarshalJSON() ([]byte, error)
- func (o *Model402BrokerageAuthDisabledResponse) SetCode(v interface{})
- func (o *Model402BrokerageAuthDisabledResponse) SetDetail(v interface{})
- func (o *Model402BrokerageAuthDisabledResponse) UnmarshalJSON(bytes []byte) (err error)
- type Model403FailedRequestResponse
- func (o *Model403FailedRequestResponse) GetDefaultCode() interface{}
- func (o *Model403FailedRequestResponse) GetDefaultCodeOk() (*interface{}, bool)
- func (o *Model403FailedRequestResponse) GetDefaultDetail() interface{}
- func (o *Model403FailedRequestResponse) GetDefaultDetailOk() (*interface{}, bool)
- func (o *Model403FailedRequestResponse) HasDefaultCode() bool
- func (o *Model403FailedRequestResponse) HasDefaultDetail() bool
- func (o Model403FailedRequestResponse) MarshalJSON() ([]byte, error)
- func (o *Model403FailedRequestResponse) SetDefaultCode(v interface{})
- func (o *Model403FailedRequestResponse) SetDefaultDetail(v interface{})
- func (o *Model403FailedRequestResponse) UnmarshalJSON(bytes []byte) (err error)
- type Model403FeatureNotEnabledResponse
- func (o *Model403FeatureNotEnabledResponse) GetDefaultCode() interface{}
- func (o *Model403FeatureNotEnabledResponse) GetDefaultCodeOk() (*interface{}, bool)
- func (o *Model403FeatureNotEnabledResponse) GetDetail() interface{}
- func (o *Model403FeatureNotEnabledResponse) GetDetailOk() (*interface{}, bool)
- func (o *Model403FeatureNotEnabledResponse) HasDefaultCode() bool
- func (o *Model403FeatureNotEnabledResponse) HasDetail() bool
- func (o Model403FeatureNotEnabledResponse) MarshalJSON() ([]byte, error)
- func (o *Model403FeatureNotEnabledResponse) SetDefaultCode(v interface{})
- func (o *Model403FeatureNotEnabledResponse) SetDetail(v interface{})
- func (o *Model403FeatureNotEnabledResponse) UnmarshalJSON(bytes []byte) (err error)
- type Model404FailedRequestResponse
- func (o *Model404FailedRequestResponse) GetDefaultCode() interface{}
- func (o *Model404FailedRequestResponse) GetDefaultCodeOk() (*interface{}, bool)
- func (o *Model404FailedRequestResponse) GetDefaultDetail() interface{}
- func (o *Model404FailedRequestResponse) GetDefaultDetailOk() (*interface{}, bool)
- func (o *Model404FailedRequestResponse) HasDefaultCode() bool
- func (o *Model404FailedRequestResponse) HasDefaultDetail() bool
- func (o Model404FailedRequestResponse) MarshalJSON() ([]byte, error)
- func (o *Model404FailedRequestResponse) SetDefaultCode(v interface{})
- func (o *Model404FailedRequestResponse) SetDefaultDetail(v interface{})
- func (o *Model404FailedRequestResponse) UnmarshalJSON(bytes []byte) (err error)
- type Model425FailedRequestResponse
- func (o *Model425FailedRequestResponse) GetCode() interface{}
- func (o *Model425FailedRequestResponse) GetCodeOk() (*interface{}, bool)
- func (o *Model425FailedRequestResponse) GetDetail() interface{}
- func (o *Model425FailedRequestResponse) GetDetailOk() (*interface{}, bool)
- func (o *Model425FailedRequestResponse) HasCode() bool
- func (o *Model425FailedRequestResponse) HasDetail() bool
- func (o Model425FailedRequestResponse) MarshalJSON() ([]byte, error)
- func (o *Model425FailedRequestResponse) SetCode(v interface{})
- func (o *Model425FailedRequestResponse) SetDetail(v interface{})
- func (o *Model425FailedRequestResponse) UnmarshalJSON(bytes []byte) (err error)
- type Model500UnexpectedExceptionResponse
- func (o *Model500UnexpectedExceptionResponse) GetCode() interface{}
- func (o *Model500UnexpectedExceptionResponse) GetCodeOk() (*interface{}, bool)
- func (o *Model500UnexpectedExceptionResponse) GetDetail() interface{}
- func (o *Model500UnexpectedExceptionResponse) GetDetailOk() (*interface{}, bool)
- func (o *Model500UnexpectedExceptionResponse) GetStatusCode() interface{}
- func (o *Model500UnexpectedExceptionResponse) GetStatusCodeOk() (*interface{}, bool)
- func (o *Model500UnexpectedExceptionResponse) HasCode() bool
- func (o *Model500UnexpectedExceptionResponse) HasDetail() bool
- func (o *Model500UnexpectedExceptionResponse) HasStatusCode() bool
- func (o Model500UnexpectedExceptionResponse) MarshalJSON() ([]byte, error)
- func (o *Model500UnexpectedExceptionResponse) SetCode(v interface{})
- func (o *Model500UnexpectedExceptionResponse) SetDetail(v interface{})
- func (o *Model500UnexpectedExceptionResponse) SetStatusCode(v interface{})
- func (o *Model500UnexpectedExceptionResponse) UnmarshalJSON(bytes []byte) (err error)
- type MonthlyDividends
- func (o *MonthlyDividends) GetDate() string
- func (o *MonthlyDividends) GetDateOk() (*string, bool)
- func (o *MonthlyDividends) GetDividends() []DividendAtDate
- func (o *MonthlyDividends) GetDividendsOk() ([]DividendAtDate, bool)
- func (o *MonthlyDividends) HasDate() bool
- func (o *MonthlyDividends) HasDividends() bool
- func (o MonthlyDividends) MarshalJSON() ([]byte, error)
- func (o *MonthlyDividends) SetDate(v string)
- func (o *MonthlyDividends) SetDividends(v []DividendAtDate)
- func (o *MonthlyDividends) UnmarshalJSON(bytes []byte) (err error)
- type NetContributions
- func (o *NetContributions) GetContributions() float32
- func (o *NetContributions) GetContributionsOk() (*float32, bool)
- func (o *NetContributions) GetCurrency() string
- func (o *NetContributions) GetCurrencyOk() (*string, bool)
- func (o *NetContributions) GetDate() string
- func (o *NetContributions) GetDateOk() (*string, bool)
- func (o *NetContributions) HasContributions() bool
- func (o *NetContributions) HasCurrency() bool
- func (o *NetContributions) HasDate() bool
- func (o NetContributions) MarshalJSON() ([]byte, error)
- func (o *NetContributions) SetContributions(v float32)
- func (o *NetContributions) SetContributionsNil()
- func (o *NetContributions) SetCurrency(v string)
- func (o *NetContributions) SetDate(v string)
- func (o *NetContributions) UnmarshalJSON(bytes []byte) (err error)
- func (o *NetContributions) UnsetContributions()
- type NetDividend
- func (o *NetDividend) GetAmount() float32
- func (o *NetDividend) GetAmountOk() (*float32, bool)
- func (o *NetDividend) GetCurrency() string
- func (o *NetDividend) GetCurrencyOk() (*string, bool)
- func (o *NetDividend) GetSymbol() UniversalSymbol
- func (o *NetDividend) GetSymbolOk() (*UniversalSymbol, bool)
- func (o *NetDividend) HasAmount() bool
- func (o *NetDividend) HasCurrency() bool
- func (o *NetDividend) HasSymbol() bool
- func (o NetDividend) MarshalJSON() ([]byte, error)
- func (o *NetDividend) SetAmount(v float32)
- func (o *NetDividend) SetAmountNil()
- func (o *NetDividend) SetCurrency(v string)
- func (o *NetDividend) SetSymbol(v UniversalSymbol)
- func (o *NetDividend) UnmarshalJSON(bytes []byte) (err error)
- func (o *NetDividend) UnsetAmount()
- type NotionalValue
- type NullableAccount
- type NullableAccountBalance
- func (v NullableAccountBalance) Get() *AccountBalance
- func (v NullableAccountBalance) IsSet() bool
- func (v NullableAccountBalance) MarshalJSON() ([]byte, error)
- func (v *NullableAccountBalance) Set(val *AccountBalance)
- func (v *NullableAccountBalance) UnmarshalJSON(src []byte) error
- func (v *NullableAccountBalance) Unset()
- type NullableAccountBalanceTotal
- func (v NullableAccountBalanceTotal) Get() *AccountBalanceTotal
- func (v NullableAccountBalanceTotal) IsSet() bool
- func (v NullableAccountBalanceTotal) MarshalJSON() ([]byte, error)
- func (v *NullableAccountBalanceTotal) Set(val *AccountBalanceTotal)
- func (v *NullableAccountBalanceTotal) UnmarshalJSON(src []byte) error
- func (v *NullableAccountBalanceTotal) Unset()
- type NullableAccountHoldings
- func (v NullableAccountHoldings) Get() *AccountHoldings
- func (v NullableAccountHoldings) IsSet() bool
- func (v NullableAccountHoldings) MarshalJSON() ([]byte, error)
- func (v *NullableAccountHoldings) Set(val *AccountHoldings)
- func (v *NullableAccountHoldings) UnmarshalJSON(src []byte) error
- func (v *NullableAccountHoldings) Unset()
- type NullableAccountHoldingsAccount
- func (v NullableAccountHoldingsAccount) Get() *AccountHoldingsAccount
- func (v NullableAccountHoldingsAccount) IsSet() bool
- func (v NullableAccountHoldingsAccount) MarshalJSON() ([]byte, error)
- func (v *NullableAccountHoldingsAccount) Set(val *AccountHoldingsAccount)
- func (v *NullableAccountHoldingsAccount) UnmarshalJSON(src []byte) error
- func (v *NullableAccountHoldingsAccount) Unset()
- type NullableAccountInformationGetUserAccountOrderDetailRequest
- func (v NullableAccountInformationGetUserAccountOrderDetailRequest) Get() *AccountInformationGetUserAccountOrderDetailRequest
- func (v NullableAccountInformationGetUserAccountOrderDetailRequest) IsSet() bool
- func (v NullableAccountInformationGetUserAccountOrderDetailRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAccountInformationGetUserAccountOrderDetailRequest) Set(val *AccountInformationGetUserAccountOrderDetailRequest)
- func (v *NullableAccountInformationGetUserAccountOrderDetailRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAccountInformationGetUserAccountOrderDetailRequest) Unset()
- type NullableAccountOrderRecord
- func (v NullableAccountOrderRecord) Get() *AccountOrderRecord
- func (v NullableAccountOrderRecord) IsSet() bool
- func (v NullableAccountOrderRecord) MarshalJSON() ([]byte, error)
- func (v *NullableAccountOrderRecord) Set(val *AccountOrderRecord)
- func (v *NullableAccountOrderRecord) UnmarshalJSON(src []byte) error
- func (v *NullableAccountOrderRecord) Unset()
- type NullableAccountOrderRecordChildBrokerageOrderIds
- func (v NullableAccountOrderRecordChildBrokerageOrderIds) Get() *AccountOrderRecordChildBrokerageOrderIds
- func (v NullableAccountOrderRecordChildBrokerageOrderIds) IsSet() bool
- func (v NullableAccountOrderRecordChildBrokerageOrderIds) MarshalJSON() ([]byte, error)
- func (v *NullableAccountOrderRecordChildBrokerageOrderIds) Set(val *AccountOrderRecordChildBrokerageOrderIds)
- func (v *NullableAccountOrderRecordChildBrokerageOrderIds) UnmarshalJSON(src []byte) error
- func (v *NullableAccountOrderRecordChildBrokerageOrderIds) Unset()
- type NullableAccountOrderRecordLeg
- func (v NullableAccountOrderRecordLeg) Get() *AccountOrderRecordLeg
- func (v NullableAccountOrderRecordLeg) IsSet() bool
- func (v NullableAccountOrderRecordLeg) MarshalJSON() ([]byte, error)
- func (v *NullableAccountOrderRecordLeg) Set(val *AccountOrderRecordLeg)
- func (v *NullableAccountOrderRecordLeg) UnmarshalJSON(src []byte) error
- func (v *NullableAccountOrderRecordLeg) Unset()
- type NullableAccountOrderRecordLegInstrument
- func (v NullableAccountOrderRecordLegInstrument) Get() *AccountOrderRecordLegInstrument
- func (v NullableAccountOrderRecordLegInstrument) IsSet() bool
- func (v NullableAccountOrderRecordLegInstrument) MarshalJSON() ([]byte, error)
- func (v *NullableAccountOrderRecordLegInstrument) Set(val *AccountOrderRecordLegInstrument)
- func (v *NullableAccountOrderRecordLegInstrument) UnmarshalJSON(src []byte) error
- func (v *NullableAccountOrderRecordLegInstrument) Unset()
- type NullableAccountOrderRecordOptionSymbol
- func (v NullableAccountOrderRecordOptionSymbol) Get() *AccountOrderRecordOptionSymbol
- func (v NullableAccountOrderRecordOptionSymbol) IsSet() bool
- func (v NullableAccountOrderRecordOptionSymbol) MarshalJSON() ([]byte, error)
- func (v *NullableAccountOrderRecordOptionSymbol) Set(val *AccountOrderRecordOptionSymbol)
- func (v *NullableAccountOrderRecordOptionSymbol) UnmarshalJSON(src []byte) error
- func (v *NullableAccountOrderRecordOptionSymbol) Unset()
- type NullableAccountOrderRecordQuoteCurrency
- func (v NullableAccountOrderRecordQuoteCurrency) Get() *AccountOrderRecordQuoteCurrency
- func (v NullableAccountOrderRecordQuoteCurrency) IsSet() bool
- func (v NullableAccountOrderRecordQuoteCurrency) MarshalJSON() ([]byte, error)
- func (v *NullableAccountOrderRecordQuoteCurrency) Set(val *AccountOrderRecordQuoteCurrency)
- func (v *NullableAccountOrderRecordQuoteCurrency) UnmarshalJSON(src []byte) error
- func (v *NullableAccountOrderRecordQuoteCurrency) Unset()
- type NullableAccountOrderRecordQuoteUniversalSymbol
- func (v NullableAccountOrderRecordQuoteUniversalSymbol) Get() *AccountOrderRecordQuoteUniversalSymbol
- func (v NullableAccountOrderRecordQuoteUniversalSymbol) IsSet() bool
- func (v NullableAccountOrderRecordQuoteUniversalSymbol) MarshalJSON() ([]byte, error)
- func (v *NullableAccountOrderRecordQuoteUniversalSymbol) Set(val *AccountOrderRecordQuoteUniversalSymbol)
- func (v *NullableAccountOrderRecordQuoteUniversalSymbol) UnmarshalJSON(src []byte) error
- func (v *NullableAccountOrderRecordQuoteUniversalSymbol) Unset()
- type NullableAccountOrderRecordStatus
- func (v NullableAccountOrderRecordStatus) Get() *AccountOrderRecordStatus
- func (v NullableAccountOrderRecordStatus) IsSet() bool
- func (v NullableAccountOrderRecordStatus) MarshalJSON() ([]byte, error)
- func (v *NullableAccountOrderRecordStatus) Set(val *AccountOrderRecordStatus)
- func (v *NullableAccountOrderRecordStatus) UnmarshalJSON(src []byte) error
- func (v *NullableAccountOrderRecordStatus) Unset()
- type NullableAccountOrderRecordStatusV2
- func (v NullableAccountOrderRecordStatusV2) Get() *AccountOrderRecordStatusV2
- func (v NullableAccountOrderRecordStatusV2) IsSet() bool
- func (v NullableAccountOrderRecordStatusV2) MarshalJSON() ([]byte, error)
- func (v *NullableAccountOrderRecordStatusV2) Set(val *AccountOrderRecordStatusV2)
- func (v *NullableAccountOrderRecordStatusV2) UnmarshalJSON(src []byte) error
- func (v *NullableAccountOrderRecordStatusV2) Unset()
- type NullableAccountOrderRecordUniversalSymbol
- func (v NullableAccountOrderRecordUniversalSymbol) Get() *AccountOrderRecordUniversalSymbol
- func (v NullableAccountOrderRecordUniversalSymbol) IsSet() bool
- func (v NullableAccountOrderRecordUniversalSymbol) MarshalJSON() ([]byte, error)
- func (v *NullableAccountOrderRecordUniversalSymbol) Set(val *AccountOrderRecordUniversalSymbol)
- func (v *NullableAccountOrderRecordUniversalSymbol) UnmarshalJSON(src []byte) error
- func (v *NullableAccountOrderRecordUniversalSymbol) Unset()
- type NullableAccountOrderRecordV2
- func (v NullableAccountOrderRecordV2) Get() *AccountOrderRecordV2
- func (v NullableAccountOrderRecordV2) IsSet() bool
- func (v NullableAccountOrderRecordV2) MarshalJSON() ([]byte, error)
- func (v *NullableAccountOrderRecordV2) Set(val *AccountOrderRecordV2)
- func (v *NullableAccountOrderRecordV2) UnmarshalJSON(src []byte) error
- func (v *NullableAccountOrderRecordV2) Unset()
- type NullableAccountOrdersV2Response
- func (v NullableAccountOrdersV2Response) Get() *AccountOrdersV2Response
- func (v NullableAccountOrdersV2Response) IsSet() bool
- func (v NullableAccountOrdersV2Response) MarshalJSON() ([]byte, error)
- func (v *NullableAccountOrdersV2Response) Set(val *AccountOrdersV2Response)
- func (v *NullableAccountOrdersV2Response) UnmarshalJSON(src []byte) error
- func (v *NullableAccountOrdersV2Response) Unset()
- type NullableAccountSimple
- func (v NullableAccountSimple) Get() *AccountSimple
- func (v NullableAccountSimple) IsSet() bool
- func (v NullableAccountSimple) MarshalJSON() ([]byte, error)
- func (v *NullableAccountSimple) Set(val *AccountSimple)
- func (v *NullableAccountSimple) UnmarshalJSON(src []byte) error
- func (v *NullableAccountSimple) Unset()
- type NullableAccountSyncStatus
- func (v NullableAccountSyncStatus) Get() *AccountSyncStatus
- func (v NullableAccountSyncStatus) IsSet() bool
- func (v NullableAccountSyncStatus) MarshalJSON() ([]byte, error)
- func (v *NullableAccountSyncStatus) Set(val *AccountSyncStatus)
- func (v *NullableAccountSyncStatus) UnmarshalJSON(src []byte) error
- func (v *NullableAccountSyncStatus) Unset()
- type NullableAccountUniversalActivity
- func (v NullableAccountUniversalActivity) Get() *AccountUniversalActivity
- func (v NullableAccountUniversalActivity) IsSet() bool
- func (v NullableAccountUniversalActivity) MarshalJSON() ([]byte, error)
- func (v *NullableAccountUniversalActivity) Set(val *AccountUniversalActivity)
- func (v *NullableAccountUniversalActivity) UnmarshalJSON(src []byte) error
- func (v *NullableAccountUniversalActivity) Unset()
- type NullableAccountUniversalActivityCurrency
- func (v NullableAccountUniversalActivityCurrency) Get() *AccountUniversalActivityCurrency
- func (v NullableAccountUniversalActivityCurrency) IsSet() bool
- func (v NullableAccountUniversalActivityCurrency) MarshalJSON() ([]byte, error)
- func (v *NullableAccountUniversalActivityCurrency) Set(val *AccountUniversalActivityCurrency)
- func (v *NullableAccountUniversalActivityCurrency) UnmarshalJSON(src []byte) error
- func (v *NullableAccountUniversalActivityCurrency) Unset()
- type NullableAccountUniversalActivityOptionSymbol
- func (v NullableAccountUniversalActivityOptionSymbol) Get() *AccountUniversalActivityOptionSymbol
- func (v NullableAccountUniversalActivityOptionSymbol) IsSet() bool
- func (v NullableAccountUniversalActivityOptionSymbol) MarshalJSON() ([]byte, error)
- func (v *NullableAccountUniversalActivityOptionSymbol) Set(val *AccountUniversalActivityOptionSymbol)
- func (v *NullableAccountUniversalActivityOptionSymbol) UnmarshalJSON(src []byte) error
- func (v *NullableAccountUniversalActivityOptionSymbol) Unset()
- type NullableAccountUniversalActivitySymbol
- func (v NullableAccountUniversalActivitySymbol) Get() *AccountUniversalActivitySymbol
- func (v NullableAccountUniversalActivitySymbol) IsSet() bool
- func (v NullableAccountUniversalActivitySymbol) MarshalJSON() ([]byte, error)
- func (v *NullableAccountUniversalActivitySymbol) Set(val *AccountUniversalActivitySymbol)
- func (v *NullableAccountUniversalActivitySymbol) UnmarshalJSON(src []byte) error
- func (v *NullableAccountUniversalActivitySymbol) Unset()
- type NullableActionStrict
- func (v NullableActionStrict) Get() *ActionStrict
- func (v NullableActionStrict) IsSet() bool
- func (v NullableActionStrict) MarshalJSON() ([]byte, error)
- func (v *NullableActionStrict) Set(val *ActionStrict)
- func (v *NullableActionStrict) UnmarshalJSON(src []byte) error
- func (v *NullableActionStrict) Unset()
- type NullableActionStrictWithOptions
- func (v NullableActionStrictWithOptions) Get() *ActionStrictWithOptions
- func (v NullableActionStrictWithOptions) IsSet() bool
- func (v NullableActionStrictWithOptions) MarshalJSON() ([]byte, error)
- func (v *NullableActionStrictWithOptions) Set(val *ActionStrictWithOptions)
- func (v *NullableActionStrictWithOptions) UnmarshalJSON(src []byte) error
- func (v *NullableActionStrictWithOptions) Unset()
- type NullableAuthenticationLoginSnapTradeUser200Response
- func (v NullableAuthenticationLoginSnapTradeUser200Response) Get() *AuthenticationLoginSnapTradeUser200Response
- func (v NullableAuthenticationLoginSnapTradeUser200Response) IsSet() bool
- func (v NullableAuthenticationLoginSnapTradeUser200Response) MarshalJSON() ([]byte, error)
- func (v *NullableAuthenticationLoginSnapTradeUser200Response) Set(val *AuthenticationLoginSnapTradeUser200Response)
- func (v *NullableAuthenticationLoginSnapTradeUser200Response) UnmarshalJSON(src []byte) error
- func (v *NullableAuthenticationLoginSnapTradeUser200Response) Unset()
- type NullableBalance
- type NullableBalanceCurrency
- func (v NullableBalanceCurrency) Get() *BalanceCurrency
- func (v NullableBalanceCurrency) IsSet() bool
- func (v NullableBalanceCurrency) MarshalJSON() ([]byte, error)
- func (v *NullableBalanceCurrency) Set(val *BalanceCurrency)
- func (v *NullableBalanceCurrency) UnmarshalJSON(src []byte) error
- func (v *NullableBalanceCurrency) Unset()
- type NullableBool
- type NullableBrokerage
- type NullableBrokerageAuthorization
- func (v NullableBrokerageAuthorization) Get() *BrokerageAuthorization
- func (v NullableBrokerageAuthorization) IsSet() bool
- func (v NullableBrokerageAuthorization) MarshalJSON() ([]byte, error)
- func (v *NullableBrokerageAuthorization) Set(val *BrokerageAuthorization)
- func (v *NullableBrokerageAuthorization) UnmarshalJSON(src []byte) error
- func (v *NullableBrokerageAuthorization) Unset()
- type NullableBrokerageAuthorizationDisabledConfirmation
- func (v NullableBrokerageAuthorizationDisabledConfirmation) Get() *BrokerageAuthorizationDisabledConfirmation
- func (v NullableBrokerageAuthorizationDisabledConfirmation) IsSet() bool
- func (v NullableBrokerageAuthorizationDisabledConfirmation) MarshalJSON() ([]byte, error)
- func (v *NullableBrokerageAuthorizationDisabledConfirmation) Set(val *BrokerageAuthorizationDisabledConfirmation)
- func (v *NullableBrokerageAuthorizationDisabledConfirmation) UnmarshalJSON(src []byte) error
- func (v *NullableBrokerageAuthorizationDisabledConfirmation) Unset()
- type NullableBrokerageAuthorizationRefreshConfirmation
- func (v NullableBrokerageAuthorizationRefreshConfirmation) Get() *BrokerageAuthorizationRefreshConfirmation
- func (v NullableBrokerageAuthorizationRefreshConfirmation) IsSet() bool
- func (v NullableBrokerageAuthorizationRefreshConfirmation) MarshalJSON() ([]byte, error)
- func (v *NullableBrokerageAuthorizationRefreshConfirmation) Set(val *BrokerageAuthorizationRefreshConfirmation)
- func (v *NullableBrokerageAuthorizationRefreshConfirmation) UnmarshalJSON(src []byte) error
- func (v *NullableBrokerageAuthorizationRefreshConfirmation) Unset()
- type NullableBrokerageAuthorizationTypeReadOnly
- func (v NullableBrokerageAuthorizationTypeReadOnly) Get() *BrokerageAuthorizationTypeReadOnly
- func (v NullableBrokerageAuthorizationTypeReadOnly) IsSet() bool
- func (v NullableBrokerageAuthorizationTypeReadOnly) MarshalJSON() ([]byte, error)
- func (v *NullableBrokerageAuthorizationTypeReadOnly) Set(val *BrokerageAuthorizationTypeReadOnly)
- func (v *NullableBrokerageAuthorizationTypeReadOnly) UnmarshalJSON(src []byte) error
- func (v *NullableBrokerageAuthorizationTypeReadOnly) Unset()
- type NullableBrokerageAuthorizationTypeReadOnlyBrokerage
- func (v NullableBrokerageAuthorizationTypeReadOnlyBrokerage) Get() *BrokerageAuthorizationTypeReadOnlyBrokerage
- func (v NullableBrokerageAuthorizationTypeReadOnlyBrokerage) IsSet() bool
- func (v NullableBrokerageAuthorizationTypeReadOnlyBrokerage) MarshalJSON() ([]byte, error)
- func (v *NullableBrokerageAuthorizationTypeReadOnlyBrokerage) Set(val *BrokerageAuthorizationTypeReadOnlyBrokerage)
- func (v *NullableBrokerageAuthorizationTypeReadOnlyBrokerage) UnmarshalJSON(src []byte) error
- func (v *NullableBrokerageAuthorizationTypeReadOnlyBrokerage) Unset()
- type NullableBrokerageInstrument
- func (v NullableBrokerageInstrument) Get() *BrokerageInstrument
- func (v NullableBrokerageInstrument) IsSet() bool
- func (v NullableBrokerageInstrument) MarshalJSON() ([]byte, error)
- func (v *NullableBrokerageInstrument) Set(val *BrokerageInstrument)
- func (v *NullableBrokerageInstrument) UnmarshalJSON(src []byte) error
- func (v *NullableBrokerageInstrument) Unset()
- type NullableBrokerageInstrumentsResponse
- func (v NullableBrokerageInstrumentsResponse) Get() *BrokerageInstrumentsResponse
- func (v NullableBrokerageInstrumentsResponse) IsSet() bool
- func (v NullableBrokerageInstrumentsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBrokerageInstrumentsResponse) Set(val *BrokerageInstrumentsResponse)
- func (v *NullableBrokerageInstrumentsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBrokerageInstrumentsResponse) Unset()
- type NullableBrokerageType
- func (v NullableBrokerageType) Get() *BrokerageType
- func (v NullableBrokerageType) IsSet() bool
- func (v NullableBrokerageType) MarshalJSON() ([]byte, error)
- func (v *NullableBrokerageType) Set(val *BrokerageType)
- func (v *NullableBrokerageType) UnmarshalJSON(src []byte) error
- func (v *NullableBrokerageType) Unset()
- type NullableCancelOrderResponse
- func (v NullableCancelOrderResponse) Get() *CancelOrderResponse
- func (v NullableCancelOrderResponse) IsSet() bool
- func (v NullableCancelOrderResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCancelOrderResponse) Set(val *CancelOrderResponse)
- func (v *NullableCancelOrderResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCancelOrderResponse) Unset()
- type NullableChildBrokerageOrderIDs
- func (v NullableChildBrokerageOrderIDs) Get() *ChildBrokerageOrderIDs
- func (v NullableChildBrokerageOrderIDs) IsSet() bool
- func (v NullableChildBrokerageOrderIDs) MarshalJSON() ([]byte, error)
- func (v *NullableChildBrokerageOrderIDs) Set(val *ChildBrokerageOrderIDs)
- func (v *NullableChildBrokerageOrderIDs) UnmarshalJSON(src []byte) error
- func (v *NullableChildBrokerageOrderIDs) Unset()
- type NullableCryptoOrderForm
- func (v NullableCryptoOrderForm) Get() *CryptoOrderForm
- func (v NullableCryptoOrderForm) IsSet() bool
- func (v NullableCryptoOrderForm) MarshalJSON() ([]byte, error)
- func (v *NullableCryptoOrderForm) Set(val *CryptoOrderForm)
- func (v *NullableCryptoOrderForm) UnmarshalJSON(src []byte) error
- func (v *NullableCryptoOrderForm) Unset()
- type NullableCryptoOrderPreview
- func (v NullableCryptoOrderPreview) Get() *CryptoOrderPreview
- func (v NullableCryptoOrderPreview) IsSet() bool
- func (v NullableCryptoOrderPreview) MarshalJSON() ([]byte, error)
- func (v *NullableCryptoOrderPreview) Set(val *CryptoOrderPreview)
- func (v *NullableCryptoOrderPreview) UnmarshalJSON(src []byte) error
- func (v *NullableCryptoOrderPreview) Unset()
- type NullableCryptoOrderPreviewEstimatedFee
- func (v NullableCryptoOrderPreviewEstimatedFee) Get() *CryptoOrderPreviewEstimatedFee
- func (v NullableCryptoOrderPreviewEstimatedFee) IsSet() bool
- func (v NullableCryptoOrderPreviewEstimatedFee) MarshalJSON() ([]byte, error)
- func (v *NullableCryptoOrderPreviewEstimatedFee) Set(val *CryptoOrderPreviewEstimatedFee)
- func (v *NullableCryptoOrderPreviewEstimatedFee) UnmarshalJSON(src []byte) error
- func (v *NullableCryptoOrderPreviewEstimatedFee) Unset()
- type NullableCryptoTradingInstrument
- func (v NullableCryptoTradingInstrument) Get() *CryptoTradingInstrument
- func (v NullableCryptoTradingInstrument) IsSet() bool
- func (v NullableCryptoTradingInstrument) MarshalJSON() ([]byte, error)
- func (v *NullableCryptoTradingInstrument) Set(val *CryptoTradingInstrument)
- func (v *NullableCryptoTradingInstrument) UnmarshalJSON(src []byte) error
- func (v *NullableCryptoTradingInstrument) Unset()
- type NullableCryptocurrencyPair
- func (v NullableCryptocurrencyPair) Get() *CryptocurrencyPair
- func (v NullableCryptocurrencyPair) IsSet() bool
- func (v NullableCryptocurrencyPair) MarshalJSON() ([]byte, error)
- func (v *NullableCryptocurrencyPair) Set(val *CryptocurrencyPair)
- func (v *NullableCryptocurrencyPair) UnmarshalJSON(src []byte) error
- func (v *NullableCryptocurrencyPair) Unset()
- type NullableCryptocurrencyPairQuote
- func (v NullableCryptocurrencyPairQuote) Get() *CryptocurrencyPairQuote
- func (v NullableCryptocurrencyPairQuote) IsSet() bool
- func (v NullableCryptocurrencyPairQuote) MarshalJSON() ([]byte, error)
- func (v *NullableCryptocurrencyPairQuote) Set(val *CryptocurrencyPairQuote)
- func (v *NullableCryptocurrencyPairQuote) UnmarshalJSON(src []byte) error
- func (v *NullableCryptocurrencyPairQuote) Unset()
- type NullableCurrency
- type NullableDeleteUserResponse
- func (v NullableDeleteUserResponse) Get() *DeleteUserResponse
- func (v NullableDeleteUserResponse) IsSet() bool
- func (v NullableDeleteUserResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteUserResponse) Set(val *DeleteUserResponse)
- func (v *NullableDeleteUserResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteUserResponse) Unset()
- type NullableDividendAtDate
- func (v NullableDividendAtDate) Get() *DividendAtDate
- func (v NullableDividendAtDate) IsSet() bool
- func (v NullableDividendAtDate) MarshalJSON() ([]byte, error)
- func (v *NullableDividendAtDate) Set(val *DividendAtDate)
- func (v *NullableDividendAtDate) UnmarshalJSON(src []byte) error
- func (v *NullableDividendAtDate) Unset()
- type NullableEncryptedResponse
- func (v NullableEncryptedResponse) Get() *EncryptedResponse
- func (v NullableEncryptedResponse) IsSet() bool
- func (v NullableEncryptedResponse) MarshalJSON() ([]byte, error)
- func (v *NullableEncryptedResponse) Set(val *EncryptedResponse)
- func (v *NullableEncryptedResponse) UnmarshalJSON(src []byte) error
- func (v *NullableEncryptedResponse) Unset()
- type NullableEncryptedResponseEncryptedMessageData
- func (v NullableEncryptedResponseEncryptedMessageData) Get() *EncryptedResponseEncryptedMessageData
- func (v NullableEncryptedResponseEncryptedMessageData) IsSet() bool
- func (v NullableEncryptedResponseEncryptedMessageData) MarshalJSON() ([]byte, error)
- func (v *NullableEncryptedResponseEncryptedMessageData) Set(val *EncryptedResponseEncryptedMessageData)
- func (v *NullableEncryptedResponseEncryptedMessageData) UnmarshalJSON(src []byte) error
- func (v *NullableEncryptedResponseEncryptedMessageData) Unset()
- type NullableExchange
- type NullableExchangeRatePairs
- func (v NullableExchangeRatePairs) Get() *ExchangeRatePairs
- func (v NullableExchangeRatePairs) IsSet() bool
- func (v NullableExchangeRatePairs) MarshalJSON() ([]byte, error)
- func (v *NullableExchangeRatePairs) Set(val *ExchangeRatePairs)
- func (v *NullableExchangeRatePairs) UnmarshalJSON(src []byte) error
- func (v *NullableExchangeRatePairs) Unset()
- type NullableFigiInstrument
- func (v NullableFigiInstrument) Get() *FigiInstrument
- func (v NullableFigiInstrument) IsSet() bool
- func (v NullableFigiInstrument) MarshalJSON() ([]byte, error)
- func (v *NullableFigiInstrument) Set(val *FigiInstrument)
- func (v *NullableFigiInstrument) UnmarshalJSON(src []byte) error
- func (v *NullableFigiInstrument) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableHoldingsStatus
- func (v NullableHoldingsStatus) Get() *HoldingsStatus
- func (v NullableHoldingsStatus) IsSet() bool
- func (v NullableHoldingsStatus) MarshalJSON() ([]byte, error)
- func (v *NullableHoldingsStatus) Set(val *HoldingsStatus)
- func (v *NullableHoldingsStatus) UnmarshalJSON(src []byte) error
- func (v *NullableHoldingsStatus) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLoginRedirectURI
- func (v NullableLoginRedirectURI) Get() *LoginRedirectURI
- func (v NullableLoginRedirectURI) IsSet() bool
- func (v NullableLoginRedirectURI) MarshalJSON() ([]byte, error)
- func (v *NullableLoginRedirectURI) Set(val *LoginRedirectURI)
- func (v *NullableLoginRedirectURI) UnmarshalJSON(src []byte) error
- func (v *NullableLoginRedirectURI) Unset()
- type NullableManualTrade
- func (v NullableManualTrade) Get() *ManualTrade
- func (v NullableManualTrade) IsSet() bool
- func (v NullableManualTrade) MarshalJSON() ([]byte, error)
- func (v *NullableManualTrade) Set(val *ManualTrade)
- func (v *NullableManualTrade) UnmarshalJSON(src []byte) error
- func (v *NullableManualTrade) Unset()
- type NullableManualTradeAndImpact
- func (v NullableManualTradeAndImpact) Get() *ManualTradeAndImpact
- func (v NullableManualTradeAndImpact) IsSet() bool
- func (v NullableManualTradeAndImpact) MarshalJSON() ([]byte, error)
- func (v *NullableManualTradeAndImpact) Set(val *ManualTradeAndImpact)
- func (v *NullableManualTradeAndImpact) UnmarshalJSON(src []byte) error
- func (v *NullableManualTradeAndImpact) Unset()
- type NullableManualTradeBalance
- func (v NullableManualTradeBalance) Get() *ManualTradeBalance
- func (v NullableManualTradeBalance) IsSet() bool
- func (v NullableManualTradeBalance) MarshalJSON() ([]byte, error)
- func (v *NullableManualTradeBalance) Set(val *ManualTradeBalance)
- func (v *NullableManualTradeBalance) UnmarshalJSON(src []byte) error
- func (v *NullableManualTradeBalance) Unset()
- type NullableManualTradeForm
- func (v NullableManualTradeForm) Get() *ManualTradeForm
- func (v NullableManualTradeForm) IsSet() bool
- func (v NullableManualTradeForm) MarshalJSON() ([]byte, error)
- func (v *NullableManualTradeForm) Set(val *ManualTradeForm)
- func (v *NullableManualTradeForm) UnmarshalJSON(src []byte) error
- func (v *NullableManualTradeForm) Unset()
- type NullableManualTradeFormBracket
- func (v NullableManualTradeFormBracket) Get() *ManualTradeFormBracket
- func (v NullableManualTradeFormBracket) IsSet() bool
- func (v NullableManualTradeFormBracket) MarshalJSON() ([]byte, error)
- func (v *NullableManualTradeFormBracket) Set(val *ManualTradeFormBracket)
- func (v *NullableManualTradeFormBracket) UnmarshalJSON(src []byte) error
- func (v *NullableManualTradeFormBracket) Unset()
- type NullableManualTradeFormNotionalValue
- func (v NullableManualTradeFormNotionalValue) Get() *ManualTradeFormNotionalValue
- func (v NullableManualTradeFormNotionalValue) IsSet() bool
- func (v NullableManualTradeFormNotionalValue) MarshalJSON() ([]byte, error)
- func (v *NullableManualTradeFormNotionalValue) Set(val *ManualTradeFormNotionalValue)
- func (v *NullableManualTradeFormNotionalValue) UnmarshalJSON(src []byte) error
- func (v *NullableManualTradeFormNotionalValue) Unset()
- type NullableManualTradeFormWithOptions
- func (v NullableManualTradeFormWithOptions) Get() *ManualTradeFormWithOptions
- func (v NullableManualTradeFormWithOptions) IsSet() bool
- func (v NullableManualTradeFormWithOptions) MarshalJSON() ([]byte, error)
- func (v *NullableManualTradeFormWithOptions) Set(val *ManualTradeFormWithOptions)
- func (v *NullableManualTradeFormWithOptions) UnmarshalJSON(src []byte) error
- func (v *NullableManualTradeFormWithOptions) Unset()
- type NullableManualTradeImpact
- func (v NullableManualTradeImpact) Get() *ManualTradeImpact
- func (v NullableManualTradeImpact) IsSet() bool
- func (v NullableManualTradeImpact) MarshalJSON() ([]byte, error)
- func (v *NullableManualTradeImpact) Set(val *ManualTradeImpact)
- func (v *NullableManualTradeImpact) UnmarshalJSON(src []byte) error
- func (v *NullableManualTradeImpact) Unset()
- type NullableManualTradeReplaceForm
- func (v NullableManualTradeReplaceForm) Get() *ManualTradeReplaceForm
- func (v NullableManualTradeReplaceForm) IsSet() bool
- func (v NullableManualTradeReplaceForm) MarshalJSON() ([]byte, error)
- func (v *NullableManualTradeReplaceForm) Set(val *ManualTradeReplaceForm)
- func (v *NullableManualTradeReplaceForm) UnmarshalJSON(src []byte) error
- func (v *NullableManualTradeReplaceForm) Unset()
- type NullableManualTradeSymbol
- func (v NullableManualTradeSymbol) Get() *ManualTradeSymbol
- func (v NullableManualTradeSymbol) IsSet() bool
- func (v NullableManualTradeSymbol) MarshalJSON() ([]byte, error)
- func (v *NullableManualTradeSymbol) Set(val *ManualTradeSymbol)
- func (v *NullableManualTradeSymbol) UnmarshalJSON(src []byte) error
- func (v *NullableManualTradeSymbol) Unset()
- type NullableMlegActionStrict
- func (v NullableMlegActionStrict) Get() *MlegActionStrict
- func (v NullableMlegActionStrict) IsSet() bool
- func (v NullableMlegActionStrict) MarshalJSON() ([]byte, error)
- func (v *NullableMlegActionStrict) Set(val *MlegActionStrict)
- func (v *NullableMlegActionStrict) UnmarshalJSON(src []byte) error
- func (v *NullableMlegActionStrict) Unset()
- type NullableMlegInstrumentType
- func (v NullableMlegInstrumentType) Get() *MlegInstrumentType
- func (v NullableMlegInstrumentType) IsSet() bool
- func (v NullableMlegInstrumentType) MarshalJSON() ([]byte, error)
- func (v *NullableMlegInstrumentType) Set(val *MlegInstrumentType)
- func (v *NullableMlegInstrumentType) UnmarshalJSON(src []byte) error
- func (v *NullableMlegInstrumentType) Unset()
- type NullableMlegLeg
- type NullableMlegOrderResponse
- func (v NullableMlegOrderResponse) Get() *MlegOrderResponse
- func (v NullableMlegOrderResponse) IsSet() bool
- func (v NullableMlegOrderResponse) MarshalJSON() ([]byte, error)
- func (v *NullableMlegOrderResponse) Set(val *MlegOrderResponse)
- func (v *NullableMlegOrderResponse) UnmarshalJSON(src []byte) error
- func (v *NullableMlegOrderResponse) Unset()
- type NullableMlegOrderTypeStrict
- func (v NullableMlegOrderTypeStrict) Get() *MlegOrderTypeStrict
- func (v NullableMlegOrderTypeStrict) IsSet() bool
- func (v NullableMlegOrderTypeStrict) MarshalJSON() ([]byte, error)
- func (v *NullableMlegOrderTypeStrict) Set(val *MlegOrderTypeStrict)
- func (v *NullableMlegOrderTypeStrict) UnmarshalJSON(src []byte) error
- func (v *NullableMlegOrderTypeStrict) Unset()
- type NullableMlegPriceEffectStrict
- func (v NullableMlegPriceEffectStrict) Get() *MlegPriceEffectStrict
- func (v NullableMlegPriceEffectStrict) IsSet() bool
- func (v NullableMlegPriceEffectStrict) MarshalJSON() ([]byte, error)
- func (v *NullableMlegPriceEffectStrict) Set(val *MlegPriceEffectStrict)
- func (v *NullableMlegPriceEffectStrict) UnmarshalJSON(src []byte) error
- func (v *NullableMlegPriceEffectStrict) Unset()
- type NullableMlegTradeForm
- func (v NullableMlegTradeForm) Get() *MlegTradeForm
- func (v NullableMlegTradeForm) IsSet() bool
- func (v NullableMlegTradeForm) MarshalJSON() ([]byte, error)
- func (v *NullableMlegTradeForm) Set(val *MlegTradeForm)
- func (v *NullableMlegTradeForm) UnmarshalJSON(src []byte) error
- func (v *NullableMlegTradeForm) Unset()
- type NullableMlegTradingInstrument
- func (v NullableMlegTradingInstrument) Get() *MlegTradingInstrument
- func (v NullableMlegTradingInstrument) IsSet() bool
- func (v NullableMlegTradingInstrument) MarshalJSON() ([]byte, error)
- func (v *NullableMlegTradingInstrument) Set(val *MlegTradingInstrument)
- func (v *NullableMlegTradingInstrument) UnmarshalJSON(src []byte) error
- func (v *NullableMlegTradingInstrument) Unset()
- type NullableModel400FailedRequestResponse
- func (v NullableModel400FailedRequestResponse) Get() *Model400FailedRequestResponse
- func (v NullableModel400FailedRequestResponse) IsSet() bool
- func (v NullableModel400FailedRequestResponse) MarshalJSON() ([]byte, error)
- func (v *NullableModel400FailedRequestResponse) Set(val *Model400FailedRequestResponse)
- func (v *NullableModel400FailedRequestResponse) UnmarshalJSON(src []byte) error
- func (v *NullableModel400FailedRequestResponse) Unset()
- type NullableModel401FailedRequestResponse
- func (v NullableModel401FailedRequestResponse) Get() *Model401FailedRequestResponse
- func (v NullableModel401FailedRequestResponse) IsSet() bool
- func (v NullableModel401FailedRequestResponse) MarshalJSON() ([]byte, error)
- func (v *NullableModel401FailedRequestResponse) Set(val *Model401FailedRequestResponse)
- func (v *NullableModel401FailedRequestResponse) UnmarshalJSON(src []byte) error
- func (v *NullableModel401FailedRequestResponse) Unset()
- type NullableModel402BrokerageAuthAlreadyDisabledException
- func (v NullableModel402BrokerageAuthAlreadyDisabledException) Get() *Model402BrokerageAuthAlreadyDisabledException
- func (v NullableModel402BrokerageAuthAlreadyDisabledException) IsSet() bool
- func (v NullableModel402BrokerageAuthAlreadyDisabledException) MarshalJSON() ([]byte, error)
- func (v *NullableModel402BrokerageAuthAlreadyDisabledException) Set(val *Model402BrokerageAuthAlreadyDisabledException)
- func (v *NullableModel402BrokerageAuthAlreadyDisabledException) UnmarshalJSON(src []byte) error
- func (v *NullableModel402BrokerageAuthAlreadyDisabledException) Unset()
- type NullableModel402BrokerageAuthDisabledResponse
- func (v NullableModel402BrokerageAuthDisabledResponse) Get() *Model402BrokerageAuthDisabledResponse
- func (v NullableModel402BrokerageAuthDisabledResponse) IsSet() bool
- func (v NullableModel402BrokerageAuthDisabledResponse) MarshalJSON() ([]byte, error)
- func (v *NullableModel402BrokerageAuthDisabledResponse) Set(val *Model402BrokerageAuthDisabledResponse)
- func (v *NullableModel402BrokerageAuthDisabledResponse) UnmarshalJSON(src []byte) error
- func (v *NullableModel402BrokerageAuthDisabledResponse) Unset()
- type NullableModel403FailedRequestResponse
- func (v NullableModel403FailedRequestResponse) Get() *Model403FailedRequestResponse
- func (v NullableModel403FailedRequestResponse) IsSet() bool
- func (v NullableModel403FailedRequestResponse) MarshalJSON() ([]byte, error)
- func (v *NullableModel403FailedRequestResponse) Set(val *Model403FailedRequestResponse)
- func (v *NullableModel403FailedRequestResponse) UnmarshalJSON(src []byte) error
- func (v *NullableModel403FailedRequestResponse) Unset()
- type NullableModel403FeatureNotEnabledResponse
- func (v NullableModel403FeatureNotEnabledResponse) Get() *Model403FeatureNotEnabledResponse
- func (v NullableModel403FeatureNotEnabledResponse) IsSet() bool
- func (v NullableModel403FeatureNotEnabledResponse) MarshalJSON() ([]byte, error)
- func (v *NullableModel403FeatureNotEnabledResponse) Set(val *Model403FeatureNotEnabledResponse)
- func (v *NullableModel403FeatureNotEnabledResponse) UnmarshalJSON(src []byte) error
- func (v *NullableModel403FeatureNotEnabledResponse) Unset()
- type NullableModel404FailedRequestResponse
- func (v NullableModel404FailedRequestResponse) Get() *Model404FailedRequestResponse
- func (v NullableModel404FailedRequestResponse) IsSet() bool
- func (v NullableModel404FailedRequestResponse) MarshalJSON() ([]byte, error)
- func (v *NullableModel404FailedRequestResponse) Set(val *Model404FailedRequestResponse)
- func (v *NullableModel404FailedRequestResponse) UnmarshalJSON(src []byte) error
- func (v *NullableModel404FailedRequestResponse) Unset()
- type NullableModel425FailedRequestResponse
- func (v NullableModel425FailedRequestResponse) Get() *Model425FailedRequestResponse
- func (v NullableModel425FailedRequestResponse) IsSet() bool
- func (v NullableModel425FailedRequestResponse) MarshalJSON() ([]byte, error)
- func (v *NullableModel425FailedRequestResponse) Set(val *Model425FailedRequestResponse)
- func (v *NullableModel425FailedRequestResponse) UnmarshalJSON(src []byte) error
- func (v *NullableModel425FailedRequestResponse) Unset()
- type NullableModel500UnexpectedExceptionResponse
- func (v NullableModel500UnexpectedExceptionResponse) Get() *Model500UnexpectedExceptionResponse
- func (v NullableModel500UnexpectedExceptionResponse) IsSet() bool
- func (v NullableModel500UnexpectedExceptionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableModel500UnexpectedExceptionResponse) Set(val *Model500UnexpectedExceptionResponse)
- func (v *NullableModel500UnexpectedExceptionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableModel500UnexpectedExceptionResponse) Unset()
- type NullableMonthlyDividends
- func (v NullableMonthlyDividends) Get() *MonthlyDividends
- func (v NullableMonthlyDividends) IsSet() bool
- func (v NullableMonthlyDividends) MarshalJSON() ([]byte, error)
- func (v *NullableMonthlyDividends) Set(val *MonthlyDividends)
- func (v *NullableMonthlyDividends) UnmarshalJSON(src []byte) error
- func (v *NullableMonthlyDividends) Unset()
- type NullableNetContributions
- func (v NullableNetContributions) Get() *NetContributions
- func (v NullableNetContributions) IsSet() bool
- func (v NullableNetContributions) MarshalJSON() ([]byte, error)
- func (v *NullableNetContributions) Set(val *NetContributions)
- func (v *NullableNetContributions) UnmarshalJSON(src []byte) error
- func (v *NullableNetContributions) Unset()
- type NullableNetDividend
- func (v NullableNetDividend) Get() *NetDividend
- func (v NullableNetDividend) IsSet() bool
- func (v NullableNetDividend) MarshalJSON() ([]byte, error)
- func (v *NullableNetDividend) Set(val *NetDividend)
- func (v *NullableNetDividend) UnmarshalJSON(src []byte) error
- func (v *NullableNetDividend) Unset()
- type NullableNotionalValue
- func (v NullableNotionalValue) Get() *NotionalValue
- func (v NullableNotionalValue) IsSet() bool
- func (v NullableNotionalValue) MarshalJSON() ([]byte, error)
- func (v *NullableNotionalValue) Set(val *NotionalValue)
- func (v *NullableNotionalValue) UnmarshalJSON(src []byte) error
- func (v *NullableNotionalValue) Unset()
- type NullableOptionBrokerageSymbol
- func (v NullableOptionBrokerageSymbol) Get() *OptionBrokerageSymbol
- func (v NullableOptionBrokerageSymbol) IsSet() bool
- func (v NullableOptionBrokerageSymbol) MarshalJSON() ([]byte, error)
- func (v *NullableOptionBrokerageSymbol) Set(val *OptionBrokerageSymbol)
- func (v *NullableOptionBrokerageSymbol) UnmarshalJSON(src []byte) error
- func (v *NullableOptionBrokerageSymbol) Unset()
- type NullableOptionChainInner
- func (v NullableOptionChainInner) Get() *OptionChainInner
- func (v NullableOptionChainInner) IsSet() bool
- func (v NullableOptionChainInner) MarshalJSON() ([]byte, error)
- func (v *NullableOptionChainInner) Set(val *OptionChainInner)
- func (v *NullableOptionChainInner) UnmarshalJSON(src []byte) error
- func (v *NullableOptionChainInner) Unset()
- type NullableOptionChainInnerChainPerRootInner
- func (v NullableOptionChainInnerChainPerRootInner) Get() *OptionChainInnerChainPerRootInner
- func (v NullableOptionChainInnerChainPerRootInner) IsSet() bool
- func (v NullableOptionChainInnerChainPerRootInner) MarshalJSON() ([]byte, error)
- func (v *NullableOptionChainInnerChainPerRootInner) Set(val *OptionChainInnerChainPerRootInner)
- func (v *NullableOptionChainInnerChainPerRootInner) UnmarshalJSON(src []byte) error
- func (v *NullableOptionChainInnerChainPerRootInner) Unset()
- type NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner
- func (v NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner) Get() *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner
- func (v NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner) IsSet() bool
- func (v NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner) MarshalJSON() ([]byte, error)
- func (v *NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner) Set(val *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner)
- func (v *NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner) UnmarshalJSON(src []byte) error
- func (v *NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner) Unset()
- type NullableOptionLeg
- type NullableOptionStrategy
- func (v NullableOptionStrategy) Get() *OptionStrategy
- func (v NullableOptionStrategy) IsSet() bool
- func (v NullableOptionStrategy) MarshalJSON() ([]byte, error)
- func (v *NullableOptionStrategy) Set(val *OptionStrategy)
- func (v *NullableOptionStrategy) UnmarshalJSON(src []byte) error
- func (v *NullableOptionStrategy) Unset()
- type NullableOptionStrategyLegsInner
- func (v NullableOptionStrategyLegsInner) Get() *OptionStrategyLegsInner
- func (v NullableOptionStrategyLegsInner) IsSet() bool
- func (v NullableOptionStrategyLegsInner) MarshalJSON() ([]byte, error)
- func (v *NullableOptionStrategyLegsInner) Set(val *OptionStrategyLegsInner)
- func (v *NullableOptionStrategyLegsInner) UnmarshalJSON(src []byte) error
- func (v *NullableOptionStrategyLegsInner) Unset()
- type NullableOptionsPosition
- func (v NullableOptionsPosition) Get() *OptionsPosition
- func (v NullableOptionsPosition) IsSet() bool
- func (v NullableOptionsPosition) MarshalJSON() ([]byte, error)
- func (v *NullableOptionsPosition) Set(val *OptionsPosition)
- func (v *NullableOptionsPosition) UnmarshalJSON(src []byte) error
- func (v *NullableOptionsPosition) Unset()
- type NullableOptionsPositionCurrency
- func (v NullableOptionsPositionCurrency) Get() *OptionsPositionCurrency
- func (v NullableOptionsPositionCurrency) IsSet() bool
- func (v NullableOptionsPositionCurrency) MarshalJSON() ([]byte, error)
- func (v *NullableOptionsPositionCurrency) Set(val *OptionsPositionCurrency)
- func (v *NullableOptionsPositionCurrency) UnmarshalJSON(src []byte) error
- func (v *NullableOptionsPositionCurrency) Unset()
- type NullableOptionsSymbol
- func (v NullableOptionsSymbol) Get() *OptionsSymbol
- func (v NullableOptionsSymbol) IsSet() bool
- func (v NullableOptionsSymbol) MarshalJSON() ([]byte, error)
- func (v *NullableOptionsSymbol) Set(val *OptionsSymbol)
- func (v *NullableOptionsSymbol) UnmarshalJSON(src []byte) error
- func (v *NullableOptionsSymbol) Unset()
- type NullableOrderTypeStrict
- func (v NullableOrderTypeStrict) Get() *OrderTypeStrict
- func (v NullableOrderTypeStrict) IsSet() bool
- func (v NullableOrderTypeStrict) MarshalJSON() ([]byte, error)
- func (v *NullableOrderTypeStrict) Set(val *OrderTypeStrict)
- func (v *NullableOrderTypeStrict) UnmarshalJSON(src []byte) error
- func (v *NullableOrderTypeStrict) Unset()
- type NullableOrderUpdatedResponse
- func (v NullableOrderUpdatedResponse) Get() *OrderUpdatedResponse
- func (v NullableOrderUpdatedResponse) IsSet() bool
- func (v NullableOrderUpdatedResponse) MarshalJSON() ([]byte, error)
- func (v *NullableOrderUpdatedResponse) Set(val *OrderUpdatedResponse)
- func (v *NullableOrderUpdatedResponse) UnmarshalJSON(src []byte) error
- func (v *NullableOrderUpdatedResponse) Unset()
- type NullablePaginatedUniversalActivity
- func (v NullablePaginatedUniversalActivity) Get() *PaginatedUniversalActivity
- func (v NullablePaginatedUniversalActivity) IsSet() bool
- func (v NullablePaginatedUniversalActivity) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedUniversalActivity) Set(val *PaginatedUniversalActivity)
- func (v *NullablePaginatedUniversalActivity) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedUniversalActivity) Unset()
- type NullablePaginationDetails
- func (v NullablePaginationDetails) Get() *PaginationDetails
- func (v NullablePaginationDetails) IsSet() bool
- func (v NullablePaginationDetails) MarshalJSON() ([]byte, error)
- func (v *NullablePaginationDetails) Set(val *PaginationDetails)
- func (v *NullablePaginationDetails) UnmarshalJSON(src []byte) error
- func (v *NullablePaginationDetails) Unset()
- type NullablePartnerData
- func (v NullablePartnerData) Get() *PartnerData
- func (v NullablePartnerData) IsSet() bool
- func (v NullablePartnerData) MarshalJSON() ([]byte, error)
- func (v *NullablePartnerData) Set(val *PartnerData)
- func (v *NullablePartnerData) UnmarshalJSON(src []byte) error
- func (v *NullablePartnerData) Unset()
- type NullablePastValue
- type NullablePerformanceCustom
- func (v NullablePerformanceCustom) Get() *PerformanceCustom
- func (v NullablePerformanceCustom) IsSet() bool
- func (v NullablePerformanceCustom) MarshalJSON() ([]byte, error)
- func (v *NullablePerformanceCustom) Set(val *PerformanceCustom)
- func (v *NullablePerformanceCustom) UnmarshalJSON(src []byte) error
- func (v *NullablePerformanceCustom) Unset()
- type NullablePosition
- type NullablePositionCurrency
- func (v NullablePositionCurrency) Get() *PositionCurrency
- func (v NullablePositionCurrency) IsSet() bool
- func (v NullablePositionCurrency) MarshalJSON() ([]byte, error)
- func (v *NullablePositionCurrency) Set(val *PositionCurrency)
- func (v *NullablePositionCurrency) UnmarshalJSON(src []byte) error
- func (v *NullablePositionCurrency) Unset()
- type NullablePositionSymbol
- func (v NullablePositionSymbol) Get() *PositionSymbol
- func (v NullablePositionSymbol) IsSet() bool
- func (v NullablePositionSymbol) MarshalJSON() ([]byte, error)
- func (v *NullablePositionSymbol) Set(val *PositionSymbol)
- func (v *NullablePositionSymbol) UnmarshalJSON(src []byte) error
- func (v *NullablePositionSymbol) Unset()
- type NullableRateOfReturnObject
- func (v NullableRateOfReturnObject) Get() *RateOfReturnObject
- func (v NullableRateOfReturnObject) IsSet() bool
- func (v NullableRateOfReturnObject) MarshalJSON() ([]byte, error)
- func (v *NullableRateOfReturnObject) Set(val *RateOfReturnObject)
- func (v *NullableRateOfReturnObject) UnmarshalJSON(src []byte) error
- func (v *NullableRateOfReturnObject) Unset()
- type NullableRateOfReturnResponse
- func (v NullableRateOfReturnResponse) Get() *RateOfReturnResponse
- func (v NullableRateOfReturnResponse) IsSet() bool
- func (v NullableRateOfReturnResponse) MarshalJSON() ([]byte, error)
- func (v *NullableRateOfReturnResponse) Set(val *RateOfReturnResponse)
- func (v *NullableRateOfReturnResponse) UnmarshalJSON(src []byte) error
- func (v *NullableRateOfReturnResponse) Unset()
- type NullableRecentOrdersResponse
- func (v NullableRecentOrdersResponse) Get() *RecentOrdersResponse
- func (v NullableRecentOrdersResponse) IsSet() bool
- func (v NullableRecentOrdersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableRecentOrdersResponse) Set(val *RecentOrdersResponse)
- func (v *NullableRecentOrdersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableRecentOrdersResponse) Unset()
- type NullableSecurityType
- func (v NullableSecurityType) Get() *SecurityType
- func (v NullableSecurityType) IsSet() bool
- func (v NullableSecurityType) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityType) Set(val *SecurityType)
- func (v *NullableSecurityType) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityType) Unset()
- type NullableSessionEvent
- func (v NullableSessionEvent) Get() *SessionEvent
- func (v NullableSessionEvent) IsSet() bool
- func (v NullableSessionEvent) MarshalJSON() ([]byte, error)
- func (v *NullableSessionEvent) Set(val *SessionEvent)
- func (v *NullableSessionEvent) UnmarshalJSON(src []byte) error
- func (v *NullableSessionEvent) Unset()
- type NullableSimpleOrderForm
- func (v NullableSimpleOrderForm) Get() *SimpleOrderForm
- func (v NullableSimpleOrderForm) IsSet() bool
- func (v NullableSimpleOrderForm) MarshalJSON() ([]byte, error)
- func (v *NullableSimpleOrderForm) Set(val *SimpleOrderForm)
- func (v *NullableSimpleOrderForm) UnmarshalJSON(src []byte) error
- func (v *NullableSimpleOrderForm) Unset()
- type NullableSnapTradeHoldingsAccount
- func (v NullableSnapTradeHoldingsAccount) Get() *SnapTradeHoldingsAccount
- func (v NullableSnapTradeHoldingsAccount) IsSet() bool
- func (v NullableSnapTradeHoldingsAccount) MarshalJSON() ([]byte, error)
- func (v *NullableSnapTradeHoldingsAccount) Set(val *SnapTradeHoldingsAccount)
- func (v *NullableSnapTradeHoldingsAccount) UnmarshalJSON(src []byte) error
- func (v *NullableSnapTradeHoldingsAccount) Unset()
- type NullableSnapTradeHoldingsTotalValue
- func (v NullableSnapTradeHoldingsTotalValue) Get() *SnapTradeHoldingsTotalValue
- func (v NullableSnapTradeHoldingsTotalValue) IsSet() bool
- func (v NullableSnapTradeHoldingsTotalValue) MarshalJSON() ([]byte, error)
- func (v *NullableSnapTradeHoldingsTotalValue) Set(val *SnapTradeHoldingsTotalValue)
- func (v *NullableSnapTradeHoldingsTotalValue) UnmarshalJSON(src []byte) error
- func (v *NullableSnapTradeHoldingsTotalValue) Unset()
- type NullableSnapTradeLoginUserRequestBody
- func (v NullableSnapTradeLoginUserRequestBody) Get() *SnapTradeLoginUserRequestBody
- func (v NullableSnapTradeLoginUserRequestBody) IsSet() bool
- func (v NullableSnapTradeLoginUserRequestBody) MarshalJSON() ([]byte, error)
- func (v *NullableSnapTradeLoginUserRequestBody) Set(val *SnapTradeLoginUserRequestBody)
- func (v *NullableSnapTradeLoginUserRequestBody) UnmarshalJSON(src []byte) error
- func (v *NullableSnapTradeLoginUserRequestBody) Unset()
- type NullableSnapTradeRegisterUserRequestBody
- func (v NullableSnapTradeRegisterUserRequestBody) Get() *SnapTradeRegisterUserRequestBody
- func (v NullableSnapTradeRegisterUserRequestBody) IsSet() bool
- func (v NullableSnapTradeRegisterUserRequestBody) MarshalJSON() ([]byte, error)
- func (v *NullableSnapTradeRegisterUserRequestBody) Set(val *SnapTradeRegisterUserRequestBody)
- func (v *NullableSnapTradeRegisterUserRequestBody) UnmarshalJSON(src []byte) error
- func (v *NullableSnapTradeRegisterUserRequestBody) Unset()
- type NullableStatus
- type NullableStopLoss
- type NullableStrategyOrderRecord
- func (v NullableStrategyOrderRecord) Get() *StrategyOrderRecord
- func (v NullableStrategyOrderRecord) IsSet() bool
- func (v NullableStrategyOrderRecord) MarshalJSON() ([]byte, error)
- func (v *NullableStrategyOrderRecord) Set(val *StrategyOrderRecord)
- func (v *NullableStrategyOrderRecord) UnmarshalJSON(src []byte) error
- func (v *NullableStrategyOrderRecord) Unset()
- type NullableStrategyQuotes
- func (v NullableStrategyQuotes) Get() *StrategyQuotes
- func (v NullableStrategyQuotes) IsSet() bool
- func (v NullableStrategyQuotes) MarshalJSON() ([]byte, error)
- func (v *NullableStrategyQuotes) Set(val *StrategyQuotes)
- func (v *NullableStrategyQuotes) UnmarshalJSON(src []byte) error
- func (v *NullableStrategyQuotes) Unset()
- type NullableStrategyQuotesGreek
- func (v NullableStrategyQuotesGreek) Get() *StrategyQuotesGreek
- func (v NullableStrategyQuotesGreek) IsSet() bool
- func (v NullableStrategyQuotesGreek) MarshalJSON() ([]byte, error)
- func (v *NullableStrategyQuotesGreek) Set(val *StrategyQuotesGreek)
- func (v *NullableStrategyQuotesGreek) UnmarshalJSON(src []byte) error
- func (v *NullableStrategyQuotesGreek) Unset()
- type NullableString
- type NullableSubPeriodReturnRate
- func (v NullableSubPeriodReturnRate) Get() *SubPeriodReturnRate
- func (v NullableSubPeriodReturnRate) IsSet() bool
- func (v NullableSubPeriodReturnRate) MarshalJSON() ([]byte, error)
- func (v *NullableSubPeriodReturnRate) Set(val *SubPeriodReturnRate)
- func (v *NullableSubPeriodReturnRate) UnmarshalJSON(src []byte) error
- func (v *NullableSubPeriodReturnRate) Unset()
- type NullableSymbol
- type NullableSymbolCurrency
- func (v NullableSymbolCurrency) Get() *SymbolCurrency
- func (v NullableSymbolCurrency) IsSet() bool
- func (v NullableSymbolCurrency) MarshalJSON() ([]byte, error)
- func (v *NullableSymbolCurrency) Set(val *SymbolCurrency)
- func (v *NullableSymbolCurrency) UnmarshalJSON(src []byte) error
- func (v *NullableSymbolCurrency) Unset()
- type NullableSymbolExchange
- func (v NullableSymbolExchange) Get() *SymbolExchange
- func (v NullableSymbolExchange) IsSet() bool
- func (v NullableSymbolExchange) MarshalJSON() ([]byte, error)
- func (v *NullableSymbolExchange) Set(val *SymbolExchange)
- func (v *NullableSymbolExchange) UnmarshalJSON(src []byte) error
- func (v *NullableSymbolExchange) Unset()
- type NullableSymbolFigiInstrument
- func (v NullableSymbolFigiInstrument) Get() *SymbolFigiInstrument
- func (v NullableSymbolFigiInstrument) IsSet() bool
- func (v NullableSymbolFigiInstrument) MarshalJSON() ([]byte, error)
- func (v *NullableSymbolFigiInstrument) Set(val *SymbolFigiInstrument)
- func (v *NullableSymbolFigiInstrument) UnmarshalJSON(src []byte) error
- func (v *NullableSymbolFigiInstrument) Unset()
- type NullableSymbolQuery
- func (v NullableSymbolQuery) Get() *SymbolQuery
- func (v NullableSymbolQuery) IsSet() bool
- func (v NullableSymbolQuery) MarshalJSON() ([]byte, error)
- func (v *NullableSymbolQuery) Set(val *SymbolQuery)
- func (v *NullableSymbolQuery) UnmarshalJSON(src []byte) error
- func (v *NullableSymbolQuery) Unset()
- type NullableSymbolsQuotesInner
- func (v NullableSymbolsQuotesInner) Get() *SymbolsQuotesInner
- func (v NullableSymbolsQuotesInner) IsSet() bool
- func (v NullableSymbolsQuotesInner) MarshalJSON() ([]byte, error)
- func (v *NullableSymbolsQuotesInner) Set(val *SymbolsQuotesInner)
- func (v *NullableSymbolsQuotesInner) UnmarshalJSON(src []byte) error
- func (v *NullableSymbolsQuotesInner) Unset()
- type NullableTakeProfit
- type NullableTime
- type NullableTimeInForceStrict
- func (v NullableTimeInForceStrict) Get() *TimeInForceStrict
- func (v NullableTimeInForceStrict) IsSet() bool
- func (v NullableTimeInForceStrict) MarshalJSON() ([]byte, error)
- func (v *NullableTimeInForceStrict) Set(val *TimeInForceStrict)
- func (v *NullableTimeInForceStrict) UnmarshalJSON(src []byte) error
- func (v *NullableTimeInForceStrict) Unset()
- type NullableTradingInstrument
- func (v NullableTradingInstrument) Get() *TradingInstrument
- func (v NullableTradingInstrument) IsSet() bool
- func (v NullableTradingInstrument) MarshalJSON() ([]byte, error)
- func (v *NullableTradingInstrument) Set(val *TradingInstrument)
- func (v *NullableTradingInstrument) UnmarshalJSON(src []byte) error
- func (v *NullableTradingInstrument) Unset()
- type NullableTradingSearchCryptocurrencyPairInstruments200Response
- func (v NullableTradingSearchCryptocurrencyPairInstruments200Response) Get() *TradingSearchCryptocurrencyPairInstruments200Response
- func (v NullableTradingSearchCryptocurrencyPairInstruments200Response) IsSet() bool
- func (v NullableTradingSearchCryptocurrencyPairInstruments200Response) MarshalJSON() ([]byte, error)
- func (v *NullableTradingSearchCryptocurrencyPairInstruments200Response) Set(val *TradingSearchCryptocurrencyPairInstruments200Response)
- func (v *NullableTradingSearchCryptocurrencyPairInstruments200Response) UnmarshalJSON(src []byte) error
- func (v *NullableTradingSearchCryptocurrencyPairInstruments200Response) Unset()
- type NullableTradingSession
- func (v NullableTradingSession) Get() *TradingSession
- func (v NullableTradingSession) IsSet() bool
- func (v NullableTradingSession) MarshalJSON() ([]byte, error)
- func (v *NullableTradingSession) Set(val *TradingSession)
- func (v *NullableTradingSession) UnmarshalJSON(src []byte) error
- func (v *NullableTradingSession) Unset()
- type NullableTransactionsStatus
- func (v NullableTransactionsStatus) Get() *TransactionsStatus
- func (v NullableTransactionsStatus) IsSet() bool
- func (v NullableTransactionsStatus) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionsStatus) Set(val *TransactionsStatus)
- func (v *NullableTransactionsStatus) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionsStatus) Unset()
- type NullableUSExchange
- type NullableUnderlyingSymbol
- func (v NullableUnderlyingSymbol) Get() *UnderlyingSymbol
- func (v NullableUnderlyingSymbol) IsSet() bool
- func (v NullableUnderlyingSymbol) MarshalJSON() ([]byte, error)
- func (v *NullableUnderlyingSymbol) Set(val *UnderlyingSymbol)
- func (v *NullableUnderlyingSymbol) UnmarshalJSON(src []byte) error
- func (v *NullableUnderlyingSymbol) Unset()
- type NullableUnderlyingSymbolExchange
- func (v NullableUnderlyingSymbolExchange) Get() *UnderlyingSymbolExchange
- func (v NullableUnderlyingSymbolExchange) IsSet() bool
- func (v NullableUnderlyingSymbolExchange) MarshalJSON() ([]byte, error)
- func (v *NullableUnderlyingSymbolExchange) Set(val *UnderlyingSymbolExchange)
- func (v *NullableUnderlyingSymbolExchange) UnmarshalJSON(src []byte) error
- func (v *NullableUnderlyingSymbolExchange) Unset()
- type NullableUnderlyingSymbolType
- func (v NullableUnderlyingSymbolType) Get() *UnderlyingSymbolType
- func (v NullableUnderlyingSymbolType) IsSet() bool
- func (v NullableUnderlyingSymbolType) MarshalJSON() ([]byte, error)
- func (v *NullableUnderlyingSymbolType) Set(val *UnderlyingSymbolType)
- func (v *NullableUnderlyingSymbolType) UnmarshalJSON(src []byte) error
- func (v *NullableUnderlyingSymbolType) Unset()
- type NullableUniversalActivity
- func (v NullableUniversalActivity) Get() *UniversalActivity
- func (v NullableUniversalActivity) IsSet() bool
- func (v NullableUniversalActivity) MarshalJSON() ([]byte, error)
- func (v *NullableUniversalActivity) Set(val *UniversalActivity)
- func (v *NullableUniversalActivity) UnmarshalJSON(src []byte) error
- func (v *NullableUniversalActivity) Unset()
- type NullableUniversalSymbol
- func (v NullableUniversalSymbol) Get() *UniversalSymbol
- func (v NullableUniversalSymbol) IsSet() bool
- func (v NullableUniversalSymbol) MarshalJSON() ([]byte, error)
- func (v *NullableUniversalSymbol) Set(val *UniversalSymbol)
- func (v *NullableUniversalSymbol) UnmarshalJSON(src []byte) error
- func (v *NullableUniversalSymbol) Unset()
- type NullableUserIDandSecret
- func (v NullableUserIDandSecret) Get() *UserIDandSecret
- func (v NullableUserIDandSecret) IsSet() bool
- func (v NullableUserIDandSecret) MarshalJSON() ([]byte, error)
- func (v *NullableUserIDandSecret) Set(val *UserIDandSecret)
- func (v *NullableUserIDandSecret) UnmarshalJSON(src []byte) error
- func (v *NullableUserIDandSecret) Unset()
- type NullableValidatedTradeBody
- func (v NullableValidatedTradeBody) Get() *ValidatedTradeBody
- func (v NullableValidatedTradeBody) IsSet() bool
- func (v NullableValidatedTradeBody) MarshalJSON() ([]byte, error)
- func (v *NullableValidatedTradeBody) Set(val *ValidatedTradeBody)
- func (v *NullableValidatedTradeBody) UnmarshalJSON(src []byte) error
- func (v *NullableValidatedTradeBody) Unset()
- type OptionBrokerageSymbol
- func (o *OptionBrokerageSymbol) GetDescription() string
- func (o *OptionBrokerageSymbol) GetDescriptionOk() (*string, bool)
- func (o *OptionBrokerageSymbol) GetId() string
- func (o *OptionBrokerageSymbol) GetIdOk() (*string, bool)
- func (o *OptionBrokerageSymbol) GetOptionSymbol() OptionsSymbol
- func (o *OptionBrokerageSymbol) GetOptionSymbolOk() (*OptionsSymbol, bool)
- func (o *OptionBrokerageSymbol) HasDescription() bool
- func (o *OptionBrokerageSymbol) HasId() bool
- func (o *OptionBrokerageSymbol) HasOptionSymbol() bool
- func (o OptionBrokerageSymbol) MarshalJSON() ([]byte, error)
- func (o *OptionBrokerageSymbol) SetDescription(v string)
- func (o *OptionBrokerageSymbol) SetId(v string)
- func (o *OptionBrokerageSymbol) SetOptionSymbol(v OptionsSymbol)
- func (o *OptionBrokerageSymbol) UnmarshalJSON(bytes []byte) (err error)
- type OptionChainInner
- func (o *OptionChainInner) GetChainPerRoot() []OptionChainInnerChainPerRootInner
- func (o *OptionChainInner) GetChainPerRootOk() ([]OptionChainInnerChainPerRootInner, bool)
- func (o *OptionChainInner) GetDescription() string
- func (o *OptionChainInner) GetDescriptionOk() (*string, bool)
- func (o *OptionChainInner) GetExpiryDate() string
- func (o *OptionChainInner) GetExpiryDateOk() (*string, bool)
- func (o *OptionChainInner) GetListingExchange() string
- func (o *OptionChainInner) GetListingExchangeOk() (*string, bool)
- func (o *OptionChainInner) GetOptionExerciseType() string
- func (o *OptionChainInner) GetOptionExerciseTypeOk() (*string, bool)
- func (o *OptionChainInner) HasChainPerRoot() bool
- func (o *OptionChainInner) HasDescription() bool
- func (o *OptionChainInner) HasExpiryDate() bool
- func (o *OptionChainInner) HasListingExchange() bool
- func (o *OptionChainInner) HasOptionExerciseType() bool
- func (o OptionChainInner) MarshalJSON() ([]byte, error)
- func (o *OptionChainInner) SetChainPerRoot(v []OptionChainInnerChainPerRootInner)
- func (o *OptionChainInner) SetDescription(v string)
- func (o *OptionChainInner) SetExpiryDate(v string)
- func (o *OptionChainInner) SetListingExchange(v string)
- func (o *OptionChainInner) SetOptionExerciseType(v string)
- func (o *OptionChainInner) UnmarshalJSON(bytes []byte) (err error)
- type OptionChainInnerChainPerRootInner
- func (o *OptionChainInnerChainPerRootInner) GetChainPerStrikePrice() []OptionChainInnerChainPerRootInnerChainPerStrikePriceInner
- func (o *OptionChainInnerChainPerRootInner) GetChainPerStrikePriceOk() ([]OptionChainInnerChainPerRootInnerChainPerStrikePriceInner, bool)
- func (o *OptionChainInnerChainPerRootInner) GetMultiplier() int32
- func (o *OptionChainInnerChainPerRootInner) GetMultiplierOk() (*int32, bool)
- func (o *OptionChainInnerChainPerRootInner) GetOptionRoot() string
- func (o *OptionChainInnerChainPerRootInner) GetOptionRootOk() (*string, bool)
- func (o *OptionChainInnerChainPerRootInner) HasChainPerStrikePrice() bool
- func (o *OptionChainInnerChainPerRootInner) HasMultiplier() bool
- func (o *OptionChainInnerChainPerRootInner) HasOptionRoot() bool
- func (o OptionChainInnerChainPerRootInner) MarshalJSON() ([]byte, error)
- func (o *OptionChainInnerChainPerRootInner) SetChainPerStrikePrice(v []OptionChainInnerChainPerRootInnerChainPerStrikePriceInner)
- func (o *OptionChainInnerChainPerRootInner) SetMultiplier(v int32)
- func (o *OptionChainInnerChainPerRootInner) SetOptionRoot(v string)
- func (o *OptionChainInnerChainPerRootInner) UnmarshalJSON(bytes []byte) (err error)
- type OptionChainInnerChainPerRootInnerChainPerStrikePriceInner
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) GetCallSymbolId() int32
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) GetCallSymbolIdOk() (*int32, bool)
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) GetPutSymbolId() int32
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) GetPutSymbolIdOk() (*int32, bool)
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) GetStrikePrice() int32
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) GetStrikePriceOk() (*int32, bool)
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) HasCallSymbolId() bool
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) HasPutSymbolId() bool
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) HasStrikePrice() bool
- func (o OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) MarshalJSON() ([]byte, error)
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) SetCallSymbolId(v int32)
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) SetCallSymbolIdNil()
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) SetPutSymbolId(v int32)
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) SetPutSymbolIdNil()
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) SetStrikePrice(v int32)
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) SetStrikePriceNil()
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) UnmarshalJSON(bytes []byte) (err error)
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) UnsetCallSymbolId()
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) UnsetPutSymbolId()
- func (o *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) UnsetStrikePrice()
- type OptionLeg
- func (o *OptionLeg) GetAction() string
- func (o *OptionLeg) GetActionOk() (*string, bool)
- func (o *OptionLeg) GetOptionSymbolId() string
- func (o *OptionLeg) GetOptionSymbolIdOk() (*string, bool)
- func (o *OptionLeg) GetQuantity() float32
- func (o *OptionLeg) GetQuantityOk() (*float32, bool)
- func (o *OptionLeg) HasAction() bool
- func (o *OptionLeg) HasOptionSymbolId() bool
- func (o *OptionLeg) HasQuantity() bool
- func (o OptionLeg) MarshalJSON() ([]byte, error)
- func (o *OptionLeg) SetAction(v string)
- func (o *OptionLeg) SetOptionSymbolId(v string)
- func (o *OptionLeg) SetQuantity(v float32)
- func (o *OptionLeg) UnmarshalJSON(bytes []byte) (err error)
- type OptionStrategy
- func (o *OptionStrategy) GetId() string
- func (o *OptionStrategy) GetIdOk() (*string, bool)
- func (o *OptionStrategy) GetLegs() []OptionStrategyLegsInner
- func (o *OptionStrategy) GetLegsOk() ([]OptionStrategyLegsInner, bool)
- func (o *OptionStrategy) GetNumberOfLegs() float32
- func (o *OptionStrategy) GetNumberOfLegsOk() (*float32, bool)
- func (o *OptionStrategy) GetStrategyType() string
- func (o *OptionStrategy) GetStrategyTypeOk() (*string, bool)
- func (o *OptionStrategy) GetUnderlyingSymbolId() UniversalSymbol
- func (o *OptionStrategy) GetUnderlyingSymbolIdOk() (*UniversalSymbol, bool)
- func (o *OptionStrategy) HasId() bool
- func (o *OptionStrategy) HasLegs() bool
- func (o *OptionStrategy) HasNumberOfLegs() bool
- func (o *OptionStrategy) HasStrategyType() bool
- func (o *OptionStrategy) HasUnderlyingSymbolId() bool
- func (o OptionStrategy) MarshalJSON() ([]byte, error)
- func (o *OptionStrategy) SetId(v string)
- func (o *OptionStrategy) SetLegs(v []OptionStrategyLegsInner)
- func (o *OptionStrategy) SetNumberOfLegs(v float32)
- func (o *OptionStrategy) SetStrategyType(v string)
- func (o *OptionStrategy) SetUnderlyingSymbolId(v UniversalSymbol)
- func (o *OptionStrategy) UnmarshalJSON(bytes []byte) (err error)
- type OptionStrategyLegsInner
- func (o *OptionStrategyLegsInner) GetAction() string
- func (o *OptionStrategyLegsInner) GetActionOk() (*string, bool)
- func (o *OptionStrategyLegsInner) GetIndex() float32
- func (o *OptionStrategyLegsInner) GetIndexOk() (*float32, bool)
- func (o *OptionStrategyLegsInner) GetOptionSymbolId() string
- func (o *OptionStrategyLegsInner) GetOptionSymbolIdOk() (*string, bool)
- func (o *OptionStrategyLegsInner) GetQuantity() float32
- func (o *OptionStrategyLegsInner) GetQuantityOk() (*float32, bool)
- func (o *OptionStrategyLegsInner) HasAction() bool
- func (o *OptionStrategyLegsInner) HasIndex() bool
- func (o *OptionStrategyLegsInner) HasOptionSymbolId() bool
- func (o *OptionStrategyLegsInner) HasQuantity() bool
- func (o OptionStrategyLegsInner) MarshalJSON() ([]byte, error)
- func (o *OptionStrategyLegsInner) SetAction(v string)
- func (o *OptionStrategyLegsInner) SetIndex(v float32)
- func (o *OptionStrategyLegsInner) SetOptionSymbolId(v string)
- func (o *OptionStrategyLegsInner) SetQuantity(v float32)
- type OptionsApiGetOptionsChainRequest
- type OptionsApiListOptionHoldingsRequest
- type OptionsApiService
- func (a *OptionsApiService) GetOptionsChain(userId string, userSecret string, accountId string, symbol string) OptionsApiGetOptionsChainRequest
- func (a *OptionsApiService) GetOptionsChainExecute(r OptionsApiGetOptionsChainRequest) ([]OptionChainInner, *http.Response, error)
- func (a *OptionsApiService) ListOptionHoldings(userId string, userSecret string, accountId string) OptionsApiListOptionHoldingsRequest
- func (a *OptionsApiService) ListOptionHoldingsExecute(r OptionsApiListOptionHoldingsRequest) ([]OptionsPosition, *http.Response, error)
- type OptionsPosition
- func (o *OptionsPosition) GetAveragePurchasePrice() float32
- func (o *OptionsPosition) GetAveragePurchasePriceOk() (*float32, bool)
- func (o *OptionsPosition) GetCurrency() OptionsPositionCurrency
- func (o *OptionsPosition) GetCurrencyOk() (*OptionsPositionCurrency, bool)
- func (o *OptionsPosition) GetPrice() float32
- func (o *OptionsPosition) GetPriceOk() (*float32, bool)
- func (o *OptionsPosition) GetSymbol() OptionBrokerageSymbol
- func (o *OptionsPosition) GetSymbolOk() (*OptionBrokerageSymbol, bool)
- func (o *OptionsPosition) GetUnits() float32
- func (o *OptionsPosition) GetUnitsOk() (*float32, bool)
- func (o *OptionsPosition) HasAveragePurchasePrice() bool
- func (o *OptionsPosition) HasCurrency() bool
- func (o *OptionsPosition) HasPrice() bool
- func (o *OptionsPosition) HasSymbol() bool
- func (o *OptionsPosition) HasUnits() bool
- func (o OptionsPosition) MarshalJSON() ([]byte, error)
- func (o *OptionsPosition) SetAveragePurchasePrice(v float32)
- func (o *OptionsPosition) SetAveragePurchasePriceNil()
- func (o *OptionsPosition) SetCurrency(v OptionsPositionCurrency)
- func (o *OptionsPosition) SetCurrencyNil()
- func (o *OptionsPosition) SetPrice(v float32)
- func (o *OptionsPosition) SetPriceNil()
- func (o *OptionsPosition) SetSymbol(v OptionBrokerageSymbol)
- func (o *OptionsPosition) SetUnits(v float32)
- func (o *OptionsPosition) UnmarshalJSON(bytes []byte) (err error)
- func (o *OptionsPosition) UnsetAveragePurchasePrice()
- func (o *OptionsPosition) UnsetCurrency()
- func (o *OptionsPosition) UnsetPrice()
- type OptionsPositionCurrency
- func (o *OptionsPositionCurrency) GetCode() string
- func (o *OptionsPositionCurrency) GetCodeOk() (*string, bool)
- func (o *OptionsPositionCurrency) GetId() string
- func (o *OptionsPositionCurrency) GetIdOk() (*string, bool)
- func (o *OptionsPositionCurrency) GetName() string
- func (o *OptionsPositionCurrency) GetNameOk() (*string, bool)
- func (o *OptionsPositionCurrency) HasCode() bool
- func (o *OptionsPositionCurrency) HasId() bool
- func (o *OptionsPositionCurrency) HasName() bool
- func (o OptionsPositionCurrency) MarshalJSON() ([]byte, error)
- func (o *OptionsPositionCurrency) SetCode(v string)
- func (o *OptionsPositionCurrency) SetId(v string)
- func (o *OptionsPositionCurrency) SetName(v string)
- type OptionsSymbol
- func (o *OptionsSymbol) GetExpirationDate() string
- func (o *OptionsSymbol) GetExpirationDateOk() (*string, bool)
- func (o *OptionsSymbol) GetId() string
- func (o *OptionsSymbol) GetIdOk() (*string, bool)
- func (o *OptionsSymbol) GetIsMiniOption() bool
- func (o *OptionsSymbol) GetIsMiniOptionOk() (*bool, bool)
- func (o *OptionsSymbol) GetOptionType() string
- func (o *OptionsSymbol) GetOptionTypeOk() (*string, bool)
- func (o *OptionsSymbol) GetStrikePrice() float32
- func (o *OptionsSymbol) GetStrikePriceOk() (*float32, bool)
- func (o *OptionsSymbol) GetTicker() string
- func (o *OptionsSymbol) GetTickerOk() (*string, bool)
- func (o *OptionsSymbol) GetUnderlyingSymbol() UnderlyingSymbol
- func (o *OptionsSymbol) GetUnderlyingSymbolOk() (*UnderlyingSymbol, bool)
- func (o *OptionsSymbol) HasIsMiniOption() bool
- func (o OptionsSymbol) MarshalJSON() ([]byte, error)
- func (o *OptionsSymbol) SetExpirationDate(v string)
- func (o *OptionsSymbol) SetId(v string)
- func (o *OptionsSymbol) SetIsMiniOption(v bool)
- func (o *OptionsSymbol) SetOptionType(v string)
- func (o *OptionsSymbol) SetStrikePrice(v float32)
- func (o *OptionsSymbol) SetTicker(v string)
- func (o *OptionsSymbol) SetUnderlyingSymbol(v UnderlyingSymbol)
- func (o *OptionsSymbol) UnmarshalJSON(bytes []byte) (err error)
- type OrderTypeStrict
- type OrderUpdatedResponse
- func (o *OrderUpdatedResponse) GetBrokerageOrderId() string
- func (o *OrderUpdatedResponse) GetBrokerageOrderIdOk() (*string, bool)
- func (o *OrderUpdatedResponse) GetOrder() AccountOrderRecord
- func (o *OrderUpdatedResponse) GetOrderOk() (*AccountOrderRecord, bool)
- func (o *OrderUpdatedResponse) HasOrder() bool
- func (o OrderUpdatedResponse) MarshalJSON() ([]byte, error)
- func (o *OrderUpdatedResponse) SetBrokerageOrderId(v string)
- func (o *OrderUpdatedResponse) SetOrder(v AccountOrderRecord)
- func (o *OrderUpdatedResponse) UnmarshalJSON(bytes []byte) (err error)
- type PaginatedUniversalActivity
- func (o *PaginatedUniversalActivity) GetData() []AccountUniversalActivity
- func (o *PaginatedUniversalActivity) GetDataOk() ([]AccountUniversalActivity, bool)
- func (o *PaginatedUniversalActivity) GetPagination() PaginationDetails
- func (o *PaginatedUniversalActivity) GetPaginationOk() (*PaginationDetails, bool)
- func (o *PaginatedUniversalActivity) HasData() bool
- func (o *PaginatedUniversalActivity) HasPagination() bool
- func (o PaginatedUniversalActivity) MarshalJSON() ([]byte, error)
- func (o *PaginatedUniversalActivity) SetData(v []AccountUniversalActivity)
- func (o *PaginatedUniversalActivity) SetPagination(v PaginationDetails)
- func (o *PaginatedUniversalActivity) UnmarshalJSON(bytes []byte) (err error)
- type PaginationDetails
- func (o *PaginationDetails) GetLimit() int32
- func (o *PaginationDetails) GetLimitOk() (*int32, bool)
- func (o *PaginationDetails) GetOffset() int32
- func (o *PaginationDetails) GetOffsetOk() (*int32, bool)
- func (o *PaginationDetails) GetTotal() int32
- func (o *PaginationDetails) GetTotalOk() (*int32, bool)
- func (o *PaginationDetails) HasLimit() bool
- func (o *PaginationDetails) HasOffset() bool
- func (o *PaginationDetails) HasTotal() bool
- func (o PaginationDetails) MarshalJSON() ([]byte, error)
- func (o *PaginationDetails) SetLimit(v int32)
- func (o *PaginationDetails) SetOffset(v int32)
- func (o *PaginationDetails) SetTotal(v int32)
- func (o *PaginationDetails) UnmarshalJSON(bytes []byte) (err error)
- type PartnerData
- func (o *PartnerData) GetAllowedBrokerages() []Brokerage
- func (o *PartnerData) GetAllowedBrokeragesOk() ([]Brokerage, bool)
- func (o *PartnerData) GetCanAccessAccountHistory() bool
- func (o *PartnerData) GetCanAccessAccountHistoryOk() (*bool, bool)
- func (o *PartnerData) GetCanAccessHoldings() bool
- func (o *PartnerData) GetCanAccessHoldingsOk() (*bool, bool)
- func (o *PartnerData) GetCanAccessOrders() bool
- func (o *PartnerData) GetCanAccessOrdersOk() (*bool, bool)
- func (o *PartnerData) GetCanAccessPortfolioManagement() bool
- func (o *PartnerData) GetCanAccessPortfolioManagementOk() (*bool, bool)
- func (o *PartnerData) GetCanAccessReferenceData() bool
- func (o *PartnerData) GetCanAccessReferenceDataOk() (*bool, bool)
- func (o *PartnerData) GetCanAccessTrades() bool
- func (o *PartnerData) GetCanAccessTradesOk() (*bool, bool)
- func (o *PartnerData) GetLogoUrl() string
- func (o *PartnerData) GetLogoUrlOk() (*string, bool)
- func (o *PartnerData) GetName() string
- func (o *PartnerData) GetNameOk() (*string, bool)
- func (o *PartnerData) GetPinRequired() bool
- func (o *PartnerData) GetPinRequiredOk() (*bool, bool)
- func (o *PartnerData) GetRedirectUri() string
- func (o *PartnerData) GetRedirectUriOk() (*string, bool)
- func (o *PartnerData) GetSlug() string
- func (o *PartnerData) GetSlugOk() (*string, bool)
- func (o *PartnerData) HasAllowedBrokerages() bool
- func (o *PartnerData) HasCanAccessAccountHistory() bool
- func (o *PartnerData) HasCanAccessHoldings() bool
- func (o *PartnerData) HasCanAccessOrders() bool
- func (o *PartnerData) HasCanAccessPortfolioManagement() bool
- func (o *PartnerData) HasCanAccessReferenceData() bool
- func (o *PartnerData) HasCanAccessTrades() bool
- func (o *PartnerData) HasLogoUrl() bool
- func (o *PartnerData) HasName() bool
- func (o *PartnerData) HasPinRequired() bool
- func (o *PartnerData) HasRedirectUri() bool
- func (o *PartnerData) HasSlug() bool
- func (o PartnerData) MarshalJSON() ([]byte, error)
- func (o *PartnerData) SetAllowedBrokerages(v []Brokerage)
- func (o *PartnerData) SetCanAccessAccountHistory(v bool)
- func (o *PartnerData) SetCanAccessHoldings(v bool)
- func (o *PartnerData) SetCanAccessOrders(v bool)
- func (o *PartnerData) SetCanAccessPortfolioManagement(v bool)
- func (o *PartnerData) SetCanAccessReferenceData(v bool)
- func (o *PartnerData) SetCanAccessTrades(v bool)
- func (o *PartnerData) SetLogoUrl(v string)
- func (o *PartnerData) SetName(v string)
- func (o *PartnerData) SetPinRequired(v bool)
- func (o *PartnerData) SetRedirectUri(v string)
- func (o *PartnerData) SetSlug(v string)
- func (o *PartnerData) UnmarshalJSON(bytes []byte) (err error)
- type PastValue
- func (o *PastValue) GetCurrency() string
- func (o *PastValue) GetCurrencyOk() (*string, bool)
- func (o *PastValue) GetDate() string
- func (o *PastValue) GetDateOk() (*string, bool)
- func (o *PastValue) GetValue() float32
- func (o *PastValue) GetValueOk() (*float32, bool)
- func (o *PastValue) HasCurrency() bool
- func (o *PastValue) HasDate() bool
- func (o *PastValue) HasValue() bool
- func (o PastValue) MarshalJSON() ([]byte, error)
- func (o *PastValue) SetCurrency(v string)
- func (o *PastValue) SetDate(v string)
- func (o *PastValue) SetValue(v float32)
- func (o *PastValue) UnmarshalJSON(bytes []byte) (err error)
- type PerformanceCustom
- func (o *PerformanceCustom) GetBadTickers() []*string
- func (o *PerformanceCustom) GetBadTickersOk() ([]*string, bool)
- func (o *PerformanceCustom) GetCommissions() float32
- func (o *PerformanceCustom) GetCommissionsOk() (*float32, bool)
- func (o *PerformanceCustom) GetContributionMonthsContributed() float32
- func (o *PerformanceCustom) GetContributionMonthsContributedOk() (*float32, bool)
- func (o *PerformanceCustom) GetContributionStreak() float32
- func (o *PerformanceCustom) GetContributionStreakOk() (*float32, bool)
- func (o *PerformanceCustom) GetContributionTimeframe() []PastValue
- func (o *PerformanceCustom) GetContributionTimeframeCumulative() []PastValue
- func (o *PerformanceCustom) GetContributionTimeframeCumulativeOk() ([]PastValue, bool)
- func (o *PerformanceCustom) GetContributionTimeframeOk() ([]PastValue, bool)
- func (o *PerformanceCustom) GetContributionTotalMonths() float32
- func (o *PerformanceCustom) GetContributionTotalMonthsOk() (*float32, bool)
- func (o *PerformanceCustom) GetContributions() NetContributions
- func (o *PerformanceCustom) GetContributionsOk() (*NetContributions, bool)
- func (o *PerformanceCustom) GetDetailedMode() bool
- func (o *PerformanceCustom) GetDetailedModeOk() (*bool, bool)
- func (o *PerformanceCustom) GetDividendIncome() float32
- func (o *PerformanceCustom) GetDividendIncomeOk() (*float32, bool)
- func (o *PerformanceCustom) GetDividendTimeline() []MonthlyDividends
- func (o *PerformanceCustom) GetDividendTimelineOk() ([]MonthlyDividends, bool)
- func (o *PerformanceCustom) GetDividends() []NetDividend
- func (o *PerformanceCustom) GetDividendsOk() ([]NetDividend, bool)
- func (o *PerformanceCustom) GetFees() float32
- func (o *PerformanceCustom) GetFeesOk() (*float32, bool)
- func (o *PerformanceCustom) GetForexFees() float32
- func (o *PerformanceCustom) GetForexFeesOk() (*float32, bool)
- func (o *PerformanceCustom) GetMonthlyDividends() float32
- func (o *PerformanceCustom) GetMonthlyDividendsOk() (*float32, bool)
- func (o *PerformanceCustom) GetRateOfReturn() float32
- func (o *PerformanceCustom) GetRateOfReturnOk() (*float32, bool)
- func (o *PerformanceCustom) GetReturnRateTimeframe() []SubPeriodReturnRate
- func (o *PerformanceCustom) GetReturnRateTimeframeOk() ([]SubPeriodReturnRate, bool)
- func (o *PerformanceCustom) GetTotalEquityTimeframe() []PastValue
- func (o *PerformanceCustom) GetTotalEquityTimeframeOk() ([]PastValue, bool)
- func (o *PerformanceCustom) GetWithdrawalTimeframe() []PastValue
- func (o *PerformanceCustom) GetWithdrawalTimeframeOk() ([]PastValue, bool)
- func (o *PerformanceCustom) HasBadTickers() bool
- func (o *PerformanceCustom) HasCommissions() bool
- func (o *PerformanceCustom) HasContributionMonthsContributed() bool
- func (o *PerformanceCustom) HasContributionStreak() bool
- func (o *PerformanceCustom) HasContributionTimeframe() bool
- func (o *PerformanceCustom) HasContributionTimeframeCumulative() bool
- func (o *PerformanceCustom) HasContributionTotalMonths() bool
- func (o *PerformanceCustom) HasContributions() bool
- func (o *PerformanceCustom) HasDetailedMode() bool
- func (o *PerformanceCustom) HasDividendIncome() bool
- func (o *PerformanceCustom) HasDividendTimeline() bool
- func (o *PerformanceCustom) HasDividends() bool
- func (o *PerformanceCustom) HasFees() bool
- func (o *PerformanceCustom) HasForexFees() bool
- func (o *PerformanceCustom) HasMonthlyDividends() bool
- func (o *PerformanceCustom) HasRateOfReturn() bool
- func (o *PerformanceCustom) HasReturnRateTimeframe() bool
- func (o *PerformanceCustom) HasTotalEquityTimeframe() bool
- func (o *PerformanceCustom) HasWithdrawalTimeframe() bool
- func (o PerformanceCustom) MarshalJSON() ([]byte, error)
- func (o *PerformanceCustom) SetBadTickers(v []*string)
- func (o *PerformanceCustom) SetCommissions(v float32)
- func (o *PerformanceCustom) SetCommissionsNil()
- func (o *PerformanceCustom) SetContributionMonthsContributed(v float32)
- func (o *PerformanceCustom) SetContributionMonthsContributedNil()
- func (o *PerformanceCustom) SetContributionStreak(v float32)
- func (o *PerformanceCustom) SetContributionStreakNil()
- func (o *PerformanceCustom) SetContributionTimeframe(v []PastValue)
- func (o *PerformanceCustom) SetContributionTimeframeCumulative(v []PastValue)
- func (o *PerformanceCustom) SetContributionTotalMonths(v float32)
- func (o *PerformanceCustom) SetContributionTotalMonthsNil()
- func (o *PerformanceCustom) SetContributions(v NetContributions)
- func (o *PerformanceCustom) SetDetailedMode(v bool)
- func (o *PerformanceCustom) SetDividendIncome(v float32)
- func (o *PerformanceCustom) SetDividendIncomeNil()
- func (o *PerformanceCustom) SetDividendTimeline(v []MonthlyDividends)
- func (o *PerformanceCustom) SetDividends(v []NetDividend)
- func (o *PerformanceCustom) SetFees(v float32)
- func (o *PerformanceCustom) SetFeesNil()
- func (o *PerformanceCustom) SetForexFees(v float32)
- func (o *PerformanceCustom) SetForexFeesNil()
- func (o *PerformanceCustom) SetMonthlyDividends(v float32)
- func (o *PerformanceCustom) SetMonthlyDividendsNil()
- func (o *PerformanceCustom) SetRateOfReturn(v float32)
- func (o *PerformanceCustom) SetRateOfReturnNil()
- func (o *PerformanceCustom) SetReturnRateTimeframe(v []SubPeriodReturnRate)
- func (o *PerformanceCustom) SetTotalEquityTimeframe(v []PastValue)
- func (o *PerformanceCustom) SetWithdrawalTimeframe(v []PastValue)
- func (o *PerformanceCustom) UnmarshalJSON(bytes []byte) (err error)
- func (o *PerformanceCustom) UnsetCommissions()
- func (o *PerformanceCustom) UnsetContributionMonthsContributed()
- func (o *PerformanceCustom) UnsetContributionStreak()
- func (o *PerformanceCustom) UnsetContributionTotalMonths()
- func (o *PerformanceCustom) UnsetDividendIncome()
- func (o *PerformanceCustom) UnsetFees()
- func (o *PerformanceCustom) UnsetForexFees()
- func (o *PerformanceCustom) UnsetMonthlyDividends()
- func (o *PerformanceCustom) UnsetRateOfReturn()
- type Position
- func (o *Position) GetAveragePurchasePrice() float32
- func (o *Position) GetAveragePurchasePriceOk() (*float32, bool)
- func (o *Position) GetCashEquivalent() bool
- func (o *Position) GetCashEquivalentOk() (*bool, bool)
- func (o *Position) GetCurrency() PositionCurrency
- func (o *Position) GetCurrencyOk() (*PositionCurrency, bool)
- func (o *Position) GetFractionalUnits() float32
- func (o *Position) GetFractionalUnitsOk() (*float32, bool)
- func (o *Position) GetOpenPnl() float32
- func (o *Position) GetOpenPnlOk() (*float32, bool)
- func (o *Position) GetPrice() float32
- func (o *Position) GetPriceOk() (*float32, bool)
- func (o *Position) GetSymbol() PositionSymbol
- func (o *Position) GetSymbolOk() (*PositionSymbol, bool)
- func (o *Position) GetUnits() float32
- func (o *Position) GetUnitsOk() (*float32, bool)
- func (o *Position) HasAveragePurchasePrice() bool
- func (o *Position) HasCashEquivalent() bool
- func (o *Position) HasCurrency() bool
- func (o *Position) HasFractionalUnits() bool
- func (o *Position) HasOpenPnl() bool
- func (o *Position) HasPrice() bool
- func (o *Position) HasSymbol() bool
- func (o *Position) HasUnits() bool
- func (o Position) MarshalJSON() ([]byte, error)
- func (o *Position) SetAveragePurchasePrice(v float32)
- func (o *Position) SetAveragePurchasePriceNil()
- func (o *Position) SetCashEquivalent(v bool)
- func (o *Position) SetCashEquivalentNil()
- func (o *Position) SetCurrency(v PositionCurrency)
- func (o *Position) SetFractionalUnits(v float32)
- func (o *Position) SetFractionalUnitsNil()
- func (o *Position) SetOpenPnl(v float32)
- func (o *Position) SetOpenPnlNil()
- func (o *Position) SetPrice(v float32)
- func (o *Position) SetPriceNil()
- func (o *Position) SetSymbol(v PositionSymbol)
- func (o *Position) SetUnits(v float32)
- func (o *Position) SetUnitsNil()
- func (o *Position) UnmarshalJSON(bytes []byte) (err error)
- func (o *Position) UnsetAveragePurchasePrice()
- func (o *Position) UnsetCashEquivalent()
- func (o *Position) UnsetFractionalUnits()
- func (o *Position) UnsetOpenPnl()
- func (o *Position) UnsetPrice()
- func (o *Position) UnsetUnits()
- type PositionCurrency
- func (o *PositionCurrency) GetCode() string
- func (o *PositionCurrency) GetCodeOk() (*string, bool)
- func (o *PositionCurrency) GetId() string
- func (o *PositionCurrency) GetIdOk() (*string, bool)
- func (o *PositionCurrency) GetName() string
- func (o *PositionCurrency) GetNameOk() (*string, bool)
- func (o *PositionCurrency) HasCode() bool
- func (o *PositionCurrency) HasId() bool
- func (o *PositionCurrency) HasName() bool
- func (o PositionCurrency) MarshalJSON() ([]byte, error)
- func (o *PositionCurrency) SetCode(v string)
- func (o *PositionCurrency) SetId(v string)
- func (o *PositionCurrency) SetName(v string)
- type PositionSymbol
- func (o *PositionSymbol) GetDescription() string
- func (o *PositionSymbol) GetDescriptionOk() (*string, bool)
- func (o *PositionSymbol) GetId() string
- func (o *PositionSymbol) GetIdOk() (*string, bool)
- func (o *PositionSymbol) GetIsQuotable() bool
- func (o *PositionSymbol) GetIsQuotableOk() (*bool, bool)
- func (o *PositionSymbol) GetIsTradable() bool
- func (o *PositionSymbol) GetIsTradableOk() (*bool, bool)
- func (o *PositionSymbol) GetLocalId() string
- func (o *PositionSymbol) GetLocalIdOk() (*string, bool)
- func (o *PositionSymbol) GetSymbol() UniversalSymbol
- func (o *PositionSymbol) GetSymbolOk() (*UniversalSymbol, bool)
- func (o *PositionSymbol) HasDescription() bool
- func (o *PositionSymbol) HasId() bool
- func (o *PositionSymbol) HasIsQuotable() bool
- func (o *PositionSymbol) HasIsTradable() bool
- func (o *PositionSymbol) HasLocalId() bool
- func (o *PositionSymbol) HasSymbol() bool
- func (o PositionSymbol) MarshalJSON() ([]byte, error)
- func (o *PositionSymbol) SetDescription(v string)
- func (o *PositionSymbol) SetId(v string)
- func (o *PositionSymbol) SetIsQuotable(v bool)
- func (o *PositionSymbol) SetIsTradable(v bool)
- func (o *PositionSymbol) SetLocalId(v string)
- func (o *PositionSymbol) SetLocalIdNil()
- func (o *PositionSymbol) SetSymbol(v UniversalSymbol)
- func (o *PositionSymbol) UnmarshalJSON(bytes []byte) (err error)
- func (o *PositionSymbol) UnsetLocalId()
- type RateOfReturnObject
- func (o *RateOfReturnObject) GetCreatedDate() time.Time
- func (o *RateOfReturnObject) GetCreatedDateOk() (*time.Time, bool)
- func (o *RateOfReturnObject) GetReturnPercent() float32
- func (o *RateOfReturnObject) GetReturnPercentOk() (*float32, bool)
- func (o *RateOfReturnObject) GetTimeframe() string
- func (o *RateOfReturnObject) GetTimeframeOk() (*string, bool)
- func (o *RateOfReturnObject) HasCreatedDate() bool
- func (o *RateOfReturnObject) HasReturnPercent() bool
- func (o *RateOfReturnObject) HasTimeframe() bool
- func (o RateOfReturnObject) MarshalJSON() ([]byte, error)
- func (o *RateOfReturnObject) SetCreatedDate(v time.Time)
- func (o *RateOfReturnObject) SetReturnPercent(v float32)
- func (o *RateOfReturnObject) SetTimeframe(v string)
- func (o *RateOfReturnObject) UnmarshalJSON(bytes []byte) (err error)
- type RateOfReturnResponse
- func (o *RateOfReturnResponse) GetData() []RateOfReturnObject
- func (o *RateOfReturnResponse) GetDataOk() ([]RateOfReturnObject, bool)
- func (o *RateOfReturnResponse) HasData() bool
- func (o RateOfReturnResponse) MarshalJSON() ([]byte, error)
- func (o *RateOfReturnResponse) SetData(v []RateOfReturnObject)
- func (o *RateOfReturnResponse) UnmarshalJSON(bytes []byte) (err error)
- type RecentOrdersResponse
- func (o *RecentOrdersResponse) GetOrders() []AccountOrderRecord
- func (o *RecentOrdersResponse) GetOrdersOk() ([]AccountOrderRecord, bool)
- func (o *RecentOrdersResponse) HasOrders() bool
- func (o RecentOrdersResponse) MarshalJSON() ([]byte, error)
- func (o *RecentOrdersResponse) SetOrders(v []AccountOrderRecord)
- func (o *RecentOrdersResponse) UnmarshalJSON(bytes []byte) (err error)
- type ReferenceDataApiGetCurrencyExchangeRatePairRequest
- type ReferenceDataApiGetPartnerInfoRequest
- type ReferenceDataApiGetSecurityTypesRequest
- type ReferenceDataApiGetStockExchangesRequest
- type ReferenceDataApiGetSymbolsByTickerRequest
- type ReferenceDataApiGetSymbolsRequest
- type ReferenceDataApiListAllBrokerageAuthorizationTypeRequest
- type ReferenceDataApiListAllBrokerageInstrumentsRequest
- type ReferenceDataApiListAllBrokeragesRequest
- type ReferenceDataApiListAllCurrenciesRatesRequest
- type ReferenceDataApiListAllCurrenciesRequest
- type ReferenceDataApiService
- func (a *ReferenceDataApiService) GetCurrencyExchangeRatePair(currencyPair string) ReferenceDataApiGetCurrencyExchangeRatePairRequest
- func (a *ReferenceDataApiService) GetCurrencyExchangeRatePairExecute(r ReferenceDataApiGetCurrencyExchangeRatePairRequest) (*ExchangeRatePairs, *http.Response, error)
- func (a *ReferenceDataApiService) GetPartnerInfo() ReferenceDataApiGetPartnerInfoRequest
- func (a *ReferenceDataApiService) GetPartnerInfoExecute(r ReferenceDataApiGetPartnerInfoRequest) (*PartnerData, *http.Response, error)
- func (a *ReferenceDataApiService) GetSecurityTypes() ReferenceDataApiGetSecurityTypesRequest
- func (a *ReferenceDataApiService) GetSecurityTypesExecute(r ReferenceDataApiGetSecurityTypesRequest) ([]SecurityType, *http.Response, error)
- func (a *ReferenceDataApiService) GetStockExchanges() ReferenceDataApiGetStockExchangesRequest
- func (a *ReferenceDataApiService) GetStockExchangesExecute(r ReferenceDataApiGetStockExchangesRequest) ([]Exchange, *http.Response, error)
- func (a *ReferenceDataApiService) GetSymbols() ReferenceDataApiGetSymbolsRequest
- func (a *ReferenceDataApiService) GetSymbolsByTicker(query string) ReferenceDataApiGetSymbolsByTickerRequest
- func (a *ReferenceDataApiService) GetSymbolsByTickerExecute(r ReferenceDataApiGetSymbolsByTickerRequest) (*UniversalSymbol, *http.Response, error)
- func (a *ReferenceDataApiService) GetSymbolsExecute(r ReferenceDataApiGetSymbolsRequest) ([]UniversalSymbol, *http.Response, error)
- func (a *ReferenceDataApiService) ListAllBrokerageAuthorizationType() ReferenceDataApiListAllBrokerageAuthorizationTypeRequest
- func (a *ReferenceDataApiService) ListAllBrokerageAuthorizationTypeExecute(r ReferenceDataApiListAllBrokerageAuthorizationTypeRequest) ([]BrokerageAuthorizationTypeReadOnly, *http.Response, error)
- func (a *ReferenceDataApiService) ListAllBrokerageInstruments(slug string) ReferenceDataApiListAllBrokerageInstrumentsRequest
- func (a *ReferenceDataApiService) ListAllBrokerageInstrumentsExecute(r ReferenceDataApiListAllBrokerageInstrumentsRequest) (*BrokerageInstrumentsResponse, *http.Response, error)
- func (a *ReferenceDataApiService) ListAllBrokerages() ReferenceDataApiListAllBrokeragesRequest
- func (a *ReferenceDataApiService) ListAllBrokeragesExecute(r ReferenceDataApiListAllBrokeragesRequest) ([]Brokerage, *http.Response, error)
- func (a *ReferenceDataApiService) ListAllCurrencies() ReferenceDataApiListAllCurrenciesRequest
- func (a *ReferenceDataApiService) ListAllCurrenciesExecute(r ReferenceDataApiListAllCurrenciesRequest) ([]Currency, *http.Response, error)
- func (a *ReferenceDataApiService) ListAllCurrenciesRates() ReferenceDataApiListAllCurrenciesRatesRequest
- func (a *ReferenceDataApiService) ListAllCurrenciesRatesExecute(r ReferenceDataApiListAllCurrenciesRatesRequest) ([]ExchangeRatePairs, *http.Response, error)
- func (a *ReferenceDataApiService) SymbolSearchUserAccount(userId string, userSecret string, accountId string) ReferenceDataApiSymbolSearchUserAccountRequest
- func (a *ReferenceDataApiService) SymbolSearchUserAccountExecute(r ReferenceDataApiSymbolSearchUserAccountRequest) ([]UniversalSymbol, *http.Response, error)
- type ReferenceDataApiSymbolSearchUserAccountRequest
- type SecurityType
- func (o *SecurityType) GetCode() string
- func (o *SecurityType) GetCodeOk() (*string, bool)
- func (o *SecurityType) GetDescription() string
- func (o *SecurityType) GetDescriptionOk() (*string, bool)
- func (o *SecurityType) GetId() string
- func (o *SecurityType) GetIdOk() (*string, bool)
- func (o *SecurityType) GetIsSupported() bool
- func (o *SecurityType) GetIsSupportedOk() (*bool, bool)
- func (o *SecurityType) HasCode() bool
- func (o *SecurityType) HasDescription() bool
- func (o *SecurityType) HasId() bool
- func (o *SecurityType) HasIsSupported() bool
- func (o SecurityType) MarshalJSON() ([]byte, error)
- func (o *SecurityType) SetCode(v string)
- func (o *SecurityType) SetDescription(v string)
- func (o *SecurityType) SetId(v string)
- func (o *SecurityType) SetIsSupported(v bool)
- func (o *SecurityType) UnmarshalJSON(bytes []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SessionEvent
- func (o *SessionEvent) GetBrokerageAuthorizationId() string
- func (o *SessionEvent) GetBrokerageAuthorizationIdOk() (*string, bool)
- func (o *SessionEvent) GetBrokerageStatusCode() int32
- func (o *SessionEvent) GetBrokerageStatusCodeOk() (*int32, bool)
- func (o *SessionEvent) GetCreatedDate() string
- func (o *SessionEvent) GetCreatedDateOk() (*string, bool)
- func (o *SessionEvent) GetId() string
- func (o *SessionEvent) GetIdOk() (*string, bool)
- func (o *SessionEvent) GetSessionEventType() string
- func (o *SessionEvent) GetSessionEventTypeOk() (*string, bool)
- func (o *SessionEvent) GetSessionId() string
- func (o *SessionEvent) GetSessionIdOk() (*string, bool)
- func (o *SessionEvent) GetUserId() string
- func (o *SessionEvent) GetUserIdOk() (*string, bool)
- func (o *SessionEvent) HasBrokerageAuthorizationId() bool
- func (o *SessionEvent) HasBrokerageStatusCode() bool
- func (o *SessionEvent) HasCreatedDate() bool
- func (o *SessionEvent) HasId() bool
- func (o *SessionEvent) HasSessionEventType() bool
- func (o *SessionEvent) HasSessionId() bool
- func (o *SessionEvent) HasUserId() bool
- func (o SessionEvent) MarshalJSON() ([]byte, error)
- func (o *SessionEvent) SetBrokerageAuthorizationId(v string)
- func (o *SessionEvent) SetBrokerageStatusCode(v int32)
- func (o *SessionEvent) SetBrokerageStatusCodeNil()
- func (o *SessionEvent) SetCreatedDate(v string)
- func (o *SessionEvent) SetId(v string)
- func (o *SessionEvent) SetSessionEventType(v string)
- func (o *SessionEvent) SetSessionId(v string)
- func (o *SessionEvent) SetUserId(v string)
- func (o *SessionEvent) UnmarshalJSON(bytes []byte) (err error)
- func (o *SessionEvent) UnsetBrokerageStatusCode()
- type SimpleOrderForm
- func (o *SimpleOrderForm) GetAmount() float64
- func (o *SimpleOrderForm) GetAmountOk() (*float64, bool)
- func (o *SimpleOrderForm) GetExpirationDate() time.Time
- func (o *SimpleOrderForm) GetExpirationDateOk() (*time.Time, bool)
- func (o *SimpleOrderForm) GetInstrument() TradingInstrument
- func (o *SimpleOrderForm) GetInstrumentOk() (*TradingInstrument, bool)
- func (o *SimpleOrderForm) GetLimitPrice() float64
- func (o *SimpleOrderForm) GetLimitPriceOk() (*float64, bool)
- func (o *SimpleOrderForm) GetPostOnly() bool
- func (o *SimpleOrderForm) GetPostOnlyOk() (*bool, bool)
- func (o *SimpleOrderForm) GetSide() ActionStrict
- func (o *SimpleOrderForm) GetSideOk() (*ActionStrict, bool)
- func (o *SimpleOrderForm) GetStopPrice() float64
- func (o *SimpleOrderForm) GetStopPriceOk() (*float64, bool)
- func (o *SimpleOrderForm) GetTimeInForce() string
- func (o *SimpleOrderForm) GetTimeInForceOk() (*string, bool)
- func (o *SimpleOrderForm) GetType() string
- func (o *SimpleOrderForm) GetTypeOk() (*string, bool)
- func (o *SimpleOrderForm) HasExpirationDate() bool
- func (o *SimpleOrderForm) HasLimitPrice() bool
- func (o *SimpleOrderForm) HasPostOnly() bool
- func (o *SimpleOrderForm) HasStopPrice() bool
- func (o SimpleOrderForm) MarshalJSON() ([]byte, error)
- func (o *SimpleOrderForm) SetAmount(v float64)
- func (o *SimpleOrderForm) SetExpirationDate(v time.Time)
- func (o *SimpleOrderForm) SetInstrument(v TradingInstrument)
- func (o *SimpleOrderForm) SetLimitPrice(v float64)
- func (o *SimpleOrderForm) SetPostOnly(v bool)
- func (o *SimpleOrderForm) SetSide(v ActionStrict)
- func (o *SimpleOrderForm) SetStopPrice(v float64)
- func (o *SimpleOrderForm) SetTimeInForce(v string)
- func (o *SimpleOrderForm) SetType(v string)
- func (o *SimpleOrderForm) UnmarshalJSON(bytes []byte) (err error)
- type SnapTradeHoldingsAccount
- func (o *SnapTradeHoldingsAccount) GetBrokerageAuthorization() BrokerageAuthorization
- func (o *SnapTradeHoldingsAccount) GetBrokerageAuthorizationOk() (*BrokerageAuthorization, bool)
- func (o *SnapTradeHoldingsAccount) GetId() string
- func (o *SnapTradeHoldingsAccount) GetIdOk() (*string, bool)
- func (o *SnapTradeHoldingsAccount) GetInstitutionName() string
- func (o *SnapTradeHoldingsAccount) GetInstitutionNameOk() (*string, bool)
- func (o *SnapTradeHoldingsAccount) GetMeta() map[string]interface{}
- func (o *SnapTradeHoldingsAccount) GetMetaOk() (map[string]interface{}, bool)
- func (o *SnapTradeHoldingsAccount) GetName() string
- func (o *SnapTradeHoldingsAccount) GetNameOk() (*string, bool)
- func (o *SnapTradeHoldingsAccount) GetNumber() string
- func (o *SnapTradeHoldingsAccount) GetNumberOk() (*string, bool)
- func (o *SnapTradeHoldingsAccount) GetPortfolioGroup() string
- func (o *SnapTradeHoldingsAccount) GetPortfolioGroupOk() (*string, bool)
- func (o *SnapTradeHoldingsAccount) GetSyncStatus() AccountSyncStatus
- func (o *SnapTradeHoldingsAccount) GetSyncStatusOk() (*AccountSyncStatus, bool)
- func (o *SnapTradeHoldingsAccount) HasBrokerageAuthorization() bool
- func (o *SnapTradeHoldingsAccount) HasId() bool
- func (o *SnapTradeHoldingsAccount) HasInstitutionName() bool
- func (o *SnapTradeHoldingsAccount) HasMeta() bool
- func (o *SnapTradeHoldingsAccount) HasName() bool
- func (o *SnapTradeHoldingsAccount) HasNumber() bool
- func (o *SnapTradeHoldingsAccount) HasPortfolioGroup() bool
- func (o *SnapTradeHoldingsAccount) HasSyncStatus() bool
- func (o SnapTradeHoldingsAccount) MarshalJSON() ([]byte, error)
- func (o *SnapTradeHoldingsAccount) SetBrokerageAuthorization(v BrokerageAuthorization)
- func (o *SnapTradeHoldingsAccount) SetId(v string)
- func (o *SnapTradeHoldingsAccount) SetInstitutionName(v string)
- func (o *SnapTradeHoldingsAccount) SetMeta(v map[string]interface{})
- func (o *SnapTradeHoldingsAccount) SetName(v string)
- func (o *SnapTradeHoldingsAccount) SetNameNil()
- func (o *SnapTradeHoldingsAccount) SetNumber(v string)
- func (o *SnapTradeHoldingsAccount) SetPortfolioGroup(v string)
- func (o *SnapTradeHoldingsAccount) SetSyncStatus(v AccountSyncStatus)
- func (o *SnapTradeHoldingsAccount) UnmarshalJSON(bytes []byte) (err error)
- func (o *SnapTradeHoldingsAccount) UnsetName()
- type SnapTradeHoldingsTotalValue
- func (o *SnapTradeHoldingsTotalValue) GetCurrency() string
- func (o *SnapTradeHoldingsTotalValue) GetCurrencyOk() (*string, bool)
- func (o *SnapTradeHoldingsTotalValue) GetValue() float32
- func (o *SnapTradeHoldingsTotalValue) GetValueOk() (*float32, bool)
- func (o *SnapTradeHoldingsTotalValue) HasCurrency() bool
- func (o *SnapTradeHoldingsTotalValue) HasValue() bool
- func (o SnapTradeHoldingsTotalValue) MarshalJSON() ([]byte, error)
- func (o *SnapTradeHoldingsTotalValue) SetCurrency(v string)
- func (o *SnapTradeHoldingsTotalValue) SetCurrencyNil()
- func (o *SnapTradeHoldingsTotalValue) SetValue(v float32)
- func (o *SnapTradeHoldingsTotalValue) SetValueNil()
- func (o *SnapTradeHoldingsTotalValue) UnmarshalJSON(bytes []byte) (err error)
- func (o *SnapTradeHoldingsTotalValue) UnsetCurrency()
- func (o *SnapTradeHoldingsTotalValue) UnsetValue()
- type SnapTradeLoginUserRequestBody
- func (o *SnapTradeLoginUserRequestBody) GetBroker() string
- func (o *SnapTradeLoginUserRequestBody) GetBrokerOk() (*string, bool)
- func (o *SnapTradeLoginUserRequestBody) GetConnectionPortalVersion() string
- func (o *SnapTradeLoginUserRequestBody) GetConnectionPortalVersionOk() (*string, bool)
- func (o *SnapTradeLoginUserRequestBody) GetConnectionType() string
- func (o *SnapTradeLoginUserRequestBody) GetConnectionTypeOk() (*string, bool)
- func (o *SnapTradeLoginUserRequestBody) GetCustomRedirect() string
- func (o *SnapTradeLoginUserRequestBody) GetCustomRedirectOk() (*string, bool)
- func (o *SnapTradeLoginUserRequestBody) GetImmediateRedirect() bool
- func (o *SnapTradeLoginUserRequestBody) GetImmediateRedirectOk() (*bool, bool)
- func (o *SnapTradeLoginUserRequestBody) GetReconnect() string
- func (o *SnapTradeLoginUserRequestBody) GetReconnectOk() (*string, bool)
- func (o *SnapTradeLoginUserRequestBody) GetShowCloseButton() bool
- func (o *SnapTradeLoginUserRequestBody) GetShowCloseButtonOk() (*bool, bool)
- func (o *SnapTradeLoginUserRequestBody) HasBroker() bool
- func (o *SnapTradeLoginUserRequestBody) HasConnectionPortalVersion() bool
- func (o *SnapTradeLoginUserRequestBody) HasConnectionType() bool
- func (o *SnapTradeLoginUserRequestBody) HasCustomRedirect() bool
- func (o *SnapTradeLoginUserRequestBody) HasImmediateRedirect() bool
- func (o *SnapTradeLoginUserRequestBody) HasReconnect() bool
- func (o *SnapTradeLoginUserRequestBody) HasShowCloseButton() bool
- func (o SnapTradeLoginUserRequestBody) MarshalJSON() ([]byte, error)
- func (o *SnapTradeLoginUserRequestBody) SetBroker(v string)
- func (o *SnapTradeLoginUserRequestBody) SetConnectionPortalVersion(v string)
- func (o *SnapTradeLoginUserRequestBody) SetConnectionType(v string)
- func (o *SnapTradeLoginUserRequestBody) SetCustomRedirect(v string)
- func (o *SnapTradeLoginUserRequestBody) SetImmediateRedirect(v bool)
- func (o *SnapTradeLoginUserRequestBody) SetReconnect(v string)
- func (o *SnapTradeLoginUserRequestBody) SetShowCloseButton(v bool)
- type SnapTradeRegisterUserRequestBody
- type Status
- func (o *Status) GetOnline() bool
- func (o *Status) GetOnlineOk() (*bool, bool)
- func (o *Status) GetTimestamp() string
- func (o *Status) GetTimestampOk() (*string, bool)
- func (o *Status) GetVersion() int32
- func (o *Status) GetVersionOk() (*int32, bool)
- func (o *Status) HasOnline() bool
- func (o *Status) HasTimestamp() bool
- func (o *Status) HasVersion() bool
- func (o Status) MarshalJSON() ([]byte, error)
- func (o *Status) SetOnline(v bool)
- func (o *Status) SetTimestamp(v string)
- func (o *Status) SetVersion(v int32)
- func (o *Status) UnmarshalJSON(bytes []byte) (err error)
- type StopLoss
- func (o *StopLoss) GetLimitPrice() string
- func (o *StopLoss) GetLimitPriceOk() (*string, bool)
- func (o *StopLoss) GetStopPrice() string
- func (o *StopLoss) GetStopPriceOk() (*string, bool)
- func (o *StopLoss) HasLimitPrice() bool
- func (o *StopLoss) HasStopPrice() bool
- func (o StopLoss) MarshalJSON() ([]byte, error)
- func (o *StopLoss) SetLimitPrice(v string)
- func (o *StopLoss) SetLimitPriceNil()
- func (o *StopLoss) SetStopPrice(v string)
- func (o *StopLoss) UnmarshalJSON(bytes []byte) (err error)
- func (o *StopLoss) UnsetLimitPrice()
- type StrategyOrderRecord
- func (o *StrategyOrderRecord) GetClosedQuantity() float32
- func (o *StrategyOrderRecord) GetClosedQuantityOk() (*float32, bool)
- func (o *StrategyOrderRecord) GetExecutionPrice() float32
- func (o *StrategyOrderRecord) GetExecutionPriceOk() (*float32, bool)
- func (o *StrategyOrderRecord) GetFilledQuantity() float32
- func (o *StrategyOrderRecord) GetFilledQuantityOk() (*float32, bool)
- func (o *StrategyOrderRecord) GetLimitPrice() float32
- func (o *StrategyOrderRecord) GetLimitPriceOk() (*float32, bool)
- func (o *StrategyOrderRecord) GetOpenQuantity() float32
- func (o *StrategyOrderRecord) GetOpenQuantityOk() (*float32, bool)
- func (o *StrategyOrderRecord) GetOrderType() string
- func (o *StrategyOrderRecord) GetOrderTypeOk() (*string, bool)
- func (o *StrategyOrderRecord) GetStatus() string
- func (o *StrategyOrderRecord) GetStatusOk() (*string, bool)
- func (o *StrategyOrderRecord) GetStrategy() OptionStrategy
- func (o *StrategyOrderRecord) GetStrategyOk() (*OptionStrategy, bool)
- func (o *StrategyOrderRecord) GetTimeInForce() string
- func (o *StrategyOrderRecord) GetTimeInForceOk() (*string, bool)
- func (o *StrategyOrderRecord) GetTimePlaced() string
- func (o *StrategyOrderRecord) GetTimePlacedOk() (*string, bool)
- func (o *StrategyOrderRecord) GetTimeUpdated() string
- func (o *StrategyOrderRecord) GetTimeUpdatedOk() (*string, bool)
- func (o *StrategyOrderRecord) HasClosedQuantity() bool
- func (o *StrategyOrderRecord) HasExecutionPrice() bool
- func (o *StrategyOrderRecord) HasFilledQuantity() bool
- func (o *StrategyOrderRecord) HasLimitPrice() bool
- func (o *StrategyOrderRecord) HasOpenQuantity() bool
- func (o *StrategyOrderRecord) HasOrderType() bool
- func (o *StrategyOrderRecord) HasStatus() bool
- func (o *StrategyOrderRecord) HasStrategy() bool
- func (o *StrategyOrderRecord) HasTimeInForce() bool
- func (o *StrategyOrderRecord) HasTimePlaced() bool
- func (o *StrategyOrderRecord) HasTimeUpdated() bool
- func (o StrategyOrderRecord) MarshalJSON() ([]byte, error)
- func (o *StrategyOrderRecord) SetClosedQuantity(v float32)
- func (o *StrategyOrderRecord) SetExecutionPrice(v float32)
- func (o *StrategyOrderRecord) SetExecutionPriceNil()
- func (o *StrategyOrderRecord) SetFilledQuantity(v float32)
- func (o *StrategyOrderRecord) SetLimitPrice(v float32)
- func (o *StrategyOrderRecord) SetLimitPriceNil()
- func (o *StrategyOrderRecord) SetOpenQuantity(v float32)
- func (o *StrategyOrderRecord) SetOrderType(v string)
- func (o *StrategyOrderRecord) SetOrderTypeNil()
- func (o *StrategyOrderRecord) SetStatus(v string)
- func (o *StrategyOrderRecord) SetStrategy(v OptionStrategy)
- func (o *StrategyOrderRecord) SetTimeInForce(v string)
- func (o *StrategyOrderRecord) SetTimePlaced(v string)
- func (o *StrategyOrderRecord) SetTimeUpdated(v string)
- func (o *StrategyOrderRecord) UnmarshalJSON(bytes []byte) (err error)
- func (o *StrategyOrderRecord) UnsetExecutionPrice()
- func (o *StrategyOrderRecord) UnsetLimitPrice()
- func (o *StrategyOrderRecord) UnsetOrderType()
- type StrategyQuotes
- func (o *StrategyQuotes) GetAskPrice() float32
- func (o *StrategyQuotes) GetAskPriceOk() (*float32, bool)
- func (o *StrategyQuotes) GetBidPrice() float32
- func (o *StrategyQuotes) GetBidPriceOk() (*float32, bool)
- func (o *StrategyQuotes) GetGreek() StrategyQuotesGreek
- func (o *StrategyQuotes) GetGreekOk() (*StrategyQuotesGreek, bool)
- func (o *StrategyQuotes) GetOpenPrice() float32
- func (o *StrategyQuotes) GetOpenPriceOk() (*float32, bool)
- func (o *StrategyQuotes) GetStrategy() OptionStrategy
- func (o *StrategyQuotes) GetStrategyOk() (*OptionStrategy, bool)
- func (o *StrategyQuotes) GetVolatility() float32
- func (o *StrategyQuotes) GetVolatilityOk() (*float32, bool)
- func (o *StrategyQuotes) HasAskPrice() bool
- func (o *StrategyQuotes) HasBidPrice() bool
- func (o *StrategyQuotes) HasGreek() bool
- func (o *StrategyQuotes) HasOpenPrice() bool
- func (o *StrategyQuotes) HasStrategy() bool
- func (o *StrategyQuotes) HasVolatility() bool
- func (o StrategyQuotes) MarshalJSON() ([]byte, error)
- func (o *StrategyQuotes) SetAskPrice(v float32)
- func (o *StrategyQuotes) SetAskPriceNil()
- func (o *StrategyQuotes) SetBidPrice(v float32)
- func (o *StrategyQuotes) SetBidPriceNil()
- func (o *StrategyQuotes) SetGreek(v StrategyQuotesGreek)
- func (o *StrategyQuotes) SetOpenPrice(v float32)
- func (o *StrategyQuotes) SetOpenPriceNil()
- func (o *StrategyQuotes) SetStrategy(v OptionStrategy)
- func (o *StrategyQuotes) SetVolatility(v float32)
- func (o *StrategyQuotes) UnmarshalJSON(bytes []byte) (err error)
- func (o *StrategyQuotes) UnsetAskPrice()
- func (o *StrategyQuotes) UnsetBidPrice()
- func (o *StrategyQuotes) UnsetOpenPrice()
- type StrategyQuotesGreek
- func (o *StrategyQuotesGreek) GetDelta() float32
- func (o *StrategyQuotesGreek) GetDeltaOk() (*float32, bool)
- func (o *StrategyQuotesGreek) GetGamma() float32
- func (o *StrategyQuotesGreek) GetGammaOk() (*float32, bool)
- func (o *StrategyQuotesGreek) GetRho() float32
- func (o *StrategyQuotesGreek) GetRhoOk() (*float32, bool)
- func (o *StrategyQuotesGreek) GetTheta() float32
- func (o *StrategyQuotesGreek) GetThetaOk() (*float32, bool)
- func (o *StrategyQuotesGreek) GetVega() float32
- func (o *StrategyQuotesGreek) GetVegaOk() (*float32, bool)
- func (o *StrategyQuotesGreek) HasDelta() bool
- func (o *StrategyQuotesGreek) HasGamma() bool
- func (o *StrategyQuotesGreek) HasRho() bool
- func (o *StrategyQuotesGreek) HasTheta() bool
- func (o *StrategyQuotesGreek) HasVega() bool
- func (o StrategyQuotesGreek) MarshalJSON() ([]byte, error)
- func (o *StrategyQuotesGreek) SetDelta(v float32)
- func (o *StrategyQuotesGreek) SetGamma(v float32)
- func (o *StrategyQuotesGreek) SetRho(v float32)
- func (o *StrategyQuotesGreek) SetTheta(v float32)
- func (o *StrategyQuotesGreek) SetVega(v float32)
- func (o *StrategyQuotesGreek) UnmarshalJSON(bytes []byte) (err error)
- type SubPeriodReturnRate
- func (o *SubPeriodReturnRate) GetPeriodEnd() string
- func (o *SubPeriodReturnRate) GetPeriodEndOk() (*string, bool)
- func (o *SubPeriodReturnRate) GetPeriodStart() string
- func (o *SubPeriodReturnRate) GetPeriodStartOk() (*string, bool)
- func (o *SubPeriodReturnRate) GetRateOfReturn() float32
- func (o *SubPeriodReturnRate) GetRateOfReturnOk() (*float32, bool)
- func (o *SubPeriodReturnRate) HasPeriodEnd() bool
- func (o *SubPeriodReturnRate) HasPeriodStart() bool
- func (o *SubPeriodReturnRate) HasRateOfReturn() bool
- func (o SubPeriodReturnRate) MarshalJSON() ([]byte, error)
- func (o *SubPeriodReturnRate) SetPeriodEnd(v string)
- func (o *SubPeriodReturnRate) SetPeriodStart(v string)
- func (o *SubPeriodReturnRate) SetRateOfReturn(v float32)
- func (o *SubPeriodReturnRate) SetRateOfReturnNil()
- func (o *SubPeriodReturnRate) UnmarshalJSON(bytes []byte) (err error)
- func (o *SubPeriodReturnRate) UnsetRateOfReturn()
- type Symbol
- func (o *Symbol) GetCurrency() SymbolCurrency
- func (o *Symbol) GetCurrencyOk() (*SymbolCurrency, bool)
- func (o *Symbol) GetDescription() string
- func (o *Symbol) GetDescriptionOk() (*string, bool)
- func (o *Symbol) GetExchange() SymbolExchange
- func (o *Symbol) GetExchangeOk() (*SymbolExchange, bool)
- func (o *Symbol) GetFigiCode() string
- func (o *Symbol) GetFigiCodeOk() (*string, bool)
- func (o *Symbol) GetFigiInstrument() SymbolFigiInstrument
- func (o *Symbol) GetFigiInstrumentOk() (*SymbolFigiInstrument, bool)
- func (o *Symbol) GetId() string
- func (o *Symbol) GetIdOk() (*string, bool)
- func (o *Symbol) GetRawSymbol() string
- func (o *Symbol) GetRawSymbolOk() (*string, bool)
- func (o *Symbol) GetSymbol() string
- func (o *Symbol) GetSymbolOk() (*string, bool)
- func (o *Symbol) GetType() SecurityType
- func (o *Symbol) GetTypeOk() (*SecurityType, bool)
- func (o *Symbol) HasCurrency() bool
- func (o *Symbol) HasDescription() bool
- func (o *Symbol) HasExchange() bool
- func (o *Symbol) HasFigiCode() bool
- func (o *Symbol) HasFigiInstrument() bool
- func (o *Symbol) HasId() bool
- func (o *Symbol) HasRawSymbol() bool
- func (o *Symbol) HasSymbol() bool
- func (o *Symbol) HasType() bool
- func (o Symbol) MarshalJSON() ([]byte, error)
- func (o *Symbol) SetCurrency(v SymbolCurrency)
- func (o *Symbol) SetDescription(v string)
- func (o *Symbol) SetDescriptionNil()
- func (o *Symbol) SetExchange(v SymbolExchange)
- func (o *Symbol) SetFigiCode(v string)
- func (o *Symbol) SetFigiCodeNil()
- func (o *Symbol) SetFigiInstrument(v SymbolFigiInstrument)
- func (o *Symbol) SetFigiInstrumentNil()
- func (o *Symbol) SetId(v string)
- func (o *Symbol) SetRawSymbol(v string)
- func (o *Symbol) SetSymbol(v string)
- func (o *Symbol) SetType(v SecurityType)
- func (o *Symbol) UnmarshalJSON(bytes []byte) (err error)
- func (o *Symbol) UnsetDescription()
- func (o *Symbol) UnsetFigiCode()
- func (o *Symbol) UnsetFigiInstrument()
- type SymbolCurrency
- func (o *SymbolCurrency) GetCode() string
- func (o *SymbolCurrency) GetCodeOk() (*string, bool)
- func (o *SymbolCurrency) GetId() string
- func (o *SymbolCurrency) GetIdOk() (*string, bool)
- func (o *SymbolCurrency) GetName() string
- func (o *SymbolCurrency) GetNameOk() (*string, bool)
- func (o *SymbolCurrency) HasCode() bool
- func (o *SymbolCurrency) HasId() bool
- func (o *SymbolCurrency) HasName() bool
- func (o SymbolCurrency) MarshalJSON() ([]byte, error)
- func (o *SymbolCurrency) SetCode(v string)
- func (o *SymbolCurrency) SetId(v string)
- func (o *SymbolCurrency) SetName(v string)
- type SymbolExchange
- func (o *SymbolExchange) GetCloseTime() string
- func (o *SymbolExchange) GetCloseTimeOk() (*string, bool)
- func (o *SymbolExchange) GetCode() string
- func (o *SymbolExchange) GetCodeOk() (*string, bool)
- func (o *SymbolExchange) GetId() string
- func (o *SymbolExchange) GetIdOk() (*string, bool)
- func (o *SymbolExchange) GetMicCode() string
- func (o *SymbolExchange) GetMicCodeOk() (*string, bool)
- func (o *SymbolExchange) GetName() string
- func (o *SymbolExchange) GetNameOk() (*string, bool)
- func (o *SymbolExchange) GetStartTime() string
- func (o *SymbolExchange) GetStartTimeOk() (*string, bool)
- func (o *SymbolExchange) GetSuffix() string
- func (o *SymbolExchange) GetSuffixOk() (*string, bool)
- func (o *SymbolExchange) GetTimezone() string
- func (o *SymbolExchange) GetTimezoneOk() (*string, bool)
- func (o *SymbolExchange) HasCloseTime() bool
- func (o *SymbolExchange) HasCode() bool
- func (o *SymbolExchange) HasId() bool
- func (o *SymbolExchange) HasMicCode() bool
- func (o *SymbolExchange) HasName() bool
- func (o *SymbolExchange) HasStartTime() bool
- func (o *SymbolExchange) HasSuffix() bool
- func (o *SymbolExchange) HasTimezone() bool
- func (o SymbolExchange) MarshalJSON() ([]byte, error)
- func (o *SymbolExchange) SetCloseTime(v string)
- func (o *SymbolExchange) SetCode(v string)
- func (o *SymbolExchange) SetId(v string)
- func (o *SymbolExchange) SetMicCode(v string)
- func (o *SymbolExchange) SetName(v string)
- func (o *SymbolExchange) SetStartTime(v string)
- func (o *SymbolExchange) SetSuffix(v string)
- func (o *SymbolExchange) SetSuffixNil()
- func (o *SymbolExchange) SetTimezone(v string)
- func (o *SymbolExchange) UnsetSuffix()
- type SymbolFigiInstrument
- func (o *SymbolFigiInstrument) GetFigiCode() string
- func (o *SymbolFigiInstrument) GetFigiCodeOk() (*string, bool)
- func (o *SymbolFigiInstrument) GetFigiShareClass() string
- func (o *SymbolFigiInstrument) GetFigiShareClassOk() (*string, bool)
- func (o *SymbolFigiInstrument) HasFigiCode() bool
- func (o *SymbolFigiInstrument) HasFigiShareClass() bool
- func (o SymbolFigiInstrument) MarshalJSON() ([]byte, error)
- func (o *SymbolFigiInstrument) SetFigiCode(v string)
- func (o *SymbolFigiInstrument) SetFigiCodeNil()
- func (o *SymbolFigiInstrument) SetFigiShareClass(v string)
- func (o *SymbolFigiInstrument) SetFigiShareClassNil()
- func (o *SymbolFigiInstrument) UnsetFigiCode()
- func (o *SymbolFigiInstrument) UnsetFigiShareClass()
- type SymbolQuery
- type SymbolsQuotesInner
- func (o *SymbolsQuotesInner) GetAskPrice() float32
- func (o *SymbolsQuotesInner) GetAskPriceOk() (*float32, bool)
- func (o *SymbolsQuotesInner) GetAskSize() float32
- func (o *SymbolsQuotesInner) GetAskSizeOk() (*float32, bool)
- func (o *SymbolsQuotesInner) GetBidPrice() float32
- func (o *SymbolsQuotesInner) GetBidPriceOk() (*float32, bool)
- func (o *SymbolsQuotesInner) GetBidSize() float32
- func (o *SymbolsQuotesInner) GetBidSizeOk() (*float32, bool)
- func (o *SymbolsQuotesInner) GetLastTradePrice() float32
- func (o *SymbolsQuotesInner) GetLastTradePriceOk() (*float32, bool)
- func (o *SymbolsQuotesInner) GetSymbol() UniversalSymbol
- func (o *SymbolsQuotesInner) GetSymbolOk() (*UniversalSymbol, bool)
- func (o *SymbolsQuotesInner) HasAskPrice() bool
- func (o *SymbolsQuotesInner) HasAskSize() bool
- func (o *SymbolsQuotesInner) HasBidPrice() bool
- func (o *SymbolsQuotesInner) HasBidSize() bool
- func (o *SymbolsQuotesInner) HasLastTradePrice() bool
- func (o *SymbolsQuotesInner) HasSymbol() bool
- func (o SymbolsQuotesInner) MarshalJSON() ([]byte, error)
- func (o *SymbolsQuotesInner) SetAskPrice(v float32)
- func (o *SymbolsQuotesInner) SetAskSize(v float32)
- func (o *SymbolsQuotesInner) SetBidPrice(v float32)
- func (o *SymbolsQuotesInner) SetBidSize(v float32)
- func (o *SymbolsQuotesInner) SetLastTradePrice(v float32)
- func (o *SymbolsQuotesInner) SetSymbol(v UniversalSymbol)
- type TakeProfit
- type TimeInForceStrict
- type TradingApiCancelOrderRequest
- type TradingApiCancelUserAccountOrderRequest
- type TradingApiGetCryptocurrencyPairQuoteRequest
- type TradingApiGetOrderImpactRequest
- type TradingApiGetUserAccountQuotesRequest
- type TradingApiPlaceBracketOrderRequest
- type TradingApiPlaceCryptoOrderRequest
- type TradingApiPlaceForceOrderRequest
- type TradingApiPlaceMlegOrderRequest
- type TradingApiPlaceOrderRequest
- type TradingApiPreviewCryptoOrderRequest
- type TradingApiReplaceOrderRequest
- type TradingApiSearchCryptocurrencyPairInstrumentsRequest
- func (r *TradingApiSearchCryptocurrencyPairInstrumentsRequest) Base(base string) *TradingApiSearchCryptocurrencyPairInstrumentsRequest
- func (r TradingApiSearchCryptocurrencyPairInstrumentsRequest) Execute() (*TradingSearchCryptocurrencyPairInstruments200Response, *http.Response, error)
- func (r *TradingApiSearchCryptocurrencyPairInstrumentsRequest) Quote(quote string) *TradingApiSearchCryptocurrencyPairInstrumentsRequest
- type TradingApiService
- func (a *TradingApiService) CancelOrder(userId string, userSecret string, accountId string, ...) TradingApiCancelOrderRequest
- func (a *TradingApiService) CancelOrderExecute(r TradingApiCancelOrderRequest) (*CancelOrderResponse, *http.Response, error)
- func (a *TradingApiService) CancelUserAccountOrder(userId string, userSecret string, accountId string, ...) TradingApiCancelUserAccountOrderRequest
- func (a *TradingApiService) CancelUserAccountOrderExecute(r TradingApiCancelUserAccountOrderRequest) (*AccountOrderRecord, *http.Response, error)
- func (a *TradingApiService) GetCryptocurrencyPairQuote(userId string, userSecret string, accountId string, instrumentSymbol string) TradingApiGetCryptocurrencyPairQuoteRequest
- func (a *TradingApiService) GetCryptocurrencyPairQuoteExecute(r TradingApiGetCryptocurrencyPairQuoteRequest) (*CryptocurrencyPairQuote, *http.Response, error)
- func (a *TradingApiService) GetOrderImpact(userId string, userSecret string, manualTradeForm ManualTradeForm) TradingApiGetOrderImpactRequest
- func (a *TradingApiService) GetOrderImpactExecute(r TradingApiGetOrderImpactRequest) (*ManualTradeAndImpact, *http.Response, error)
- func (a *TradingApiService) GetUserAccountQuotes(userId string, userSecret string, symbols string, accountId string) TradingApiGetUserAccountQuotesRequest
- func (a *TradingApiService) GetUserAccountQuotesExecute(r TradingApiGetUserAccountQuotesRequest) ([]SymbolsQuotesInner, *http.Response, error)
- func (a *TradingApiService) PlaceBracketOrder(accountId string, userId string, userSecret string, ...) TradingApiPlaceBracketOrderRequest
- func (a *TradingApiService) PlaceBracketOrderExecute(r TradingApiPlaceBracketOrderRequest) (*AccountOrderRecord, *http.Response, error)
- func (a *TradingApiService) PlaceCryptoOrder(userId string, userSecret string, accountId string, ...) TradingApiPlaceCryptoOrderRequest
- func (a *TradingApiService) PlaceCryptoOrderExecute(r TradingApiPlaceCryptoOrderRequest) (*OrderUpdatedResponse, *http.Response, error)
- func (a *TradingApiService) PlaceForceOrder(userId string, userSecret string, ...) TradingApiPlaceForceOrderRequest
- func (a *TradingApiService) PlaceForceOrderExecute(r TradingApiPlaceForceOrderRequest) (*AccountOrderRecord, *http.Response, error)
- func (a *TradingApiService) PlaceMlegOrder(userId string, userSecret string, accountId string, ...) TradingApiPlaceMlegOrderRequest
- func (a *TradingApiService) PlaceMlegOrderExecute(r TradingApiPlaceMlegOrderRequest) (*MlegOrderResponse, *http.Response, error)
- func (a *TradingApiService) PlaceOrder(tradeId string, userId string, userSecret string) TradingApiPlaceOrderRequest
- func (a *TradingApiService) PlaceOrderExecute(r TradingApiPlaceOrderRequest) (*AccountOrderRecord, *http.Response, error)
- func (a *TradingApiService) PreviewCryptoOrder(userId string, userSecret string, accountId string, ...) TradingApiPreviewCryptoOrderRequest
- func (a *TradingApiService) PreviewCryptoOrderExecute(r TradingApiPreviewCryptoOrderRequest) (*CryptoOrderPreview, *http.Response, error)
- func (a *TradingApiService) ReplaceOrder(accountId string, userId string, userSecret string, ...) TradingApiReplaceOrderRequest
- func (a *TradingApiService) ReplaceOrderExecute(r TradingApiReplaceOrderRequest) (*AccountOrderRecord, *http.Response, error)
- func (a *TradingApiService) SearchCryptocurrencyPairInstruments(userId string, userSecret string, accountId string) TradingApiSearchCryptocurrencyPairInstrumentsRequest
- func (a *TradingApiService) SearchCryptocurrencyPairInstrumentsExecute(r TradingApiSearchCryptocurrencyPairInstrumentsRequest) (*TradingSearchCryptocurrencyPairInstruments200Response, *http.Response, error)
- type TradingInstrument
- func (o *TradingInstrument) GetSymbol() string
- func (o *TradingInstrument) GetSymbolOk() (*string, bool)
- func (o *TradingInstrument) GetType() string
- func (o *TradingInstrument) GetTypeOk() (*string, bool)
- func (o TradingInstrument) MarshalJSON() ([]byte, error)
- func (o *TradingInstrument) SetSymbol(v string)
- func (o *TradingInstrument) SetType(v string)
- func (o *TradingInstrument) UnmarshalJSON(bytes []byte) (err error)
- type TradingSearchCryptocurrencyPairInstruments200Response
- func (o *TradingSearchCryptocurrencyPairInstruments200Response) GetItems() []CryptocurrencyPair
- func (o *TradingSearchCryptocurrencyPairInstruments200Response) GetItemsOk() ([]CryptocurrencyPair, bool)
- func (o TradingSearchCryptocurrencyPairInstruments200Response) MarshalJSON() ([]byte, error)
- func (o *TradingSearchCryptocurrencyPairInstruments200Response) SetItems(v []CryptocurrencyPair)
- func (o *TradingSearchCryptocurrencyPairInstruments200Response) UnmarshalJSON(bytes []byte) (err error)
- type TradingSession
- type TransactionsAndReportingApiGetActivitiesRequest
- func (r *TransactionsAndReportingApiGetActivitiesRequest) Accounts(accounts string) *TransactionsAndReportingApiGetActivitiesRequest
- func (r *TransactionsAndReportingApiGetActivitiesRequest) BrokerageAuthorizations(brokerageAuthorizations string) *TransactionsAndReportingApiGetActivitiesRequest
- func (r *TransactionsAndReportingApiGetActivitiesRequest) EndDate(endDate string) *TransactionsAndReportingApiGetActivitiesRequest
- func (r TransactionsAndReportingApiGetActivitiesRequest) Execute() ([]UniversalActivity, *http.Response, error)
- func (r *TransactionsAndReportingApiGetActivitiesRequest) StartDate(startDate string) *TransactionsAndReportingApiGetActivitiesRequest
- func (r *TransactionsAndReportingApiGetActivitiesRequest) Type_(type_ string) *TransactionsAndReportingApiGetActivitiesRequest
- type TransactionsAndReportingApiGetReportingCustomRangeRequest
- func (r *TransactionsAndReportingApiGetReportingCustomRangeRequest) Accounts(accounts string) *TransactionsAndReportingApiGetReportingCustomRangeRequest
- func (r *TransactionsAndReportingApiGetReportingCustomRangeRequest) Detailed(detailed bool) *TransactionsAndReportingApiGetReportingCustomRangeRequest
- func (r TransactionsAndReportingApiGetReportingCustomRangeRequest) Execute() (*PerformanceCustom, *http.Response, error)
- func (r *TransactionsAndReportingApiGetReportingCustomRangeRequest) Frequency(frequency string) *TransactionsAndReportingApiGetReportingCustomRangeRequest
- type TransactionsAndReportingApiService
- func (a *TransactionsAndReportingApiService) GetActivities(userId string, userSecret string) TransactionsAndReportingApiGetActivitiesRequest
- func (a *TransactionsAndReportingApiService) GetActivitiesExecute(r TransactionsAndReportingApiGetActivitiesRequest) ([]UniversalActivity, *http.Response, error)
- func (a *TransactionsAndReportingApiService) GetReportingCustomRange(startDate string, endDate string, userId string, userSecret string) TransactionsAndReportingApiGetReportingCustomRangeRequest
- func (a *TransactionsAndReportingApiService) GetReportingCustomRangeExecute(r TransactionsAndReportingApiGetReportingCustomRangeRequest) (*PerformanceCustom, *http.Response, error)
- type TransactionsStatus
- func (o *TransactionsStatus) GetFirstTransactionDate() string
- func (o *TransactionsStatus) GetFirstTransactionDateOk() (*string, bool)
- func (o *TransactionsStatus) GetInitialSyncCompleted() bool
- func (o *TransactionsStatus) GetInitialSyncCompletedOk() (*bool, bool)
- func (o *TransactionsStatus) GetLastSuccessfulSync() string
- func (o *TransactionsStatus) GetLastSuccessfulSyncOk() (*string, bool)
- func (o *TransactionsStatus) HasFirstTransactionDate() bool
- func (o *TransactionsStatus) HasInitialSyncCompleted() bool
- func (o *TransactionsStatus) HasLastSuccessfulSync() bool
- func (o TransactionsStatus) MarshalJSON() ([]byte, error)
- func (o *TransactionsStatus) SetFirstTransactionDate(v string)
- func (o *TransactionsStatus) SetFirstTransactionDateNil()
- func (o *TransactionsStatus) SetInitialSyncCompleted(v bool)
- func (o *TransactionsStatus) SetLastSuccessfulSync(v string)
- func (o *TransactionsStatus) SetLastSuccessfulSyncNil()
- func (o *TransactionsStatus) UnsetFirstTransactionDate()
- func (o *TransactionsStatus) UnsetLastSuccessfulSync()
- type USExchange
- func (o *USExchange) GetAllowsCryptocurrencySymbols() bool
- func (o *USExchange) GetAllowsCryptocurrencySymbolsOk() (*bool, bool)
- func (o *USExchange) GetCloseTime() string
- func (o *USExchange) GetCloseTimeOk() (*string, bool)
- func (o *USExchange) GetCode() string
- func (o *USExchange) GetCodeOk() (*string, bool)
- func (o *USExchange) GetId() string
- func (o *USExchange) GetIdOk() (*string, bool)
- func (o *USExchange) GetMicCode() string
- func (o *USExchange) GetMicCodeOk() (*string, bool)
- func (o *USExchange) GetName() string
- func (o *USExchange) GetNameOk() (*string, bool)
- func (o *USExchange) GetStartTime() string
- func (o *USExchange) GetStartTimeOk() (*string, bool)
- func (o *USExchange) GetSuffix() string
- func (o *USExchange) GetSuffixOk() (*string, bool)
- func (o *USExchange) GetTimezone() string
- func (o *USExchange) GetTimezoneOk() (*string, bool)
- func (o *USExchange) HasAllowsCryptocurrencySymbols() bool
- func (o *USExchange) HasCloseTime() bool
- func (o *USExchange) HasCode() bool
- func (o *USExchange) HasId() bool
- func (o *USExchange) HasMicCode() bool
- func (o *USExchange) HasName() bool
- func (o *USExchange) HasStartTime() bool
- func (o *USExchange) HasSuffix() bool
- func (o *USExchange) HasTimezone() bool
- func (o USExchange) MarshalJSON() ([]byte, error)
- func (o *USExchange) SetAllowsCryptocurrencySymbols(v bool)
- func (o *USExchange) SetCloseTime(v string)
- func (o *USExchange) SetCode(v string)
- func (o *USExchange) SetId(v string)
- func (o *USExchange) SetMicCode(v string)
- func (o *USExchange) SetName(v string)
- func (o *USExchange) SetStartTime(v string)
- func (o *USExchange) SetSuffix(v string)
- func (o *USExchange) SetSuffixNil()
- func (o *USExchange) SetTimezone(v string)
- func (o *USExchange) UnmarshalJSON(bytes []byte) (err error)
- func (o *USExchange) UnsetSuffix()
- type UnderlyingSymbol
- func (o *UnderlyingSymbol) GetCurrencies() []Currency
- func (o *UnderlyingSymbol) GetCurrenciesOk() ([]Currency, bool)
- func (o *UnderlyingSymbol) GetCurrency() SymbolCurrency
- func (o *UnderlyingSymbol) GetCurrencyOk() (*SymbolCurrency, bool)
- func (o *UnderlyingSymbol) GetDescription() string
- func (o *UnderlyingSymbol) GetDescriptionOk() (*string, bool)
- func (o *UnderlyingSymbol) GetExchange() UnderlyingSymbolExchange
- func (o *UnderlyingSymbol) GetExchangeOk() (*UnderlyingSymbolExchange, bool)
- func (o *UnderlyingSymbol) GetFigiCode() string
- func (o *UnderlyingSymbol) GetFigiCodeOk() (*string, bool)
- func (o *UnderlyingSymbol) GetFigiInstrument() SymbolFigiInstrument
- func (o *UnderlyingSymbol) GetFigiInstrumentOk() (*SymbolFigiInstrument, bool)
- func (o *UnderlyingSymbol) GetId() string
- func (o *UnderlyingSymbol) GetIdOk() (*string, bool)
- func (o *UnderlyingSymbol) GetRawSymbol() string
- func (o *UnderlyingSymbol) GetRawSymbolOk() (*string, bool)
- func (o *UnderlyingSymbol) GetSymbol() string
- func (o *UnderlyingSymbol) GetSymbolOk() (*string, bool)
- func (o *UnderlyingSymbol) GetType() UnderlyingSymbolType
- func (o *UnderlyingSymbol) GetTypeOk() (*UnderlyingSymbolType, bool)
- func (o *UnderlyingSymbol) HasCurrencies() bool
- func (o *UnderlyingSymbol) HasCurrency() bool
- func (o *UnderlyingSymbol) HasDescription() bool
- func (o *UnderlyingSymbol) HasExchange() bool
- func (o *UnderlyingSymbol) HasFigiCode() bool
- func (o *UnderlyingSymbol) HasFigiInstrument() bool
- func (o *UnderlyingSymbol) HasId() bool
- func (o *UnderlyingSymbol) HasRawSymbol() bool
- func (o *UnderlyingSymbol) HasSymbol() bool
- func (o *UnderlyingSymbol) HasType() bool
- func (o UnderlyingSymbol) MarshalJSON() ([]byte, error)
- func (o *UnderlyingSymbol) SetCurrencies(v []Currency)
- func (o *UnderlyingSymbol) SetCurrency(v SymbolCurrency)
- func (o *UnderlyingSymbol) SetDescription(v string)
- func (o *UnderlyingSymbol) SetDescriptionNil()
- func (o *UnderlyingSymbol) SetExchange(v UnderlyingSymbolExchange)
- func (o *UnderlyingSymbol) SetFigiCode(v string)
- func (o *UnderlyingSymbol) SetFigiCodeNil()
- func (o *UnderlyingSymbol) SetFigiInstrument(v SymbolFigiInstrument)
- func (o *UnderlyingSymbol) SetFigiInstrumentNil()
- func (o *UnderlyingSymbol) SetId(v string)
- func (o *UnderlyingSymbol) SetRawSymbol(v string)
- func (o *UnderlyingSymbol) SetSymbol(v string)
- func (o *UnderlyingSymbol) SetType(v UnderlyingSymbolType)
- func (o *UnderlyingSymbol) UnmarshalJSON(bytes []byte) (err error)
- func (o *UnderlyingSymbol) UnsetDescription()
- func (o *UnderlyingSymbol) UnsetFigiCode()
- func (o *UnderlyingSymbol) UnsetFigiInstrument()
- type UnderlyingSymbolExchange
- func (o *UnderlyingSymbolExchange) GetAllowsCryptocurrencySymbols() bool
- func (o *UnderlyingSymbolExchange) GetAllowsCryptocurrencySymbolsOk() (*bool, bool)
- func (o *UnderlyingSymbolExchange) GetCloseTime() string
- func (o *UnderlyingSymbolExchange) GetCloseTimeOk() (*string, bool)
- func (o *UnderlyingSymbolExchange) GetCode() string
- func (o *UnderlyingSymbolExchange) GetCodeOk() (*string, bool)
- func (o *UnderlyingSymbolExchange) GetId() string
- func (o *UnderlyingSymbolExchange) GetIdOk() (*string, bool)
- func (o *UnderlyingSymbolExchange) GetMicCode() string
- func (o *UnderlyingSymbolExchange) GetMicCodeOk() (*string, bool)
- func (o *UnderlyingSymbolExchange) GetName() string
- func (o *UnderlyingSymbolExchange) GetNameOk() (*string, bool)
- func (o *UnderlyingSymbolExchange) GetStartTime() string
- func (o *UnderlyingSymbolExchange) GetStartTimeOk() (*string, bool)
- func (o *UnderlyingSymbolExchange) GetSuffix() string
- func (o *UnderlyingSymbolExchange) GetSuffixOk() (*string, bool)
- func (o *UnderlyingSymbolExchange) GetTimezone() string
- func (o *UnderlyingSymbolExchange) GetTimezoneOk() (*string, bool)
- func (o *UnderlyingSymbolExchange) HasAllowsCryptocurrencySymbols() bool
- func (o *UnderlyingSymbolExchange) HasCloseTime() bool
- func (o *UnderlyingSymbolExchange) HasCode() bool
- func (o *UnderlyingSymbolExchange) HasId() bool
- func (o *UnderlyingSymbolExchange) HasMicCode() bool
- func (o *UnderlyingSymbolExchange) HasName() bool
- func (o *UnderlyingSymbolExchange) HasStartTime() bool
- func (o *UnderlyingSymbolExchange) HasSuffix() bool
- func (o *UnderlyingSymbolExchange) HasTimezone() bool
- func (o UnderlyingSymbolExchange) MarshalJSON() ([]byte, error)
- func (o *UnderlyingSymbolExchange) SetAllowsCryptocurrencySymbols(v bool)
- func (o *UnderlyingSymbolExchange) SetCloseTime(v string)
- func (o *UnderlyingSymbolExchange) SetCode(v string)
- func (o *UnderlyingSymbolExchange) SetId(v string)
- func (o *UnderlyingSymbolExchange) SetMicCode(v string)
- func (o *UnderlyingSymbolExchange) SetName(v string)
- func (o *UnderlyingSymbolExchange) SetStartTime(v string)
- func (o *UnderlyingSymbolExchange) SetSuffix(v string)
- func (o *UnderlyingSymbolExchange) SetSuffixNil()
- func (o *UnderlyingSymbolExchange) SetTimezone(v string)
- func (o *UnderlyingSymbolExchange) UnsetSuffix()
- type UnderlyingSymbolType
- func (o *UnderlyingSymbolType) GetCode() string
- func (o *UnderlyingSymbolType) GetCodeOk() (*string, bool)
- func (o *UnderlyingSymbolType) GetDescription() string
- func (o *UnderlyingSymbolType) GetDescriptionOk() (*string, bool)
- func (o *UnderlyingSymbolType) GetId() string
- func (o *UnderlyingSymbolType) GetIdOk() (*string, bool)
- func (o *UnderlyingSymbolType) GetIsSupported() bool
- func (o *UnderlyingSymbolType) GetIsSupportedOk() (*bool, bool)
- func (o *UnderlyingSymbolType) HasCode() bool
- func (o *UnderlyingSymbolType) HasDescription() bool
- func (o *UnderlyingSymbolType) HasId() bool
- func (o *UnderlyingSymbolType) HasIsSupported() bool
- func (o UnderlyingSymbolType) MarshalJSON() ([]byte, error)
- func (o *UnderlyingSymbolType) SetCode(v string)
- func (o *UnderlyingSymbolType) SetDescription(v string)
- func (o *UnderlyingSymbolType) SetId(v string)
- func (o *UnderlyingSymbolType) SetIsSupported(v bool)
- type UniversalActivity
- func (o *UniversalActivity) GetAccount() AccountSimple
- func (o *UniversalActivity) GetAccountOk() (*AccountSimple, bool)
- func (o *UniversalActivity) GetAmount() float32
- func (o *UniversalActivity) GetAmountOk() (*float32, bool)
- func (o *UniversalActivity) GetCurrency() AccountUniversalActivityCurrency
- func (o *UniversalActivity) GetCurrencyOk() (*AccountUniversalActivityCurrency, bool)
- func (o *UniversalActivity) GetDescription() string
- func (o *UniversalActivity) GetDescriptionOk() (*string, bool)
- func (o *UniversalActivity) GetExternalReferenceId() string
- func (o *UniversalActivity) GetExternalReferenceIdOk() (*string, bool)
- func (o *UniversalActivity) GetFee() float32
- func (o *UniversalActivity) GetFeeOk() (*float32, bool)
- func (o *UniversalActivity) GetFxRate() float32
- func (o *UniversalActivity) GetFxRateOk() (*float32, bool)
- func (o *UniversalActivity) GetId() string
- func (o *UniversalActivity) GetIdOk() (*string, bool)
- func (o *UniversalActivity) GetInstitution() string
- func (o *UniversalActivity) GetInstitutionOk() (*string, bool)
- func (o *UniversalActivity) GetOptionSymbol() AccountUniversalActivityOptionSymbol
- func (o *UniversalActivity) GetOptionSymbolOk() (*AccountUniversalActivityOptionSymbol, bool)
- func (o *UniversalActivity) GetOptionType() string
- func (o *UniversalActivity) GetOptionTypeOk() (*string, bool)
- func (o *UniversalActivity) GetPrice() float32
- func (o *UniversalActivity) GetPriceOk() (*float32, bool)
- func (o *UniversalActivity) GetSettlementDate() time.Time
- func (o *UniversalActivity) GetSettlementDateOk() (*time.Time, bool)
- func (o *UniversalActivity) GetSymbol() AccountUniversalActivitySymbol
- func (o *UniversalActivity) GetSymbolOk() (*AccountUniversalActivitySymbol, bool)
- func (o *UniversalActivity) GetTradeDate() time.Time
- func (o *UniversalActivity) GetTradeDateOk() (*time.Time, bool)
- func (o *UniversalActivity) GetType() string
- func (o *UniversalActivity) GetTypeOk() (*string, bool)
- func (o *UniversalActivity) GetUnits() float32
- func (o *UniversalActivity) GetUnitsOk() (*float32, bool)
- func (o *UniversalActivity) HasAccount() bool
- func (o *UniversalActivity) HasAmount() bool
- func (o *UniversalActivity) HasCurrency() bool
- func (o *UniversalActivity) HasDescription() bool
- func (o *UniversalActivity) HasExternalReferenceId() bool
- func (o *UniversalActivity) HasFee() bool
- func (o *UniversalActivity) HasFxRate() bool
- func (o *UniversalActivity) HasId() bool
- func (o *UniversalActivity) HasInstitution() bool
- func (o *UniversalActivity) HasOptionSymbol() bool
- func (o *UniversalActivity) HasOptionType() bool
- func (o *UniversalActivity) HasPrice() bool
- func (o *UniversalActivity) HasSettlementDate() bool
- func (o *UniversalActivity) HasSymbol() bool
- func (o *UniversalActivity) HasTradeDate() bool
- func (o *UniversalActivity) HasType() bool
- func (o *UniversalActivity) HasUnits() bool
- func (o UniversalActivity) MarshalJSON() ([]byte, error)
- func (o *UniversalActivity) SetAccount(v AccountSimple)
- func (o *UniversalActivity) SetAmount(v float32)
- func (o *UniversalActivity) SetAmountNil()
- func (o *UniversalActivity) SetCurrency(v AccountUniversalActivityCurrency)
- func (o *UniversalActivity) SetDescription(v string)
- func (o *UniversalActivity) SetExternalReferenceId(v string)
- func (o *UniversalActivity) SetExternalReferenceIdNil()
- func (o *UniversalActivity) SetFee(v float32)
- func (o *UniversalActivity) SetFxRate(v float32)
- func (o *UniversalActivity) SetFxRateNil()
- func (o *UniversalActivity) SetId(v string)
- func (o *UniversalActivity) SetInstitution(v string)
- func (o *UniversalActivity) SetOptionSymbol(v AccountUniversalActivityOptionSymbol)
- func (o *UniversalActivity) SetOptionSymbolNil()
- func (o *UniversalActivity) SetOptionType(v string)
- func (o *UniversalActivity) SetPrice(v float32)
- func (o *UniversalActivity) SetSettlementDate(v time.Time)
- func (o *UniversalActivity) SetSymbol(v AccountUniversalActivitySymbol)
- func (o *UniversalActivity) SetSymbolNil()
- func (o *UniversalActivity) SetTradeDate(v time.Time)
- func (o *UniversalActivity) SetTradeDateNil()
- func (o *UniversalActivity) SetType(v string)
- func (o *UniversalActivity) SetUnits(v float32)
- func (o *UniversalActivity) UnmarshalJSON(bytes []byte) (err error)
- func (o *UniversalActivity) UnsetAmount()
- func (o *UniversalActivity) UnsetExternalReferenceId()
- func (o *UniversalActivity) UnsetFxRate()
- func (o *UniversalActivity) UnsetOptionSymbol()
- func (o *UniversalActivity) UnsetSymbol()
- func (o *UniversalActivity) UnsetTradeDate()
- type UniversalSymbol
- func (o *UniversalSymbol) GetCurrencies() []Currency
- func (o *UniversalSymbol) GetCurrenciesOk() ([]Currency, bool)
- func (o *UniversalSymbol) GetCurrency() SymbolCurrency
- func (o *UniversalSymbol) GetCurrencyOk() (*SymbolCurrency, bool)
- func (o *UniversalSymbol) GetDescription() string
- func (o *UniversalSymbol) GetDescriptionOk() (*string, bool)
- func (o *UniversalSymbol) GetExchange() SymbolExchange
- func (o *UniversalSymbol) GetExchangeOk() (*SymbolExchange, bool)
- func (o *UniversalSymbol) GetFigiCode() string
- func (o *UniversalSymbol) GetFigiCodeOk() (*string, bool)
- func (o *UniversalSymbol) GetFigiInstrument() SymbolFigiInstrument
- func (o *UniversalSymbol) GetFigiInstrumentOk() (*SymbolFigiInstrument, bool)
- func (o *UniversalSymbol) GetId() string
- func (o *UniversalSymbol) GetIdOk() (*string, bool)
- func (o *UniversalSymbol) GetRawSymbol() string
- func (o *UniversalSymbol) GetRawSymbolOk() (*string, bool)
- func (o *UniversalSymbol) GetSymbol() string
- func (o *UniversalSymbol) GetSymbolOk() (*string, bool)
- func (o *UniversalSymbol) GetType() SecurityType
- func (o *UniversalSymbol) GetTypeOk() (*SecurityType, bool)
- func (o *UniversalSymbol) HasDescription() bool
- func (o *UniversalSymbol) HasExchange() bool
- func (o *UniversalSymbol) HasFigiCode() bool
- func (o *UniversalSymbol) HasFigiInstrument() bool
- func (o UniversalSymbol) MarshalJSON() ([]byte, error)
- func (o *UniversalSymbol) SetCurrencies(v []Currency)
- func (o *UniversalSymbol) SetCurrency(v SymbolCurrency)
- func (o *UniversalSymbol) SetDescription(v string)
- func (o *UniversalSymbol) SetDescriptionNil()
- func (o *UniversalSymbol) SetExchange(v SymbolExchange)
- func (o *UniversalSymbol) SetFigiCode(v string)
- func (o *UniversalSymbol) SetFigiCodeNil()
- func (o *UniversalSymbol) SetFigiInstrument(v SymbolFigiInstrument)
- func (o *UniversalSymbol) SetFigiInstrumentNil()
- func (o *UniversalSymbol) SetId(v string)
- func (o *UniversalSymbol) SetRawSymbol(v string)
- func (o *UniversalSymbol) SetSymbol(v string)
- func (o *UniversalSymbol) SetType(v SecurityType)
- func (o *UniversalSymbol) UnmarshalJSON(bytes []byte) (err error)
- func (o *UniversalSymbol) UnsetDescription()
- func (o *UniversalSymbol) UnsetFigiCode()
- func (o *UniversalSymbol) UnsetFigiInstrument()
- type UserIDandSecret
- func (o *UserIDandSecret) GetUserId() string
- func (o *UserIDandSecret) GetUserIdOk() (*string, bool)
- func (o *UserIDandSecret) GetUserSecret() string
- func (o *UserIDandSecret) GetUserSecretOk() (*string, bool)
- func (o *UserIDandSecret) HasUserId() bool
- func (o *UserIDandSecret) HasUserSecret() bool
- func (o UserIDandSecret) MarshalJSON() ([]byte, error)
- func (o *UserIDandSecret) SetUserId(v string)
- func (o *UserIDandSecret) SetUserSecret(v string)
- type ValidatedTradeBody
- func (o *ValidatedTradeBody) GetWaitToConfirm() bool
- func (o *ValidatedTradeBody) GetWaitToConfirmOk() (*bool, bool)
- func (o *ValidatedTradeBody) HasWaitToConfirm() bool
- func (o ValidatedTradeBody) MarshalJSON() ([]byte, error)
- func (o *ValidatedTradeBody) SetWaitToConfirm(v bool)
- func (o *ValidatedTradeBody) SetWaitToConfirmNil()
- func (o *ValidatedTradeBody) UnsetWaitToConfirm()
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var AllowedAccountOrderRecordStatusEnumValues = []AccountOrderRecordStatus{
"NONE",
"PENDING",
"ACCEPTED",
"FAILED",
"REJECTED",
"CANCELED",
"PARTIAL_CANCELED",
"CANCEL_PENDING",
"EXECUTED",
"PARTIAL",
"REPLACE_PENDING",
"REPLACED",
"STOPPED",
"SUSPENDED",
"EXPIRED",
"QUEUED",
"TRIGGERED",
"ACTIVATED",
"PENDING_RISK_REVIEW",
"CONTINGENT_ORDER",
}
All allowed values of AccountOrderRecordStatus enum
var AllowedAccountOrderRecordStatusV2EnumValues = []AccountOrderRecordStatusV2{
"PENDING",
"REJECTED",
"CANCELED",
"CANCEL_PENDING",
"PARTIAL_CANCELED",
"EXECUTED",
"PARTIALLY_EXECUTED",
"REPLACED",
"REPLACE_PENDING",
"EXPIRED",
}
All allowed values of AccountOrderRecordStatusV2 enum
var AllowedActionStrictEnumValues = []ActionStrict{
"BUY",
"SELL",
}
All allowed values of ActionStrict enum
var AllowedActionStrictWithOptionsEnumValues = []ActionStrictWithOptions{
"BUY",
"SELL",
"BUY_TO_OPEN",
"BUY_TO_CLOSE",
"SELL_TO_OPEN",
"SELL_TO_CLOSE",
}
All allowed values of ActionStrictWithOptions enum
var AllowedMlegActionStrictEnumValues = []MlegActionStrict{
"BUY",
"SELL",
"BUY_TO_OPEN",
"BUY_TO_CLOSE",
"SELL_TO_OPEN",
"SELL_TO_CLOSE",
}
All allowed values of MlegActionStrict enum
var AllowedMlegInstrumentTypeEnumValues = []MlegInstrumentType{
"OPTION",
"EQUITY",
}
All allowed values of MlegInstrumentType enum
var AllowedMlegOrderTypeStrictEnumValues = []MlegOrderTypeStrict{
"MARKET",
"LIMIT",
"STOP_LOSS_MARKET",
"STOP_LOSS_LIMIT",
}
All allowed values of MlegOrderTypeStrict enum
var AllowedMlegPriceEffectStrictEnumValues = []MlegPriceEffectStrict{
"CREDIT",
"DEBIT",
"EVEN",
}
All allowed values of MlegPriceEffectStrict enum
var AllowedOrderTypeStrictEnumValues = []OrderTypeStrict{
"Limit",
"Market",
"StopLimit",
"Stop",
}
All allowed values of OrderTypeStrict enum
var AllowedTimeInForceStrictEnumValues = []TimeInForceStrict{
"FOK",
"Day",
"GTC",
"IOC",
}
All allowed values of TimeInForceStrict enum
var AllowedTradingSessionEnumValues = []TradingSession{
"REGULAR",
"EXTENDED",
}
All allowed values of TradingSession enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
AccountInformationApi *AccountInformationApiService
APIStatusApi *APIStatusApiService
AuthenticationApi *AuthenticationApiService
ConnectionsApi *ConnectionsApiService
ExperimentalEndpointsApi *ExperimentalEndpointsApiService
OptionsApi *OptionsApiService
ReferenceDataApi *ReferenceDataApiService
TradingApi *TradingApiService
TransactionsAndReportingApi *TransactionsAndReportingApiService
// contains filtered or unexported fields
}
APIClient manages communication with the SnapTrade API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type APIStatusApiCheckRequest ¶
type APIStatusApiCheckRequest struct {
ApiService *APIStatusApiService
// contains filtered or unexported fields
}
type APIStatusApiService ¶
type APIStatusApiService service
APIStatusApiService APIStatusApi service
func (*APIStatusApiService) Check ¶
func (a *APIStatusApiService) Check() APIStatusApiCheckRequest
Check Get API Status
Check whether the API is operational and verify timestamps.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return APIStatusApiCheckRequest
func (*APIStatusApiService) CheckExecute ¶
func (a *APIStatusApiService) CheckExecute(r APIStatusApiCheckRequest) (*Status, *http.Response, error)
Execute executes the request
@return Status
type Account ¶
type Account struct {
// Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade. This ID should not change for as long as the connection stays active. If the connection is deleted and re-added, a new account ID will be generated.
Id string `json:"id"`
// Unique identifier for the connection. This is the UUID used to reference the connection in SnapTrade.
BrokerageAuthorization string `json:"brokerage_authorization"`
// A display name for the account. Either assigned by the user or by the brokerage itself. For certain brokerages, SnapTrade appends the brokerage name to the account name for clarity.
Name NullableString `json:"name"`
// The account number assigned by the brokerage. For some brokerages, this field may be masked for security reasons.
Number string `json:"number"`
// The name of the brokerage that holds the account.
InstitutionName string `json:"institution_name"`
// Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was created in SnapTrade. This is _not_ the account opening date at the brokerage.
CreatedDate time.Time `json:"created_date"`
SyncStatus AccountSyncStatus `json:"sync_status"`
Balance AccountBalance `json:"balance"`
// The current status of the account. Can be either \"open\", \"closed\", \"archived\" or null if the status is unknown or not provided by the brokerage.
Status NullableString `json:"status,omitempty"`
// The account type as provided by the brokerage
RawType NullableString `json:"raw_type,omitempty"`
// Additional information about the account, such as account type, status, etc. This information is specific to the brokerage and there's no standard format for this data. This field is deprecated and subject to removal in a future version.
// Deprecated
Meta map[string]interface{} `json:"meta,omitempty"`
// Portfolio Group ID. Portfolio Groups have been deprecated. Please contact support if you have a usecase for it.
// Deprecated
PortfolioGroup *string `json:"portfolio_group,omitempty"`
// This field is deprecated.
// Deprecated
CashRestrictions []string `json:"cash_restrictions,omitempty"`
AdditionalProperties map[string]interface{}
}
Account A single account at a brokerage.
func NewAccount ¶
func NewAccount(id string, brokerageAuthorization string, name NullableString, number string, institutionName string, createdDate time.Time, syncStatus AccountSyncStatus, balance AccountBalance) *Account
NewAccount instantiates a new Account object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountWithDefaults ¶
func NewAccountWithDefaults() *Account
NewAccountWithDefaults instantiates a new Account object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Account) GetBalance ¶
func (o *Account) GetBalance() AccountBalance
GetBalance returns the Balance field value
func (*Account) GetBalanceOk ¶
func (o *Account) GetBalanceOk() (*AccountBalance, bool)
GetBalanceOk returns a tuple with the Balance field value and a boolean to check if the value has been set.
func (*Account) GetBrokerageAuthorization ¶
GetBrokerageAuthorization returns the BrokerageAuthorization field value
func (*Account) GetBrokerageAuthorizationOk ¶
GetBrokerageAuthorizationOk returns a tuple with the BrokerageAuthorization field value and a boolean to check if the value has been set.
func (*Account) GetCashRestrictions ¶
GetCashRestrictions returns the CashRestrictions field value if set, zero value otherwise. Deprecated
func (*Account) GetCashRestrictionsOk ¶
GetCashRestrictionsOk returns a tuple with the CashRestrictions field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*Account) GetCreatedDate ¶
GetCreatedDate returns the CreatedDate field value
func (*Account) GetCreatedDateOk ¶
GetCreatedDateOk returns a tuple with the CreatedDate field value and a boolean to check if the value has been set.
func (*Account) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Account) GetInstitutionName ¶
GetInstitutionName returns the InstitutionName field value
func (*Account) GetInstitutionNameOk ¶
GetInstitutionNameOk returns a tuple with the InstitutionName field value and a boolean to check if the value has been set.
func (*Account) GetMeta ¶
GetMeta returns the Meta field value if set, zero value otherwise. Deprecated
func (*Account) GetMetaOk ¶
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*Account) GetName ¶
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*Account) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Account) GetNumberOk ¶
GetNumberOk returns a tuple with the Number field value and a boolean to check if the value has been set.
func (*Account) GetPortfolioGroup ¶
GetPortfolioGroup returns the PortfolioGroup field value if set, zero value otherwise. Deprecated
func (*Account) GetPortfolioGroupOk ¶
GetPortfolioGroupOk returns a tuple with the PortfolioGroup field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*Account) GetRawType ¶ added in v1.0.41
GetRawType returns the RawType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Account) GetRawTypeOk ¶ added in v1.0.41
GetRawTypeOk returns a tuple with the RawType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Account) GetStatus ¶ added in v1.0.76
GetStatus returns the Status field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Account) GetStatusOk ¶ added in v1.0.76
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Account) GetSyncStatus ¶
func (o *Account) GetSyncStatus() AccountSyncStatus
GetSyncStatus returns the SyncStatus field value
func (*Account) GetSyncStatusOk ¶
func (o *Account) GetSyncStatusOk() (*AccountSyncStatus, bool)
GetSyncStatusOk returns a tuple with the SyncStatus field value and a boolean to check if the value has been set.
func (*Account) HasCashRestrictions ¶
HasCashRestrictions returns a boolean if a field has been set.
func (*Account) HasPortfolioGroup ¶
HasPortfolioGroup returns a boolean if a field has been set.
func (*Account) HasRawType ¶ added in v1.0.41
HasRawType returns a boolean if a field has been set.
func (Account) MarshalJSON ¶
func (*Account) SetBalance ¶
func (o *Account) SetBalance(v AccountBalance)
SetBalance sets field value
func (*Account) SetBrokerageAuthorization ¶
SetBrokerageAuthorization sets field value
func (*Account) SetCashRestrictions ¶
SetCashRestrictions gets a reference to the given []string and assigns it to the CashRestrictions field. Deprecated
func (*Account) SetCreatedDate ¶
SetCreatedDate sets field value
func (*Account) SetInstitutionName ¶
SetInstitutionName sets field value
func (*Account) SetMeta ¶
SetMeta gets a reference to the given map[string]interface{} and assigns it to the Meta field. Deprecated
func (*Account) SetPortfolioGroup ¶
SetPortfolioGroup gets a reference to the given string and assigns it to the PortfolioGroup field. Deprecated
func (*Account) SetRawType ¶ added in v1.0.41
SetRawType gets a reference to the given NullableString and assigns it to the RawType field.
func (*Account) SetRawTypeNil ¶ added in v1.0.41
func (o *Account) SetRawTypeNil()
SetRawTypeNil sets the value for RawType to be an explicit nil
func (*Account) SetStatus ¶ added in v1.0.76
SetStatus gets a reference to the given NullableString and assigns it to the Status field.
func (*Account) SetStatusNil ¶ added in v1.0.76
func (o *Account) SetStatusNil()
SetStatusNil sets the value for Status to be an explicit nil
func (*Account) SetSyncStatus ¶
func (o *Account) SetSyncStatus(v AccountSyncStatus)
SetSyncStatus sets field value
func (*Account) UnmarshalJSON ¶
func (*Account) UnsetRawType ¶ added in v1.0.41
func (o *Account) UnsetRawType()
UnsetRawType ensures that no value is present for RawType, not even an explicit nil
func (*Account) UnsetStatus ¶ added in v1.0.76
func (o *Account) UnsetStatus()
UnsetStatus ensures that no value is present for Status, not even an explicit nil
type AccountBalance ¶
type AccountBalance struct {
Total NullableAccountBalanceTotal `json:"total,omitempty"`
}
AccountBalance Contains balance related information for the account.
func NewAccountBalance ¶
func NewAccountBalance() *AccountBalance
NewAccountBalance instantiates a new AccountBalance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountBalanceWithDefaults ¶
func NewAccountBalanceWithDefaults() *AccountBalance
NewAccountBalanceWithDefaults instantiates a new AccountBalance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountBalance) GetTotal ¶
func (o *AccountBalance) GetTotal() AccountBalanceTotal
GetTotal returns the Total field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountBalance) GetTotalOk ¶
func (o *AccountBalance) GetTotalOk() (*AccountBalanceTotal, bool)
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountBalance) HasTotal ¶
func (o *AccountBalance) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (AccountBalance) MarshalJSON ¶
func (o AccountBalance) MarshalJSON() ([]byte, error)
func (*AccountBalance) SetTotal ¶
func (o *AccountBalance) SetTotal(v AccountBalanceTotal)
SetTotal gets a reference to the given NullableAccountBalanceTotal and assigns it to the Total field.
func (*AccountBalance) SetTotalNil ¶
func (o *AccountBalance) SetTotalNil()
SetTotalNil sets the value for Total to be an explicit nil
func (*AccountBalance) UnsetTotal ¶
func (o *AccountBalance) UnsetTotal()
UnsetTotal ensures that no value is present for Total, not even an explicit nil
type AccountBalanceTotal ¶
type AccountBalanceTotal struct {
// Total value denominated in the currency of the `currency` field.
Amount *float32 `json:"amount,omitempty"`
// The ISO-4217 currency code for the amount.
Currency *string `json:"currency,omitempty"`
}
AccountBalanceTotal Total market value of this account (includes cash, equity, fixed income, etc). This value is directly obtained from the brokerage and should reflect the most accurate value of the account.
func NewAccountBalanceTotal ¶
func NewAccountBalanceTotal() *AccountBalanceTotal
NewAccountBalanceTotal instantiates a new AccountBalanceTotal object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountBalanceTotalWithDefaults ¶
func NewAccountBalanceTotalWithDefaults() *AccountBalanceTotal
NewAccountBalanceTotalWithDefaults instantiates a new AccountBalanceTotal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountBalanceTotal) GetAmount ¶
func (o *AccountBalanceTotal) GetAmount() float32
GetAmount returns the Amount field value if set, zero value otherwise.
func (*AccountBalanceTotal) GetAmountOk ¶
func (o *AccountBalanceTotal) GetAmountOk() (*float32, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountBalanceTotal) GetCurrency ¶
func (o *AccountBalanceTotal) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*AccountBalanceTotal) GetCurrencyOk ¶
func (o *AccountBalanceTotal) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountBalanceTotal) HasAmount ¶
func (o *AccountBalanceTotal) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*AccountBalanceTotal) HasCurrency ¶
func (o *AccountBalanceTotal) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (AccountBalanceTotal) MarshalJSON ¶
func (o AccountBalanceTotal) MarshalJSON() ([]byte, error)
func (*AccountBalanceTotal) SetAmount ¶
func (o *AccountBalanceTotal) SetAmount(v float32)
SetAmount gets a reference to the given float32 and assigns it to the Amount field.
func (*AccountBalanceTotal) SetCurrency ¶
func (o *AccountBalanceTotal) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
type AccountHoldings ¶
type AccountHoldings struct {
Account *SnapTradeHoldingsAccount `json:"account,omitempty"`
Balances []Balance `json:"balances,omitempty"`
Positions []Position `json:"positions,omitempty"`
// Deprecated
TotalValue *SnapTradeHoldingsTotalValue `json:"total_value,omitempty"`
AdditionalProperties map[string]interface{}
}
AccountHoldings Account Holdings
func NewAccountHoldings ¶
func NewAccountHoldings() *AccountHoldings
NewAccountHoldings instantiates a new AccountHoldings object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountHoldingsWithDefaults ¶
func NewAccountHoldingsWithDefaults() *AccountHoldings
NewAccountHoldingsWithDefaults instantiates a new AccountHoldings object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountHoldings) GetAccount ¶
func (o *AccountHoldings) GetAccount() SnapTradeHoldingsAccount
GetAccount returns the Account field value if set, zero value otherwise.
func (*AccountHoldings) GetAccountOk ¶
func (o *AccountHoldings) GetAccountOk() (*SnapTradeHoldingsAccount, bool)
GetAccountOk returns a tuple with the Account field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountHoldings) GetBalances ¶
func (o *AccountHoldings) GetBalances() []Balance
GetBalances returns the Balances field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountHoldings) GetBalancesOk ¶
func (o *AccountHoldings) GetBalancesOk() ([]Balance, bool)
GetBalancesOk returns a tuple with the Balances field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountHoldings) GetPositions ¶
func (o *AccountHoldings) GetPositions() []Position
GetPositions returns the Positions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountHoldings) GetPositionsOk ¶
func (o *AccountHoldings) GetPositionsOk() ([]Position, bool)
GetPositionsOk returns a tuple with the Positions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountHoldings) GetTotalValue ¶
func (o *AccountHoldings) GetTotalValue() SnapTradeHoldingsTotalValue
GetTotalValue returns the TotalValue field value if set, zero value otherwise. Deprecated
func (*AccountHoldings) GetTotalValueOk ¶
func (o *AccountHoldings) GetTotalValueOk() (*SnapTradeHoldingsTotalValue, bool)
GetTotalValueOk returns a tuple with the TotalValue field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*AccountHoldings) HasAccount ¶
func (o *AccountHoldings) HasAccount() bool
HasAccount returns a boolean if a field has been set.
func (*AccountHoldings) HasBalances ¶
func (o *AccountHoldings) HasBalances() bool
HasBalances returns a boolean if a field has been set.
func (*AccountHoldings) HasPositions ¶
func (o *AccountHoldings) HasPositions() bool
HasPositions returns a boolean if a field has been set.
func (*AccountHoldings) HasTotalValue ¶
func (o *AccountHoldings) HasTotalValue() bool
HasTotalValue returns a boolean if a field has been set.
func (AccountHoldings) MarshalJSON ¶
func (o AccountHoldings) MarshalJSON() ([]byte, error)
func (*AccountHoldings) SetAccount ¶
func (o *AccountHoldings) SetAccount(v SnapTradeHoldingsAccount)
SetAccount gets a reference to the given SnapTradeHoldingsAccount and assigns it to the Account field.
func (*AccountHoldings) SetBalances ¶
func (o *AccountHoldings) SetBalances(v []Balance)
SetBalances gets a reference to the given []Balance and assigns it to the Balances field.
func (*AccountHoldings) SetPositions ¶
func (o *AccountHoldings) SetPositions(v []Position)
SetPositions gets a reference to the given []Position and assigns it to the Positions field.
func (*AccountHoldings) SetTotalValue ¶
func (o *AccountHoldings) SetTotalValue(v SnapTradeHoldingsTotalValue)
SetTotalValue gets a reference to the given SnapTradeHoldingsTotalValue and assigns it to the TotalValue field. Deprecated
func (*AccountHoldings) UnmarshalJSON ¶
func (o *AccountHoldings) UnmarshalJSON(bytes []byte) (err error)
type AccountHoldingsAccount ¶
type AccountHoldingsAccount struct {
Account *Account `json:"account,omitempty"`
// List of balances for the account. Each element of the list has a distinct currency. Some brokerages like Questrade [allows holding multiple currencies in the same account](https://www.questrade.com/learning/questrade-basics/balances-and-reports/understanding-your-account-balances).
Balances []Balance `json:"balances,omitempty"`
// List of stock/ETF/crypto/mutual fund positions in the account.
Positions []Position `json:"positions,omitempty"`
// List of option positions in the account.
OptionPositions []OptionsPosition `json:"option_positions,omitempty"`
// List of recent orders in the account, including both pending and executed orders. Note that option orders are included in this list. Option orders will have a null `universal_symbol` field and a non-null `option_symbol` field.
Orders []AccountOrderRecord `json:"orders,omitempty"`
// Deprecated
TotalValue *SnapTradeHoldingsTotalValue `json:"total_value,omitempty"`
AdditionalProperties map[string]interface{}
}
AccountHoldingsAccount A wrapper object containing holdings information for a single account.
func NewAccountHoldingsAccount ¶
func NewAccountHoldingsAccount() *AccountHoldingsAccount
NewAccountHoldingsAccount instantiates a new AccountHoldingsAccount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountHoldingsAccountWithDefaults ¶
func NewAccountHoldingsAccountWithDefaults() *AccountHoldingsAccount
NewAccountHoldingsAccountWithDefaults instantiates a new AccountHoldingsAccount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountHoldingsAccount) GetAccount ¶
func (o *AccountHoldingsAccount) GetAccount() Account
GetAccount returns the Account field value if set, zero value otherwise.
func (*AccountHoldingsAccount) GetAccountOk ¶
func (o *AccountHoldingsAccount) GetAccountOk() (*Account, bool)
GetAccountOk returns a tuple with the Account field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountHoldingsAccount) GetBalances ¶
func (o *AccountHoldingsAccount) GetBalances() []Balance
GetBalances returns the Balances field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountHoldingsAccount) GetBalancesOk ¶
func (o *AccountHoldingsAccount) GetBalancesOk() ([]Balance, bool)
GetBalancesOk returns a tuple with the Balances field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountHoldingsAccount) GetOptionPositions ¶
func (o *AccountHoldingsAccount) GetOptionPositions() []OptionsPosition
GetOptionPositions returns the OptionPositions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountHoldingsAccount) GetOptionPositionsOk ¶
func (o *AccountHoldingsAccount) GetOptionPositionsOk() ([]OptionsPosition, bool)
GetOptionPositionsOk returns a tuple with the OptionPositions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountHoldingsAccount) GetOrders ¶
func (o *AccountHoldingsAccount) GetOrders() []AccountOrderRecord
GetOrders returns the Orders field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountHoldingsAccount) GetOrdersOk ¶
func (o *AccountHoldingsAccount) GetOrdersOk() ([]AccountOrderRecord, bool)
GetOrdersOk returns a tuple with the Orders field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountHoldingsAccount) GetPositions ¶
func (o *AccountHoldingsAccount) GetPositions() []Position
GetPositions returns the Positions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountHoldingsAccount) GetPositionsOk ¶
func (o *AccountHoldingsAccount) GetPositionsOk() ([]Position, bool)
GetPositionsOk returns a tuple with the Positions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountHoldingsAccount) GetTotalValue ¶
func (o *AccountHoldingsAccount) GetTotalValue() SnapTradeHoldingsTotalValue
GetTotalValue returns the TotalValue field value if set, zero value otherwise. Deprecated
func (*AccountHoldingsAccount) GetTotalValueOk ¶
func (o *AccountHoldingsAccount) GetTotalValueOk() (*SnapTradeHoldingsTotalValue, bool)
GetTotalValueOk returns a tuple with the TotalValue field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*AccountHoldingsAccount) HasAccount ¶
func (o *AccountHoldingsAccount) HasAccount() bool
HasAccount returns a boolean if a field has been set.
func (*AccountHoldingsAccount) HasBalances ¶
func (o *AccountHoldingsAccount) HasBalances() bool
HasBalances returns a boolean if a field has been set.
func (*AccountHoldingsAccount) HasOptionPositions ¶
func (o *AccountHoldingsAccount) HasOptionPositions() bool
HasOptionPositions returns a boolean if a field has been set.
func (*AccountHoldingsAccount) HasOrders ¶
func (o *AccountHoldingsAccount) HasOrders() bool
HasOrders returns a boolean if a field has been set.
func (*AccountHoldingsAccount) HasPositions ¶
func (o *AccountHoldingsAccount) HasPositions() bool
HasPositions returns a boolean if a field has been set.
func (*AccountHoldingsAccount) HasTotalValue ¶
func (o *AccountHoldingsAccount) HasTotalValue() bool
HasTotalValue returns a boolean if a field has been set.
func (AccountHoldingsAccount) MarshalJSON ¶
func (o AccountHoldingsAccount) MarshalJSON() ([]byte, error)
func (*AccountHoldingsAccount) SetAccount ¶
func (o *AccountHoldingsAccount) SetAccount(v Account)
SetAccount gets a reference to the given Account and assigns it to the Account field.
func (*AccountHoldingsAccount) SetBalances ¶
func (o *AccountHoldingsAccount) SetBalances(v []Balance)
SetBalances gets a reference to the given []Balance and assigns it to the Balances field.
func (*AccountHoldingsAccount) SetOptionPositions ¶
func (o *AccountHoldingsAccount) SetOptionPositions(v []OptionsPosition)
SetOptionPositions gets a reference to the given []OptionsPosition and assigns it to the OptionPositions field.
func (*AccountHoldingsAccount) SetOrders ¶
func (o *AccountHoldingsAccount) SetOrders(v []AccountOrderRecord)
SetOrders gets a reference to the given []AccountOrderRecord and assigns it to the Orders field.
func (*AccountHoldingsAccount) SetPositions ¶
func (o *AccountHoldingsAccount) SetPositions(v []Position)
SetPositions gets a reference to the given []Position and assigns it to the Positions field.
func (*AccountHoldingsAccount) SetTotalValue ¶
func (o *AccountHoldingsAccount) SetTotalValue(v SnapTradeHoldingsTotalValue)
SetTotalValue gets a reference to the given SnapTradeHoldingsTotalValue and assigns it to the TotalValue field. Deprecated
func (*AccountHoldingsAccount) UnmarshalJSON ¶
func (o *AccountHoldingsAccount) UnmarshalJSON(bytes []byte) (err error)
type AccountInformationApiGetAccountActivitiesRequest ¶ added in v1.0.43
type AccountInformationApiGetAccountActivitiesRequest struct {
ApiService *AccountInformationApiService
// contains filtered or unexported fields
}
func (*AccountInformationApiGetAccountActivitiesRequest) EndDate ¶ added in v1.0.43
func (r *AccountInformationApiGetAccountActivitiesRequest) EndDate(endDate string) *AccountInformationApiGetAccountActivitiesRequest
The end date (inclusive) of the transaction history to retrieve. If not provided, the default is the last transaction known to SnapTrade based on `trade_date`.
func (AccountInformationApiGetAccountActivitiesRequest) Execute ¶ added in v1.0.43
func (r AccountInformationApiGetAccountActivitiesRequest) Execute() (*PaginatedUniversalActivity, *http.Response, error)
func (*AccountInformationApiGetAccountActivitiesRequest) Limit ¶ added in v1.0.46
func (r *AccountInformationApiGetAccountActivitiesRequest) Limit(limit int32) *AccountInformationApiGetAccountActivitiesRequest
An integer that specifies the maximum number of transactions to return. Default of 1000.
func (*AccountInformationApiGetAccountActivitiesRequest) Offset ¶ added in v1.0.46
func (r *AccountInformationApiGetAccountActivitiesRequest) Offset(offset int32) *AccountInformationApiGetAccountActivitiesRequest
An integer that specifies the starting point of the paginated results. Default is 0.
func (*AccountInformationApiGetAccountActivitiesRequest) StartDate ¶ added in v1.0.43
func (r *AccountInformationApiGetAccountActivitiesRequest) StartDate(startDate string) *AccountInformationApiGetAccountActivitiesRequest
The start date (inclusive) of the transaction history to retrieve. If not provided, the default is the first transaction known to SnapTrade based on `trade_date`.
func (*AccountInformationApiGetAccountActivitiesRequest) Type_ ¶ added in v1.0.43
func (r *AccountInformationApiGetAccountActivitiesRequest) Type_(type_ string) *AccountInformationApiGetAccountActivitiesRequest
Optional comma separated list of transaction types to filter by. SnapTrade does a best effort to categorize brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `STOCK_DIVIDEND` - A type of dividend where a company distributes shares instead of cash - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `TAX`` - A tax related fee. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of assets from one account to another. - `SPLIT` - A stock share split.
type AccountInformationApiGetAllUserHoldingsRequest ¶
type AccountInformationApiGetAllUserHoldingsRequest struct {
ApiService *AccountInformationApiService
// contains filtered or unexported fields
}
func (*AccountInformationApiGetAllUserHoldingsRequest) BrokerageAuthorizations ¶
func (r *AccountInformationApiGetAllUserHoldingsRequest) BrokerageAuthorizations(brokerageAuthorizations string) *AccountInformationApiGetAllUserHoldingsRequest
Optional. Comma separated list of authorization IDs (only use if filtering is needed on one or more authorizations).
func (AccountInformationApiGetAllUserHoldingsRequest) Execute ¶
func (r AccountInformationApiGetAllUserHoldingsRequest) Execute() ([]AccountHoldings, *http.Response, error)
type AccountInformationApiGetUserAccountBalanceRequest ¶
type AccountInformationApiGetUserAccountBalanceRequest struct {
ApiService *AccountInformationApiService
// contains filtered or unexported fields
}
type AccountInformationApiGetUserAccountDetailsRequest ¶
type AccountInformationApiGetUserAccountDetailsRequest struct {
ApiService *AccountInformationApiService
// contains filtered or unexported fields
}
type AccountInformationApiGetUserAccountOrderDetailRequest ¶ added in v1.0.96
type AccountInformationApiGetUserAccountOrderDetailRequest struct {
ApiService *AccountInformationApiService
// contains filtered or unexported fields
}
func (AccountInformationApiGetUserAccountOrderDetailRequest) Execute ¶ added in v1.0.96
func (r AccountInformationApiGetUserAccountOrderDetailRequest) Execute() (*AccountOrderRecord, *http.Response, error)
type AccountInformationApiGetUserAccountOrdersRequest ¶
type AccountInformationApiGetUserAccountOrdersRequest struct {
ApiService *AccountInformationApiService
// contains filtered or unexported fields
}
func (*AccountInformationApiGetUserAccountOrdersRequest) Days ¶
func (r *AccountInformationApiGetUserAccountOrdersRequest) Days(days int32) *AccountInformationApiGetUserAccountOrdersRequest
Number of days in the past to fetch the most recent orders. Defaults to the last 30 days if no value is passed in.
func (AccountInformationApiGetUserAccountOrdersRequest) Execute ¶
func (r AccountInformationApiGetUserAccountOrdersRequest) Execute() ([]AccountOrderRecord, *http.Response, error)
func (*AccountInformationApiGetUserAccountOrdersRequest) State ¶
func (r *AccountInformationApiGetUserAccountOrdersRequest) State(state string) *AccountInformationApiGetUserAccountOrdersRequest
defaults value is set to \"all\"
type AccountInformationApiGetUserAccountPositionsRequest ¶
type AccountInformationApiGetUserAccountPositionsRequest struct {
ApiService *AccountInformationApiService
// contains filtered or unexported fields
}
type AccountInformationApiGetUserAccountRecentOrdersRequest ¶ added in v1.0.26
type AccountInformationApiGetUserAccountRecentOrdersRequest struct {
ApiService *AccountInformationApiService
// contains filtered or unexported fields
}
func (AccountInformationApiGetUserAccountRecentOrdersRequest) Execute ¶ added in v1.0.26
func (r AccountInformationApiGetUserAccountRecentOrdersRequest) Execute() (*RecentOrdersResponse, *http.Response, error)
func (*AccountInformationApiGetUserAccountRecentOrdersRequest) OnlyExecuted ¶ added in v1.0.29
func (r *AccountInformationApiGetUserAccountRecentOrdersRequest) OnlyExecuted(onlyExecuted bool) *AccountInformationApiGetUserAccountRecentOrdersRequest
Defaults to true. Indicates if request should fetch only executed orders. Set to false to retrieve non executed orders as well
type AccountInformationApiGetUserAccountReturnRatesRequest ¶ added in v1.0.27
type AccountInformationApiGetUserAccountReturnRatesRequest struct {
ApiService *AccountInformationApiService
// contains filtered or unexported fields
}
func (AccountInformationApiGetUserAccountReturnRatesRequest) Execute ¶ added in v1.0.27
func (r AccountInformationApiGetUserAccountReturnRatesRequest) Execute() (*RateOfReturnResponse, *http.Response, error)
type AccountInformationApiGetUserHoldingsRequest ¶
type AccountInformationApiGetUserHoldingsRequest struct {
ApiService *AccountInformationApiService
// contains filtered or unexported fields
}
func (AccountInformationApiGetUserHoldingsRequest) Execute ¶
func (r AccountInformationApiGetUserHoldingsRequest) Execute() (*AccountHoldingsAccount, *http.Response, error)
type AccountInformationApiListUserAccountsRequest ¶
type AccountInformationApiListUserAccountsRequest struct {
ApiService *AccountInformationApiService
// contains filtered or unexported fields
}
type AccountInformationApiService ¶
type AccountInformationApiService service
AccountInformationApiService AccountInformationApi service
func (*AccountInformationApiService) GetAccountActivities ¶ added in v1.0.43
func (a *AccountInformationApiService) GetAccountActivities(accountId string, userId string, userSecret string) AccountInformationApiGetAccountActivitiesRequest
GetAccountActivities List account activities
Returns all historical transactions for the specified account.
This endpoint is paginated with a default page size of 1000. The endpoint will return a maximum of 1000 transactions per request. See the query parameters for pagination options.
Transaction are returned in reverse chronological order, using the `trade_date` field.
The data returned here is always cached and refreshed once a day.
If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountId @param userId @param userSecret @return AccountInformationApiGetAccountActivitiesRequest
func (*AccountInformationApiService) GetAccountActivitiesExecute ¶ added in v1.0.43
func (a *AccountInformationApiService) GetAccountActivitiesExecute(r AccountInformationApiGetAccountActivitiesRequest) (*PaginatedUniversalActivity, *http.Response, error)
Execute executes the request
@return PaginatedUniversalActivity
func (*AccountInformationApiService) GetAllUserHoldings ¶
func (a *AccountInformationApiService) GetAllUserHoldings(userId string, userSecret string) AccountInformationApiGetAllUserHoldingsRequest
GetAllUserHoldings List all accounts for the user, plus balances, positions, and orders for each account.
**Deprecated, please use the account-specific holdings endpoint instead.**
List all accounts for the user, plus balances, positions, and orders for each account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @param userSecret @return AccountInformationApiGetAllUserHoldingsRequest
Deprecated
func (*AccountInformationApiService) GetAllUserHoldingsExecute ¶
func (a *AccountInformationApiService) GetAllUserHoldingsExecute(r AccountInformationApiGetAllUserHoldingsRequest) ([]AccountHoldings, *http.Response, error)
Execute executes the request
@return []AccountHoldings
Deprecated
func (*AccountInformationApiService) GetUserAccountBalance ¶
func (a *AccountInformationApiService) GetUserAccountBalance(userId string, userSecret string, accountId string) AccountInformationApiGetUserAccountBalanceRequest
GetUserAccountBalance List account balances
Returns a list of balances for the account. Each element of the list has a distinct currency. Some brokerages like Questrade [allows holding multiple currencies in the same account](https://www.questrade.com/learning/questrade-basics/balances-and-reports/understanding-your-account-balances).
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
- If you do, this endpoint returns real-time data.
- If you don't, the data is cached and refreshed once a day. How long the data is cached for varies by brokerage. Check the [brokerage integrations doc](https://snaptrade.notion.site/66793431ad0b416489eaabaf248d0afb?v=d16c4c97b8d5438bbb2d8581ac53b11e) and look for "Cache Expiry Time" to see the exact value for a specific brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @param userSecret @param accountId @return AccountInformationApiGetUserAccountBalanceRequest
func (*AccountInformationApiService) GetUserAccountBalanceExecute ¶
func (a *AccountInformationApiService) GetUserAccountBalanceExecute(r AccountInformationApiGetUserAccountBalanceRequest) ([]Balance, *http.Response, error)
Execute executes the request
@return []Balance
func (*AccountInformationApiService) GetUserAccountDetails ¶
func (a *AccountInformationApiService) GetUserAccountDetails(userId string, userSecret string, accountId string) AccountInformationApiGetUserAccountDetailsRequest
GetUserAccountDetails Get account detail
Returns account detail known to SnapTrade for the specified account.
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
- If you do, this endpoint returns real-time data.
- If you don't, the data is cached and refreshed once a day. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @param userSecret @param accountId @return AccountInformationApiGetUserAccountDetailsRequest
func (*AccountInformationApiService) GetUserAccountDetailsExecute ¶
func (a *AccountInformationApiService) GetUserAccountDetailsExecute(r AccountInformationApiGetUserAccountDetailsRequest) (*Account, *http.Response, error)
Execute executes the request
@return Account
func (*AccountInformationApiService) GetUserAccountOrderDetail ¶ added in v1.0.96
func (a *AccountInformationApiService) GetUserAccountOrderDetail(accountId string, userId string, userSecret string, accountInformationGetUserAccountOrderDetailRequest AccountInformationGetUserAccountOrderDetailRequest) AccountInformationApiGetUserAccountOrderDetailRequest
GetUserAccountOrderDetail Get account order detail
Returns the detail of a single order using the external order ID provided in the request body.
This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future.
This endpoint is always realtime and does not rely on cached data.
This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountId @param userId @param userSecret @param accountInformationGetUserAccountOrderDetailRequest @return AccountInformationApiGetUserAccountOrderDetailRequest
func (*AccountInformationApiService) GetUserAccountOrderDetailExecute ¶ added in v1.0.96
func (a *AccountInformationApiService) GetUserAccountOrderDetailExecute(r AccountInformationApiGetUserAccountOrderDetailRequest) (*AccountOrderRecord, *http.Response, error)
Execute executes the request
@return AccountOrderRecord
func (*AccountInformationApiService) GetUserAccountOrders ¶
func (a *AccountInformationApiService) GetUserAccountOrders(userId string, userSecret string, accountId string) AccountInformationApiGetUserAccountOrdersRequest
GetUserAccountOrders List account orders
Returns a list of recent orders in the specified account.
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
- If you do, this endpoint returns real-time data.
- If you don't, the data is cached and refreshed once a day. How long the data is cached for varies by brokerage. Check the [brokerage integrations doc](https://snaptrade.notion.site/66793431ad0b416489eaabaf248d0afb?v=d16c4c97b8d5438bbb2d8581ac53b11e) and look for "Cache Expiry Time" to see the exact value for a specific brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @param userSecret @param accountId @return AccountInformationApiGetUserAccountOrdersRequest
func (*AccountInformationApiService) GetUserAccountOrdersExecute ¶
func (a *AccountInformationApiService) GetUserAccountOrdersExecute(r AccountInformationApiGetUserAccountOrdersRequest) ([]AccountOrderRecord, *http.Response, error)
Execute executes the request
@return []AccountOrderRecord
func (*AccountInformationApiService) GetUserAccountPositions ¶
func (a *AccountInformationApiService) GetUserAccountPositions(userId string, userSecret string, accountId string) AccountInformationApiGetUserAccountPositionsRequest
GetUserAccountPositions List account positions
Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings).
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
- If you do, this endpoint returns real-time data.
- If you don't, the data is cached and refreshed once a day. How long the data is cached for varies by brokerage. Check the [brokerage integrations doc](https://snaptrade.notion.site/66793431ad0b416489eaabaf248d0afb?v=d16c4c97b8d5438bbb2d8581ac53b11e) and look for "Cache Expiry Time" to see the exact value for a specific brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @param userSecret @param accountId @return AccountInformationApiGetUserAccountPositionsRequest
func (*AccountInformationApiService) GetUserAccountPositionsExecute ¶
func (a *AccountInformationApiService) GetUserAccountPositionsExecute(r AccountInformationApiGetUserAccountPositionsRequest) ([]Position, *http.Response, error)
Execute executes the request
@return []Position
func (*AccountInformationApiService) GetUserAccountRecentOrders ¶ added in v1.0.26
func (a *AccountInformationApiService) GetUserAccountRecentOrders(userId string, userSecret string, accountId string) AccountInformationApiGetUserAccountRecentOrdersRequest
GetUserAccountRecentOrders List account recent orders (last 24 hours only)
A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @param userSecret @param accountId @return AccountInformationApiGetUserAccountRecentOrdersRequest
func (*AccountInformationApiService) GetUserAccountRecentOrdersExecute ¶ added in v1.0.26
func (a *AccountInformationApiService) GetUserAccountRecentOrdersExecute(r AccountInformationApiGetUserAccountRecentOrdersRequest) (*RecentOrdersResponse, *http.Response, error)
Execute executes the request
@return RecentOrdersResponse
func (*AccountInformationApiService) GetUserAccountReturnRates ¶ added in v1.0.27
func (a *AccountInformationApiService) GetUserAccountReturnRates(userId string, userSecret string, accountId string) AccountInformationApiGetUserAccountReturnRatesRequest
GetUserAccountReturnRates List account rate of returns
Returns a list of rate of return percents for a given account. Will include timeframes available from the brokerage, for example "ALL", "1Y", "6M", "3M", "1M"
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @param userSecret @param accountId @return AccountInformationApiGetUserAccountReturnRatesRequest
func (*AccountInformationApiService) GetUserAccountReturnRatesExecute ¶ added in v1.0.27
func (a *AccountInformationApiService) GetUserAccountReturnRatesExecute(r AccountInformationApiGetUserAccountReturnRatesRequest) (*RateOfReturnResponse, *http.Response, error)
Execute executes the request
@return RateOfReturnResponse
func (*AccountInformationApiService) GetUserHoldings ¶
func (a *AccountInformationApiService) GetUserHoldings(accountId string, userId string, userSecret string) AccountInformationApiGetUserHoldingsRequest
GetUserHoldings List account holdings
Returns a list of balances, positions, and recent orders for the specified account. The data returned is similar to the data returned over the more fine-grained [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getUserAccountPositions) and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders) endpoints. __The finer-grained APIs are preferred. They are easier to work with, faster, and have better error handling than this coarse-grained API.__
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
- If you do, this endpoint returns real-time data.
- If you don't, the data is cached and refreshed once a day. How long the data is cached for varies by brokerage. Check the [brokerage integrations doc](https://snaptrade.notion.site/66793431ad0b416489eaabaf248d0afb?v=d16c4c97b8d5438bbb2d8581ac53b11e) and look for "Cache Expiry Time" to see the exact value for a specific brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountId @param userId @param userSecret @return AccountInformationApiGetUserHoldingsRequest
func (*AccountInformationApiService) GetUserHoldingsExecute ¶
func (a *AccountInformationApiService) GetUserHoldingsExecute(r AccountInformationApiGetUserHoldingsRequest) (*AccountHoldingsAccount, *http.Response, error)
Execute executes the request
@return AccountHoldingsAccount
func (*AccountInformationApiService) ListUserAccounts ¶
func (a *AccountInformationApiService) ListUserAccounts(userId string, userSecret string) AccountInformationApiListUserAccountsRequest
ListUserAccounts List accounts
Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user.
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
If you do, this endpoint returns real-time data.
If you don't, the data is cached and refreshed once a day. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @param userSecret @return AccountInformationApiListUserAccountsRequest
func (*AccountInformationApiService) ListUserAccountsExecute ¶
func (a *AccountInformationApiService) ListUserAccountsExecute(r AccountInformationApiListUserAccountsRequest) ([]Account, *http.Response, error)
Execute executes the request
@return []Account
func (*AccountInformationApiService) UpdateUserAccount ¶
func (a *AccountInformationApiService) UpdateUserAccount(userId string, userSecret string, accountId string) AccountInformationApiUpdateUserAccountRequest
UpdateUserAccount Update details of an investment account
Updates various properties of a specified account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @param userSecret @param accountId The ID of the account to update. @return AccountInformationApiUpdateUserAccountRequest
func (*AccountInformationApiService) UpdateUserAccountExecute ¶
func (a *AccountInformationApiService) UpdateUserAccountExecute(r AccountInformationApiUpdateUserAccountRequest) ([]Account, *http.Response, error)
Execute executes the request
@return []Account
type AccountInformationApiUpdateUserAccountRequest ¶
type AccountInformationApiUpdateUserAccountRequest struct {
ApiService *AccountInformationApiService
// contains filtered or unexported fields
}
type AccountInformationGetUserAccountOrderDetailRequest ¶ added in v1.0.100
type AccountInformationGetUserAccountOrderDetailRequest struct {
// Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
BrokerageOrderId string `json:"brokerage_order_id"`
}
AccountInformationGetUserAccountOrderDetailRequest struct for AccountInformationGetUserAccountOrderDetailRequest
func NewAccountInformationGetUserAccountOrderDetailRequest ¶ added in v1.0.100
func NewAccountInformationGetUserAccountOrderDetailRequest(brokerageOrderId string) *AccountInformationGetUserAccountOrderDetailRequest
NewAccountInformationGetUserAccountOrderDetailRequest instantiates a new AccountInformationGetUserAccountOrderDetailRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountInformationGetUserAccountOrderDetailRequestWithDefaults ¶ added in v1.0.100
func NewAccountInformationGetUserAccountOrderDetailRequestWithDefaults() *AccountInformationGetUserAccountOrderDetailRequest
NewAccountInformationGetUserAccountOrderDetailRequestWithDefaults instantiates a new AccountInformationGetUserAccountOrderDetailRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountInformationGetUserAccountOrderDetailRequest) GetBrokerageOrderId ¶ added in v1.0.102
func (o *AccountInformationGetUserAccountOrderDetailRequest) GetBrokerageOrderId() string
GetBrokerageOrderId returns the BrokerageOrderId field value
func (*AccountInformationGetUserAccountOrderDetailRequest) GetBrokerageOrderIdOk ¶ added in v1.0.102
func (o *AccountInformationGetUserAccountOrderDetailRequest) GetBrokerageOrderIdOk() (*string, bool)
GetBrokerageOrderIdOk returns a tuple with the BrokerageOrderId field value and a boolean to check if the value has been set.
func (AccountInformationGetUserAccountOrderDetailRequest) MarshalJSON ¶ added in v1.0.100
func (o AccountInformationGetUserAccountOrderDetailRequest) MarshalJSON() ([]byte, error)
func (*AccountInformationGetUserAccountOrderDetailRequest) SetBrokerageOrderId ¶ added in v1.0.102
func (o *AccountInformationGetUserAccountOrderDetailRequest) SetBrokerageOrderId(v string)
SetBrokerageOrderId sets field value
type AccountOrderRecord ¶
type AccountOrderRecord struct {
// Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
BrokerageOrderId *string `json:"brokerage_order_id,omitempty"`
Status *AccountOrderRecordStatus `json:"status,omitempty"`
UniversalSymbol *AccountOrderRecordUniversalSymbol `json:"universal_symbol,omitempty"`
OptionSymbol *AccountOrderRecordOptionSymbol `json:"option_symbol,omitempty"`
QuoteUniversalSymbol *AccountOrderRecordQuoteUniversalSymbol `json:"quote_universal_symbol,omitempty"`
QuoteCurrency *AccountOrderRecordQuoteCurrency `json:"quote_currency,omitempty"`
// The action describes the intent or side of a trade. This is usually `BUY` or `SELL` but can include other potential values like the following depending on the specific brokerage. - BUY - SELL - BUY_COVER - SELL_SHORT - BUY_OPEN - BUY_CLOSE - SELL_OPEN - SELL_CLOSE
Action *string `json:"action,omitempty"`
// The total number of shares or contracts of the order. This should be the sum of the filled, canceled, and open quantities. Can be a decimal number for fractional shares.
TotalQuantity NullableString `json:"total_quantity,omitempty"`
// The number of shares or contracts that are still open (waiting for execution). Can be a decimal number for fractional shares.
OpenQuantity NullableString `json:"open_quantity,omitempty"`
// The number of shares or contracts that have been canceled. Can be a decimal number for fractional shares.
CanceledQuantity NullableString `json:"canceled_quantity,omitempty"`
// The number of shares or contracts that have been filled. Can be a decimal number for fractional shares.
FilledQuantity NullableString `json:"filled_quantity,omitempty"`
// The price at which the order was executed.
ExecutionPrice NullableFloat32 `json:"execution_price,omitempty"`
// The limit price is maximum price one is willing to pay for a buy order or the minimum price one is willing to accept for a sell order. Should only apply to `Limit` and `StopLimit` orders.
LimitPrice NullableFloat32 `json:"limit_price,omitempty"`
// The stop price is the price at which a stop order is triggered. Should only apply to `Stop` and `StopLimit` orders.
StopPrice NullableFloat32 `json:"stop_price,omitempty"`
// The type of order placed. The most common values are `Market`, `Limit`, `Stop`, and `StopLimit`. We try our best to map brokerage order types to these values. When mapping fails, we will return the brokerage's order type value.
OrderType NullableString `json:"order_type,omitempty"`
// The Time in Force type for the order. This field indicates how long the order will remain active before it is executed or expires. We try our best to map brokerage time in force values to the following. When mapping fails, we will return the brokerage's time in force value. - `Day` - Day. The order is valid only for the trading day on which it is placed. - `GTC` - Good Til Canceled. The order is valid until it is executed or canceled. - `FOK` - Fill Or Kill. The order must be executed in its entirety immediately or be canceled completely. - `IOC` - Immediate Or Cancel. The order must be executed immediately. Any portion of the order that cannot be filled immediately will be canceled. - `GTD` - Good Til Date. The order is valid until the specified date. - `MOO` - Market On Open. The order is to be executed at the day's opening price. - `EHP` - Extended Hours P.M. The order is to be placed during extended hour trading, after markets close.
TimeInForce *string `json:"time_in_force,omitempty"`
// The time the order was placed. This is the time the order was submitted to the brokerage.
TimePlaced *time.Time `json:"time_placed,omitempty"`
// The time the order was last updated in the brokerage system. This value is not always available from the brokerage.
TimeUpdated NullableTime `json:"time_updated,omitempty"`
// The time the order was executed in the brokerage system. This value is not always available from the brokerage.
TimeExecuted NullableTime `json:"time_executed,omitempty"`
// The time the order expires. This value is not always available from the brokerage.
ExpiryDate NullableTime `json:"expiry_date,omitempty"`
// A unique ID for the security within SnapTrade, scoped to the brokerage account that the security belongs to. This is a legacy field and should not be used. Do not rely on this being a stable ID as it can change.
// Deprecated
Symbol *string `json:"symbol,omitempty"`
ChildBrokerageOrderIds NullableAccountOrderRecordChildBrokerageOrderIds `json:"child_brokerage_order_ids,omitempty"`
AdditionalProperties map[string]interface{}
}
AccountOrderRecord Describes a single recent order in an account. Each record here represents a single order leg. For multi-leg orders, there will be multiple records.
func NewAccountOrderRecord ¶
func NewAccountOrderRecord() *AccountOrderRecord
NewAccountOrderRecord instantiates a new AccountOrderRecord object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountOrderRecordWithDefaults ¶
func NewAccountOrderRecordWithDefaults() *AccountOrderRecord
NewAccountOrderRecordWithDefaults instantiates a new AccountOrderRecord object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountOrderRecord) GetAction ¶
func (o *AccountOrderRecord) GetAction() string
GetAction returns the Action field value if set, zero value otherwise.
func (*AccountOrderRecord) GetActionOk ¶
func (o *AccountOrderRecord) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecord) GetBrokerageOrderId ¶
func (o *AccountOrderRecord) GetBrokerageOrderId() string
GetBrokerageOrderId returns the BrokerageOrderId field value if set, zero value otherwise.
func (*AccountOrderRecord) GetBrokerageOrderIdOk ¶
func (o *AccountOrderRecord) GetBrokerageOrderIdOk() (*string, bool)
GetBrokerageOrderIdOk returns a tuple with the BrokerageOrderId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecord) GetCanceledQuantity ¶
func (o *AccountOrderRecord) GetCanceledQuantity() string
GetCanceledQuantity returns the CanceledQuantity field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecord) GetCanceledQuantityOk ¶
func (o *AccountOrderRecord) GetCanceledQuantityOk() (*string, bool)
GetCanceledQuantityOk returns a tuple with the CanceledQuantity field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecord) GetChildBrokerageOrderIds ¶ added in v1.0.55
func (o *AccountOrderRecord) GetChildBrokerageOrderIds() AccountOrderRecordChildBrokerageOrderIds
GetChildBrokerageOrderIds returns the ChildBrokerageOrderIds field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecord) GetChildBrokerageOrderIdsOk ¶ added in v1.0.55
func (o *AccountOrderRecord) GetChildBrokerageOrderIdsOk() (*AccountOrderRecordChildBrokerageOrderIds, bool)
GetChildBrokerageOrderIdsOk returns a tuple with the ChildBrokerageOrderIds field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecord) GetExecutionPrice ¶
func (o *AccountOrderRecord) GetExecutionPrice() float32
GetExecutionPrice returns the ExecutionPrice field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecord) GetExecutionPriceOk ¶
func (o *AccountOrderRecord) GetExecutionPriceOk() (*float32, bool)
GetExecutionPriceOk returns a tuple with the ExecutionPrice field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecord) GetExpiryDate ¶
func (o *AccountOrderRecord) GetExpiryDate() time.Time
GetExpiryDate returns the ExpiryDate field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecord) GetExpiryDateOk ¶
func (o *AccountOrderRecord) GetExpiryDateOk() (*time.Time, bool)
GetExpiryDateOk returns a tuple with the ExpiryDate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecord) GetFilledQuantity ¶
func (o *AccountOrderRecord) GetFilledQuantity() string
GetFilledQuantity returns the FilledQuantity field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecord) GetFilledQuantityOk ¶
func (o *AccountOrderRecord) GetFilledQuantityOk() (*string, bool)
GetFilledQuantityOk returns a tuple with the FilledQuantity field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecord) GetLimitPrice ¶
func (o *AccountOrderRecord) GetLimitPrice() float32
GetLimitPrice returns the LimitPrice field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecord) GetLimitPriceOk ¶
func (o *AccountOrderRecord) GetLimitPriceOk() (*float32, bool)
GetLimitPriceOk returns a tuple with the LimitPrice field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecord) GetOpenQuantity ¶
func (o *AccountOrderRecord) GetOpenQuantity() string
GetOpenQuantity returns the OpenQuantity field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecord) GetOpenQuantityOk ¶
func (o *AccountOrderRecord) GetOpenQuantityOk() (*string, bool)
GetOpenQuantityOk returns a tuple with the OpenQuantity field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecord) GetOptionSymbol ¶
func (o *AccountOrderRecord) GetOptionSymbol() AccountOrderRecordOptionSymbol
GetOptionSymbol returns the OptionSymbol field value if set, zero value otherwise.
func (*AccountOrderRecord) GetOptionSymbolOk ¶
func (o *AccountOrderRecord) GetOptionSymbolOk() (*AccountOrderRecordOptionSymbol, bool)
GetOptionSymbolOk returns a tuple with the OptionSymbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecord) GetOrderType ¶
func (o *AccountOrderRecord) GetOrderType() string
GetOrderType returns the OrderType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecord) GetOrderTypeOk ¶
func (o *AccountOrderRecord) GetOrderTypeOk() (*string, bool)
GetOrderTypeOk returns a tuple with the OrderType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecord) GetQuoteCurrency ¶ added in v1.0.58
func (o *AccountOrderRecord) GetQuoteCurrency() AccountOrderRecordQuoteCurrency
GetQuoteCurrency returns the QuoteCurrency field value if set, zero value otherwise.
func (*AccountOrderRecord) GetQuoteCurrencyOk ¶ added in v1.0.58
func (o *AccountOrderRecord) GetQuoteCurrencyOk() (*AccountOrderRecordQuoteCurrency, bool)
GetQuoteCurrencyOk returns a tuple with the QuoteCurrency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecord) GetQuoteUniversalSymbol ¶ added in v1.0.58
func (o *AccountOrderRecord) GetQuoteUniversalSymbol() AccountOrderRecordQuoteUniversalSymbol
GetQuoteUniversalSymbol returns the QuoteUniversalSymbol field value if set, zero value otherwise.
func (*AccountOrderRecord) GetQuoteUniversalSymbolOk ¶ added in v1.0.58
func (o *AccountOrderRecord) GetQuoteUniversalSymbolOk() (*AccountOrderRecordQuoteUniversalSymbol, bool)
GetQuoteUniversalSymbolOk returns a tuple with the QuoteUniversalSymbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecord) GetStatus ¶
func (o *AccountOrderRecord) GetStatus() AccountOrderRecordStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*AccountOrderRecord) GetStatusOk ¶
func (o *AccountOrderRecord) GetStatusOk() (*AccountOrderRecordStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecord) GetStopPrice ¶
func (o *AccountOrderRecord) GetStopPrice() float32
GetStopPrice returns the StopPrice field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecord) GetStopPriceOk ¶
func (o *AccountOrderRecord) GetStopPriceOk() (*float32, bool)
GetStopPriceOk returns a tuple with the StopPrice field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecord) GetSymbol ¶
func (o *AccountOrderRecord) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise. Deprecated
func (*AccountOrderRecord) GetSymbolOk ¶
func (o *AccountOrderRecord) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*AccountOrderRecord) GetTimeExecuted ¶
func (o *AccountOrderRecord) GetTimeExecuted() time.Time
GetTimeExecuted returns the TimeExecuted field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecord) GetTimeExecutedOk ¶
func (o *AccountOrderRecord) GetTimeExecutedOk() (*time.Time, bool)
GetTimeExecutedOk returns a tuple with the TimeExecuted field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecord) GetTimeInForce ¶
func (o *AccountOrderRecord) GetTimeInForce() string
GetTimeInForce returns the TimeInForce field value if set, zero value otherwise.
func (*AccountOrderRecord) GetTimeInForceOk ¶
func (o *AccountOrderRecord) GetTimeInForceOk() (*string, bool)
GetTimeInForceOk returns a tuple with the TimeInForce field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecord) GetTimePlaced ¶
func (o *AccountOrderRecord) GetTimePlaced() time.Time
GetTimePlaced returns the TimePlaced field value if set, zero value otherwise.
func (*AccountOrderRecord) GetTimePlacedOk ¶
func (o *AccountOrderRecord) GetTimePlacedOk() (*time.Time, bool)
GetTimePlacedOk returns a tuple with the TimePlaced field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecord) GetTimeUpdated ¶
func (o *AccountOrderRecord) GetTimeUpdated() time.Time
GetTimeUpdated returns the TimeUpdated field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecord) GetTimeUpdatedOk ¶
func (o *AccountOrderRecord) GetTimeUpdatedOk() (*time.Time, bool)
GetTimeUpdatedOk returns a tuple with the TimeUpdated field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecord) GetTotalQuantity ¶
func (o *AccountOrderRecord) GetTotalQuantity() string
GetTotalQuantity returns the TotalQuantity field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecord) GetTotalQuantityOk ¶
func (o *AccountOrderRecord) GetTotalQuantityOk() (*string, bool)
GetTotalQuantityOk returns a tuple with the TotalQuantity field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecord) GetUniversalSymbol ¶
func (o *AccountOrderRecord) GetUniversalSymbol() AccountOrderRecordUniversalSymbol
GetUniversalSymbol returns the UniversalSymbol field value if set, zero value otherwise.
func (*AccountOrderRecord) GetUniversalSymbolOk ¶
func (o *AccountOrderRecord) GetUniversalSymbolOk() (*AccountOrderRecordUniversalSymbol, bool)
GetUniversalSymbolOk returns a tuple with the UniversalSymbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecord) HasAction ¶
func (o *AccountOrderRecord) HasAction() bool
HasAction returns a boolean if a field has been set.
func (*AccountOrderRecord) HasBrokerageOrderId ¶
func (o *AccountOrderRecord) HasBrokerageOrderId() bool
HasBrokerageOrderId returns a boolean if a field has been set.
func (*AccountOrderRecord) HasCanceledQuantity ¶
func (o *AccountOrderRecord) HasCanceledQuantity() bool
HasCanceledQuantity returns a boolean if a field has been set.
func (*AccountOrderRecord) HasChildBrokerageOrderIds ¶ added in v1.0.55
func (o *AccountOrderRecord) HasChildBrokerageOrderIds() bool
HasChildBrokerageOrderIds returns a boolean if a field has been set.
func (*AccountOrderRecord) HasExecutionPrice ¶
func (o *AccountOrderRecord) HasExecutionPrice() bool
HasExecutionPrice returns a boolean if a field has been set.
func (*AccountOrderRecord) HasExpiryDate ¶
func (o *AccountOrderRecord) HasExpiryDate() bool
HasExpiryDate returns a boolean if a field has been set.
func (*AccountOrderRecord) HasFilledQuantity ¶
func (o *AccountOrderRecord) HasFilledQuantity() bool
HasFilledQuantity returns a boolean if a field has been set.
func (*AccountOrderRecord) HasLimitPrice ¶
func (o *AccountOrderRecord) HasLimitPrice() bool
HasLimitPrice returns a boolean if a field has been set.
func (*AccountOrderRecord) HasOpenQuantity ¶
func (o *AccountOrderRecord) HasOpenQuantity() bool
HasOpenQuantity returns a boolean if a field has been set.
func (*AccountOrderRecord) HasOptionSymbol ¶
func (o *AccountOrderRecord) HasOptionSymbol() bool
HasOptionSymbol returns a boolean if a field has been set.
func (*AccountOrderRecord) HasOrderType ¶
func (o *AccountOrderRecord) HasOrderType() bool
HasOrderType returns a boolean if a field has been set.
func (*AccountOrderRecord) HasQuoteCurrency ¶ added in v1.0.58
func (o *AccountOrderRecord) HasQuoteCurrency() bool
HasQuoteCurrency returns a boolean if a field has been set.
func (*AccountOrderRecord) HasQuoteUniversalSymbol ¶ added in v1.0.58
func (o *AccountOrderRecord) HasQuoteUniversalSymbol() bool
HasQuoteUniversalSymbol returns a boolean if a field has been set.
func (*AccountOrderRecord) HasStatus ¶
func (o *AccountOrderRecord) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*AccountOrderRecord) HasStopPrice ¶
func (o *AccountOrderRecord) HasStopPrice() bool
HasStopPrice returns a boolean if a field has been set.
func (*AccountOrderRecord) HasSymbol ¶
func (o *AccountOrderRecord) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (*AccountOrderRecord) HasTimeExecuted ¶
func (o *AccountOrderRecord) HasTimeExecuted() bool
HasTimeExecuted returns a boolean if a field has been set.
func (*AccountOrderRecord) HasTimeInForce ¶
func (o *AccountOrderRecord) HasTimeInForce() bool
HasTimeInForce returns a boolean if a field has been set.
func (*AccountOrderRecord) HasTimePlaced ¶
func (o *AccountOrderRecord) HasTimePlaced() bool
HasTimePlaced returns a boolean if a field has been set.
func (*AccountOrderRecord) HasTimeUpdated ¶
func (o *AccountOrderRecord) HasTimeUpdated() bool
HasTimeUpdated returns a boolean if a field has been set.
func (*AccountOrderRecord) HasTotalQuantity ¶
func (o *AccountOrderRecord) HasTotalQuantity() bool
HasTotalQuantity returns a boolean if a field has been set.
func (*AccountOrderRecord) HasUniversalSymbol ¶
func (o *AccountOrderRecord) HasUniversalSymbol() bool
HasUniversalSymbol returns a boolean if a field has been set.
func (AccountOrderRecord) MarshalJSON ¶
func (o AccountOrderRecord) MarshalJSON() ([]byte, error)
func (*AccountOrderRecord) SetAction ¶
func (o *AccountOrderRecord) SetAction(v string)
SetAction gets a reference to the given string and assigns it to the Action field.
func (*AccountOrderRecord) SetBrokerageOrderId ¶
func (o *AccountOrderRecord) SetBrokerageOrderId(v string)
SetBrokerageOrderId gets a reference to the given string and assigns it to the BrokerageOrderId field.
func (*AccountOrderRecord) SetCanceledQuantity ¶
func (o *AccountOrderRecord) SetCanceledQuantity(v string)
SetCanceledQuantity gets a reference to the given NullableString and assigns it to the CanceledQuantity field.
func (*AccountOrderRecord) SetCanceledQuantityNil ¶
func (o *AccountOrderRecord) SetCanceledQuantityNil()
SetCanceledQuantityNil sets the value for CanceledQuantity to be an explicit nil
func (*AccountOrderRecord) SetChildBrokerageOrderIds ¶ added in v1.0.55
func (o *AccountOrderRecord) SetChildBrokerageOrderIds(v AccountOrderRecordChildBrokerageOrderIds)
SetChildBrokerageOrderIds gets a reference to the given NullableAccountOrderRecordChildBrokerageOrderIds and assigns it to the ChildBrokerageOrderIds field.
func (*AccountOrderRecord) SetChildBrokerageOrderIdsNil ¶ added in v1.0.55
func (o *AccountOrderRecord) SetChildBrokerageOrderIdsNil()
SetChildBrokerageOrderIdsNil sets the value for ChildBrokerageOrderIds to be an explicit nil
func (*AccountOrderRecord) SetExecutionPrice ¶
func (o *AccountOrderRecord) SetExecutionPrice(v float32)
SetExecutionPrice gets a reference to the given NullableFloat32 and assigns it to the ExecutionPrice field.
func (*AccountOrderRecord) SetExecutionPriceNil ¶
func (o *AccountOrderRecord) SetExecutionPriceNil()
SetExecutionPriceNil sets the value for ExecutionPrice to be an explicit nil
func (*AccountOrderRecord) SetExpiryDate ¶
func (o *AccountOrderRecord) SetExpiryDate(v time.Time)
SetExpiryDate gets a reference to the given NullableTime and assigns it to the ExpiryDate field.
func (*AccountOrderRecord) SetExpiryDateNil ¶ added in v1.0.4
func (o *AccountOrderRecord) SetExpiryDateNil()
SetExpiryDateNil sets the value for ExpiryDate to be an explicit nil
func (*AccountOrderRecord) SetFilledQuantity ¶
func (o *AccountOrderRecord) SetFilledQuantity(v string)
SetFilledQuantity gets a reference to the given NullableString and assigns it to the FilledQuantity field.
func (*AccountOrderRecord) SetFilledQuantityNil ¶
func (o *AccountOrderRecord) SetFilledQuantityNil()
SetFilledQuantityNil sets the value for FilledQuantity to be an explicit nil
func (*AccountOrderRecord) SetLimitPrice ¶
func (o *AccountOrderRecord) SetLimitPrice(v float32)
SetLimitPrice gets a reference to the given NullableFloat32 and assigns it to the LimitPrice field.
func (*AccountOrderRecord) SetLimitPriceNil ¶
func (o *AccountOrderRecord) SetLimitPriceNil()
SetLimitPriceNil sets the value for LimitPrice to be an explicit nil
func (*AccountOrderRecord) SetOpenQuantity ¶
func (o *AccountOrderRecord) SetOpenQuantity(v string)
SetOpenQuantity gets a reference to the given NullableString and assigns it to the OpenQuantity field.
func (*AccountOrderRecord) SetOpenQuantityNil ¶
func (o *AccountOrderRecord) SetOpenQuantityNil()
SetOpenQuantityNil sets the value for OpenQuantity to be an explicit nil
func (*AccountOrderRecord) SetOptionSymbol ¶
func (o *AccountOrderRecord) SetOptionSymbol(v AccountOrderRecordOptionSymbol)
SetOptionSymbol gets a reference to the given AccountOrderRecordOptionSymbol and assigns it to the OptionSymbol field.
func (*AccountOrderRecord) SetOrderType ¶
func (o *AccountOrderRecord) SetOrderType(v string)
SetOrderType gets a reference to the given NullableString and assigns it to the OrderType field.
func (*AccountOrderRecord) SetOrderTypeNil ¶
func (o *AccountOrderRecord) SetOrderTypeNil()
SetOrderTypeNil sets the value for OrderType to be an explicit nil
func (*AccountOrderRecord) SetQuoteCurrency ¶ added in v1.0.58
func (o *AccountOrderRecord) SetQuoteCurrency(v AccountOrderRecordQuoteCurrency)
SetQuoteCurrency gets a reference to the given AccountOrderRecordQuoteCurrency and assigns it to the QuoteCurrency field.
func (*AccountOrderRecord) SetQuoteUniversalSymbol ¶ added in v1.0.58
func (o *AccountOrderRecord) SetQuoteUniversalSymbol(v AccountOrderRecordQuoteUniversalSymbol)
SetQuoteUniversalSymbol gets a reference to the given AccountOrderRecordQuoteUniversalSymbol and assigns it to the QuoteUniversalSymbol field.
func (*AccountOrderRecord) SetStatus ¶
func (o *AccountOrderRecord) SetStatus(v AccountOrderRecordStatus)
SetStatus gets a reference to the given AccountOrderRecordStatus and assigns it to the Status field.
func (*AccountOrderRecord) SetStopPrice ¶
func (o *AccountOrderRecord) SetStopPrice(v float32)
SetStopPrice gets a reference to the given NullableFloat32 and assigns it to the StopPrice field.
func (*AccountOrderRecord) SetStopPriceNil ¶
func (o *AccountOrderRecord) SetStopPriceNil()
SetStopPriceNil sets the value for StopPrice to be an explicit nil
func (*AccountOrderRecord) SetSymbol ¶
func (o *AccountOrderRecord) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field. Deprecated
func (*AccountOrderRecord) SetTimeExecuted ¶
func (o *AccountOrderRecord) SetTimeExecuted(v time.Time)
SetTimeExecuted gets a reference to the given NullableTime and assigns it to the TimeExecuted field.
func (*AccountOrderRecord) SetTimeExecutedNil ¶
func (o *AccountOrderRecord) SetTimeExecutedNil()
SetTimeExecutedNil sets the value for TimeExecuted to be an explicit nil
func (*AccountOrderRecord) SetTimeInForce ¶
func (o *AccountOrderRecord) SetTimeInForce(v string)
SetTimeInForce gets a reference to the given string and assigns it to the TimeInForce field.
func (*AccountOrderRecord) SetTimePlaced ¶
func (o *AccountOrderRecord) SetTimePlaced(v time.Time)
SetTimePlaced gets a reference to the given time.Time and assigns it to the TimePlaced field.
func (*AccountOrderRecord) SetTimeUpdated ¶
func (o *AccountOrderRecord) SetTimeUpdated(v time.Time)
SetTimeUpdated gets a reference to the given NullableTime and assigns it to the TimeUpdated field.
func (*AccountOrderRecord) SetTimeUpdatedNil ¶
func (o *AccountOrderRecord) SetTimeUpdatedNil()
SetTimeUpdatedNil sets the value for TimeUpdated to be an explicit nil
func (*AccountOrderRecord) SetTotalQuantity ¶
func (o *AccountOrderRecord) SetTotalQuantity(v string)
SetTotalQuantity gets a reference to the given NullableString and assigns it to the TotalQuantity field.
func (*AccountOrderRecord) SetTotalQuantityNil ¶
func (o *AccountOrderRecord) SetTotalQuantityNil()
SetTotalQuantityNil sets the value for TotalQuantity to be an explicit nil
func (*AccountOrderRecord) SetUniversalSymbol ¶
func (o *AccountOrderRecord) SetUniversalSymbol(v AccountOrderRecordUniversalSymbol)
SetUniversalSymbol gets a reference to the given AccountOrderRecordUniversalSymbol and assigns it to the UniversalSymbol field.
func (*AccountOrderRecord) UnmarshalJSON ¶
func (o *AccountOrderRecord) UnmarshalJSON(bytes []byte) (err error)
func (*AccountOrderRecord) UnsetCanceledQuantity ¶
func (o *AccountOrderRecord) UnsetCanceledQuantity()
UnsetCanceledQuantity ensures that no value is present for CanceledQuantity, not even an explicit nil
func (*AccountOrderRecord) UnsetChildBrokerageOrderIds ¶ added in v1.0.55
func (o *AccountOrderRecord) UnsetChildBrokerageOrderIds()
UnsetChildBrokerageOrderIds ensures that no value is present for ChildBrokerageOrderIds, not even an explicit nil
func (*AccountOrderRecord) UnsetExecutionPrice ¶
func (o *AccountOrderRecord) UnsetExecutionPrice()
UnsetExecutionPrice ensures that no value is present for ExecutionPrice, not even an explicit nil
func (*AccountOrderRecord) UnsetExpiryDate ¶ added in v1.0.4
func (o *AccountOrderRecord) UnsetExpiryDate()
UnsetExpiryDate ensures that no value is present for ExpiryDate, not even an explicit nil
func (*AccountOrderRecord) UnsetFilledQuantity ¶
func (o *AccountOrderRecord) UnsetFilledQuantity()
UnsetFilledQuantity ensures that no value is present for FilledQuantity, not even an explicit nil
func (*AccountOrderRecord) UnsetLimitPrice ¶
func (o *AccountOrderRecord) UnsetLimitPrice()
UnsetLimitPrice ensures that no value is present for LimitPrice, not even an explicit nil
func (*AccountOrderRecord) UnsetOpenQuantity ¶
func (o *AccountOrderRecord) UnsetOpenQuantity()
UnsetOpenQuantity ensures that no value is present for OpenQuantity, not even an explicit nil
func (*AccountOrderRecord) UnsetOrderType ¶
func (o *AccountOrderRecord) UnsetOrderType()
UnsetOrderType ensures that no value is present for OrderType, not even an explicit nil
func (*AccountOrderRecord) UnsetStopPrice ¶
func (o *AccountOrderRecord) UnsetStopPrice()
UnsetStopPrice ensures that no value is present for StopPrice, not even an explicit nil
func (*AccountOrderRecord) UnsetTimeExecuted ¶
func (o *AccountOrderRecord) UnsetTimeExecuted()
UnsetTimeExecuted ensures that no value is present for TimeExecuted, not even an explicit nil
func (*AccountOrderRecord) UnsetTimeUpdated ¶
func (o *AccountOrderRecord) UnsetTimeUpdated()
UnsetTimeUpdated ensures that no value is present for TimeUpdated, not even an explicit nil
func (*AccountOrderRecord) UnsetTotalQuantity ¶
func (o *AccountOrderRecord) UnsetTotalQuantity()
UnsetTotalQuantity ensures that no value is present for TotalQuantity, not even an explicit nil
type AccountOrderRecordChildBrokerageOrderIds ¶ added in v1.0.55
type AccountOrderRecordChildBrokerageOrderIds struct {
// The brokerage order ID for the take profit leg of the bracket order
TakeProfitOrderId *string `json:"take_profit_order_id,omitempty"`
// The brokerage order ID for the stop loss leg of the bracket order
StopLossOrderId *string `json:"stop_loss_order_id,omitempty"`
}
AccountOrderRecordChildBrokerageOrderIds struct for AccountOrderRecordChildBrokerageOrderIds
func NewAccountOrderRecordChildBrokerageOrderIds ¶ added in v1.0.55
func NewAccountOrderRecordChildBrokerageOrderIds() *AccountOrderRecordChildBrokerageOrderIds
NewAccountOrderRecordChildBrokerageOrderIds instantiates a new AccountOrderRecordChildBrokerageOrderIds object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountOrderRecordChildBrokerageOrderIdsWithDefaults ¶ added in v1.0.55
func NewAccountOrderRecordChildBrokerageOrderIdsWithDefaults() *AccountOrderRecordChildBrokerageOrderIds
NewAccountOrderRecordChildBrokerageOrderIdsWithDefaults instantiates a new AccountOrderRecordChildBrokerageOrderIds object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountOrderRecordChildBrokerageOrderIds) GetStopLossOrderId ¶ added in v1.0.55
func (o *AccountOrderRecordChildBrokerageOrderIds) GetStopLossOrderId() string
GetStopLossOrderId returns the StopLossOrderId field value if set, zero value otherwise.
func (*AccountOrderRecordChildBrokerageOrderIds) GetStopLossOrderIdOk ¶ added in v1.0.55
func (o *AccountOrderRecordChildBrokerageOrderIds) GetStopLossOrderIdOk() (*string, bool)
GetStopLossOrderIdOk returns a tuple with the StopLossOrderId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordChildBrokerageOrderIds) GetTakeProfitOrderId ¶ added in v1.0.55
func (o *AccountOrderRecordChildBrokerageOrderIds) GetTakeProfitOrderId() string
GetTakeProfitOrderId returns the TakeProfitOrderId field value if set, zero value otherwise.
func (*AccountOrderRecordChildBrokerageOrderIds) GetTakeProfitOrderIdOk ¶ added in v1.0.55
func (o *AccountOrderRecordChildBrokerageOrderIds) GetTakeProfitOrderIdOk() (*string, bool)
GetTakeProfitOrderIdOk returns a tuple with the TakeProfitOrderId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordChildBrokerageOrderIds) HasStopLossOrderId ¶ added in v1.0.55
func (o *AccountOrderRecordChildBrokerageOrderIds) HasStopLossOrderId() bool
HasStopLossOrderId returns a boolean if a field has been set.
func (*AccountOrderRecordChildBrokerageOrderIds) HasTakeProfitOrderId ¶ added in v1.0.55
func (o *AccountOrderRecordChildBrokerageOrderIds) HasTakeProfitOrderId() bool
HasTakeProfitOrderId returns a boolean if a field has been set.
func (AccountOrderRecordChildBrokerageOrderIds) MarshalJSON ¶ added in v1.0.55
func (o AccountOrderRecordChildBrokerageOrderIds) MarshalJSON() ([]byte, error)
func (*AccountOrderRecordChildBrokerageOrderIds) SetStopLossOrderId ¶ added in v1.0.55
func (o *AccountOrderRecordChildBrokerageOrderIds) SetStopLossOrderId(v string)
SetStopLossOrderId gets a reference to the given string and assigns it to the StopLossOrderId field.
func (*AccountOrderRecordChildBrokerageOrderIds) SetTakeProfitOrderId ¶ added in v1.0.55
func (o *AccountOrderRecordChildBrokerageOrderIds) SetTakeProfitOrderId(v string)
SetTakeProfitOrderId gets a reference to the given string and assigns it to the TakeProfitOrderId field.
type AccountOrderRecordLeg ¶ added in v1.0.117
type AccountOrderRecordLeg struct {
// Brokerage order identifier for this leg, if available.
LegId NullableString `json:"leg_id,omitempty"`
Instrument *AccountOrderRecordLegInstrument `json:"instrument,omitempty"`
// The action describes the intent or side of a trade. - BUY - SELL - BUY_COVER - SELL_SHORT - BUY_TO_OPEN - BUY_TO_CLOSE - SELL_TO_OPEN - SELL_TO_CLOSE
Action *string `json:"action,omitempty"`
// Execution price for this leg, if available.
ExecutionPrice NullableFloat32 `json:"execution_price,omitempty"`
// The total number of shares or contracts associated with this leg. Can be a decimal number for fractional shares.
TotalQuantity NullableString `json:"total_quantity,omitempty"`
// The number of shares or contracts that have been canceled for this leg.
CanceledQuantity NullableString `json:"canceled_quantity,omitempty"`
// The number of shares or contracts that have been filled for this leg.
FilledQuantity NullableString `json:"filled_quantity,omitempty"`
Status NullableAccountOrderRecordStatusV2 `json:"status,omitempty"`
AdditionalProperties map[string]interface{}
}
AccountOrderRecordLeg Describes an individual leg that makes up an order in the V2 format.
func NewAccountOrderRecordLeg ¶ added in v1.0.117
func NewAccountOrderRecordLeg() *AccountOrderRecordLeg
NewAccountOrderRecordLeg instantiates a new AccountOrderRecordLeg object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountOrderRecordLegWithDefaults ¶ added in v1.0.117
func NewAccountOrderRecordLegWithDefaults() *AccountOrderRecordLeg
NewAccountOrderRecordLegWithDefaults instantiates a new AccountOrderRecordLeg object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountOrderRecordLeg) GetAction ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) GetAction() string
GetAction returns the Action field value if set, zero value otherwise.
func (*AccountOrderRecordLeg) GetActionOk ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordLeg) GetCanceledQuantity ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) GetCanceledQuantity() string
GetCanceledQuantity returns the CanceledQuantity field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordLeg) GetCanceledQuantityOk ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) GetCanceledQuantityOk() (*string, bool)
GetCanceledQuantityOk returns a tuple with the CanceledQuantity field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordLeg) GetExecutionPrice ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) GetExecutionPrice() float32
GetExecutionPrice returns the ExecutionPrice field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordLeg) GetExecutionPriceOk ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) GetExecutionPriceOk() (*float32, bool)
GetExecutionPriceOk returns a tuple with the ExecutionPrice field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordLeg) GetFilledQuantity ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) GetFilledQuantity() string
GetFilledQuantity returns the FilledQuantity field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordLeg) GetFilledQuantityOk ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) GetFilledQuantityOk() (*string, bool)
GetFilledQuantityOk returns a tuple with the FilledQuantity field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordLeg) GetInstrument ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) GetInstrument() AccountOrderRecordLegInstrument
GetInstrument returns the Instrument field value if set, zero value otherwise.
func (*AccountOrderRecordLeg) GetInstrumentOk ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) GetInstrumentOk() (*AccountOrderRecordLegInstrument, bool)
GetInstrumentOk returns a tuple with the Instrument field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordLeg) GetLegId ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) GetLegId() string
GetLegId returns the LegId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordLeg) GetLegIdOk ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) GetLegIdOk() (*string, bool)
GetLegIdOk returns a tuple with the LegId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordLeg) GetStatus ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) GetStatus() AccountOrderRecordStatusV2
GetStatus returns the Status field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordLeg) GetStatusOk ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) GetStatusOk() (*AccountOrderRecordStatusV2, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordLeg) GetTotalQuantity ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) GetTotalQuantity() string
GetTotalQuantity returns the TotalQuantity field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordLeg) GetTotalQuantityOk ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) GetTotalQuantityOk() (*string, bool)
GetTotalQuantityOk returns a tuple with the TotalQuantity field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordLeg) HasAction ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) HasAction() bool
HasAction returns a boolean if a field has been set.
func (*AccountOrderRecordLeg) HasCanceledQuantity ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) HasCanceledQuantity() bool
HasCanceledQuantity returns a boolean if a field has been set.
func (*AccountOrderRecordLeg) HasExecutionPrice ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) HasExecutionPrice() bool
HasExecutionPrice returns a boolean if a field has been set.
func (*AccountOrderRecordLeg) HasFilledQuantity ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) HasFilledQuantity() bool
HasFilledQuantity returns a boolean if a field has been set.
func (*AccountOrderRecordLeg) HasInstrument ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) HasInstrument() bool
HasInstrument returns a boolean if a field has been set.
func (*AccountOrderRecordLeg) HasLegId ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) HasLegId() bool
HasLegId returns a boolean if a field has been set.
func (*AccountOrderRecordLeg) HasStatus ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*AccountOrderRecordLeg) HasTotalQuantity ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) HasTotalQuantity() bool
HasTotalQuantity returns a boolean if a field has been set.
func (AccountOrderRecordLeg) MarshalJSON ¶ added in v1.0.117
func (o AccountOrderRecordLeg) MarshalJSON() ([]byte, error)
func (*AccountOrderRecordLeg) SetAction ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) SetAction(v string)
SetAction gets a reference to the given string and assigns it to the Action field.
func (*AccountOrderRecordLeg) SetCanceledQuantity ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) SetCanceledQuantity(v string)
SetCanceledQuantity gets a reference to the given NullableString and assigns it to the CanceledQuantity field.
func (*AccountOrderRecordLeg) SetCanceledQuantityNil ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) SetCanceledQuantityNil()
SetCanceledQuantityNil sets the value for CanceledQuantity to be an explicit nil
func (*AccountOrderRecordLeg) SetExecutionPrice ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) SetExecutionPrice(v float32)
SetExecutionPrice gets a reference to the given NullableFloat32 and assigns it to the ExecutionPrice field.
func (*AccountOrderRecordLeg) SetExecutionPriceNil ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) SetExecutionPriceNil()
SetExecutionPriceNil sets the value for ExecutionPrice to be an explicit nil
func (*AccountOrderRecordLeg) SetFilledQuantity ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) SetFilledQuantity(v string)
SetFilledQuantity gets a reference to the given NullableString and assigns it to the FilledQuantity field.
func (*AccountOrderRecordLeg) SetFilledQuantityNil ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) SetFilledQuantityNil()
SetFilledQuantityNil sets the value for FilledQuantity to be an explicit nil
func (*AccountOrderRecordLeg) SetInstrument ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) SetInstrument(v AccountOrderRecordLegInstrument)
SetInstrument gets a reference to the given AccountOrderRecordLegInstrument and assigns it to the Instrument field.
func (*AccountOrderRecordLeg) SetLegId ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) SetLegId(v string)
SetLegId gets a reference to the given NullableString and assigns it to the LegId field.
func (*AccountOrderRecordLeg) SetLegIdNil ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) SetLegIdNil()
SetLegIdNil sets the value for LegId to be an explicit nil
func (*AccountOrderRecordLeg) SetStatus ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) SetStatus(v AccountOrderRecordStatusV2)
SetStatus gets a reference to the given NullableAccountOrderRecordStatusV2 and assigns it to the Status field.
func (*AccountOrderRecordLeg) SetStatusNil ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) SetStatusNil()
SetStatusNil sets the value for Status to be an explicit nil
func (*AccountOrderRecordLeg) SetTotalQuantity ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) SetTotalQuantity(v string)
SetTotalQuantity gets a reference to the given NullableString and assigns it to the TotalQuantity field.
func (*AccountOrderRecordLeg) SetTotalQuantityNil ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) SetTotalQuantityNil()
SetTotalQuantityNil sets the value for TotalQuantity to be an explicit nil
func (*AccountOrderRecordLeg) UnmarshalJSON ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) UnmarshalJSON(bytes []byte) (err error)
func (*AccountOrderRecordLeg) UnsetCanceledQuantity ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) UnsetCanceledQuantity()
UnsetCanceledQuantity ensures that no value is present for CanceledQuantity, not even an explicit nil
func (*AccountOrderRecordLeg) UnsetExecutionPrice ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) UnsetExecutionPrice()
UnsetExecutionPrice ensures that no value is present for ExecutionPrice, not even an explicit nil
func (*AccountOrderRecordLeg) UnsetFilledQuantity ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) UnsetFilledQuantity()
UnsetFilledQuantity ensures that no value is present for FilledQuantity, not even an explicit nil
func (*AccountOrderRecordLeg) UnsetLegId ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) UnsetLegId()
UnsetLegId ensures that no value is present for LegId, not even an explicit nil
func (*AccountOrderRecordLeg) UnsetStatus ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) UnsetStatus()
UnsetStatus ensures that no value is present for Status, not even an explicit nil
func (*AccountOrderRecordLeg) UnsetTotalQuantity ¶ added in v1.0.117
func (o *AccountOrderRecordLeg) UnsetTotalQuantity()
UnsetTotalQuantity ensures that no value is present for TotalQuantity, not even an explicit nil
type AccountOrderRecordLegInstrument ¶ added in v1.0.117
type AccountOrderRecordLegInstrument struct {
// The symbol or ticker for the security.
Symbol *string `json:"symbol,omitempty"`
// Human-readable description of the security.
Description *string `json:"description,omitempty"`
// Type of instrument for the leg. - EQUITY - OPTION - CRYPTO
AssetType *string `json:"asset_type,omitempty"`
// Market Identifier Code (MIC) for the exchange on which the instrument trades.
ExchangeMicCode *string `json:"exchange_mic_code,omitempty"`
// Financial Instrument Global Identifier (FIGI) if available.
FigiCode NullableString `json:"figi_code,omitempty"`
AdditionalProperties map[string]interface{}
}
AccountOrderRecordLegInstrument Instrument metadata for an order leg.
func NewAccountOrderRecordLegInstrument ¶ added in v1.0.117
func NewAccountOrderRecordLegInstrument() *AccountOrderRecordLegInstrument
NewAccountOrderRecordLegInstrument instantiates a new AccountOrderRecordLegInstrument object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountOrderRecordLegInstrumentWithDefaults ¶ added in v1.0.117
func NewAccountOrderRecordLegInstrumentWithDefaults() *AccountOrderRecordLegInstrument
NewAccountOrderRecordLegInstrumentWithDefaults instantiates a new AccountOrderRecordLegInstrument object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountOrderRecordLegInstrument) GetAssetType ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) GetAssetType() string
GetAssetType returns the AssetType field value if set, zero value otherwise.
func (*AccountOrderRecordLegInstrument) GetAssetTypeOk ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) GetAssetTypeOk() (*string, bool)
GetAssetTypeOk returns a tuple with the AssetType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordLegInstrument) GetDescription ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*AccountOrderRecordLegInstrument) GetDescriptionOk ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordLegInstrument) GetExchangeMicCode ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) GetExchangeMicCode() string
GetExchangeMicCode returns the ExchangeMicCode field value if set, zero value otherwise.
func (*AccountOrderRecordLegInstrument) GetExchangeMicCodeOk ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) GetExchangeMicCodeOk() (*string, bool)
GetExchangeMicCodeOk returns a tuple with the ExchangeMicCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordLegInstrument) GetFigiCode ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) GetFigiCode() string
GetFigiCode returns the FigiCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordLegInstrument) GetFigiCodeOk ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) GetFigiCodeOk() (*string, bool)
GetFigiCodeOk returns a tuple with the FigiCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordLegInstrument) GetSymbol ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*AccountOrderRecordLegInstrument) GetSymbolOk ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordLegInstrument) HasAssetType ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) HasAssetType() bool
HasAssetType returns a boolean if a field has been set.
func (*AccountOrderRecordLegInstrument) HasDescription ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AccountOrderRecordLegInstrument) HasExchangeMicCode ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) HasExchangeMicCode() bool
HasExchangeMicCode returns a boolean if a field has been set.
func (*AccountOrderRecordLegInstrument) HasFigiCode ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) HasFigiCode() bool
HasFigiCode returns a boolean if a field has been set.
func (*AccountOrderRecordLegInstrument) HasSymbol ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (AccountOrderRecordLegInstrument) MarshalJSON ¶ added in v1.0.117
func (o AccountOrderRecordLegInstrument) MarshalJSON() ([]byte, error)
func (*AccountOrderRecordLegInstrument) SetAssetType ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) SetAssetType(v string)
SetAssetType gets a reference to the given string and assigns it to the AssetType field.
func (*AccountOrderRecordLegInstrument) SetDescription ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*AccountOrderRecordLegInstrument) SetExchangeMicCode ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) SetExchangeMicCode(v string)
SetExchangeMicCode gets a reference to the given string and assigns it to the ExchangeMicCode field.
func (*AccountOrderRecordLegInstrument) SetFigiCode ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) SetFigiCode(v string)
SetFigiCode gets a reference to the given NullableString and assigns it to the FigiCode field.
func (*AccountOrderRecordLegInstrument) SetFigiCodeNil ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) SetFigiCodeNil()
SetFigiCodeNil sets the value for FigiCode to be an explicit nil
func (*AccountOrderRecordLegInstrument) SetSymbol ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*AccountOrderRecordLegInstrument) UnmarshalJSON ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) UnmarshalJSON(bytes []byte) (err error)
func (*AccountOrderRecordLegInstrument) UnsetFigiCode ¶ added in v1.0.117
func (o *AccountOrderRecordLegInstrument) UnsetFigiCode()
UnsetFigiCode ensures that no value is present for FigiCode, not even an explicit nil
type AccountOrderRecordOptionSymbol ¶ added in v1.0.4
type AccountOrderRecordOptionSymbol struct {
// Unique identifier for the option symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
Id string `json:"id"`
// The [OCC symbol](https://en.wikipedia.org/wiki/Option_symbol) for the option.
Ticker string `json:"ticker"`
// The type of option. Either \"CALL\" or \"PUT\".
OptionType string `json:"option_type"`
// The option strike price.
StrikePrice float32 `json:"strike_price"`
// The option expiration date.
ExpirationDate string `json:"expiration_date"`
// Whether the option is a mini option. Mini options have 10 underlying shares per contract instead of the standard 100.
IsMiniOption *bool `json:"is_mini_option,omitempty"`
UnderlyingSymbol UnderlyingSymbol `json:"underlying_symbol"`
}
AccountOrderRecordOptionSymbol Contains information about the option contract that the order is for. This field is only present for option orders. For stock/ETF/crypto/mutual fund orders, this field will be null and the `universal_symbol` field will be populated.
func NewAccountOrderRecordOptionSymbol ¶ added in v1.0.4
func NewAccountOrderRecordOptionSymbol(id string, ticker string, optionType string, strikePrice float32, expirationDate string, underlyingSymbol UnderlyingSymbol) *AccountOrderRecordOptionSymbol
NewAccountOrderRecordOptionSymbol instantiates a new AccountOrderRecordOptionSymbol object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountOrderRecordOptionSymbolWithDefaults ¶ added in v1.0.4
func NewAccountOrderRecordOptionSymbolWithDefaults() *AccountOrderRecordOptionSymbol
NewAccountOrderRecordOptionSymbolWithDefaults instantiates a new AccountOrderRecordOptionSymbol object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountOrderRecordOptionSymbol) GetExpirationDate ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) GetExpirationDate() string
GetExpirationDate returns the ExpirationDate field value
func (*AccountOrderRecordOptionSymbol) GetExpirationDateOk ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) GetExpirationDateOk() (*string, bool)
GetExpirationDateOk returns a tuple with the ExpirationDate field value and a boolean to check if the value has been set.
func (*AccountOrderRecordOptionSymbol) GetId ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) GetId() string
GetId returns the Id field value
func (*AccountOrderRecordOptionSymbol) GetIdOk ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AccountOrderRecordOptionSymbol) GetIsMiniOption ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) GetIsMiniOption() bool
GetIsMiniOption returns the IsMiniOption field value if set, zero value otherwise.
func (*AccountOrderRecordOptionSymbol) GetIsMiniOptionOk ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) GetIsMiniOptionOk() (*bool, bool)
GetIsMiniOptionOk returns a tuple with the IsMiniOption field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordOptionSymbol) GetOptionType ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) GetOptionType() string
GetOptionType returns the OptionType field value
func (*AccountOrderRecordOptionSymbol) GetOptionTypeOk ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) GetOptionTypeOk() (*string, bool)
GetOptionTypeOk returns a tuple with the OptionType field value and a boolean to check if the value has been set.
func (*AccountOrderRecordOptionSymbol) GetStrikePrice ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) GetStrikePrice() float32
GetStrikePrice returns the StrikePrice field value
func (*AccountOrderRecordOptionSymbol) GetStrikePriceOk ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) GetStrikePriceOk() (*float32, bool)
GetStrikePriceOk returns a tuple with the StrikePrice field value and a boolean to check if the value has been set.
func (*AccountOrderRecordOptionSymbol) GetTicker ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) GetTicker() string
GetTicker returns the Ticker field value
func (*AccountOrderRecordOptionSymbol) GetTickerOk ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) GetTickerOk() (*string, bool)
GetTickerOk returns a tuple with the Ticker field value and a boolean to check if the value has been set.
func (*AccountOrderRecordOptionSymbol) GetUnderlyingSymbol ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) GetUnderlyingSymbol() UnderlyingSymbol
GetUnderlyingSymbol returns the UnderlyingSymbol field value
func (*AccountOrderRecordOptionSymbol) GetUnderlyingSymbolOk ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) GetUnderlyingSymbolOk() (*UnderlyingSymbol, bool)
GetUnderlyingSymbolOk returns a tuple with the UnderlyingSymbol field value and a boolean to check if the value has been set.
func (*AccountOrderRecordOptionSymbol) HasIsMiniOption ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) HasIsMiniOption() bool
HasIsMiniOption returns a boolean if a field has been set.
func (AccountOrderRecordOptionSymbol) MarshalJSON ¶ added in v1.0.4
func (o AccountOrderRecordOptionSymbol) MarshalJSON() ([]byte, error)
func (*AccountOrderRecordOptionSymbol) SetExpirationDate ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) SetExpirationDate(v string)
SetExpirationDate sets field value
func (*AccountOrderRecordOptionSymbol) SetId ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) SetId(v string)
SetId sets field value
func (*AccountOrderRecordOptionSymbol) SetIsMiniOption ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) SetIsMiniOption(v bool)
SetIsMiniOption gets a reference to the given bool and assigns it to the IsMiniOption field.
func (*AccountOrderRecordOptionSymbol) SetOptionType ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) SetOptionType(v string)
SetOptionType sets field value
func (*AccountOrderRecordOptionSymbol) SetStrikePrice ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) SetStrikePrice(v float32)
SetStrikePrice sets field value
func (*AccountOrderRecordOptionSymbol) SetTicker ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) SetTicker(v string)
SetTicker sets field value
func (*AccountOrderRecordOptionSymbol) SetUnderlyingSymbol ¶ added in v1.0.4
func (o *AccountOrderRecordOptionSymbol) SetUnderlyingSymbol(v UnderlyingSymbol)
SetUnderlyingSymbol sets field value
type AccountOrderRecordQuoteCurrency ¶ added in v1.0.58
type AccountOrderRecordQuoteCurrency struct {
// Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
Id *string `json:"id,omitempty"`
// The ISO-4217 currency code for the currency.
Code *string `json:"code,omitempty"`
// A human-friendly name of the currency.
Name *string `json:"name,omitempty"`
}
AccountOrderRecordQuoteCurrency Quote currency. This field is only present for cryptocurrency pair orders with a fiat currency as quote.
func NewAccountOrderRecordQuoteCurrency ¶ added in v1.0.58
func NewAccountOrderRecordQuoteCurrency() *AccountOrderRecordQuoteCurrency
NewAccountOrderRecordQuoteCurrency instantiates a new AccountOrderRecordQuoteCurrency object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountOrderRecordQuoteCurrencyWithDefaults ¶ added in v1.0.58
func NewAccountOrderRecordQuoteCurrencyWithDefaults() *AccountOrderRecordQuoteCurrency
NewAccountOrderRecordQuoteCurrencyWithDefaults instantiates a new AccountOrderRecordQuoteCurrency object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountOrderRecordQuoteCurrency) GetCode ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteCurrency) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*AccountOrderRecordQuoteCurrency) GetCodeOk ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteCurrency) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordQuoteCurrency) GetId ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteCurrency) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*AccountOrderRecordQuoteCurrency) GetIdOk ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteCurrency) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordQuoteCurrency) GetName ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteCurrency) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AccountOrderRecordQuoteCurrency) GetNameOk ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteCurrency) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordQuoteCurrency) HasCode ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteCurrency) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*AccountOrderRecordQuoteCurrency) HasId ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteCurrency) HasId() bool
HasId returns a boolean if a field has been set.
func (*AccountOrderRecordQuoteCurrency) HasName ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteCurrency) HasName() bool
HasName returns a boolean if a field has been set.
func (AccountOrderRecordQuoteCurrency) MarshalJSON ¶ added in v1.0.58
func (o AccountOrderRecordQuoteCurrency) MarshalJSON() ([]byte, error)
func (*AccountOrderRecordQuoteCurrency) SetCode ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteCurrency) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*AccountOrderRecordQuoteCurrency) SetId ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteCurrency) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*AccountOrderRecordQuoteCurrency) SetName ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteCurrency) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type AccountOrderRecordQuoteUniversalSymbol ¶ added in v1.0.58
type AccountOrderRecordQuoteUniversalSymbol struct {
// Unique identifier for the symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
Id string `json:"id"`
// The security's trading ticker symbol. For example \"AAPL\" for Apple Inc. We largely follow the [Yahoo Finance ticker format](https://help.yahoo.com/kb/SLN2310.html)(click on \"Yahoo Finance Market Coverage and Data Delays\"). For example, for securities traded on the Toronto Stock Exchange, the symbol has a '.TO' suffix. For securities traded on NASDAQ or NYSE, the symbol does not have a suffix.
Symbol string `json:"symbol"`
// The raw symbol is `symbol` with the exchange suffix removed. For example, if `symbol` is \"VAB.TO\", then `raw_symbol` is \"VAB\".
RawSymbol string `json:"raw_symbol"`
// A human-readable description of the security. This is usually the company name or ETF name.
Description NullableString `json:"description,omitempty"`
Currency SymbolCurrency `json:"currency"`
Exchange *SymbolExchange `json:"exchange,omitempty"`
Type SecurityType `json:"type"`
// This identifier is unique per security per trading venue. See section 1.4.1 of the [FIGI Standard](https://www.openfigi.com/assets/local/figi-allocation-rules.pdf) for more information. This value should be the same as the `figi_code` in the `figi_instrument` child property.
FigiCode NullableString `json:"figi_code,omitempty"`
FigiInstrument NullableSymbolFigiInstrument `json:"figi_instrument,omitempty"`
// This field is deprecated and should not be used. Please reach out to SnapTrade support if you have a valid usecase for this.
// Deprecated
Currencies []Currency `json:"currencies"`
}
AccountOrderRecordQuoteUniversalSymbol Quote cryptocurrency. This field is only present for cryptocurrency pair orders with a cryptocurrency as quote.
func NewAccountOrderRecordQuoteUniversalSymbol ¶ added in v1.0.58
func NewAccountOrderRecordQuoteUniversalSymbol(id string, symbol string, rawSymbol string, currency SymbolCurrency, type_ SecurityType, currencies []Currency) *AccountOrderRecordQuoteUniversalSymbol
NewAccountOrderRecordQuoteUniversalSymbol instantiates a new AccountOrderRecordQuoteUniversalSymbol object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountOrderRecordQuoteUniversalSymbolWithDefaults ¶ added in v1.0.58
func NewAccountOrderRecordQuoteUniversalSymbolWithDefaults() *AccountOrderRecordQuoteUniversalSymbol
NewAccountOrderRecordQuoteUniversalSymbolWithDefaults instantiates a new AccountOrderRecordQuoteUniversalSymbol object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountOrderRecordQuoteUniversalSymbol) GetCurrencies ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetCurrencies() []Currency
GetCurrencies returns the Currencies field value Deprecated
func (*AccountOrderRecordQuoteUniversalSymbol) GetCurrenciesOk ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetCurrenciesOk() ([]Currency, bool)
GetCurrenciesOk returns a tuple with the Currencies field value and a boolean to check if the value has been set. Deprecated
func (*AccountOrderRecordQuoteUniversalSymbol) GetCurrency ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetCurrency() SymbolCurrency
GetCurrency returns the Currency field value
func (*AccountOrderRecordQuoteUniversalSymbol) GetCurrencyOk ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetCurrencyOk() (*SymbolCurrency, bool)
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*AccountOrderRecordQuoteUniversalSymbol) GetDescription ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordQuoteUniversalSymbol) GetDescriptionOk ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordQuoteUniversalSymbol) GetExchange ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetExchange() SymbolExchange
GetExchange returns the Exchange field value if set, zero value otherwise.
func (*AccountOrderRecordQuoteUniversalSymbol) GetExchangeOk ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetExchangeOk() (*SymbolExchange, bool)
GetExchangeOk returns a tuple with the Exchange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordQuoteUniversalSymbol) GetFigiCode ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetFigiCode() string
GetFigiCode returns the FigiCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordQuoteUniversalSymbol) GetFigiCodeOk ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetFigiCodeOk() (*string, bool)
GetFigiCodeOk returns a tuple with the FigiCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordQuoteUniversalSymbol) GetFigiInstrument ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetFigiInstrument() SymbolFigiInstrument
GetFigiInstrument returns the FigiInstrument field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordQuoteUniversalSymbol) GetFigiInstrumentOk ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetFigiInstrumentOk() (*SymbolFigiInstrument, bool)
GetFigiInstrumentOk returns a tuple with the FigiInstrument field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordQuoteUniversalSymbol) GetId ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetId() string
GetId returns the Id field value
func (*AccountOrderRecordQuoteUniversalSymbol) GetIdOk ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AccountOrderRecordQuoteUniversalSymbol) GetRawSymbol ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetRawSymbol() string
GetRawSymbol returns the RawSymbol field value
func (*AccountOrderRecordQuoteUniversalSymbol) GetRawSymbolOk ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetRawSymbolOk() (*string, bool)
GetRawSymbolOk returns a tuple with the RawSymbol field value and a boolean to check if the value has been set.
func (*AccountOrderRecordQuoteUniversalSymbol) GetSymbol ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetSymbol() string
GetSymbol returns the Symbol field value
func (*AccountOrderRecordQuoteUniversalSymbol) GetSymbolOk ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field value and a boolean to check if the value has been set.
func (*AccountOrderRecordQuoteUniversalSymbol) GetType ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetType() SecurityType
GetType returns the Type field value
func (*AccountOrderRecordQuoteUniversalSymbol) GetTypeOk ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) GetTypeOk() (*SecurityType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*AccountOrderRecordQuoteUniversalSymbol) HasDescription ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AccountOrderRecordQuoteUniversalSymbol) HasExchange ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) HasExchange() bool
HasExchange returns a boolean if a field has been set.
func (*AccountOrderRecordQuoteUniversalSymbol) HasFigiCode ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) HasFigiCode() bool
HasFigiCode returns a boolean if a field has been set.
func (*AccountOrderRecordQuoteUniversalSymbol) HasFigiInstrument ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) HasFigiInstrument() bool
HasFigiInstrument returns a boolean if a field has been set.
func (AccountOrderRecordQuoteUniversalSymbol) MarshalJSON ¶ added in v1.0.58
func (o AccountOrderRecordQuoteUniversalSymbol) MarshalJSON() ([]byte, error)
func (*AccountOrderRecordQuoteUniversalSymbol) SetCurrencies ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) SetCurrencies(v []Currency)
SetCurrencies sets field value Deprecated
func (*AccountOrderRecordQuoteUniversalSymbol) SetCurrency ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) SetCurrency(v SymbolCurrency)
SetCurrency sets field value
func (*AccountOrderRecordQuoteUniversalSymbol) SetDescription ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*AccountOrderRecordQuoteUniversalSymbol) SetDescriptionNil ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*AccountOrderRecordQuoteUniversalSymbol) SetExchange ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) SetExchange(v SymbolExchange)
SetExchange gets a reference to the given SymbolExchange and assigns it to the Exchange field.
func (*AccountOrderRecordQuoteUniversalSymbol) SetFigiCode ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) SetFigiCode(v string)
SetFigiCode gets a reference to the given NullableString and assigns it to the FigiCode field.
func (*AccountOrderRecordQuoteUniversalSymbol) SetFigiCodeNil ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) SetFigiCodeNil()
SetFigiCodeNil sets the value for FigiCode to be an explicit nil
func (*AccountOrderRecordQuoteUniversalSymbol) SetFigiInstrument ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) SetFigiInstrument(v SymbolFigiInstrument)
SetFigiInstrument gets a reference to the given NullableSymbolFigiInstrument and assigns it to the FigiInstrument field.
func (*AccountOrderRecordQuoteUniversalSymbol) SetFigiInstrumentNil ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) SetFigiInstrumentNil()
SetFigiInstrumentNil sets the value for FigiInstrument to be an explicit nil
func (*AccountOrderRecordQuoteUniversalSymbol) SetId ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) SetId(v string)
SetId sets field value
func (*AccountOrderRecordQuoteUniversalSymbol) SetRawSymbol ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) SetRawSymbol(v string)
SetRawSymbol sets field value
func (*AccountOrderRecordQuoteUniversalSymbol) SetSymbol ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) SetSymbol(v string)
SetSymbol sets field value
func (*AccountOrderRecordQuoteUniversalSymbol) SetType ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) SetType(v SecurityType)
SetType sets field value
func (*AccountOrderRecordQuoteUniversalSymbol) UnsetDescription ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*AccountOrderRecordQuoteUniversalSymbol) UnsetFigiCode ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) UnsetFigiCode()
UnsetFigiCode ensures that no value is present for FigiCode, not even an explicit nil
func (*AccountOrderRecordQuoteUniversalSymbol) UnsetFigiInstrument ¶ added in v1.0.58
func (o *AccountOrderRecordQuoteUniversalSymbol) UnsetFigiInstrument()
UnsetFigiInstrument ensures that no value is present for FigiInstrument, not even an explicit nil
type AccountOrderRecordStatus ¶
type AccountOrderRecordStatus string
AccountOrderRecordStatus Indicates the status of an order. SnapTrade does a best effort to map brokerage statuses to statuses in this enum. Possible values include: - NONE - PENDING - ACCEPTED - FAILED - REJECTED - CANCELED - PARTIAL_CANCELED - CANCEL_PENDING - EXECUTED - PARTIAL - REPLACE_PENDING - REPLACED - EXPIRED - QUEUED - TRIGGERED - ACTIVATED
const ( ACCOUNTORDERRECORDSTATUS_NONE AccountOrderRecordStatus = "NONE" ACCOUNTORDERRECORDSTATUS_PENDING AccountOrderRecordStatus = "PENDING" ACCOUNTORDERRECORDSTATUS_ACCEPTED AccountOrderRecordStatus = "ACCEPTED" ACCOUNTORDERRECORDSTATUS_FAILED AccountOrderRecordStatus = "FAILED" ACCOUNTORDERRECORDSTATUS_REJECTED AccountOrderRecordStatus = "REJECTED" ACCOUNTORDERRECORDSTATUS_CANCELED AccountOrderRecordStatus = "CANCELED" ACCOUNTORDERRECORDSTATUS_PARTIAL_CANCELED AccountOrderRecordStatus = "PARTIAL_CANCELED" ACCOUNTORDERRECORDSTATUS_CANCEL_PENDING AccountOrderRecordStatus = "CANCEL_PENDING" ACCOUNTORDERRECORDSTATUS_EXECUTED AccountOrderRecordStatus = "EXECUTED" ACCOUNTORDERRECORDSTATUS_PARTIAL AccountOrderRecordStatus = "PARTIAL" ACCOUNTORDERRECORDSTATUS_REPLACE_PENDING AccountOrderRecordStatus = "REPLACE_PENDING" ACCOUNTORDERRECORDSTATUS_REPLACED AccountOrderRecordStatus = "REPLACED" ACCOUNTORDERRECORDSTATUS_STOPPED AccountOrderRecordStatus = "STOPPED" ACCOUNTORDERRECORDSTATUS_SUSPENDED AccountOrderRecordStatus = "SUSPENDED" ACCOUNTORDERRECORDSTATUS_EXPIRED AccountOrderRecordStatus = "EXPIRED" ACCOUNTORDERRECORDSTATUS_QUEUED AccountOrderRecordStatus = "QUEUED" ACCOUNTORDERRECORDSTATUS_TRIGGERED AccountOrderRecordStatus = "TRIGGERED" ACCOUNTORDERRECORDSTATUS_ACTIVATED AccountOrderRecordStatus = "ACTIVATED" ACCOUNTORDERRECORDSTATUS_PENDING_RISK_REVIEW AccountOrderRecordStatus = "PENDING_RISK_REVIEW" ACCOUNTORDERRECORDSTATUS_CONTINGENT_ORDER AccountOrderRecordStatus = "CONTINGENT_ORDER" )
List of AccountOrderRecordStatus
func NewAccountOrderRecordStatusFromValue ¶
func NewAccountOrderRecordStatusFromValue(v string) (*AccountOrderRecordStatus, error)
NewAccountOrderRecordStatusFromValue returns a pointer to a valid AccountOrderRecordStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (AccountOrderRecordStatus) IsValid ¶
func (v AccountOrderRecordStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (AccountOrderRecordStatus) Ptr ¶
func (v AccountOrderRecordStatus) Ptr() *AccountOrderRecordStatus
Ptr returns reference to AccountOrderRecordStatus value
func (*AccountOrderRecordStatus) UnmarshalJSON ¶
func (v *AccountOrderRecordStatus) UnmarshalJSON(src []byte) error
type AccountOrderRecordStatusV2 ¶ added in v1.0.117
type AccountOrderRecordStatusV2 string
AccountOrderRecordStatusV2 Indicates the status of an order. SnapTrade does a best effort to map brokerage statuses to statuses in this enum.
const ( ACCOUNTORDERRECORDSTATUSV2_PENDING AccountOrderRecordStatusV2 = "PENDING" ACCOUNTORDERRECORDSTATUSV2_REJECTED AccountOrderRecordStatusV2 = "REJECTED" ACCOUNTORDERRECORDSTATUSV2_CANCELED AccountOrderRecordStatusV2 = "CANCELED" ACCOUNTORDERRECORDSTATUSV2_CANCEL_PENDING AccountOrderRecordStatusV2 = "CANCEL_PENDING" ACCOUNTORDERRECORDSTATUSV2_PARTIAL_CANCELED AccountOrderRecordStatusV2 = "PARTIAL_CANCELED" ACCOUNTORDERRECORDSTATUSV2_EXECUTED AccountOrderRecordStatusV2 = "EXECUTED" ACCOUNTORDERRECORDSTATUSV2_PARTIALLY_EXECUTED AccountOrderRecordStatusV2 = "PARTIALLY_EXECUTED" ACCOUNTORDERRECORDSTATUSV2_REPLACED AccountOrderRecordStatusV2 = "REPLACED" ACCOUNTORDERRECORDSTATUSV2_REPLACE_PENDING AccountOrderRecordStatusV2 = "REPLACE_PENDING" ACCOUNTORDERRECORDSTATUSV2_EXPIRED AccountOrderRecordStatusV2 = "EXPIRED" )
List of AccountOrderRecordStatusV2
func NewAccountOrderRecordStatusV2FromValue ¶ added in v1.0.117
func NewAccountOrderRecordStatusV2FromValue(v string) (*AccountOrderRecordStatusV2, error)
NewAccountOrderRecordStatusV2FromValue returns a pointer to a valid AccountOrderRecordStatusV2 for the value passed as argument, or an error if the value passed is not allowed by the enum
func (AccountOrderRecordStatusV2) IsValid ¶ added in v1.0.117
func (v AccountOrderRecordStatusV2) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (AccountOrderRecordStatusV2) Ptr ¶ added in v1.0.117
func (v AccountOrderRecordStatusV2) Ptr() *AccountOrderRecordStatusV2
Ptr returns reference to AccountOrderRecordStatusV2 value
func (*AccountOrderRecordStatusV2) UnmarshalJSON ¶ added in v1.0.117
func (v *AccountOrderRecordStatusV2) UnmarshalJSON(src []byte) error
type AccountOrderRecordUniversalSymbol ¶ added in v1.0.4
type AccountOrderRecordUniversalSymbol struct {
// Unique identifier for the symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
Id string `json:"id"`
// The security's trading ticker symbol. For example \"AAPL\" for Apple Inc. We largely follow the [Yahoo Finance ticker format](https://help.yahoo.com/kb/SLN2310.html)(click on \"Yahoo Finance Market Coverage and Data Delays\"). For example, for securities traded on the Toronto Stock Exchange, the symbol has a '.TO' suffix. For securities traded on NASDAQ or NYSE, the symbol does not have a suffix.
Symbol string `json:"symbol"`
// The raw symbol is `symbol` with the exchange suffix removed. For example, if `symbol` is \"VAB.TO\", then `raw_symbol` is \"VAB\".
RawSymbol string `json:"raw_symbol"`
// A human-readable description of the security. This is usually the company name or ETF name.
Description NullableString `json:"description,omitempty"`
Currency SymbolCurrency `json:"currency"`
Exchange *SymbolExchange `json:"exchange,omitempty"`
Type SecurityType `json:"type"`
// This identifier is unique per security per trading venue. See section 1.4.1 of the [FIGI Standard](https://www.openfigi.com/assets/local/figi-allocation-rules.pdf) for more information. This value should be the same as the `figi_code` in the `figi_instrument` child property.
FigiCode NullableString `json:"figi_code,omitempty"`
FigiInstrument NullableSymbolFigiInstrument `json:"figi_instrument,omitempty"`
// This field is deprecated and should not be used. Please reach out to SnapTrade support if you have a valid usecase for this.
// Deprecated
Currencies []Currency `json:"currencies"`
}
AccountOrderRecordUniversalSymbol Contains information about the security that the order is for. This field is only present for stock/ETF/crypto/mutual fund orders. For option orders, this field will be null and the `option_symbol` field will be populated.
func NewAccountOrderRecordUniversalSymbol ¶ added in v1.0.4
func NewAccountOrderRecordUniversalSymbol(id string, symbol string, rawSymbol string, currency SymbolCurrency, type_ SecurityType, currencies []Currency) *AccountOrderRecordUniversalSymbol
NewAccountOrderRecordUniversalSymbol instantiates a new AccountOrderRecordUniversalSymbol object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountOrderRecordUniversalSymbolWithDefaults ¶ added in v1.0.4
func NewAccountOrderRecordUniversalSymbolWithDefaults() *AccountOrderRecordUniversalSymbol
NewAccountOrderRecordUniversalSymbolWithDefaults instantiates a new AccountOrderRecordUniversalSymbol object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountOrderRecordUniversalSymbol) GetCurrencies ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetCurrencies() []Currency
GetCurrencies returns the Currencies field value Deprecated
func (*AccountOrderRecordUniversalSymbol) GetCurrenciesOk ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetCurrenciesOk() ([]Currency, bool)
GetCurrenciesOk returns a tuple with the Currencies field value and a boolean to check if the value has been set. Deprecated
func (*AccountOrderRecordUniversalSymbol) GetCurrency ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetCurrency() SymbolCurrency
GetCurrency returns the Currency field value
func (*AccountOrderRecordUniversalSymbol) GetCurrencyOk ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetCurrencyOk() (*SymbolCurrency, bool)
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*AccountOrderRecordUniversalSymbol) GetDescription ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordUniversalSymbol) GetDescriptionOk ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordUniversalSymbol) GetExchange ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetExchange() SymbolExchange
GetExchange returns the Exchange field value if set, zero value otherwise.
func (*AccountOrderRecordUniversalSymbol) GetExchangeOk ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetExchangeOk() (*SymbolExchange, bool)
GetExchangeOk returns a tuple with the Exchange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordUniversalSymbol) GetFigiCode ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetFigiCode() string
GetFigiCode returns the FigiCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordUniversalSymbol) GetFigiCodeOk ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetFigiCodeOk() (*string, bool)
GetFigiCodeOk returns a tuple with the FigiCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordUniversalSymbol) GetFigiInstrument ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetFigiInstrument() SymbolFigiInstrument
GetFigiInstrument returns the FigiInstrument field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordUniversalSymbol) GetFigiInstrumentOk ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetFigiInstrumentOk() (*SymbolFigiInstrument, bool)
GetFigiInstrumentOk returns a tuple with the FigiInstrument field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordUniversalSymbol) GetId ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetId() string
GetId returns the Id field value
func (*AccountOrderRecordUniversalSymbol) GetIdOk ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AccountOrderRecordUniversalSymbol) GetRawSymbol ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetRawSymbol() string
GetRawSymbol returns the RawSymbol field value
func (*AccountOrderRecordUniversalSymbol) GetRawSymbolOk ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetRawSymbolOk() (*string, bool)
GetRawSymbolOk returns a tuple with the RawSymbol field value and a boolean to check if the value has been set.
func (*AccountOrderRecordUniversalSymbol) GetSymbol ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetSymbol() string
GetSymbol returns the Symbol field value
func (*AccountOrderRecordUniversalSymbol) GetSymbolOk ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field value and a boolean to check if the value has been set.
func (*AccountOrderRecordUniversalSymbol) GetType ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetType() SecurityType
GetType returns the Type field value
func (*AccountOrderRecordUniversalSymbol) GetTypeOk ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) GetTypeOk() (*SecurityType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*AccountOrderRecordUniversalSymbol) HasDescription ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AccountOrderRecordUniversalSymbol) HasExchange ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) HasExchange() bool
HasExchange returns a boolean if a field has been set.
func (*AccountOrderRecordUniversalSymbol) HasFigiCode ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) HasFigiCode() bool
HasFigiCode returns a boolean if a field has been set.
func (*AccountOrderRecordUniversalSymbol) HasFigiInstrument ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) HasFigiInstrument() bool
HasFigiInstrument returns a boolean if a field has been set.
func (AccountOrderRecordUniversalSymbol) MarshalJSON ¶ added in v1.0.4
func (o AccountOrderRecordUniversalSymbol) MarshalJSON() ([]byte, error)
func (*AccountOrderRecordUniversalSymbol) SetCurrencies ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) SetCurrencies(v []Currency)
SetCurrencies sets field value Deprecated
func (*AccountOrderRecordUniversalSymbol) SetCurrency ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) SetCurrency(v SymbolCurrency)
SetCurrency sets field value
func (*AccountOrderRecordUniversalSymbol) SetDescription ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*AccountOrderRecordUniversalSymbol) SetDescriptionNil ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*AccountOrderRecordUniversalSymbol) SetExchange ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) SetExchange(v SymbolExchange)
SetExchange gets a reference to the given SymbolExchange and assigns it to the Exchange field.
func (*AccountOrderRecordUniversalSymbol) SetFigiCode ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) SetFigiCode(v string)
SetFigiCode gets a reference to the given NullableString and assigns it to the FigiCode field.
func (*AccountOrderRecordUniversalSymbol) SetFigiCodeNil ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) SetFigiCodeNil()
SetFigiCodeNil sets the value for FigiCode to be an explicit nil
func (*AccountOrderRecordUniversalSymbol) SetFigiInstrument ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) SetFigiInstrument(v SymbolFigiInstrument)
SetFigiInstrument gets a reference to the given NullableSymbolFigiInstrument and assigns it to the FigiInstrument field.
func (*AccountOrderRecordUniversalSymbol) SetFigiInstrumentNil ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) SetFigiInstrumentNil()
SetFigiInstrumentNil sets the value for FigiInstrument to be an explicit nil
func (*AccountOrderRecordUniversalSymbol) SetId ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) SetId(v string)
SetId sets field value
func (*AccountOrderRecordUniversalSymbol) SetRawSymbol ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) SetRawSymbol(v string)
SetRawSymbol sets field value
func (*AccountOrderRecordUniversalSymbol) SetSymbol ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) SetSymbol(v string)
SetSymbol sets field value
func (*AccountOrderRecordUniversalSymbol) SetType ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) SetType(v SecurityType)
SetType sets field value
func (*AccountOrderRecordUniversalSymbol) UnsetDescription ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*AccountOrderRecordUniversalSymbol) UnsetFigiCode ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) UnsetFigiCode()
UnsetFigiCode ensures that no value is present for FigiCode, not even an explicit nil
func (*AccountOrderRecordUniversalSymbol) UnsetFigiInstrument ¶ added in v1.0.4
func (o *AccountOrderRecordUniversalSymbol) UnsetFigiInstrument()
UnsetFigiInstrument ensures that no value is present for FigiInstrument, not even an explicit nil
type AccountOrderRecordV2 ¶ added in v1.0.117
type AccountOrderRecordV2 struct {
// Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
BrokerageOrderId *string `json:"brokerage_order_id,omitempty"`
Status *AccountOrderRecordStatus `json:"status,omitempty"`
// The type of order placed. - `MARKET` - `LIMIT` - `STOP` - `STOP_LIMIT`
OrderType NullableString `json:"order_type,omitempty"`
// The Time in Force type for the order. This field indicates how long the order will remain active before it is executed or expires. We try our best to map brokerage time in force values to the following. When mapping fails, we will return the brokerage's time in force value. - `DAY` - Day. The order is valid only for the trading day on which it is placed. - `GTC` - Good Til Canceled. The order is valid until it is executed or canceled. - `FOK` - Fill Or Kill. The order must be executed in its entirety immediately or be canceled completely. - `IOC` - Immediate Or Cancel. The order must be executed immediately. Any portion of the order that cannot be filled immediately will be canceled. - `GTD` - Good Til Date. The order is valid until the specified date. - `MOO` - Market On Open. The order is to be executed at the day's opening price. - `EHP` - Extended Hours P.M. The order is to be placed during extended hour trading, after markets close.
TimeInForce *string `json:"time_in_force,omitempty"`
// The time the order was placed. This is the time the order was submitted to the brokerage.
TimePlaced *time.Time `json:"time_placed,omitempty"`
// The time the order was executed in the brokerage system. This value is not always available from the brokerage.
TimeExecuted NullableTime `json:"time_executed,omitempty"`
// Quote currency code for the order.
QuoteCurrency *string `json:"quote_currency,omitempty"`
// The price at which the order was executed.
ExecutionPrice NullableFloat32 `json:"execution_price,omitempty"`
// The limit price is maximum price one is willing to pay for a buy order or the minimum price one is willing to accept for a sell order. Should only apply to `Limit` and `StopLimit` orders.
LimitPrice NullableFloat32 `json:"limit_price,omitempty"`
// The stop price is the price at which a stop order is triggered. Should only apply to `Stop` and `StopLimit` orders.
StopPrice NullableFloat32 `json:"stop_price,omitempty"`
// List of legs that make up the order.
Legs []AccountOrderRecordLeg `json:"legs,omitempty"`
AdditionalProperties map[string]interface{}
}
AccountOrderRecordV2 Describes a single order in the standardized V2 format.
func NewAccountOrderRecordV2 ¶ added in v1.0.117
func NewAccountOrderRecordV2() *AccountOrderRecordV2
NewAccountOrderRecordV2 instantiates a new AccountOrderRecordV2 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountOrderRecordV2WithDefaults ¶ added in v1.0.117
func NewAccountOrderRecordV2WithDefaults() *AccountOrderRecordV2
NewAccountOrderRecordV2WithDefaults instantiates a new AccountOrderRecordV2 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountOrderRecordV2) GetBrokerageOrderId ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetBrokerageOrderId() string
GetBrokerageOrderId returns the BrokerageOrderId field value if set, zero value otherwise.
func (*AccountOrderRecordV2) GetBrokerageOrderIdOk ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetBrokerageOrderIdOk() (*string, bool)
GetBrokerageOrderIdOk returns a tuple with the BrokerageOrderId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordV2) GetExecutionPrice ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetExecutionPrice() float32
GetExecutionPrice returns the ExecutionPrice field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordV2) GetExecutionPriceOk ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetExecutionPriceOk() (*float32, bool)
GetExecutionPriceOk returns a tuple with the ExecutionPrice field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordV2) GetLegs ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetLegs() []AccountOrderRecordLeg
GetLegs returns the Legs field value if set, zero value otherwise.
func (*AccountOrderRecordV2) GetLegsOk ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetLegsOk() ([]AccountOrderRecordLeg, bool)
GetLegsOk returns a tuple with the Legs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordV2) GetLimitPrice ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetLimitPrice() float32
GetLimitPrice returns the LimitPrice field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordV2) GetLimitPriceOk ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetLimitPriceOk() (*float32, bool)
GetLimitPriceOk returns a tuple with the LimitPrice field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordV2) GetOrderType ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetOrderType() string
GetOrderType returns the OrderType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordV2) GetOrderTypeOk ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetOrderTypeOk() (*string, bool)
GetOrderTypeOk returns a tuple with the OrderType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordV2) GetQuoteCurrency ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetQuoteCurrency() string
GetQuoteCurrency returns the QuoteCurrency field value if set, zero value otherwise.
func (*AccountOrderRecordV2) GetQuoteCurrencyOk ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetQuoteCurrencyOk() (*string, bool)
GetQuoteCurrencyOk returns a tuple with the QuoteCurrency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordV2) GetStatus ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetStatus() AccountOrderRecordStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*AccountOrderRecordV2) GetStatusOk ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetStatusOk() (*AccountOrderRecordStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordV2) GetStopPrice ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetStopPrice() float32
GetStopPrice returns the StopPrice field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordV2) GetStopPriceOk ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetStopPriceOk() (*float32, bool)
GetStopPriceOk returns a tuple with the StopPrice field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordV2) GetTimeExecuted ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetTimeExecuted() time.Time
GetTimeExecuted returns the TimeExecuted field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountOrderRecordV2) GetTimeExecutedOk ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetTimeExecutedOk() (*time.Time, bool)
GetTimeExecutedOk returns a tuple with the TimeExecuted field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountOrderRecordV2) GetTimeInForce ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetTimeInForce() string
GetTimeInForce returns the TimeInForce field value if set, zero value otherwise.
func (*AccountOrderRecordV2) GetTimeInForceOk ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetTimeInForceOk() (*string, bool)
GetTimeInForceOk returns a tuple with the TimeInForce field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordV2) GetTimePlaced ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetTimePlaced() time.Time
GetTimePlaced returns the TimePlaced field value if set, zero value otherwise.
func (*AccountOrderRecordV2) GetTimePlacedOk ¶ added in v1.0.117
func (o *AccountOrderRecordV2) GetTimePlacedOk() (*time.Time, bool)
GetTimePlacedOk returns a tuple with the TimePlaced field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOrderRecordV2) HasBrokerageOrderId ¶ added in v1.0.117
func (o *AccountOrderRecordV2) HasBrokerageOrderId() bool
HasBrokerageOrderId returns a boolean if a field has been set.
func (*AccountOrderRecordV2) HasExecutionPrice ¶ added in v1.0.117
func (o *AccountOrderRecordV2) HasExecutionPrice() bool
HasExecutionPrice returns a boolean if a field has been set.
func (*AccountOrderRecordV2) HasLegs ¶ added in v1.0.117
func (o *AccountOrderRecordV2) HasLegs() bool
HasLegs returns a boolean if a field has been set.
func (*AccountOrderRecordV2) HasLimitPrice ¶ added in v1.0.117
func (o *AccountOrderRecordV2) HasLimitPrice() bool
HasLimitPrice returns a boolean if a field has been set.
func (*AccountOrderRecordV2) HasOrderType ¶ added in v1.0.117
func (o *AccountOrderRecordV2) HasOrderType() bool
HasOrderType returns a boolean if a field has been set.
func (*AccountOrderRecordV2) HasQuoteCurrency ¶ added in v1.0.117
func (o *AccountOrderRecordV2) HasQuoteCurrency() bool
HasQuoteCurrency returns a boolean if a field has been set.
func (*AccountOrderRecordV2) HasStatus ¶ added in v1.0.117
func (o *AccountOrderRecordV2) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*AccountOrderRecordV2) HasStopPrice ¶ added in v1.0.117
func (o *AccountOrderRecordV2) HasStopPrice() bool
HasStopPrice returns a boolean if a field has been set.
func (*AccountOrderRecordV2) HasTimeExecuted ¶ added in v1.0.117
func (o *AccountOrderRecordV2) HasTimeExecuted() bool
HasTimeExecuted returns a boolean if a field has been set.
func (*AccountOrderRecordV2) HasTimeInForce ¶ added in v1.0.117
func (o *AccountOrderRecordV2) HasTimeInForce() bool
HasTimeInForce returns a boolean if a field has been set.
func (*AccountOrderRecordV2) HasTimePlaced ¶ added in v1.0.117
func (o *AccountOrderRecordV2) HasTimePlaced() bool
HasTimePlaced returns a boolean if a field has been set.
func (AccountOrderRecordV2) MarshalJSON ¶ added in v1.0.117
func (o AccountOrderRecordV2) MarshalJSON() ([]byte, error)
func (*AccountOrderRecordV2) SetBrokerageOrderId ¶ added in v1.0.117
func (o *AccountOrderRecordV2) SetBrokerageOrderId(v string)
SetBrokerageOrderId gets a reference to the given string and assigns it to the BrokerageOrderId field.
func (*AccountOrderRecordV2) SetExecutionPrice ¶ added in v1.0.117
func (o *AccountOrderRecordV2) SetExecutionPrice(v float32)
SetExecutionPrice gets a reference to the given NullableFloat32 and assigns it to the ExecutionPrice field.
func (*AccountOrderRecordV2) SetExecutionPriceNil ¶ added in v1.0.117
func (o *AccountOrderRecordV2) SetExecutionPriceNil()
SetExecutionPriceNil sets the value for ExecutionPrice to be an explicit nil
func (*AccountOrderRecordV2) SetLegs ¶ added in v1.0.117
func (o *AccountOrderRecordV2) SetLegs(v []AccountOrderRecordLeg)
SetLegs gets a reference to the given []AccountOrderRecordLeg and assigns it to the Legs field.
func (*AccountOrderRecordV2) SetLimitPrice ¶ added in v1.0.117
func (o *AccountOrderRecordV2) SetLimitPrice(v float32)
SetLimitPrice gets a reference to the given NullableFloat32 and assigns it to the LimitPrice field.
func (*AccountOrderRecordV2) SetLimitPriceNil ¶ added in v1.0.117
func (o *AccountOrderRecordV2) SetLimitPriceNil()
SetLimitPriceNil sets the value for LimitPrice to be an explicit nil
func (*AccountOrderRecordV2) SetOrderType ¶ added in v1.0.117
func (o *AccountOrderRecordV2) SetOrderType(v string)
SetOrderType gets a reference to the given NullableString and assigns it to the OrderType field.
func (*AccountOrderRecordV2) SetOrderTypeNil ¶ added in v1.0.117
func (o *AccountOrderRecordV2) SetOrderTypeNil()
SetOrderTypeNil sets the value for OrderType to be an explicit nil
func (*AccountOrderRecordV2) SetQuoteCurrency ¶ added in v1.0.117
func (o *AccountOrderRecordV2) SetQuoteCurrency(v string)
SetQuoteCurrency gets a reference to the given string and assigns it to the QuoteCurrency field.
func (*AccountOrderRecordV2) SetStatus ¶ added in v1.0.117
func (o *AccountOrderRecordV2) SetStatus(v AccountOrderRecordStatus)
SetStatus gets a reference to the given AccountOrderRecordStatus and assigns it to the Status field.
func (*AccountOrderRecordV2) SetStopPrice ¶ added in v1.0.117
func (o *AccountOrderRecordV2) SetStopPrice(v float32)
SetStopPrice gets a reference to the given NullableFloat32 and assigns it to the StopPrice field.
func (*AccountOrderRecordV2) SetStopPriceNil ¶ added in v1.0.117
func (o *AccountOrderRecordV2) SetStopPriceNil()
SetStopPriceNil sets the value for StopPrice to be an explicit nil
func (*AccountOrderRecordV2) SetTimeExecuted ¶ added in v1.0.117
func (o *AccountOrderRecordV2) SetTimeExecuted(v time.Time)
SetTimeExecuted gets a reference to the given NullableTime and assigns it to the TimeExecuted field.
func (*AccountOrderRecordV2) SetTimeExecutedNil ¶ added in v1.0.117
func (o *AccountOrderRecordV2) SetTimeExecutedNil()
SetTimeExecutedNil sets the value for TimeExecuted to be an explicit nil
func (*AccountOrderRecordV2) SetTimeInForce ¶ added in v1.0.117
func (o *AccountOrderRecordV2) SetTimeInForce(v string)
SetTimeInForce gets a reference to the given string and assigns it to the TimeInForce field.
func (*AccountOrderRecordV2) SetTimePlaced ¶ added in v1.0.117
func (o *AccountOrderRecordV2) SetTimePlaced(v time.Time)
SetTimePlaced gets a reference to the given time.Time and assigns it to the TimePlaced field.
func (*AccountOrderRecordV2) UnmarshalJSON ¶ added in v1.0.117
func (o *AccountOrderRecordV2) UnmarshalJSON(bytes []byte) (err error)
func (*AccountOrderRecordV2) UnsetExecutionPrice ¶ added in v1.0.117
func (o *AccountOrderRecordV2) UnsetExecutionPrice()
UnsetExecutionPrice ensures that no value is present for ExecutionPrice, not even an explicit nil
func (*AccountOrderRecordV2) UnsetLimitPrice ¶ added in v1.0.117
func (o *AccountOrderRecordV2) UnsetLimitPrice()
UnsetLimitPrice ensures that no value is present for LimitPrice, not even an explicit nil
func (*AccountOrderRecordV2) UnsetOrderType ¶ added in v1.0.117
func (o *AccountOrderRecordV2) UnsetOrderType()
UnsetOrderType ensures that no value is present for OrderType, not even an explicit nil
func (*AccountOrderRecordV2) UnsetStopPrice ¶ added in v1.0.117
func (o *AccountOrderRecordV2) UnsetStopPrice()
UnsetStopPrice ensures that no value is present for StopPrice, not even an explicit nil
func (*AccountOrderRecordV2) UnsetTimeExecuted ¶ added in v1.0.117
func (o *AccountOrderRecordV2) UnsetTimeExecuted()
UnsetTimeExecuted ensures that no value is present for TimeExecuted, not even an explicit nil
type AccountOrdersV2Response ¶ added in v1.0.117
type AccountOrdersV2Response struct {
// List of orders returned by the endpoint.
Orders []AccountOrderRecordV2 `json:"orders"`
AdditionalProperties map[string]interface{}
}
AccountOrdersV2Response Contains a standardized list of account orders in the V2 format.
func NewAccountOrdersV2Response ¶ added in v1.0.117
func NewAccountOrdersV2Response(orders []AccountOrderRecordV2) *AccountOrdersV2Response
NewAccountOrdersV2Response instantiates a new AccountOrdersV2Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountOrdersV2ResponseWithDefaults ¶ added in v1.0.117
func NewAccountOrdersV2ResponseWithDefaults() *AccountOrdersV2Response
NewAccountOrdersV2ResponseWithDefaults instantiates a new AccountOrdersV2Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountOrdersV2Response) GetOrders ¶ added in v1.0.117
func (o *AccountOrdersV2Response) GetOrders() []AccountOrderRecordV2
GetOrders returns the Orders field value
func (*AccountOrdersV2Response) GetOrdersOk ¶ added in v1.0.117
func (o *AccountOrdersV2Response) GetOrdersOk() ([]AccountOrderRecordV2, bool)
GetOrdersOk returns a tuple with the Orders field value and a boolean to check if the value has been set.
func (AccountOrdersV2Response) MarshalJSON ¶ added in v1.0.117
func (o AccountOrdersV2Response) MarshalJSON() ([]byte, error)
func (*AccountOrdersV2Response) SetOrders ¶ added in v1.0.117
func (o *AccountOrdersV2Response) SetOrders(v []AccountOrderRecordV2)
SetOrders sets field value
func (*AccountOrdersV2Response) UnmarshalJSON ¶ added in v1.0.117
func (o *AccountOrdersV2Response) UnmarshalJSON(bytes []byte) (err error)
type AccountSimple ¶
type AccountSimple struct {
// Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
Id *string `json:"id,omitempty"`
// A display name for the account. Either assigned by the user or by the brokerage itself. For certain brokerages, SnapTrade appends the brokerage name to the account name for clarity.
Name *string `json:"name,omitempty"`
// The account number assigned by the brokerage. For some brokerages, this field may be masked for security reasons.
Number *string `json:"number,omitempty"`
SyncStatus *AccountSyncStatus `json:"sync_status,omitempty"`
AdditionalProperties map[string]interface{}
}
AccountSimple A single account at a brokerage.
func NewAccountSimple ¶
func NewAccountSimple() *AccountSimple
NewAccountSimple instantiates a new AccountSimple object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountSimpleWithDefaults ¶
func NewAccountSimpleWithDefaults() *AccountSimple
NewAccountSimpleWithDefaults instantiates a new AccountSimple object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountSimple) GetId ¶
func (o *AccountSimple) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*AccountSimple) GetIdOk ¶
func (o *AccountSimple) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountSimple) GetName ¶
func (o *AccountSimple) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AccountSimple) GetNameOk ¶
func (o *AccountSimple) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountSimple) GetNumber ¶
func (o *AccountSimple) GetNumber() string
GetNumber returns the Number field value if set, zero value otherwise.
func (*AccountSimple) GetNumberOk ¶
func (o *AccountSimple) GetNumberOk() (*string, bool)
GetNumberOk returns a tuple with the Number field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountSimple) GetSyncStatus ¶
func (o *AccountSimple) GetSyncStatus() AccountSyncStatus
GetSyncStatus returns the SyncStatus field value if set, zero value otherwise.
func (*AccountSimple) GetSyncStatusOk ¶
func (o *AccountSimple) GetSyncStatusOk() (*AccountSyncStatus, bool)
GetSyncStatusOk returns a tuple with the SyncStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountSimple) HasId ¶
func (o *AccountSimple) HasId() bool
HasId returns a boolean if a field has been set.
func (*AccountSimple) HasName ¶
func (o *AccountSimple) HasName() bool
HasName returns a boolean if a field has been set.
func (*AccountSimple) HasNumber ¶
func (o *AccountSimple) HasNumber() bool
HasNumber returns a boolean if a field has been set.
func (*AccountSimple) HasSyncStatus ¶
func (o *AccountSimple) HasSyncStatus() bool
HasSyncStatus returns a boolean if a field has been set.
func (AccountSimple) MarshalJSON ¶
func (o AccountSimple) MarshalJSON() ([]byte, error)
func (*AccountSimple) SetId ¶
func (o *AccountSimple) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*AccountSimple) SetName ¶
func (o *AccountSimple) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*AccountSimple) SetNumber ¶
func (o *AccountSimple) SetNumber(v string)
SetNumber gets a reference to the given string and assigns it to the Number field.
func (*AccountSimple) SetSyncStatus ¶
func (o *AccountSimple) SetSyncStatus(v AccountSyncStatus)
SetSyncStatus gets a reference to the given AccountSyncStatus and assigns it to the SyncStatus field.
func (*AccountSimple) UnmarshalJSON ¶
func (o *AccountSimple) UnmarshalJSON(bytes []byte) (err error)
type AccountSyncStatus ¶
type AccountSyncStatus struct {
Transactions *TransactionsStatus `json:"transactions,omitempty"`
Holdings *HoldingsStatus `json:"holdings,omitempty"`
}
AccountSyncStatus Contains status update for the account sync process between SnapTrade and the brokerage.
func NewAccountSyncStatus ¶
func NewAccountSyncStatus() *AccountSyncStatus
NewAccountSyncStatus instantiates a new AccountSyncStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountSyncStatusWithDefaults ¶
func NewAccountSyncStatusWithDefaults() *AccountSyncStatus
NewAccountSyncStatusWithDefaults instantiates a new AccountSyncStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountSyncStatus) GetHoldings ¶
func (o *AccountSyncStatus) GetHoldings() HoldingsStatus
GetHoldings returns the Holdings field value if set, zero value otherwise.
func (*AccountSyncStatus) GetHoldingsOk ¶
func (o *AccountSyncStatus) GetHoldingsOk() (*HoldingsStatus, bool)
GetHoldingsOk returns a tuple with the Holdings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountSyncStatus) GetTransactions ¶
func (o *AccountSyncStatus) GetTransactions() TransactionsStatus
GetTransactions returns the Transactions field value if set, zero value otherwise.
func (*AccountSyncStatus) GetTransactionsOk ¶
func (o *AccountSyncStatus) GetTransactionsOk() (*TransactionsStatus, bool)
GetTransactionsOk returns a tuple with the Transactions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountSyncStatus) HasHoldings ¶
func (o *AccountSyncStatus) HasHoldings() bool
HasHoldings returns a boolean if a field has been set.
func (*AccountSyncStatus) HasTransactions ¶
func (o *AccountSyncStatus) HasTransactions() bool
HasTransactions returns a boolean if a field has been set.
func (AccountSyncStatus) MarshalJSON ¶
func (o AccountSyncStatus) MarshalJSON() ([]byte, error)
func (*AccountSyncStatus) SetHoldings ¶
func (o *AccountSyncStatus) SetHoldings(v HoldingsStatus)
SetHoldings gets a reference to the given HoldingsStatus and assigns it to the Holdings field.
func (*AccountSyncStatus) SetTransactions ¶
func (o *AccountSyncStatus) SetTransactions(v TransactionsStatus)
SetTransactions gets a reference to the given TransactionsStatus and assigns it to the Transactions field.
type AccountUniversalActivity ¶ added in v1.0.46
type AccountUniversalActivity struct {
// Unique identifier for the transaction. This is the ID used to reference the transaction in SnapTrade. Please note that this ID _can_ change if the transaction is deleted and re-added. Under normal circumstances, SnapTrade does not delete transactions. The only time this would happen is if SnapTrade re-fetches and reprocesses the data from the brokerage, which is rare. If you require a stable ID, please let us know and we can work with you to provide one.
Id *string `json:"id,omitempty"`
Symbol NullableAccountUniversalActivitySymbol `json:"symbol,omitempty"`
OptionSymbol NullableAccountUniversalActivityOptionSymbol `json:"option_symbol,omitempty"`
// The price of the security for the transaction. This is mostly applicable to `BUY`, `SELL`, and `DIVIDEND` transactions.
Price *float32 `json:"price,omitempty"`
// The number of units of the security for the transaction. This is mostly applicable to `BUY`, `SELL`, and `DIVIDEND` transactions.
Units *float32 `json:"units,omitempty"`
// The amount of the transaction denominated in `currency`. This can be positive or negative. In general, transactions that positively affect the account balance (like sell, deposits, dividends, etc) will have a positive amount, while transactions that negatively affect the account balance (like buy, withdrawals, fees, etc) will have a negative amount.
Amount NullableFloat32 `json:"amount,omitempty"`
Currency *AccountUniversalActivityCurrency `json:"currency,omitempty"`
// A string representing the type of transaction. SnapTrade does a best effort to categorize the brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `STOCK_DIVIDEND` - A type of dividend where a company distributes shares instead of cash - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `TAX“ - A tax related fee. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of assets from one account to another. - `SPLIT` - A stock share split.
Type *string `json:"type,omitempty"`
// If an option `BUY` or `SELL` transaction, this further specifies the type of action. The possible values are: - BUY_TO_OPEN - BUY_TO_CLOSE - SELL_TO_OPEN - SELL_TO_CLOSE
OptionType *string `json:"option_type,omitempty"`
// A human-readable description of the transaction. This is usually the brokerage's description of the transaction.
Description *string `json:"description,omitempty"`
// The recorded time for the transaction. The granularity of this timestamp depends on the brokerage. Some brokerages provide the exact time of the transaction, while others provide only the date. Please check the [integrations page](https://snaptrade.notion.site/66793431ad0b416489eaabaf248d0afb?v=6fab8012ade6441fa0c6d9af9c55ce3a) for the specific brokerage to see the granularity of the timestamps. Note that even though the field is named `trade_date`, it can represent any type of transaction, not just trades.
TradeDate NullableTime `json:"trade_date,omitempty"`
// The date on which the transaction is settled.
SettlementDate *time.Time `json:"settlement_date,omitempty"`
// Any fee associated with the transaction if provided by the brokerage.
Fee *float32 `json:"fee,omitempty"`
// The forex conversion rate involved in the transaction if provided by the brokerage. Used in cases where securities of one currency are purchased in a different currency, and the forex conversion is automatic. In those cases, price, amount and fee will be in the top level currency (activity -> currency)
FxRate NullableFloat32 `json:"fx_rate,omitempty"`
// The institution that the transaction is associated with. This is usually the brokerage name.
Institution *string `json:"institution,omitempty"`
// Reference ID from brokerage used to identify related transactions. For example if an order comprises of several transactions (buy, fee, fx), they can be grouped if they share the same `external_reference_id`
ExternalReferenceId NullableString `json:"external_reference_id,omitempty"`
AdditionalProperties map[string]interface{}
}
AccountUniversalActivity A transaction or activity from an institution
func NewAccountUniversalActivity ¶ added in v1.0.46
func NewAccountUniversalActivity() *AccountUniversalActivity
NewAccountUniversalActivity instantiates a new AccountUniversalActivity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountUniversalActivityWithDefaults ¶ added in v1.0.46
func NewAccountUniversalActivityWithDefaults() *AccountUniversalActivity
NewAccountUniversalActivityWithDefaults instantiates a new AccountUniversalActivity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountUniversalActivity) GetAmount ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetAmount() float32
GetAmount returns the Amount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountUniversalActivity) GetAmountOk ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetAmountOk() (*float32, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountUniversalActivity) GetCurrency ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetCurrency() AccountUniversalActivityCurrency
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*AccountUniversalActivity) GetCurrencyOk ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetCurrencyOk() (*AccountUniversalActivityCurrency, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivity) GetDescription ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*AccountUniversalActivity) GetDescriptionOk ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivity) GetExternalReferenceId ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetExternalReferenceId() string
GetExternalReferenceId returns the ExternalReferenceId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountUniversalActivity) GetExternalReferenceIdOk ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetExternalReferenceIdOk() (*string, bool)
GetExternalReferenceIdOk returns a tuple with the ExternalReferenceId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountUniversalActivity) GetFee ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetFee() float32
GetFee returns the Fee field value if set, zero value otherwise.
func (*AccountUniversalActivity) GetFeeOk ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetFeeOk() (*float32, bool)
GetFeeOk returns a tuple with the Fee field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivity) GetFxRate ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetFxRate() float32
GetFxRate returns the FxRate field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountUniversalActivity) GetFxRateOk ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetFxRateOk() (*float32, bool)
GetFxRateOk returns a tuple with the FxRate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountUniversalActivity) GetId ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*AccountUniversalActivity) GetIdOk ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivity) GetInstitution ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetInstitution() string
GetInstitution returns the Institution field value if set, zero value otherwise.
func (*AccountUniversalActivity) GetInstitutionOk ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetInstitutionOk() (*string, bool)
GetInstitutionOk returns a tuple with the Institution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivity) GetOptionSymbol ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetOptionSymbol() AccountUniversalActivityOptionSymbol
GetOptionSymbol returns the OptionSymbol field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountUniversalActivity) GetOptionSymbolOk ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetOptionSymbolOk() (*AccountUniversalActivityOptionSymbol, bool)
GetOptionSymbolOk returns a tuple with the OptionSymbol field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountUniversalActivity) GetOptionType ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetOptionType() string
GetOptionType returns the OptionType field value if set, zero value otherwise.
func (*AccountUniversalActivity) GetOptionTypeOk ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetOptionTypeOk() (*string, bool)
GetOptionTypeOk returns a tuple with the OptionType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivity) GetPrice ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetPrice() float32
GetPrice returns the Price field value if set, zero value otherwise.
func (*AccountUniversalActivity) GetPriceOk ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetPriceOk() (*float32, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivity) GetSettlementDate ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetSettlementDate() time.Time
GetSettlementDate returns the SettlementDate field value if set, zero value otherwise.
func (*AccountUniversalActivity) GetSettlementDateOk ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetSettlementDateOk() (*time.Time, bool)
GetSettlementDateOk returns a tuple with the SettlementDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivity) GetSymbol ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetSymbol() AccountUniversalActivitySymbol
GetSymbol returns the Symbol field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountUniversalActivity) GetSymbolOk ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetSymbolOk() (*AccountUniversalActivitySymbol, bool)
GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountUniversalActivity) GetTradeDate ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetTradeDate() time.Time
GetTradeDate returns the TradeDate field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountUniversalActivity) GetTradeDateOk ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetTradeDateOk() (*time.Time, bool)
GetTradeDateOk returns a tuple with the TradeDate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountUniversalActivity) GetType ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*AccountUniversalActivity) GetTypeOk ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivity) GetUnits ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetUnits() float32
GetUnits returns the Units field value if set, zero value otherwise.
func (*AccountUniversalActivity) GetUnitsOk ¶ added in v1.0.46
func (o *AccountUniversalActivity) GetUnitsOk() (*float32, bool)
GetUnitsOk returns a tuple with the Units field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivity) HasAmount ¶ added in v1.0.46
func (o *AccountUniversalActivity) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*AccountUniversalActivity) HasCurrency ¶ added in v1.0.46
func (o *AccountUniversalActivity) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*AccountUniversalActivity) HasDescription ¶ added in v1.0.46
func (o *AccountUniversalActivity) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AccountUniversalActivity) HasExternalReferenceId ¶ added in v1.0.46
func (o *AccountUniversalActivity) HasExternalReferenceId() bool
HasExternalReferenceId returns a boolean if a field has been set.
func (*AccountUniversalActivity) HasFee ¶ added in v1.0.46
func (o *AccountUniversalActivity) HasFee() bool
HasFee returns a boolean if a field has been set.
func (*AccountUniversalActivity) HasFxRate ¶ added in v1.0.46
func (o *AccountUniversalActivity) HasFxRate() bool
HasFxRate returns a boolean if a field has been set.
func (*AccountUniversalActivity) HasId ¶ added in v1.0.46
func (o *AccountUniversalActivity) HasId() bool
HasId returns a boolean if a field has been set.
func (*AccountUniversalActivity) HasInstitution ¶ added in v1.0.46
func (o *AccountUniversalActivity) HasInstitution() bool
HasInstitution returns a boolean if a field has been set.
func (*AccountUniversalActivity) HasOptionSymbol ¶ added in v1.0.46
func (o *AccountUniversalActivity) HasOptionSymbol() bool
HasOptionSymbol returns a boolean if a field has been set.
func (*AccountUniversalActivity) HasOptionType ¶ added in v1.0.46
func (o *AccountUniversalActivity) HasOptionType() bool
HasOptionType returns a boolean if a field has been set.
func (*AccountUniversalActivity) HasPrice ¶ added in v1.0.46
func (o *AccountUniversalActivity) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*AccountUniversalActivity) HasSettlementDate ¶ added in v1.0.46
func (o *AccountUniversalActivity) HasSettlementDate() bool
HasSettlementDate returns a boolean if a field has been set.
func (*AccountUniversalActivity) HasSymbol ¶ added in v1.0.46
func (o *AccountUniversalActivity) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (*AccountUniversalActivity) HasTradeDate ¶ added in v1.0.46
func (o *AccountUniversalActivity) HasTradeDate() bool
HasTradeDate returns a boolean if a field has been set.
func (*AccountUniversalActivity) HasType ¶ added in v1.0.46
func (o *AccountUniversalActivity) HasType() bool
HasType returns a boolean if a field has been set.
func (*AccountUniversalActivity) HasUnits ¶ added in v1.0.46
func (o *AccountUniversalActivity) HasUnits() bool
HasUnits returns a boolean if a field has been set.
func (AccountUniversalActivity) MarshalJSON ¶ added in v1.0.46
func (o AccountUniversalActivity) MarshalJSON() ([]byte, error)
func (*AccountUniversalActivity) SetAmount ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetAmount(v float32)
SetAmount gets a reference to the given NullableFloat32 and assigns it to the Amount field.
func (*AccountUniversalActivity) SetAmountNil ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetAmountNil()
SetAmountNil sets the value for Amount to be an explicit nil
func (*AccountUniversalActivity) SetCurrency ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetCurrency(v AccountUniversalActivityCurrency)
SetCurrency gets a reference to the given AccountUniversalActivityCurrency and assigns it to the Currency field.
func (*AccountUniversalActivity) SetDescription ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*AccountUniversalActivity) SetExternalReferenceId ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetExternalReferenceId(v string)
SetExternalReferenceId gets a reference to the given NullableString and assigns it to the ExternalReferenceId field.
func (*AccountUniversalActivity) SetExternalReferenceIdNil ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetExternalReferenceIdNil()
SetExternalReferenceIdNil sets the value for ExternalReferenceId to be an explicit nil
func (*AccountUniversalActivity) SetFee ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetFee(v float32)
SetFee gets a reference to the given float32 and assigns it to the Fee field.
func (*AccountUniversalActivity) SetFxRate ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetFxRate(v float32)
SetFxRate gets a reference to the given NullableFloat32 and assigns it to the FxRate field.
func (*AccountUniversalActivity) SetFxRateNil ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetFxRateNil()
SetFxRateNil sets the value for FxRate to be an explicit nil
func (*AccountUniversalActivity) SetId ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*AccountUniversalActivity) SetInstitution ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetInstitution(v string)
SetInstitution gets a reference to the given string and assigns it to the Institution field.
func (*AccountUniversalActivity) SetOptionSymbol ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetOptionSymbol(v AccountUniversalActivityOptionSymbol)
SetOptionSymbol gets a reference to the given NullableAccountUniversalActivityOptionSymbol and assigns it to the OptionSymbol field.
func (*AccountUniversalActivity) SetOptionSymbolNil ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetOptionSymbolNil()
SetOptionSymbolNil sets the value for OptionSymbol to be an explicit nil
func (*AccountUniversalActivity) SetOptionType ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetOptionType(v string)
SetOptionType gets a reference to the given string and assigns it to the OptionType field.
func (*AccountUniversalActivity) SetPrice ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetPrice(v float32)
SetPrice gets a reference to the given float32 and assigns it to the Price field.
func (*AccountUniversalActivity) SetSettlementDate ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetSettlementDate(v time.Time)
SetSettlementDate gets a reference to the given time.Time and assigns it to the SettlementDate field.
func (*AccountUniversalActivity) SetSymbol ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetSymbol(v AccountUniversalActivitySymbol)
SetSymbol gets a reference to the given NullableAccountUniversalActivitySymbol and assigns it to the Symbol field.
func (*AccountUniversalActivity) SetSymbolNil ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetSymbolNil()
SetSymbolNil sets the value for Symbol to be an explicit nil
func (*AccountUniversalActivity) SetTradeDate ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetTradeDate(v time.Time)
SetTradeDate gets a reference to the given NullableTime and assigns it to the TradeDate field.
func (*AccountUniversalActivity) SetTradeDateNil ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetTradeDateNil()
SetTradeDateNil sets the value for TradeDate to be an explicit nil
func (*AccountUniversalActivity) SetType ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*AccountUniversalActivity) SetUnits ¶ added in v1.0.46
func (o *AccountUniversalActivity) SetUnits(v float32)
SetUnits gets a reference to the given float32 and assigns it to the Units field.
func (*AccountUniversalActivity) UnmarshalJSON ¶ added in v1.0.46
func (o *AccountUniversalActivity) UnmarshalJSON(bytes []byte) (err error)
func (*AccountUniversalActivity) UnsetAmount ¶ added in v1.0.46
func (o *AccountUniversalActivity) UnsetAmount()
UnsetAmount ensures that no value is present for Amount, not even an explicit nil
func (*AccountUniversalActivity) UnsetExternalReferenceId ¶ added in v1.0.46
func (o *AccountUniversalActivity) UnsetExternalReferenceId()
UnsetExternalReferenceId ensures that no value is present for ExternalReferenceId, not even an explicit nil
func (*AccountUniversalActivity) UnsetFxRate ¶ added in v1.0.46
func (o *AccountUniversalActivity) UnsetFxRate()
UnsetFxRate ensures that no value is present for FxRate, not even an explicit nil
func (*AccountUniversalActivity) UnsetOptionSymbol ¶ added in v1.0.46
func (o *AccountUniversalActivity) UnsetOptionSymbol()
UnsetOptionSymbol ensures that no value is present for OptionSymbol, not even an explicit nil
func (*AccountUniversalActivity) UnsetSymbol ¶ added in v1.0.46
func (o *AccountUniversalActivity) UnsetSymbol()
UnsetSymbol ensures that no value is present for Symbol, not even an explicit nil
func (*AccountUniversalActivity) UnsetTradeDate ¶ added in v1.0.46
func (o *AccountUniversalActivity) UnsetTradeDate()
UnsetTradeDate ensures that no value is present for TradeDate, not even an explicit nil
type AccountUniversalActivityCurrency ¶ added in v1.0.46
type AccountUniversalActivityCurrency struct {
// Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
Id *string `json:"id,omitempty"`
// The ISO-4217 currency code for the currency.
Code *string `json:"code,omitempty"`
// A human-friendly name of the currency.
Name *string `json:"name,omitempty"`
}
AccountUniversalActivityCurrency The currency in which the transaction `price` and `amount` is denominated.
func NewAccountUniversalActivityCurrency ¶ added in v1.0.46
func NewAccountUniversalActivityCurrency() *AccountUniversalActivityCurrency
NewAccountUniversalActivityCurrency instantiates a new AccountUniversalActivityCurrency object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountUniversalActivityCurrencyWithDefaults ¶ added in v1.0.46
func NewAccountUniversalActivityCurrencyWithDefaults() *AccountUniversalActivityCurrency
NewAccountUniversalActivityCurrencyWithDefaults instantiates a new AccountUniversalActivityCurrency object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountUniversalActivityCurrency) GetCode ¶ added in v1.0.46
func (o *AccountUniversalActivityCurrency) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*AccountUniversalActivityCurrency) GetCodeOk ¶ added in v1.0.46
func (o *AccountUniversalActivityCurrency) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivityCurrency) GetId ¶ added in v1.0.46
func (o *AccountUniversalActivityCurrency) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*AccountUniversalActivityCurrency) GetIdOk ¶ added in v1.0.46
func (o *AccountUniversalActivityCurrency) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivityCurrency) GetName ¶ added in v1.0.46
func (o *AccountUniversalActivityCurrency) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AccountUniversalActivityCurrency) GetNameOk ¶ added in v1.0.46
func (o *AccountUniversalActivityCurrency) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivityCurrency) HasCode ¶ added in v1.0.46
func (o *AccountUniversalActivityCurrency) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*AccountUniversalActivityCurrency) HasId ¶ added in v1.0.46
func (o *AccountUniversalActivityCurrency) HasId() bool
HasId returns a boolean if a field has been set.
func (*AccountUniversalActivityCurrency) HasName ¶ added in v1.0.46
func (o *AccountUniversalActivityCurrency) HasName() bool
HasName returns a boolean if a field has been set.
func (AccountUniversalActivityCurrency) MarshalJSON ¶ added in v1.0.46
func (o AccountUniversalActivityCurrency) MarshalJSON() ([]byte, error)
func (*AccountUniversalActivityCurrency) SetCode ¶ added in v1.0.46
func (o *AccountUniversalActivityCurrency) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*AccountUniversalActivityCurrency) SetId ¶ added in v1.0.46
func (o *AccountUniversalActivityCurrency) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*AccountUniversalActivityCurrency) SetName ¶ added in v1.0.46
func (o *AccountUniversalActivityCurrency) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type AccountUniversalActivityOptionSymbol ¶ added in v1.0.46
type AccountUniversalActivityOptionSymbol struct {
// Unique identifier for the option symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
Id string `json:"id"`
// The [OCC symbol](https://en.wikipedia.org/wiki/Option_symbol) for the option.
Ticker string `json:"ticker"`
// The type of option. Either \"CALL\" or \"PUT\".
OptionType string `json:"option_type"`
// The option strike price.
StrikePrice float32 `json:"strike_price"`
// The option expiration date.
ExpirationDate string `json:"expiration_date"`
// Whether the option is a mini option. Mini options have 10 underlying shares per contract instead of the standard 100.
IsMiniOption *bool `json:"is_mini_option,omitempty"`
UnderlyingSymbol UnderlyingSymbol `json:"underlying_symbol"`
}
AccountUniversalActivityOptionSymbol The option security for the transaction. The field is `null` if the transaction is not related to an option security (like a deposit, withdrawal, fee, etc). SnapTrade does a best effort to map the brokerage's option symbol. In cases where the brokerage option symbol is not recognized, the field will be set to `null`.
func NewAccountUniversalActivityOptionSymbol ¶ added in v1.0.46
func NewAccountUniversalActivityOptionSymbol(id string, ticker string, optionType string, strikePrice float32, expirationDate string, underlyingSymbol UnderlyingSymbol) *AccountUniversalActivityOptionSymbol
NewAccountUniversalActivityOptionSymbol instantiates a new AccountUniversalActivityOptionSymbol object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountUniversalActivityOptionSymbolWithDefaults ¶ added in v1.0.46
func NewAccountUniversalActivityOptionSymbolWithDefaults() *AccountUniversalActivityOptionSymbol
NewAccountUniversalActivityOptionSymbolWithDefaults instantiates a new AccountUniversalActivityOptionSymbol object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountUniversalActivityOptionSymbol) GetExpirationDate ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) GetExpirationDate() string
GetExpirationDate returns the ExpirationDate field value
func (*AccountUniversalActivityOptionSymbol) GetExpirationDateOk ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) GetExpirationDateOk() (*string, bool)
GetExpirationDateOk returns a tuple with the ExpirationDate field value and a boolean to check if the value has been set.
func (*AccountUniversalActivityOptionSymbol) GetId ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) GetId() string
GetId returns the Id field value
func (*AccountUniversalActivityOptionSymbol) GetIdOk ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AccountUniversalActivityOptionSymbol) GetIsMiniOption ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) GetIsMiniOption() bool
GetIsMiniOption returns the IsMiniOption field value if set, zero value otherwise.
func (*AccountUniversalActivityOptionSymbol) GetIsMiniOptionOk ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) GetIsMiniOptionOk() (*bool, bool)
GetIsMiniOptionOk returns a tuple with the IsMiniOption field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivityOptionSymbol) GetOptionType ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) GetOptionType() string
GetOptionType returns the OptionType field value
func (*AccountUniversalActivityOptionSymbol) GetOptionTypeOk ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) GetOptionTypeOk() (*string, bool)
GetOptionTypeOk returns a tuple with the OptionType field value and a boolean to check if the value has been set.
func (*AccountUniversalActivityOptionSymbol) GetStrikePrice ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) GetStrikePrice() float32
GetStrikePrice returns the StrikePrice field value
func (*AccountUniversalActivityOptionSymbol) GetStrikePriceOk ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) GetStrikePriceOk() (*float32, bool)
GetStrikePriceOk returns a tuple with the StrikePrice field value and a boolean to check if the value has been set.
func (*AccountUniversalActivityOptionSymbol) GetTicker ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) GetTicker() string
GetTicker returns the Ticker field value
func (*AccountUniversalActivityOptionSymbol) GetTickerOk ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) GetTickerOk() (*string, bool)
GetTickerOk returns a tuple with the Ticker field value and a boolean to check if the value has been set.
func (*AccountUniversalActivityOptionSymbol) GetUnderlyingSymbol ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) GetUnderlyingSymbol() UnderlyingSymbol
GetUnderlyingSymbol returns the UnderlyingSymbol field value
func (*AccountUniversalActivityOptionSymbol) GetUnderlyingSymbolOk ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) GetUnderlyingSymbolOk() (*UnderlyingSymbol, bool)
GetUnderlyingSymbolOk returns a tuple with the UnderlyingSymbol field value and a boolean to check if the value has been set.
func (*AccountUniversalActivityOptionSymbol) HasIsMiniOption ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) HasIsMiniOption() bool
HasIsMiniOption returns a boolean if a field has been set.
func (AccountUniversalActivityOptionSymbol) MarshalJSON ¶ added in v1.0.46
func (o AccountUniversalActivityOptionSymbol) MarshalJSON() ([]byte, error)
func (*AccountUniversalActivityOptionSymbol) SetExpirationDate ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) SetExpirationDate(v string)
SetExpirationDate sets field value
func (*AccountUniversalActivityOptionSymbol) SetId ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) SetId(v string)
SetId sets field value
func (*AccountUniversalActivityOptionSymbol) SetIsMiniOption ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) SetIsMiniOption(v bool)
SetIsMiniOption gets a reference to the given bool and assigns it to the IsMiniOption field.
func (*AccountUniversalActivityOptionSymbol) SetOptionType ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) SetOptionType(v string)
SetOptionType sets field value
func (*AccountUniversalActivityOptionSymbol) SetStrikePrice ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) SetStrikePrice(v float32)
SetStrikePrice sets field value
func (*AccountUniversalActivityOptionSymbol) SetTicker ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) SetTicker(v string)
SetTicker sets field value
func (*AccountUniversalActivityOptionSymbol) SetUnderlyingSymbol ¶ added in v1.0.46
func (o *AccountUniversalActivityOptionSymbol) SetUnderlyingSymbol(v UnderlyingSymbol)
SetUnderlyingSymbol sets field value
type AccountUniversalActivitySymbol ¶ added in v1.0.46
type AccountUniversalActivitySymbol struct {
// Unique identifier for the symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
Id *string `json:"id,omitempty"`
// The security's trading ticker symbol. For example \"AAPL\" for Apple Inc. We largely follow the [Yahoo Finance ticker format](https://help.yahoo.com/kb/SLN2310.html)(click on \"Yahoo Finance Market Coverage and Data Delays\"). For example, for securities traded on the Toronto Stock Exchange, the symbol has a '.TO' suffix. For securities traded on NASDAQ or NYSE, the symbol does not have a suffix.
Symbol *string `json:"symbol,omitempty"`
// The raw symbol is `symbol` with the exchange suffix removed. For example, if `symbol` is \"VAB.TO\", then `raw_symbol` is \"VAB\".
RawSymbol *string `json:"raw_symbol,omitempty"`
// A human-readable description of the security. This is usually the company name or ETF name.
Description NullableString `json:"description,omitempty"`
Currency *SymbolCurrency `json:"currency,omitempty"`
Exchange *SymbolExchange `json:"exchange,omitempty"`
Type *SecurityType `json:"type,omitempty"`
// This identifier is unique per security per trading venue. See section 1.4.1 of the [FIGI Standard](https://www.openfigi.com/assets/local/figi-allocation-rules.pdf) for more information. This value should be the same as the `figi_code` in the `figi_instrument` child property.
FigiCode NullableString `json:"figi_code,omitempty"`
FigiInstrument NullableSymbolFigiInstrument `json:"figi_instrument,omitempty"`
}
AccountUniversalActivitySymbol The security for the transaction. The field is `null` if the transaction is not related to a security (like a deposit, withdrawal, fee, etc). SnapTrade does a best effort to map the brokerage's symbol. In cases where the brokerage symbol is not recognized, the field will be set to `null`.
func NewAccountUniversalActivitySymbol ¶ added in v1.0.46
func NewAccountUniversalActivitySymbol() *AccountUniversalActivitySymbol
NewAccountUniversalActivitySymbol instantiates a new AccountUniversalActivitySymbol object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountUniversalActivitySymbolWithDefaults ¶ added in v1.0.46
func NewAccountUniversalActivitySymbolWithDefaults() *AccountUniversalActivitySymbol
NewAccountUniversalActivitySymbolWithDefaults instantiates a new AccountUniversalActivitySymbol object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountUniversalActivitySymbol) GetCurrency ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetCurrency() SymbolCurrency
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*AccountUniversalActivitySymbol) GetCurrencyOk ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetCurrencyOk() (*SymbolCurrency, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivitySymbol) GetDescription ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountUniversalActivitySymbol) GetDescriptionOk ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountUniversalActivitySymbol) GetExchange ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetExchange() SymbolExchange
GetExchange returns the Exchange field value if set, zero value otherwise.
func (*AccountUniversalActivitySymbol) GetExchangeOk ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetExchangeOk() (*SymbolExchange, bool)
GetExchangeOk returns a tuple with the Exchange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivitySymbol) GetFigiCode ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetFigiCode() string
GetFigiCode returns the FigiCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountUniversalActivitySymbol) GetFigiCodeOk ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetFigiCodeOk() (*string, bool)
GetFigiCodeOk returns a tuple with the FigiCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountUniversalActivitySymbol) GetFigiInstrument ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetFigiInstrument() SymbolFigiInstrument
GetFigiInstrument returns the FigiInstrument field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AccountUniversalActivitySymbol) GetFigiInstrumentOk ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetFigiInstrumentOk() (*SymbolFigiInstrument, bool)
GetFigiInstrumentOk returns a tuple with the FigiInstrument field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AccountUniversalActivitySymbol) GetId ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*AccountUniversalActivitySymbol) GetIdOk ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivitySymbol) GetRawSymbol ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetRawSymbol() string
GetRawSymbol returns the RawSymbol field value if set, zero value otherwise.
func (*AccountUniversalActivitySymbol) GetRawSymbolOk ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetRawSymbolOk() (*string, bool)
GetRawSymbolOk returns a tuple with the RawSymbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivitySymbol) GetSymbol ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*AccountUniversalActivitySymbol) GetSymbolOk ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivitySymbol) GetType ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetType() SecurityType
GetType returns the Type field value if set, zero value otherwise.
func (*AccountUniversalActivitySymbol) GetTypeOk ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) GetTypeOk() (*SecurityType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountUniversalActivitySymbol) HasCurrency ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*AccountUniversalActivitySymbol) HasDescription ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AccountUniversalActivitySymbol) HasExchange ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) HasExchange() bool
HasExchange returns a boolean if a field has been set.
func (*AccountUniversalActivitySymbol) HasFigiCode ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) HasFigiCode() bool
HasFigiCode returns a boolean if a field has been set.
func (*AccountUniversalActivitySymbol) HasFigiInstrument ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) HasFigiInstrument() bool
HasFigiInstrument returns a boolean if a field has been set.
func (*AccountUniversalActivitySymbol) HasId ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) HasId() bool
HasId returns a boolean if a field has been set.
func (*AccountUniversalActivitySymbol) HasRawSymbol ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) HasRawSymbol() bool
HasRawSymbol returns a boolean if a field has been set.
func (*AccountUniversalActivitySymbol) HasSymbol ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (*AccountUniversalActivitySymbol) HasType ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) HasType() bool
HasType returns a boolean if a field has been set.
func (AccountUniversalActivitySymbol) MarshalJSON ¶ added in v1.0.46
func (o AccountUniversalActivitySymbol) MarshalJSON() ([]byte, error)
func (*AccountUniversalActivitySymbol) SetCurrency ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) SetCurrency(v SymbolCurrency)
SetCurrency gets a reference to the given SymbolCurrency and assigns it to the Currency field.
func (*AccountUniversalActivitySymbol) SetDescription ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*AccountUniversalActivitySymbol) SetDescriptionNil ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*AccountUniversalActivitySymbol) SetExchange ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) SetExchange(v SymbolExchange)
SetExchange gets a reference to the given SymbolExchange and assigns it to the Exchange field.
func (*AccountUniversalActivitySymbol) SetFigiCode ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) SetFigiCode(v string)
SetFigiCode gets a reference to the given NullableString and assigns it to the FigiCode field.
func (*AccountUniversalActivitySymbol) SetFigiCodeNil ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) SetFigiCodeNil()
SetFigiCodeNil sets the value for FigiCode to be an explicit nil
func (*AccountUniversalActivitySymbol) SetFigiInstrument ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) SetFigiInstrument(v SymbolFigiInstrument)
SetFigiInstrument gets a reference to the given NullableSymbolFigiInstrument and assigns it to the FigiInstrument field.
func (*AccountUniversalActivitySymbol) SetFigiInstrumentNil ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) SetFigiInstrumentNil()
SetFigiInstrumentNil sets the value for FigiInstrument to be an explicit nil
func (*AccountUniversalActivitySymbol) SetId ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*AccountUniversalActivitySymbol) SetRawSymbol ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) SetRawSymbol(v string)
SetRawSymbol gets a reference to the given string and assigns it to the RawSymbol field.
func (*AccountUniversalActivitySymbol) SetSymbol ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*AccountUniversalActivitySymbol) SetType ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) SetType(v SecurityType)
SetType gets a reference to the given SecurityType and assigns it to the Type field.
func (*AccountUniversalActivitySymbol) UnsetDescription ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*AccountUniversalActivitySymbol) UnsetFigiCode ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) UnsetFigiCode()
UnsetFigiCode ensures that no value is present for FigiCode, not even an explicit nil
func (*AccountUniversalActivitySymbol) UnsetFigiInstrument ¶ added in v1.0.46
func (o *AccountUniversalActivitySymbol) UnsetFigiInstrument()
UnsetFigiInstrument ensures that no value is present for FigiInstrument, not even an explicit nil
type ActionStrict ¶
type ActionStrict string
ActionStrict The action describes the intent or side of a trade. This is either `BUY` or `SELL`.
const ( ACTIONSTRICT_BUY ActionStrict = "BUY" ACTIONSTRICT_SELL ActionStrict = "SELL" )
List of ActionStrict
func NewActionStrictFromValue ¶
func NewActionStrictFromValue(v string) (*ActionStrict, error)
NewActionStrictFromValue returns a pointer to a valid ActionStrict for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ActionStrict) IsValid ¶
func (v ActionStrict) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ActionStrict) Ptr ¶
func (v ActionStrict) Ptr() *ActionStrict
Ptr returns reference to ActionStrict value
func (*ActionStrict) UnmarshalJSON ¶
func (v *ActionStrict) UnmarshalJSON(src []byte) error
type ActionStrictWithOptions ¶ added in v1.0.18
type ActionStrictWithOptions string
ActionStrictWithOptions The action describes the intent or side of a trade. This is either `BUY` or `SELL` for Equity symbols or `BUY_TO_OPEN`, `BUY_TO_CLOSE`, `SELL_TO_OPEN` or `SELL_TO_CLOSE` for Options.
const ( ACTIONSTRICTWITHOPTIONS_BUY ActionStrictWithOptions = "BUY" ACTIONSTRICTWITHOPTIONS_SELL ActionStrictWithOptions = "SELL" ACTIONSTRICTWITHOPTIONS_BUY_TO_OPEN ActionStrictWithOptions = "BUY_TO_OPEN" ACTIONSTRICTWITHOPTIONS_BUY_TO_CLOSE ActionStrictWithOptions = "BUY_TO_CLOSE" ACTIONSTRICTWITHOPTIONS_SELL_TO_OPEN ActionStrictWithOptions = "SELL_TO_OPEN" ACTIONSTRICTWITHOPTIONS_SELL_TO_CLOSE ActionStrictWithOptions = "SELL_TO_CLOSE" )
List of ActionStrictWithOptions
func NewActionStrictWithOptionsFromValue ¶ added in v1.0.18
func NewActionStrictWithOptionsFromValue(v string) (*ActionStrictWithOptions, error)
NewActionStrictWithOptionsFromValue returns a pointer to a valid ActionStrictWithOptions for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ActionStrictWithOptions) IsValid ¶ added in v1.0.18
func (v ActionStrictWithOptions) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ActionStrictWithOptions) Ptr ¶ added in v1.0.18
func (v ActionStrictWithOptions) Ptr() *ActionStrictWithOptions
Ptr returns reference to ActionStrictWithOptions value
func (*ActionStrictWithOptions) UnmarshalJSON ¶ added in v1.0.18
func (v *ActionStrictWithOptions) UnmarshalJSON(src []byte) error
type AuthenticationApiDeleteSnapTradeUserRequest ¶
type AuthenticationApiDeleteSnapTradeUserRequest struct {
ApiService *AuthenticationApiService
// contains filtered or unexported fields
}
func (AuthenticationApiDeleteSnapTradeUserRequest) Execute ¶
func (r AuthenticationApiDeleteSnapTradeUserRequest) Execute() (*DeleteUserResponse, *http.Response, error)
type AuthenticationApiListSnapTradeUsersRequest ¶
type AuthenticationApiListSnapTradeUsersRequest struct {
ApiService *AuthenticationApiService
// contains filtered or unexported fields
}
type AuthenticationApiLoginSnapTradeUserRequest ¶
type AuthenticationApiLoginSnapTradeUserRequest struct {
ApiService *AuthenticationApiService
// contains filtered or unexported fields
}
func (AuthenticationApiLoginSnapTradeUserRequest) Execute ¶
func (r AuthenticationApiLoginSnapTradeUserRequest) Execute() (*AuthenticationLoginSnapTradeUser200Response, *http.Response, error)
func (*AuthenticationApiLoginSnapTradeUserRequest) SnapTradeLoginUserRequestBody ¶
func (r *AuthenticationApiLoginSnapTradeUserRequest) SnapTradeLoginUserRequestBody(snapTradeLoginUserRequestBody SnapTradeLoginUserRequestBody) *AuthenticationApiLoginSnapTradeUserRequest
type AuthenticationApiRegisterSnapTradeUserRequest ¶
type AuthenticationApiRegisterSnapTradeUserRequest struct {
ApiService *AuthenticationApiService
// contains filtered or unexported fields
}
func (AuthenticationApiRegisterSnapTradeUserRequest) Execute ¶
func (r AuthenticationApiRegisterSnapTradeUserRequest) Execute() (*UserIDandSecret, *http.Response, error)
type AuthenticationApiResetSnapTradeUserSecretRequest ¶
type AuthenticationApiResetSnapTradeUserSecretRequest struct {
ApiService *AuthenticationApiService
// contains filtered or unexported fields
}
func (AuthenticationApiResetSnapTradeUserSecretRequest) Execute ¶
func (r AuthenticationApiResetSnapTradeUserSecretRequest) Execute() (*UserIDandSecret, *http.Response, error)
type AuthenticationApiService ¶
type AuthenticationApiService service
AuthenticationApiService AuthenticationApi service
func (*AuthenticationApiService) DeleteSnapTradeUser ¶
func (a *AuthenticationApiService) DeleteSnapTradeUser(userId string) AuthenticationApiDeleteSnapTradeUserRequest
DeleteSnapTradeUser Delete user
Deletes a registered user and all associated data. This action is irreversible. This API is asynchronous and will return a 200 status code if the request is accepted. The user and all associated data will be queued for deletion. Once deleted, a `USER_DELETED` webhook will be sent.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @return AuthenticationApiDeleteSnapTradeUserRequest
func (*AuthenticationApiService) DeleteSnapTradeUserExecute ¶
func (a *AuthenticationApiService) DeleteSnapTradeUserExecute(r AuthenticationApiDeleteSnapTradeUserRequest) (*DeleteUserResponse, *http.Response, error)
Execute executes the request
@return DeleteUserResponse
func (*AuthenticationApiService) ListSnapTradeUsers ¶
func (a *AuthenticationApiService) ListSnapTradeUsers() AuthenticationApiListSnapTradeUsersRequest
ListSnapTradeUsers List all users
Returns a list of all registered user IDs. Please note that the response is not currently paginated.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AuthenticationApiListSnapTradeUsersRequest
func (*AuthenticationApiService) ListSnapTradeUsersExecute ¶
func (a *AuthenticationApiService) ListSnapTradeUsersExecute(r AuthenticationApiListSnapTradeUsersRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*AuthenticationApiService) LoginSnapTradeUser ¶
func (a *AuthenticationApiService) LoginSnapTradeUser(userId string, userSecret string) AuthenticationApiLoginSnapTradeUserRequest
LoginSnapTradeUser Generate Connection Portal URL
Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app.
Please note that the returned URL expires in 5 minutes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @param userSecret @return AuthenticationApiLoginSnapTradeUserRequest
func (*AuthenticationApiService) LoginSnapTradeUserExecute ¶
func (a *AuthenticationApiService) LoginSnapTradeUserExecute(r AuthenticationApiLoginSnapTradeUserRequest) (*AuthenticationLoginSnapTradeUser200Response, *http.Response, error)
Execute executes the request
@return AuthenticationLoginSnapTradeUser200Response
func (*AuthenticationApiService) RegisterSnapTradeUser ¶
func (a *AuthenticationApiService) RegisterSnapTradeUser(snapTradeRegisterUserRequestBody SnapTradeRegisterUserRequestBody) AuthenticationApiRegisterSnapTradeUserRequest
RegisterSnapTradeUser Register user
Registers a new SnapTrade user under your Client ID. A user secret will be automatically generated for you and must be properly stored in your system. Most SnapTrade operations require a user ID and user secret to be passed in as parameters.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param snapTradeRegisterUserRequestBody @return AuthenticationApiRegisterSnapTradeUserRequest
func (*AuthenticationApiService) RegisterSnapTradeUserExecute ¶
func (a *AuthenticationApiService) RegisterSnapTradeUserExecute(r AuthenticationApiRegisterSnapTradeUserRequest) (*UserIDandSecret, *http.Response, error)
Execute executes the request
@return UserIDandSecret
func (*AuthenticationApiService) ResetSnapTradeUserSecret ¶
func (a *AuthenticationApiService) ResetSnapTradeUserSecret(userIDandSecret UserIDandSecret) AuthenticationApiResetSnapTradeUserSecretRequest
ResetSnapTradeUserSecret Rotate user secret
Rotates the secret for a SnapTrade user. You might use this if `userSecret` is compromised. Please note that if you call this endpoint and fail to save the new secret, you'll no longer be able to access any data for this user, and your only option will be to delete and recreate the user, then ask them to reconnect.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userIDandSecret @return AuthenticationApiResetSnapTradeUserSecretRequest
func (*AuthenticationApiService) ResetSnapTradeUserSecretExecute ¶
func (a *AuthenticationApiService) ResetSnapTradeUserSecretExecute(r AuthenticationApiResetSnapTradeUserSecretRequest) (*UserIDandSecret, *http.Response, error)
Execute executes the request
@return UserIDandSecret
type AuthenticationLoginSnapTradeUser200Response ¶
type AuthenticationLoginSnapTradeUser200Response struct {
EncryptedResponse *EncryptedResponse
LoginRedirectURI *LoginRedirectURI
}
AuthenticationLoginSnapTradeUser200Response - struct for AuthenticationLoginSnapTradeUser200Response
func EncryptedResponseAsAuthenticationLoginSnapTradeUser200Response ¶
func EncryptedResponseAsAuthenticationLoginSnapTradeUser200Response(v *EncryptedResponse) AuthenticationLoginSnapTradeUser200Response
EncryptedResponseAsAuthenticationLoginSnapTradeUser200Response is a convenience function that returns EncryptedResponse wrapped in AuthenticationLoginSnapTradeUser200Response
func LoginRedirectURIAsAuthenticationLoginSnapTradeUser200Response ¶
func LoginRedirectURIAsAuthenticationLoginSnapTradeUser200Response(v *LoginRedirectURI) AuthenticationLoginSnapTradeUser200Response
LoginRedirectURIAsAuthenticationLoginSnapTradeUser200Response is a convenience function that returns LoginRedirectURI wrapped in AuthenticationLoginSnapTradeUser200Response
func (*AuthenticationLoginSnapTradeUser200Response) GetActualInstance ¶
func (obj *AuthenticationLoginSnapTradeUser200Response) GetActualInstance() interface{}
Get the actual instance
func (AuthenticationLoginSnapTradeUser200Response) MarshalJSON ¶
func (src AuthenticationLoginSnapTradeUser200Response) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*AuthenticationLoginSnapTradeUser200Response) UnmarshalJSON ¶
func (dst *AuthenticationLoginSnapTradeUser200Response) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type Balance ¶
type Balance struct {
Currency *BalanceCurrency `json:"currency,omitempty"`
// The amount of available cash in the account denominated in the currency of the `currency` field.
Cash NullableFloat32 `json:"cash,omitempty"`
// Buying power only applies to margin accounts. For non-margin accounts, buying power should be the same as cash. Please note that this field is not always available for all brokerages.
BuyingPower NullableFloat32 `json:"buying_power,omitempty"`
AdditionalProperties map[string]interface{}
}
Balance Holds balance information for a single currency in an account.
func NewBalance ¶
func NewBalance() *Balance
NewBalance instantiates a new Balance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBalanceWithDefaults ¶
func NewBalanceWithDefaults() *Balance
NewBalanceWithDefaults instantiates a new Balance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Balance) GetBuyingPower ¶
GetBuyingPower returns the BuyingPower field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Balance) GetBuyingPowerOk ¶
GetBuyingPowerOk returns a tuple with the BuyingPower field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Balance) GetCash ¶
GetCash returns the Cash field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Balance) GetCashOk ¶
GetCashOk returns a tuple with the Cash field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Balance) GetCurrency ¶
func (o *Balance) GetCurrency() BalanceCurrency
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*Balance) GetCurrencyOk ¶
func (o *Balance) GetCurrencyOk() (*BalanceCurrency, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Balance) HasBuyingPower ¶
HasBuyingPower returns a boolean if a field has been set.
func (*Balance) HasCurrency ¶
HasCurrency returns a boolean if a field has been set.
func (Balance) MarshalJSON ¶
func (*Balance) SetBuyingPower ¶
SetBuyingPower gets a reference to the given NullableFloat32 and assigns it to the BuyingPower field.
func (*Balance) SetBuyingPowerNil ¶
func (o *Balance) SetBuyingPowerNil()
SetBuyingPowerNil sets the value for BuyingPower to be an explicit nil
func (*Balance) SetCash ¶
SetCash gets a reference to the given NullableFloat32 and assigns it to the Cash field.
func (*Balance) SetCashNil ¶
func (o *Balance) SetCashNil()
SetCashNil sets the value for Cash to be an explicit nil
func (*Balance) SetCurrency ¶
func (o *Balance) SetCurrency(v BalanceCurrency)
SetCurrency gets a reference to the given BalanceCurrency and assigns it to the Currency field.
func (*Balance) UnmarshalJSON ¶
func (*Balance) UnsetBuyingPower ¶
func (o *Balance) UnsetBuyingPower()
UnsetBuyingPower ensures that no value is present for BuyingPower, not even an explicit nil
type BalanceCurrency ¶ added in v1.0.5
type BalanceCurrency struct {
// Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
Id *string `json:"id,omitempty"`
// The ISO-4217 currency code for the currency.
Code *string `json:"code,omitempty"`
// A human-friendly name of the currency.
Name *string `json:"name,omitempty"`
}
BalanceCurrency The currency of the balance. This applies to both `cash` and `buying_power`.
func NewBalanceCurrency ¶ added in v1.0.5
func NewBalanceCurrency() *BalanceCurrency
NewBalanceCurrency instantiates a new BalanceCurrency object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBalanceCurrencyWithDefaults ¶ added in v1.0.5
func NewBalanceCurrencyWithDefaults() *BalanceCurrency
NewBalanceCurrencyWithDefaults instantiates a new BalanceCurrency object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BalanceCurrency) GetCode ¶ added in v1.0.5
func (o *BalanceCurrency) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*BalanceCurrency) GetCodeOk ¶ added in v1.0.5
func (o *BalanceCurrency) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceCurrency) GetId ¶ added in v1.0.5
func (o *BalanceCurrency) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*BalanceCurrency) GetIdOk ¶ added in v1.0.5
func (o *BalanceCurrency) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceCurrency) GetName ¶ added in v1.0.5
func (o *BalanceCurrency) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*BalanceCurrency) GetNameOk ¶ added in v1.0.5
func (o *BalanceCurrency) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceCurrency) HasCode ¶ added in v1.0.5
func (o *BalanceCurrency) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*BalanceCurrency) HasId ¶ added in v1.0.5
func (o *BalanceCurrency) HasId() bool
HasId returns a boolean if a field has been set.
func (*BalanceCurrency) HasName ¶ added in v1.0.5
func (o *BalanceCurrency) HasName() bool
HasName returns a boolean if a field has been set.
func (BalanceCurrency) MarshalJSON ¶ added in v1.0.5
func (o BalanceCurrency) MarshalJSON() ([]byte, error)
func (*BalanceCurrency) SetCode ¶ added in v1.0.5
func (o *BalanceCurrency) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*BalanceCurrency) SetId ¶ added in v1.0.5
func (o *BalanceCurrency) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*BalanceCurrency) SetName ¶ added in v1.0.5
func (o *BalanceCurrency) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Brokerage ¶
type Brokerage struct {
// Unique identifier for the brokerage firm. This is the UUID used to reference the brokerage in SnapTrade.
Id *string `json:"id,omitempty"`
// A short, unique identifier for the brokerage. It is usually the name of the brokerage in capital letters and will never change.
Slug *string `json:"slug,omitempty"`
// Full name of the brokerage.
Name *string `json:"name,omitempty"`
// A display-friendly name of the brokerage.
DisplayName *string `json:"display_name,omitempty"`
// A brief description of the brokerage.
Description *string `json:"description,omitempty"`
// URL to the brokerage's logo.
AwsS3LogoUrl *string `json:"aws_s3_logo_url,omitempty"`
// URL to the brokerage's logo in square format.
AwsS3SquareLogoUrl NullableString `json:"aws_s3_square_logo_url,omitempty"`
// URL to the brokerage's website.
Url *string `json:"url,omitempty"`
// Whether the brokerage is enabled in SnapTrade. A disabled brokerage will not be available for new connections.
Enabled *bool `json:"enabled,omitempty"`
// Whether the brokerage is currently in maintenance mode. A brokerage in maintenance mode will not be available for new connections.
MaintenanceMode *bool `json:"maintenance_mode,omitempty"`
// Whether the brokerage allows trading through SnapTrade.
AllowsTrading NullableBool `json:"allows_trading,omitempty"`
// This field is deprecated. Please contact us if you have a valid use case for it.
// Deprecated
AllowsFractionalUnits NullableBool `json:"allows_fractional_units,omitempty"`
// This field is deprecated. Please contact us if you have a valid use case for it.
// Deprecated
HasReporting NullableBool `json:"has_reporting,omitempty"`
// This field is deprecated. Please contact us if you have a valid use case for it.
// Deprecated
IsRealTimeConnection *bool `json:"is_real_time_connection,omitempty"`
BrokerageType *BrokerageType `json:"brokerage_type,omitempty"`
// This field is deprecated. Please contact us if you have a valid use case for it.
// Deprecated
Exchanges []interface{} `json:"exchanges,omitempty"`
// This field is deprecated.
// Deprecated
OpenUrl NullableString `json:"open_url,omitempty"`
AdditionalProperties map[string]interface{}
}
Brokerage Describes a brokerage that SnapTrade supports.
func NewBrokerage ¶
func NewBrokerage() *Brokerage
NewBrokerage instantiates a new Brokerage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBrokerageWithDefaults ¶
func NewBrokerageWithDefaults() *Brokerage
NewBrokerageWithDefaults instantiates a new Brokerage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Brokerage) GetAllowsFractionalUnits ¶
GetAllowsFractionalUnits returns the AllowsFractionalUnits field value if set, zero value otherwise (both if not set or set to explicit null). Deprecated
func (*Brokerage) GetAllowsFractionalUnitsOk ¶
GetAllowsFractionalUnitsOk returns a tuple with the AllowsFractionalUnits field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned Deprecated
func (*Brokerage) GetAllowsTrading ¶
GetAllowsTrading returns the AllowsTrading field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Brokerage) GetAllowsTradingOk ¶
GetAllowsTradingOk returns a tuple with the AllowsTrading field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Brokerage) GetAwsS3LogoUrl ¶
GetAwsS3LogoUrl returns the AwsS3LogoUrl field value if set, zero value otherwise.
func (*Brokerage) GetAwsS3LogoUrlOk ¶
GetAwsS3LogoUrlOk returns a tuple with the AwsS3LogoUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Brokerage) GetAwsS3SquareLogoUrl ¶
GetAwsS3SquareLogoUrl returns the AwsS3SquareLogoUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Brokerage) GetAwsS3SquareLogoUrlOk ¶
GetAwsS3SquareLogoUrlOk returns a tuple with the AwsS3SquareLogoUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Brokerage) GetBrokerageType ¶
func (o *Brokerage) GetBrokerageType() BrokerageType
GetBrokerageType returns the BrokerageType field value if set, zero value otherwise.
func (*Brokerage) GetBrokerageTypeOk ¶
func (o *Brokerage) GetBrokerageTypeOk() (*BrokerageType, bool)
GetBrokerageTypeOk returns a tuple with the BrokerageType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Brokerage) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Brokerage) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Brokerage) GetDisplayName ¶
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*Brokerage) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Brokerage) GetEnabled ¶
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*Brokerage) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Brokerage) GetExchanges ¶
func (o *Brokerage) GetExchanges() []interface{}
GetExchanges returns the Exchanges field value if set, zero value otherwise. Deprecated
func (*Brokerage) GetExchangesOk ¶
GetExchangesOk returns a tuple with the Exchanges field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*Brokerage) GetHasReporting ¶
GetHasReporting returns the HasReporting field value if set, zero value otherwise (both if not set or set to explicit null). Deprecated
func (*Brokerage) GetHasReportingOk ¶
GetHasReportingOk returns a tuple with the HasReporting field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned Deprecated
func (*Brokerage) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Brokerage) GetIsRealTimeConnection ¶
GetIsRealTimeConnection returns the IsRealTimeConnection field value if set, zero value otherwise. Deprecated
func (*Brokerage) GetIsRealTimeConnectionOk ¶
GetIsRealTimeConnectionOk returns a tuple with the IsRealTimeConnection field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*Brokerage) GetMaintenanceMode ¶
GetMaintenanceMode returns the MaintenanceMode field value if set, zero value otherwise.
func (*Brokerage) GetMaintenanceModeOk ¶
GetMaintenanceModeOk returns a tuple with the MaintenanceMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Brokerage) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Brokerage) GetOpenUrl ¶
GetOpenUrl returns the OpenUrl field value if set, zero value otherwise (both if not set or set to explicit null). Deprecated
func (*Brokerage) GetOpenUrlOk ¶
GetOpenUrlOk returns a tuple with the OpenUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned Deprecated
func (*Brokerage) GetSlugOk ¶
GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Brokerage) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Brokerage) HasAllowsFractionalUnits ¶
HasAllowsFractionalUnits returns a boolean if a field has been set.
func (*Brokerage) HasAllowsTrading ¶
HasAllowsTrading returns a boolean if a field has been set.
func (*Brokerage) HasAwsS3LogoUrl ¶
HasAwsS3LogoUrl returns a boolean if a field has been set.
func (*Brokerage) HasAwsS3SquareLogoUrl ¶
HasAwsS3SquareLogoUrl returns a boolean if a field has been set.
func (*Brokerage) HasBrokerageType ¶
HasBrokerageType returns a boolean if a field has been set.
func (*Brokerage) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Brokerage) HasDisplayName ¶
HasDisplayName returns a boolean if a field has been set.
func (*Brokerage) HasEnabled ¶
HasEnabled returns a boolean if a field has been set.
func (*Brokerage) HasExchanges ¶
HasExchanges returns a boolean if a field has been set.
func (*Brokerage) HasHasReporting ¶
HasHasReporting returns a boolean if a field has been set.
func (*Brokerage) HasIsRealTimeConnection ¶
HasIsRealTimeConnection returns a boolean if a field has been set.
func (*Brokerage) HasMaintenanceMode ¶
HasMaintenanceMode returns a boolean if a field has been set.
func (*Brokerage) HasOpenUrl ¶
HasOpenUrl returns a boolean if a field has been set.
func (Brokerage) MarshalJSON ¶
func (*Brokerage) SetAllowsFractionalUnits ¶
SetAllowsFractionalUnits gets a reference to the given NullableBool and assigns it to the AllowsFractionalUnits field. Deprecated
func (*Brokerage) SetAllowsFractionalUnitsNil ¶
func (o *Brokerage) SetAllowsFractionalUnitsNil()
SetAllowsFractionalUnitsNil sets the value for AllowsFractionalUnits to be an explicit nil
func (*Brokerage) SetAllowsTrading ¶
SetAllowsTrading gets a reference to the given NullableBool and assigns it to the AllowsTrading field.
func (*Brokerage) SetAllowsTradingNil ¶
func (o *Brokerage) SetAllowsTradingNil()
SetAllowsTradingNil sets the value for AllowsTrading to be an explicit nil
func (*Brokerage) SetAwsS3LogoUrl ¶
SetAwsS3LogoUrl gets a reference to the given string and assigns it to the AwsS3LogoUrl field.
func (*Brokerage) SetAwsS3SquareLogoUrl ¶
SetAwsS3SquareLogoUrl gets a reference to the given NullableString and assigns it to the AwsS3SquareLogoUrl field.
func (*Brokerage) SetAwsS3SquareLogoUrlNil ¶
func (o *Brokerage) SetAwsS3SquareLogoUrlNil()
SetAwsS3SquareLogoUrlNil sets the value for AwsS3SquareLogoUrl to be an explicit nil
func (*Brokerage) SetBrokerageType ¶
func (o *Brokerage) SetBrokerageType(v BrokerageType)
SetBrokerageType gets a reference to the given BrokerageType and assigns it to the BrokerageType field.
func (*Brokerage) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Brokerage) SetDisplayName ¶
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*Brokerage) SetEnabled ¶
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*Brokerage) SetExchanges ¶
func (o *Brokerage) SetExchanges(v []interface{})
SetExchanges gets a reference to the given []interface{} and assigns it to the Exchanges field. Deprecated
func (*Brokerage) SetHasReporting ¶
SetHasReporting gets a reference to the given NullableBool and assigns it to the HasReporting field. Deprecated
func (*Brokerage) SetHasReportingNil ¶
func (o *Brokerage) SetHasReportingNil()
SetHasReportingNil sets the value for HasReporting to be an explicit nil
func (*Brokerage) SetId ¶
SetId gets a reference to the given string and assigns it to the Id field.
func (*Brokerage) SetIsRealTimeConnection ¶
SetIsRealTimeConnection gets a reference to the given bool and assigns it to the IsRealTimeConnection field. Deprecated
func (*Brokerage) SetMaintenanceMode ¶
SetMaintenanceMode gets a reference to the given bool and assigns it to the MaintenanceMode field.
func (*Brokerage) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Brokerage) SetOpenUrl ¶
SetOpenUrl gets a reference to the given NullableString and assigns it to the OpenUrl field. Deprecated
func (*Brokerage) SetOpenUrlNil ¶
func (o *Brokerage) SetOpenUrlNil()
SetOpenUrlNil sets the value for OpenUrl to be an explicit nil
func (*Brokerage) SetSlug ¶
SetSlug gets a reference to the given string and assigns it to the Slug field.
func (*Brokerage) SetUrl ¶
SetUrl gets a reference to the given string and assigns it to the Url field.
func (*Brokerage) UnmarshalJSON ¶
func (*Brokerage) UnsetAllowsFractionalUnits ¶
func (o *Brokerage) UnsetAllowsFractionalUnits()
UnsetAllowsFractionalUnits ensures that no value is present for AllowsFractionalUnits, not even an explicit nil
func (*Brokerage) UnsetAllowsTrading ¶
func (o *Brokerage) UnsetAllowsTrading()
UnsetAllowsTrading ensures that no value is present for AllowsTrading, not even an explicit nil
func (*Brokerage) UnsetAwsS3SquareLogoUrl ¶
func (o *Brokerage) UnsetAwsS3SquareLogoUrl()
UnsetAwsS3SquareLogoUrl ensures that no value is present for AwsS3SquareLogoUrl, not even an explicit nil
func (*Brokerage) UnsetHasReporting ¶
func (o *Brokerage) UnsetHasReporting()
UnsetHasReporting ensures that no value is present for HasReporting, not even an explicit nil
func (*Brokerage) UnsetOpenUrl ¶
func (o *Brokerage) UnsetOpenUrl()
UnsetOpenUrl ensures that no value is present for OpenUrl, not even an explicit nil
type BrokerageAuthorization ¶
type BrokerageAuthorization struct {
// Unique identifier for the connection. This is the UUID used to reference the connection in SnapTrade.
Id *string `json:"id,omitempty"`
// Timestamp of when the connection was established in SnapTrade.
CreatedDate *time.Time `json:"created_date,omitempty"`
Brokerage *Brokerage `json:"brokerage,omitempty"`
// A short, human-readable name for the connection.
Name *string `json:"name,omitempty"`
// Whether the connection is read-only or trade-enabled. A read-only connection can only be used to fetch data, while a trade-enabled connection can be used to place trades. Valid values are `read` and `trade`.
Type *string `json:"type,omitempty"`
// Whether the connection is disabled. A disabled connection can no longer access the latest data from the brokerage, but will continue to return the last cached state. A connection can become disabled for many reasons and differs by brokerage. Here are some common scenarios: - The user has changed their username or password at the brokerage. - The user has explicitly removed the access grant at the brokerage. - The session has expired at the brokerage and now requires explicit user re-authentication. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
Disabled *bool `json:"disabled,omitempty"`
// Timestamp of when the connection was disabled in SnapTrade.
DisabledDate NullableTime `json:"disabled_date,omitempty"`
// Additional data about the connection. This information is specific to the brokerage and there's no standard format for this data. This field is deprecated and subject to removal in a future version.
// Deprecated
Meta map[string]interface{} `json:"meta,omitempty"`
// Timestamp of when the connection was last updated in SnapTrade. This field is deprecated. Please let us know if you have a valid use case for this field.
// Deprecated
UpdatedDate *time.Time `json:"updated_date,omitempty"`
// Whether the connection is eligible for a payout.
IsEligibleForPayout *bool `json:"is_eligible_for_payout,omitempty"`
AdditionalProperties map[string]interface{}
}
BrokerageAuthorization A single connection with a brokerage. Note that `Connection` and `Brokerage Authorization` are interchangeable, but the term `Connection` is preferred and used in the doc for consistency. A connection is usually tied to a single login at a brokerage. A single connection can contain multiple brokerage accounts. SnapTrade performs de-duping on connections for a given user. If the user has an existing connection with the brokerage, when connecting the brokerage with the same credentials, SnapTrade will return the existing connection instead of creating a new one.
func NewBrokerageAuthorization ¶
func NewBrokerageAuthorization() *BrokerageAuthorization
NewBrokerageAuthorization instantiates a new BrokerageAuthorization object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBrokerageAuthorizationWithDefaults ¶
func NewBrokerageAuthorizationWithDefaults() *BrokerageAuthorization
NewBrokerageAuthorizationWithDefaults instantiates a new BrokerageAuthorization object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BrokerageAuthorization) GetBrokerage ¶
func (o *BrokerageAuthorization) GetBrokerage() Brokerage
GetBrokerage returns the Brokerage field value if set, zero value otherwise.
func (*BrokerageAuthorization) GetBrokerageOk ¶
func (o *BrokerageAuthorization) GetBrokerageOk() (*Brokerage, bool)
GetBrokerageOk returns a tuple with the Brokerage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageAuthorization) GetCreatedDate ¶
func (o *BrokerageAuthorization) GetCreatedDate() time.Time
GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.
func (*BrokerageAuthorization) GetCreatedDateOk ¶
func (o *BrokerageAuthorization) GetCreatedDateOk() (*time.Time, bool)
GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageAuthorization) GetDisabled ¶
func (o *BrokerageAuthorization) GetDisabled() bool
GetDisabled returns the Disabled field value if set, zero value otherwise.
func (*BrokerageAuthorization) GetDisabledDate ¶
func (o *BrokerageAuthorization) GetDisabledDate() time.Time
GetDisabledDate returns the DisabledDate field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BrokerageAuthorization) GetDisabledDateOk ¶
func (o *BrokerageAuthorization) GetDisabledDateOk() (*time.Time, bool)
GetDisabledDateOk returns a tuple with the DisabledDate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*BrokerageAuthorization) GetDisabledOk ¶
func (o *BrokerageAuthorization) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageAuthorization) GetId ¶
func (o *BrokerageAuthorization) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*BrokerageAuthorization) GetIdOk ¶
func (o *BrokerageAuthorization) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageAuthorization) GetIsEligibleForPayout ¶ added in v1.0.75
func (o *BrokerageAuthorization) GetIsEligibleForPayout() bool
GetIsEligibleForPayout returns the IsEligibleForPayout field value if set, zero value otherwise.
func (*BrokerageAuthorization) GetIsEligibleForPayoutOk ¶ added in v1.0.75
func (o *BrokerageAuthorization) GetIsEligibleForPayoutOk() (*bool, bool)
GetIsEligibleForPayoutOk returns a tuple with the IsEligibleForPayout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageAuthorization) GetMeta ¶
func (o *BrokerageAuthorization) GetMeta() map[string]interface{}
GetMeta returns the Meta field value if set, zero value otherwise. Deprecated
func (*BrokerageAuthorization) GetMetaOk ¶
func (o *BrokerageAuthorization) GetMetaOk() (map[string]interface{}, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*BrokerageAuthorization) GetName ¶
func (o *BrokerageAuthorization) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*BrokerageAuthorization) GetNameOk ¶
func (o *BrokerageAuthorization) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageAuthorization) GetType ¶
func (o *BrokerageAuthorization) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*BrokerageAuthorization) GetTypeOk ¶
func (o *BrokerageAuthorization) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageAuthorization) GetUpdatedDate ¶
func (o *BrokerageAuthorization) GetUpdatedDate() time.Time
GetUpdatedDate returns the UpdatedDate field value if set, zero value otherwise. Deprecated
func (*BrokerageAuthorization) GetUpdatedDateOk ¶
func (o *BrokerageAuthorization) GetUpdatedDateOk() (*time.Time, bool)
GetUpdatedDateOk returns a tuple with the UpdatedDate field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*BrokerageAuthorization) HasBrokerage ¶
func (o *BrokerageAuthorization) HasBrokerage() bool
HasBrokerage returns a boolean if a field has been set.
func (*BrokerageAuthorization) HasCreatedDate ¶
func (o *BrokerageAuthorization) HasCreatedDate() bool
HasCreatedDate returns a boolean if a field has been set.
func (*BrokerageAuthorization) HasDisabled ¶
func (o *BrokerageAuthorization) HasDisabled() bool
HasDisabled returns a boolean if a field has been set.
func (*BrokerageAuthorization) HasDisabledDate ¶
func (o *BrokerageAuthorization) HasDisabledDate() bool
HasDisabledDate returns a boolean if a field has been set.
func (*BrokerageAuthorization) HasId ¶
func (o *BrokerageAuthorization) HasId() bool
HasId returns a boolean if a field has been set.
func (*BrokerageAuthorization) HasIsEligibleForPayout ¶ added in v1.0.75
func (o *BrokerageAuthorization) HasIsEligibleForPayout() bool
HasIsEligibleForPayout returns a boolean if a field has been set.
func (*BrokerageAuthorization) HasMeta ¶
func (o *BrokerageAuthorization) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (*BrokerageAuthorization) HasName ¶
func (o *BrokerageAuthorization) HasName() bool
HasName returns a boolean if a field has been set.
func (*BrokerageAuthorization) HasType ¶
func (o *BrokerageAuthorization) HasType() bool
HasType returns a boolean if a field has been set.
func (*BrokerageAuthorization) HasUpdatedDate ¶
func (o *BrokerageAuthorization) HasUpdatedDate() bool
HasUpdatedDate returns a boolean if a field has been set.
func (BrokerageAuthorization) MarshalJSON ¶
func (o BrokerageAuthorization) MarshalJSON() ([]byte, error)
func (*BrokerageAuthorization) SetBrokerage ¶
func (o *BrokerageAuthorization) SetBrokerage(v Brokerage)
SetBrokerage gets a reference to the given Brokerage and assigns it to the Brokerage field.
func (*BrokerageAuthorization) SetCreatedDate ¶
func (o *BrokerageAuthorization) SetCreatedDate(v time.Time)
SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field.
func (*BrokerageAuthorization) SetDisabled ¶
func (o *BrokerageAuthorization) SetDisabled(v bool)
SetDisabled gets a reference to the given bool and assigns it to the Disabled field.
func (*BrokerageAuthorization) SetDisabledDate ¶
func (o *BrokerageAuthorization) SetDisabledDate(v time.Time)
SetDisabledDate gets a reference to the given NullableTime and assigns it to the DisabledDate field.
func (*BrokerageAuthorization) SetDisabledDateNil ¶
func (o *BrokerageAuthorization) SetDisabledDateNil()
SetDisabledDateNil sets the value for DisabledDate to be an explicit nil
func (*BrokerageAuthorization) SetId ¶
func (o *BrokerageAuthorization) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*BrokerageAuthorization) SetIsEligibleForPayout ¶ added in v1.0.75
func (o *BrokerageAuthorization) SetIsEligibleForPayout(v bool)
SetIsEligibleForPayout gets a reference to the given bool and assigns it to the IsEligibleForPayout field.
func (*BrokerageAuthorization) SetMeta ¶
func (o *BrokerageAuthorization) SetMeta(v map[string]interface{})
SetMeta gets a reference to the given map[string]interface{} and assigns it to the Meta field. Deprecated
func (*BrokerageAuthorization) SetName ¶
func (o *BrokerageAuthorization) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*BrokerageAuthorization) SetType ¶
func (o *BrokerageAuthorization) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*BrokerageAuthorization) SetUpdatedDate ¶
func (o *BrokerageAuthorization) SetUpdatedDate(v time.Time)
SetUpdatedDate gets a reference to the given time.Time and assigns it to the UpdatedDate field. Deprecated
func (*BrokerageAuthorization) UnmarshalJSON ¶
func (o *BrokerageAuthorization) UnmarshalJSON(bytes []byte) (err error)
func (*BrokerageAuthorization) UnsetDisabledDate ¶
func (o *BrokerageAuthorization) UnsetDisabledDate()
UnsetDisabledDate ensures that no value is present for DisabledDate, not even an explicit nil
type BrokerageAuthorizationDisabledConfirmation ¶
type BrokerageAuthorizationDisabledConfirmation struct {
// Connection disabled confirmation
Detail *string `json:"detail,omitempty"`
AdditionalProperties map[string]interface{}
}
BrokerageAuthorizationDisabledConfirmation Confirmation that the connection has been disabled.
func NewBrokerageAuthorizationDisabledConfirmation ¶
func NewBrokerageAuthorizationDisabledConfirmation() *BrokerageAuthorizationDisabledConfirmation
NewBrokerageAuthorizationDisabledConfirmation instantiates a new BrokerageAuthorizationDisabledConfirmation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBrokerageAuthorizationDisabledConfirmationWithDefaults ¶
func NewBrokerageAuthorizationDisabledConfirmationWithDefaults() *BrokerageAuthorizationDisabledConfirmation
NewBrokerageAuthorizationDisabledConfirmationWithDefaults instantiates a new BrokerageAuthorizationDisabledConfirmation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BrokerageAuthorizationDisabledConfirmation) GetDetail ¶
func (o *BrokerageAuthorizationDisabledConfirmation) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*BrokerageAuthorizationDisabledConfirmation) GetDetailOk ¶
func (o *BrokerageAuthorizationDisabledConfirmation) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageAuthorizationDisabledConfirmation) HasDetail ¶
func (o *BrokerageAuthorizationDisabledConfirmation) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (BrokerageAuthorizationDisabledConfirmation) MarshalJSON ¶
func (o BrokerageAuthorizationDisabledConfirmation) MarshalJSON() ([]byte, error)
func (*BrokerageAuthorizationDisabledConfirmation) SetDetail ¶
func (o *BrokerageAuthorizationDisabledConfirmation) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*BrokerageAuthorizationDisabledConfirmation) UnmarshalJSON ¶
func (o *BrokerageAuthorizationDisabledConfirmation) UnmarshalJSON(bytes []byte) (err error)
type BrokerageAuthorizationRefreshConfirmation ¶
type BrokerageAuthorizationRefreshConfirmation struct {
// Refresh confirmation details
Detail *string `json:"detail,omitempty"`
AdditionalProperties map[string]interface{}
}
BrokerageAuthorizationRefreshConfirmation Confirmation that the syncs have been scheduled.
func NewBrokerageAuthorizationRefreshConfirmation ¶
func NewBrokerageAuthorizationRefreshConfirmation() *BrokerageAuthorizationRefreshConfirmation
NewBrokerageAuthorizationRefreshConfirmation instantiates a new BrokerageAuthorizationRefreshConfirmation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBrokerageAuthorizationRefreshConfirmationWithDefaults ¶
func NewBrokerageAuthorizationRefreshConfirmationWithDefaults() *BrokerageAuthorizationRefreshConfirmation
NewBrokerageAuthorizationRefreshConfirmationWithDefaults instantiates a new BrokerageAuthorizationRefreshConfirmation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BrokerageAuthorizationRefreshConfirmation) GetDetail ¶
func (o *BrokerageAuthorizationRefreshConfirmation) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*BrokerageAuthorizationRefreshConfirmation) GetDetailOk ¶
func (o *BrokerageAuthorizationRefreshConfirmation) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageAuthorizationRefreshConfirmation) HasDetail ¶
func (o *BrokerageAuthorizationRefreshConfirmation) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (BrokerageAuthorizationRefreshConfirmation) MarshalJSON ¶
func (o BrokerageAuthorizationRefreshConfirmation) MarshalJSON() ([]byte, error)
func (*BrokerageAuthorizationRefreshConfirmation) SetDetail ¶
func (o *BrokerageAuthorizationRefreshConfirmation) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*BrokerageAuthorizationRefreshConfirmation) UnmarshalJSON ¶
func (o *BrokerageAuthorizationRefreshConfirmation) UnmarshalJSON(bytes []byte) (err error)
type BrokerageAuthorizationTypeReadOnly ¶
type BrokerageAuthorizationTypeReadOnly struct {
Id *string `json:"id,omitempty"`
Type *string `json:"type,omitempty"`
AuthType *string `json:"auth_type,omitempty"`
Brokerage *BrokerageAuthorizationTypeReadOnlyBrokerage `json:"brokerage,omitempty"`
AdditionalProperties map[string]interface{}
}
BrokerageAuthorizationTypeReadOnly struct for BrokerageAuthorizationTypeReadOnly
func NewBrokerageAuthorizationTypeReadOnly ¶
func NewBrokerageAuthorizationTypeReadOnly() *BrokerageAuthorizationTypeReadOnly
NewBrokerageAuthorizationTypeReadOnly instantiates a new BrokerageAuthorizationTypeReadOnly object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBrokerageAuthorizationTypeReadOnlyWithDefaults ¶
func NewBrokerageAuthorizationTypeReadOnlyWithDefaults() *BrokerageAuthorizationTypeReadOnly
NewBrokerageAuthorizationTypeReadOnlyWithDefaults instantiates a new BrokerageAuthorizationTypeReadOnly object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BrokerageAuthorizationTypeReadOnly) GetAuthType ¶
func (o *BrokerageAuthorizationTypeReadOnly) GetAuthType() string
GetAuthType returns the AuthType field value if set, zero value otherwise.
func (*BrokerageAuthorizationTypeReadOnly) GetAuthTypeOk ¶
func (o *BrokerageAuthorizationTypeReadOnly) GetAuthTypeOk() (*string, bool)
GetAuthTypeOk returns a tuple with the AuthType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageAuthorizationTypeReadOnly) GetBrokerage ¶
func (o *BrokerageAuthorizationTypeReadOnly) GetBrokerage() BrokerageAuthorizationTypeReadOnlyBrokerage
GetBrokerage returns the Brokerage field value if set, zero value otherwise.
func (*BrokerageAuthorizationTypeReadOnly) GetBrokerageOk ¶
func (o *BrokerageAuthorizationTypeReadOnly) GetBrokerageOk() (*BrokerageAuthorizationTypeReadOnlyBrokerage, bool)
GetBrokerageOk returns a tuple with the Brokerage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageAuthorizationTypeReadOnly) GetId ¶
func (o *BrokerageAuthorizationTypeReadOnly) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*BrokerageAuthorizationTypeReadOnly) GetIdOk ¶
func (o *BrokerageAuthorizationTypeReadOnly) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageAuthorizationTypeReadOnly) GetType ¶
func (o *BrokerageAuthorizationTypeReadOnly) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*BrokerageAuthorizationTypeReadOnly) GetTypeOk ¶
func (o *BrokerageAuthorizationTypeReadOnly) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageAuthorizationTypeReadOnly) HasAuthType ¶
func (o *BrokerageAuthorizationTypeReadOnly) HasAuthType() bool
HasAuthType returns a boolean if a field has been set.
func (*BrokerageAuthorizationTypeReadOnly) HasBrokerage ¶
func (o *BrokerageAuthorizationTypeReadOnly) HasBrokerage() bool
HasBrokerage returns a boolean if a field has been set.
func (*BrokerageAuthorizationTypeReadOnly) HasId ¶
func (o *BrokerageAuthorizationTypeReadOnly) HasId() bool
HasId returns a boolean if a field has been set.
func (*BrokerageAuthorizationTypeReadOnly) HasType ¶
func (o *BrokerageAuthorizationTypeReadOnly) HasType() bool
HasType returns a boolean if a field has been set.
func (BrokerageAuthorizationTypeReadOnly) MarshalJSON ¶
func (o BrokerageAuthorizationTypeReadOnly) MarshalJSON() ([]byte, error)
func (*BrokerageAuthorizationTypeReadOnly) SetAuthType ¶
func (o *BrokerageAuthorizationTypeReadOnly) SetAuthType(v string)
SetAuthType gets a reference to the given string and assigns it to the AuthType field.
func (*BrokerageAuthorizationTypeReadOnly) SetBrokerage ¶
func (o *BrokerageAuthorizationTypeReadOnly) SetBrokerage(v BrokerageAuthorizationTypeReadOnlyBrokerage)
SetBrokerage gets a reference to the given BrokerageAuthorizationTypeReadOnlyBrokerage and assigns it to the Brokerage field.
func (*BrokerageAuthorizationTypeReadOnly) SetId ¶
func (o *BrokerageAuthorizationTypeReadOnly) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*BrokerageAuthorizationTypeReadOnly) SetType ¶
func (o *BrokerageAuthorizationTypeReadOnly) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*BrokerageAuthorizationTypeReadOnly) UnmarshalJSON ¶
func (o *BrokerageAuthorizationTypeReadOnly) UnmarshalJSON(bytes []byte) (err error)
type BrokerageAuthorizationTypeReadOnlyBrokerage ¶
type BrokerageAuthorizationTypeReadOnlyBrokerage struct {
Id *string `json:"id,omitempty"`
// Full name of the brokerage.
Name *string `json:"name,omitempty"`
// A unique identifier for that brokerage. It is usually the name of the brokerage in capital letters and will never change.
Slug *string `json:"slug,omitempty"`
AdditionalProperties map[string]interface{}
}
BrokerageAuthorizationTypeReadOnlyBrokerage struct for BrokerageAuthorizationTypeReadOnlyBrokerage
func NewBrokerageAuthorizationTypeReadOnlyBrokerage ¶
func NewBrokerageAuthorizationTypeReadOnlyBrokerage() *BrokerageAuthorizationTypeReadOnlyBrokerage
NewBrokerageAuthorizationTypeReadOnlyBrokerage instantiates a new BrokerageAuthorizationTypeReadOnlyBrokerage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBrokerageAuthorizationTypeReadOnlyBrokerageWithDefaults ¶
func NewBrokerageAuthorizationTypeReadOnlyBrokerageWithDefaults() *BrokerageAuthorizationTypeReadOnlyBrokerage
NewBrokerageAuthorizationTypeReadOnlyBrokerageWithDefaults instantiates a new BrokerageAuthorizationTypeReadOnlyBrokerage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BrokerageAuthorizationTypeReadOnlyBrokerage) GetId ¶
func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*BrokerageAuthorizationTypeReadOnlyBrokerage) GetIdOk ¶
func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageAuthorizationTypeReadOnlyBrokerage) GetName ¶
func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*BrokerageAuthorizationTypeReadOnlyBrokerage) GetNameOk ¶
func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageAuthorizationTypeReadOnlyBrokerage) GetSlug ¶
func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) GetSlug() string
GetSlug returns the Slug field value if set, zero value otherwise.
func (*BrokerageAuthorizationTypeReadOnlyBrokerage) GetSlugOk ¶
func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageAuthorizationTypeReadOnlyBrokerage) HasId ¶
func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) HasId() bool
HasId returns a boolean if a field has been set.
func (*BrokerageAuthorizationTypeReadOnlyBrokerage) HasName ¶
func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) HasName() bool
HasName returns a boolean if a field has been set.
func (*BrokerageAuthorizationTypeReadOnlyBrokerage) HasSlug ¶
func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) HasSlug() bool
HasSlug returns a boolean if a field has been set.
func (BrokerageAuthorizationTypeReadOnlyBrokerage) MarshalJSON ¶
func (o BrokerageAuthorizationTypeReadOnlyBrokerage) MarshalJSON() ([]byte, error)
func (*BrokerageAuthorizationTypeReadOnlyBrokerage) SetId ¶
func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*BrokerageAuthorizationTypeReadOnlyBrokerage) SetName ¶
func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*BrokerageAuthorizationTypeReadOnlyBrokerage) SetSlug ¶
func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) SetSlug(v string)
SetSlug gets a reference to the given string and assigns it to the Slug field.
func (*BrokerageAuthorizationTypeReadOnlyBrokerage) UnmarshalJSON ¶
func (o *BrokerageAuthorizationTypeReadOnlyBrokerage) UnmarshalJSON(bytes []byte) (err error)
type BrokerageInstrument ¶ added in v1.0.90
type BrokerageInstrument struct {
// The instrument's trading symbol / ticker.
Symbol string `json:"symbol"`
// The MIC code of the exchange where the instrument is traded.
ExchangeMic NullableString `json:"exchange_mic,omitempty"`
// Whether the instrument is tradeable through the brokerage. `null` if the tradeability is unknown.
Tradeable NullableBool `json:"tradeable,omitempty"`
// Whether the instrument allows fractional units. `null` if the fractionability is unknown.
Fractionable NullableBool `json:"fractionable,omitempty"`
// The universal symbol ID of the instrument. This is the ID used to reference the instrument in SnapTrade API calls.
UniversalSymbolId NullableString `json:"universal_symbol_id,omitempty"`
AdditionalProperties map[string]interface{}
}
BrokerageInstrument struct for BrokerageInstrument
func NewBrokerageInstrument ¶ added in v1.0.90
func NewBrokerageInstrument(symbol string) *BrokerageInstrument
NewBrokerageInstrument instantiates a new BrokerageInstrument object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBrokerageInstrumentWithDefaults ¶ added in v1.0.90
func NewBrokerageInstrumentWithDefaults() *BrokerageInstrument
NewBrokerageInstrumentWithDefaults instantiates a new BrokerageInstrument object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BrokerageInstrument) GetExchangeMic ¶ added in v1.0.90
func (o *BrokerageInstrument) GetExchangeMic() string
GetExchangeMic returns the ExchangeMic field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BrokerageInstrument) GetExchangeMicOk ¶ added in v1.0.90
func (o *BrokerageInstrument) GetExchangeMicOk() (*string, bool)
GetExchangeMicOk returns a tuple with the ExchangeMic field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*BrokerageInstrument) GetFractionable ¶ added in v1.0.90
func (o *BrokerageInstrument) GetFractionable() bool
GetFractionable returns the Fractionable field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BrokerageInstrument) GetFractionableOk ¶ added in v1.0.90
func (o *BrokerageInstrument) GetFractionableOk() (*bool, bool)
GetFractionableOk returns a tuple with the Fractionable field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*BrokerageInstrument) GetSymbol ¶ added in v1.0.90
func (o *BrokerageInstrument) GetSymbol() string
GetSymbol returns the Symbol field value
func (*BrokerageInstrument) GetSymbolOk ¶ added in v1.0.90
func (o *BrokerageInstrument) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field value and a boolean to check if the value has been set.
func (*BrokerageInstrument) GetTradeable ¶ added in v1.0.90
func (o *BrokerageInstrument) GetTradeable() bool
GetTradeable returns the Tradeable field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BrokerageInstrument) GetTradeableOk ¶ added in v1.0.90
func (o *BrokerageInstrument) GetTradeableOk() (*bool, bool)
GetTradeableOk returns a tuple with the Tradeable field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*BrokerageInstrument) GetUniversalSymbolId ¶ added in v1.0.90
func (o *BrokerageInstrument) GetUniversalSymbolId() string
GetUniversalSymbolId returns the UniversalSymbolId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BrokerageInstrument) GetUniversalSymbolIdOk ¶ added in v1.0.90
func (o *BrokerageInstrument) GetUniversalSymbolIdOk() (*string, bool)
GetUniversalSymbolIdOk returns a tuple with the UniversalSymbolId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*BrokerageInstrument) HasExchangeMic ¶ added in v1.0.90
func (o *BrokerageInstrument) HasExchangeMic() bool
HasExchangeMic returns a boolean if a field has been set.
func (*BrokerageInstrument) HasFractionable ¶ added in v1.0.90
func (o *BrokerageInstrument) HasFractionable() bool
HasFractionable returns a boolean if a field has been set.
func (*BrokerageInstrument) HasTradeable ¶ added in v1.0.90
func (o *BrokerageInstrument) HasTradeable() bool
HasTradeable returns a boolean if a field has been set.
func (*BrokerageInstrument) HasUniversalSymbolId ¶ added in v1.0.90
func (o *BrokerageInstrument) HasUniversalSymbolId() bool
HasUniversalSymbolId returns a boolean if a field has been set.
func (BrokerageInstrument) MarshalJSON ¶ added in v1.0.90
func (o BrokerageInstrument) MarshalJSON() ([]byte, error)
func (*BrokerageInstrument) SetExchangeMic ¶ added in v1.0.90
func (o *BrokerageInstrument) SetExchangeMic(v string)
SetExchangeMic gets a reference to the given NullableString and assigns it to the ExchangeMic field.
func (*BrokerageInstrument) SetExchangeMicNil ¶ added in v1.0.90
func (o *BrokerageInstrument) SetExchangeMicNil()
SetExchangeMicNil sets the value for ExchangeMic to be an explicit nil
func (*BrokerageInstrument) SetFractionable ¶ added in v1.0.90
func (o *BrokerageInstrument) SetFractionable(v bool)
SetFractionable gets a reference to the given NullableBool and assigns it to the Fractionable field.
func (*BrokerageInstrument) SetFractionableNil ¶ added in v1.0.90
func (o *BrokerageInstrument) SetFractionableNil()
SetFractionableNil sets the value for Fractionable to be an explicit nil
func (*BrokerageInstrument) SetSymbol ¶ added in v1.0.90
func (o *BrokerageInstrument) SetSymbol(v string)
SetSymbol sets field value
func (*BrokerageInstrument) SetTradeable ¶ added in v1.0.90
func (o *BrokerageInstrument) SetTradeable(v bool)
SetTradeable gets a reference to the given NullableBool and assigns it to the Tradeable field.
func (*BrokerageInstrument) SetTradeableNil ¶ added in v1.0.90
func (o *BrokerageInstrument) SetTradeableNil()
SetTradeableNil sets the value for Tradeable to be an explicit nil
func (*BrokerageInstrument) SetUniversalSymbolId ¶ added in v1.0.90
func (o *BrokerageInstrument) SetUniversalSymbolId(v string)
SetUniversalSymbolId gets a reference to the given NullableString and assigns it to the UniversalSymbolId field.
func (*BrokerageInstrument) SetUniversalSymbolIdNil ¶ added in v1.0.90
func (o *BrokerageInstrument) SetUniversalSymbolIdNil()
SetUniversalSymbolIdNil sets the value for UniversalSymbolId to be an explicit nil
func (*BrokerageInstrument) UnmarshalJSON ¶ added in v1.0.90
func (o *BrokerageInstrument) UnmarshalJSON(bytes []byte) (err error)
func (*BrokerageInstrument) UnsetExchangeMic ¶ added in v1.0.90
func (o *BrokerageInstrument) UnsetExchangeMic()
UnsetExchangeMic ensures that no value is present for ExchangeMic, not even an explicit nil
func (*BrokerageInstrument) UnsetFractionable ¶ added in v1.0.90
func (o *BrokerageInstrument) UnsetFractionable()
UnsetFractionable ensures that no value is present for Fractionable, not even an explicit nil
func (*BrokerageInstrument) UnsetTradeable ¶ added in v1.0.90
func (o *BrokerageInstrument) UnsetTradeable()
UnsetTradeable ensures that no value is present for Tradeable, not even an explicit nil
func (*BrokerageInstrument) UnsetUniversalSymbolId ¶ added in v1.0.90
func (o *BrokerageInstrument) UnsetUniversalSymbolId()
UnsetUniversalSymbolId ensures that no value is present for UniversalSymbolId, not even an explicit nil
type BrokerageInstrumentsResponse ¶ added in v1.0.90
type BrokerageInstrumentsResponse struct {
Instruments []BrokerageInstrument `json:"instruments,omitempty"`
AdditionalProperties map[string]interface{}
}
BrokerageInstrumentsResponse struct for BrokerageInstrumentsResponse
func NewBrokerageInstrumentsResponse ¶ added in v1.0.90
func NewBrokerageInstrumentsResponse() *BrokerageInstrumentsResponse
NewBrokerageInstrumentsResponse instantiates a new BrokerageInstrumentsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBrokerageInstrumentsResponseWithDefaults ¶ added in v1.0.90
func NewBrokerageInstrumentsResponseWithDefaults() *BrokerageInstrumentsResponse
NewBrokerageInstrumentsResponseWithDefaults instantiates a new BrokerageInstrumentsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BrokerageInstrumentsResponse) GetInstruments ¶ added in v1.0.90
func (o *BrokerageInstrumentsResponse) GetInstruments() []BrokerageInstrument
GetInstruments returns the Instruments field value if set, zero value otherwise.
func (*BrokerageInstrumentsResponse) GetInstrumentsOk ¶ added in v1.0.90
func (o *BrokerageInstrumentsResponse) GetInstrumentsOk() ([]BrokerageInstrument, bool)
GetInstrumentsOk returns a tuple with the Instruments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageInstrumentsResponse) HasInstruments ¶ added in v1.0.90
func (o *BrokerageInstrumentsResponse) HasInstruments() bool
HasInstruments returns a boolean if a field has been set.
func (BrokerageInstrumentsResponse) MarshalJSON ¶ added in v1.0.90
func (o BrokerageInstrumentsResponse) MarshalJSON() ([]byte, error)
func (*BrokerageInstrumentsResponse) SetInstruments ¶ added in v1.0.90
func (o *BrokerageInstrumentsResponse) SetInstruments(v []BrokerageInstrument)
SetInstruments gets a reference to the given []BrokerageInstrument and assigns it to the Instruments field.
func (*BrokerageInstrumentsResponse) UnmarshalJSON ¶ added in v1.0.90
func (o *BrokerageInstrumentsResponse) UnmarshalJSON(bytes []byte) (err error)
type BrokerageType ¶
type BrokerageType struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]interface{}
}
BrokerageType Type of brokerage. Currently supports traditional brokerages and crypto exchanges.
func NewBrokerageType ¶
func NewBrokerageType() *BrokerageType
NewBrokerageType instantiates a new BrokerageType object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBrokerageTypeWithDefaults ¶
func NewBrokerageTypeWithDefaults() *BrokerageType
NewBrokerageTypeWithDefaults instantiates a new BrokerageType object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BrokerageType) GetId ¶
func (o *BrokerageType) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*BrokerageType) GetIdOk ¶
func (o *BrokerageType) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageType) GetName ¶
func (o *BrokerageType) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*BrokerageType) GetNameOk ¶
func (o *BrokerageType) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BrokerageType) HasId ¶
func (o *BrokerageType) HasId() bool
HasId returns a boolean if a field has been set.
func (*BrokerageType) HasName ¶
func (o *BrokerageType) HasName() bool
HasName returns a boolean if a field has been set.
func (BrokerageType) MarshalJSON ¶
func (o BrokerageType) MarshalJSON() ([]byte, error)
func (*BrokerageType) SetId ¶
func (o *BrokerageType) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*BrokerageType) SetName ¶
func (o *BrokerageType) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*BrokerageType) UnmarshalJSON ¶
func (o *BrokerageType) UnmarshalJSON(bytes []byte) (err error)
type CancelOrderResponse ¶ added in v1.0.89
type CancelOrderResponse struct {
// Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
BrokerageOrderId string `json:"brokerage_order_id"`
// The raw response from the brokerage.
RawResponse map[string]interface{} `json:"raw_response,omitempty"`
AdditionalProperties map[string]interface{}
}
CancelOrderResponse struct for CancelOrderResponse
func NewCancelOrderResponse ¶ added in v1.0.89
func NewCancelOrderResponse(brokerageOrderId string) *CancelOrderResponse
NewCancelOrderResponse instantiates a new CancelOrderResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCancelOrderResponseWithDefaults ¶ added in v1.0.89
func NewCancelOrderResponseWithDefaults() *CancelOrderResponse
NewCancelOrderResponseWithDefaults instantiates a new CancelOrderResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CancelOrderResponse) GetBrokerageOrderId ¶ added in v1.0.89
func (o *CancelOrderResponse) GetBrokerageOrderId() string
GetBrokerageOrderId returns the BrokerageOrderId field value
func (*CancelOrderResponse) GetBrokerageOrderIdOk ¶ added in v1.0.89
func (o *CancelOrderResponse) GetBrokerageOrderIdOk() (*string, bool)
GetBrokerageOrderIdOk returns a tuple with the BrokerageOrderId field value and a boolean to check if the value has been set.
func (*CancelOrderResponse) GetRawResponse ¶ added in v1.0.89
func (o *CancelOrderResponse) GetRawResponse() map[string]interface{}
GetRawResponse returns the RawResponse field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CancelOrderResponse) GetRawResponseOk ¶ added in v1.0.89
func (o *CancelOrderResponse) GetRawResponseOk() (map[string]interface{}, bool)
GetRawResponseOk returns a tuple with the RawResponse field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CancelOrderResponse) HasRawResponse ¶ added in v1.0.89
func (o *CancelOrderResponse) HasRawResponse() bool
HasRawResponse returns a boolean if a field has been set.
func (CancelOrderResponse) MarshalJSON ¶ added in v1.0.89
func (o CancelOrderResponse) MarshalJSON() ([]byte, error)
func (*CancelOrderResponse) SetBrokerageOrderId ¶ added in v1.0.89
func (o *CancelOrderResponse) SetBrokerageOrderId(v string)
SetBrokerageOrderId sets field value
func (*CancelOrderResponse) SetRawResponse ¶ added in v1.0.89
func (o *CancelOrderResponse) SetRawResponse(v map[string]interface{})
SetRawResponse gets a reference to the given map[string]interface{} and assigns it to the RawResponse field.
func (*CancelOrderResponse) UnmarshalJSON ¶ added in v1.0.89
func (o *CancelOrderResponse) UnmarshalJSON(bytes []byte) (err error)
type ChildBrokerageOrderIDs ¶ added in v1.0.55
type ChildBrokerageOrderIDs struct {
// The brokerage order ID for the take profit leg of the bracket order
TakeProfitOrderId *string `json:"take_profit_order_id,omitempty"`
// The brokerage order ID for the stop loss leg of the bracket order
StopLossOrderId *string `json:"stop_loss_order_id,omitempty"`
AdditionalProperties map[string]interface{}
}
ChildBrokerageOrderIDs struct for ChildBrokerageOrderIDs
func NewChildBrokerageOrderIDs ¶ added in v1.0.55
func NewChildBrokerageOrderIDs() *ChildBrokerageOrderIDs
NewChildBrokerageOrderIDs instantiates a new ChildBrokerageOrderIDs object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChildBrokerageOrderIDsWithDefaults ¶ added in v1.0.55
func NewChildBrokerageOrderIDsWithDefaults() *ChildBrokerageOrderIDs
NewChildBrokerageOrderIDsWithDefaults instantiates a new ChildBrokerageOrderIDs object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChildBrokerageOrderIDs) GetStopLossOrderId ¶ added in v1.0.55
func (o *ChildBrokerageOrderIDs) GetStopLossOrderId() string
GetStopLossOrderId returns the StopLossOrderId field value if set, zero value otherwise.
func (*ChildBrokerageOrderIDs) GetStopLossOrderIdOk ¶ added in v1.0.55
func (o *ChildBrokerageOrderIDs) GetStopLossOrderIdOk() (*string, bool)
GetStopLossOrderIdOk returns a tuple with the StopLossOrderId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChildBrokerageOrderIDs) GetTakeProfitOrderId ¶ added in v1.0.55
func (o *ChildBrokerageOrderIDs) GetTakeProfitOrderId() string
GetTakeProfitOrderId returns the TakeProfitOrderId field value if set, zero value otherwise.
func (*ChildBrokerageOrderIDs) GetTakeProfitOrderIdOk ¶ added in v1.0.55
func (o *ChildBrokerageOrderIDs) GetTakeProfitOrderIdOk() (*string, bool)
GetTakeProfitOrderIdOk returns a tuple with the TakeProfitOrderId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChildBrokerageOrderIDs) HasStopLossOrderId ¶ added in v1.0.55
func (o *ChildBrokerageOrderIDs) HasStopLossOrderId() bool
HasStopLossOrderId returns a boolean if a field has been set.
func (*ChildBrokerageOrderIDs) HasTakeProfitOrderId ¶ added in v1.0.55
func (o *ChildBrokerageOrderIDs) HasTakeProfitOrderId() bool
HasTakeProfitOrderId returns a boolean if a field has been set.
func (ChildBrokerageOrderIDs) MarshalJSON ¶ added in v1.0.55
func (o ChildBrokerageOrderIDs) MarshalJSON() ([]byte, error)
func (*ChildBrokerageOrderIDs) SetStopLossOrderId ¶ added in v1.0.55
func (o *ChildBrokerageOrderIDs) SetStopLossOrderId(v string)
SetStopLossOrderId gets a reference to the given string and assigns it to the StopLossOrderId field.
func (*ChildBrokerageOrderIDs) SetTakeProfitOrderId ¶ added in v1.0.55
func (o *ChildBrokerageOrderIDs) SetTakeProfitOrderId(v string)
SetTakeProfitOrderId gets a reference to the given string and assigns it to the TakeProfitOrderId field.
func (*ChildBrokerageOrderIDs) UnmarshalJSON ¶ added in v1.0.55
func (o *ChildBrokerageOrderIDs) UnmarshalJSON(bytes []byte) (err error)
type Configuration ¶
type Configuration struct {
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
TokenUrl string `json:"tokenUrl,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
Debug bool `json:"debug,omitempty"`
Servers ServerConfigurations
OperationServers map[string]ServerConfigurations
HTTPClient *http.Client
Context context.Context
}
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddAPIKey ¶
func (c *Configuration) AddAPIKey(key string, apiKey APIKey)
Configures an API key on Configuration. Ensures multiple calls does not delete other keys
1. Get the existing map of API keys from the context. 2. If there's no existing map, create a new map. 3. Update the "[API key]"" in the map. 4. Store the updated map back in the context.
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
func (*Configuration) SetConsumerKey ¶
func (c *Configuration) SetConsumerKey(ConsumerKey string)
func (*Configuration) SetHost ¶
func (c *Configuration) SetHost(host string)
func (*Configuration) SetOAuthClientCredentials ¶
func (c *Configuration) SetOAuthClientCredentials(clientId string, clientSecret string)
Setup OAuth Client Credentials Flow for all requests
func (*Configuration) SetPartnerClientId ¶
func (c *Configuration) SetPartnerClientId(partnerClientId string)
func (*Configuration) SetPartnerSignature ¶
func (c *Configuration) SetPartnerSignature(partnerSignature string)
func (*Configuration) SetPartnerTimestamp ¶
func (c *Configuration) SetPartnerTimestamp(partnerTimestamp string)
func (*Configuration) SetTokenUrl ¶
func (c *Configuration) SetTokenUrl(tokenUrl string)
type ConnectionsApiDetailBrokerageAuthorizationRequest ¶
type ConnectionsApiDetailBrokerageAuthorizationRequest struct {
ApiService *ConnectionsApiService
// contains filtered or unexported fields
}
func (ConnectionsApiDetailBrokerageAuthorizationRequest) Execute ¶
func (r ConnectionsApiDetailBrokerageAuthorizationRequest) Execute() (*BrokerageAuthorization, *http.Response, error)
type ConnectionsApiDisableBrokerageAuthorizationRequest ¶
type ConnectionsApiDisableBrokerageAuthorizationRequest struct {
ApiService *ConnectionsApiService
// contains filtered or unexported fields
}
func (ConnectionsApiDisableBrokerageAuthorizationRequest) Execute ¶
func (r ConnectionsApiDisableBrokerageAuthorizationRequest) Execute() (*BrokerageAuthorizationDisabledConfirmation, *http.Response, error)
type ConnectionsApiListBrokerageAuthorizationsRequest ¶
type ConnectionsApiListBrokerageAuthorizationsRequest struct {
ApiService *ConnectionsApiService
// contains filtered or unexported fields
}
func (ConnectionsApiListBrokerageAuthorizationsRequest) Execute ¶
func (r ConnectionsApiListBrokerageAuthorizationsRequest) Execute() ([]BrokerageAuthorization, *http.Response, error)
type ConnectionsApiRefreshBrokerageAuthorizationRequest ¶
type ConnectionsApiRefreshBrokerageAuthorizationRequest struct {
ApiService *ConnectionsApiService
// contains filtered or unexported fields
}
func (ConnectionsApiRefreshBrokerageAuthorizationRequest) Execute ¶
func (r ConnectionsApiRefreshBrokerageAuthorizationRequest) Execute() (*BrokerageAuthorizationRefreshConfirmation, *http.Response, error)
type ConnectionsApiRemoveBrokerageAuthorizationRequest ¶
type ConnectionsApiRemoveBrokerageAuthorizationRequest struct {
ApiService *ConnectionsApiService
// contains filtered or unexported fields
}
type ConnectionsApiReturnRatesRequest ¶ added in v1.0.27
type ConnectionsApiReturnRatesRequest struct {
ApiService *ConnectionsApiService
// contains filtered or unexported fields
}
func (ConnectionsApiReturnRatesRequest) Execute ¶ added in v1.0.27
func (r ConnectionsApiReturnRatesRequest) Execute() (*RateOfReturnResponse, *http.Response, error)
type ConnectionsApiService ¶
type ConnectionsApiService service
ConnectionsApiService ConnectionsApi service
func (*ConnectionsApiService) DetailBrokerageAuthorization ¶
func (a *ConnectionsApiService) DetailBrokerageAuthorization(authorizationId string, userId string, userSecret string) ConnectionsApiDetailBrokerageAuthorizationRequest
DetailBrokerageAuthorization Get connection detail
Returns a single connection for the specified ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param authorizationId @param userId @param userSecret @return ConnectionsApiDetailBrokerageAuthorizationRequest
func (*ConnectionsApiService) DetailBrokerageAuthorizationExecute ¶
func (a *ConnectionsApiService) DetailBrokerageAuthorizationExecute(r ConnectionsApiDetailBrokerageAuthorizationRequest) (*BrokerageAuthorization, *http.Response, error)
Execute executes the request
@return BrokerageAuthorization
func (*ConnectionsApiService) DisableBrokerageAuthorization ¶
func (a *ConnectionsApiService) DisableBrokerageAuthorization(authorizationId string, userId string, userSecret string) ConnectionsApiDisableBrokerageAuthorizationRequest
DisableBrokerageAuthorization Force disable connection
Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](/docs/webhooks#webhooks-connection_broken) for the connection.
This endpoint is available on test keys. If you would like it enabled on production keys as well, please contact support as it is disabled by default.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param authorizationId @param userId @param userSecret @return ConnectionsApiDisableBrokerageAuthorizationRequest
func (*ConnectionsApiService) DisableBrokerageAuthorizationExecute ¶
func (a *ConnectionsApiService) DisableBrokerageAuthorizationExecute(r ConnectionsApiDisableBrokerageAuthorizationRequest) (*BrokerageAuthorizationDisabledConfirmation, *http.Response, error)
Execute executes the request
@return BrokerageAuthorizationDisabledConfirmation
func (*ConnectionsApiService) ListBrokerageAuthorizations ¶
func (a *ConnectionsApiService) ListBrokerageAuthorizations(userId string, userSecret string) ConnectionsApiListBrokerageAuthorizationsRequest
ListBrokerageAuthorizations List all connections
Returns a list of all connections for the specified user. Note that `Connection` and `Brokerage Authorization` are interchangeable, but the term `Connection` is preferred and used in the doc for consistency.
A connection is usually tied to a single login at a brokerage. A single connection can contain multiple brokerage accounts.
SnapTrade performs de-duping on connections for a given user. If the user has an existing connection with the brokerage, when connecting the brokerage with the same credentials, SnapTrade will return the existing connection instead of creating a new one.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @param userSecret @return ConnectionsApiListBrokerageAuthorizationsRequest
func (*ConnectionsApiService) ListBrokerageAuthorizationsExecute ¶
func (a *ConnectionsApiService) ListBrokerageAuthorizationsExecute(r ConnectionsApiListBrokerageAuthorizationsRequest) ([]BrokerageAuthorization, *http.Response, error)
Execute executes the request
@return []BrokerageAuthorization
func (*ConnectionsApiService) RefreshBrokerageAuthorization ¶
func (a *ConnectionsApiService) RefreshBrokerageAuthorization(authorizationId string, userId string, userSecret string) ConnectionsApiRefreshBrokerageAuthorizationRequest
RefreshBrokerageAuthorization Refresh holdings for a connection
Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred.
**Because of the cost of refreshing a connection, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param authorizationId @param userId @param userSecret @return ConnectionsApiRefreshBrokerageAuthorizationRequest
func (*ConnectionsApiService) RefreshBrokerageAuthorizationExecute ¶
func (a *ConnectionsApiService) RefreshBrokerageAuthorizationExecute(r ConnectionsApiRefreshBrokerageAuthorizationRequest) (*BrokerageAuthorizationRefreshConfirmation, *http.Response, error)
Execute executes the request
@return BrokerageAuthorizationRefreshConfirmation
func (*ConnectionsApiService) RemoveBrokerageAuthorization ¶
func (a *ConnectionsApiService) RemoveBrokerageAuthorization(authorizationId string, userId string, userSecret string) ConnectionsApiRemoveBrokerageAuthorizationRequest
RemoveBrokerageAuthorization Delete connection
Deletes the connection specified by the ID. This will also delete all accounts and holdings associated with the connection. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the connection has been successfully deleted.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param authorizationId @param userId @param userSecret @return ConnectionsApiRemoveBrokerageAuthorizationRequest
func (*ConnectionsApiService) RemoveBrokerageAuthorizationExecute ¶
func (a *ConnectionsApiService) RemoveBrokerageAuthorizationExecute(r ConnectionsApiRemoveBrokerageAuthorizationRequest) (*http.Response, error)
Execute executes the request
func (*ConnectionsApiService) ReturnRates ¶ added in v1.0.27
func (a *ConnectionsApiService) ReturnRates(userId string, userSecret string, authorizationId string) ConnectionsApiReturnRatesRequest
ReturnRates List connection rate of returns
Returns a list of rate of return percents for a given connection. Will include timeframes available from the brokerage, for example "ALL", "1Y", "6M", "3M", "1M"
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @param userSecret @param authorizationId @return ConnectionsApiReturnRatesRequest
func (*ConnectionsApiService) ReturnRatesExecute ¶ added in v1.0.27
func (a *ConnectionsApiService) ReturnRatesExecute(r ConnectionsApiReturnRatesRequest) (*RateOfReturnResponse, *http.Response, error)
Execute executes the request
@return RateOfReturnResponse
func (*ConnectionsApiService) SessionEvents ¶
func (a *ConnectionsApiService) SessionEvents(partnerClientId string) ConnectionsApiSessionEventsRequest
SessionEvents Get all session events for a user
Returns a list of session events associated with a user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param partnerClientId @return ConnectionsApiSessionEventsRequest
func (*ConnectionsApiService) SessionEventsExecute ¶
func (a *ConnectionsApiService) SessionEventsExecute(r ConnectionsApiSessionEventsRequest) ([]SessionEvent, *http.Response, error)
Execute executes the request
@return []SessionEvent
type ConnectionsApiSessionEventsRequest ¶
type ConnectionsApiSessionEventsRequest struct {
ApiService *ConnectionsApiService
// contains filtered or unexported fields
}
func (ConnectionsApiSessionEventsRequest) Execute ¶
func (r ConnectionsApiSessionEventsRequest) Execute() ([]SessionEvent, *http.Response, error)
func (*ConnectionsApiSessionEventsRequest) SessionId ¶
func (r *ConnectionsApiSessionEventsRequest) SessionId(sessionId string) *ConnectionsApiSessionEventsRequest
Optional comma separated list of session IDs used to filter the request on specific users
func (*ConnectionsApiSessionEventsRequest) UserId ¶
func (r *ConnectionsApiSessionEventsRequest) UserId(userId string) *ConnectionsApiSessionEventsRequest
Optional comma separated list of user IDs used to filter the request on specific users
type CryptoOrderForm ¶ added in v1.0.92
type CryptoOrderForm struct {
Instrument CryptoTradingInstrument `json:"instrument"`
Side ActionStrict `json:"side"`
// The type of order to place.
Type string `json:"type"`
// The Time in Force type for the order. This field indicates how long the order will remain active before it is executed or expires. - `GTC` - Good Til Canceled. The order is valid until it is executed or canceled. - `FOK` - Fill Or Kill. The order must be executed in its entirety immediately or be canceled completely. - `IOC` - Immediate Or Cancel. The order must be executed immediately. Any portion of the order that cannot be filled immediately will be canceled. - `GTD` - Good Til Date. The order is valid until the specified date.
TimeInForce string `json:"time_in_force"`
// The amount of the base currency to buy or sell.
Amount float64 `json:"amount"`
// The limit price. Required if the order type is LIMIT, STOP_LOSS_LIMIT or TAKE_PROFIT_LIMIT.
LimitPrice *float64 `json:"limit_price,omitempty"`
// The stop price. Required if the order type is STOP_LOSS_MARKET, STOP_LOSS_LIMIT, TAKE_PROFIT_MARKET or TAKE_PROFIT_LIMIT.
StopPrice *float64 `json:"stop_price,omitempty"`
// Valid and required only for order type LIMIT. If true orders that would be filled immediately are rejected to avoid incurring TAKER fees.
PostOnly *bool `json:"post_only,omitempty"`
// The expiration date of the order. Required if the time_in_force is GTD.
ExpirationDate *time.Time `json:"expiration_date,omitempty"`
}
CryptoOrderForm struct for CryptoOrderForm
func NewCryptoOrderForm ¶ added in v1.0.92
func NewCryptoOrderForm(instrument CryptoTradingInstrument, side ActionStrict, type_ string, timeInForce string, amount float64) *CryptoOrderForm
NewCryptoOrderForm instantiates a new CryptoOrderForm object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCryptoOrderFormWithDefaults ¶ added in v1.0.92
func NewCryptoOrderFormWithDefaults() *CryptoOrderForm
NewCryptoOrderFormWithDefaults instantiates a new CryptoOrderForm object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CryptoOrderForm) GetAmount ¶ added in v1.0.92
func (o *CryptoOrderForm) GetAmount() float64
GetAmount returns the Amount field value
func (*CryptoOrderForm) GetAmountOk ¶ added in v1.0.92
func (o *CryptoOrderForm) GetAmountOk() (*float64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*CryptoOrderForm) GetExpirationDate ¶ added in v1.0.92
func (o *CryptoOrderForm) GetExpirationDate() time.Time
GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise.
func (*CryptoOrderForm) GetExpirationDateOk ¶ added in v1.0.92
func (o *CryptoOrderForm) GetExpirationDateOk() (*time.Time, bool)
GetExpirationDateOk returns a tuple with the ExpirationDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CryptoOrderForm) GetInstrument ¶ added in v1.0.92
func (o *CryptoOrderForm) GetInstrument() CryptoTradingInstrument
GetInstrument returns the Instrument field value
func (*CryptoOrderForm) GetInstrumentOk ¶ added in v1.0.92
func (o *CryptoOrderForm) GetInstrumentOk() (*CryptoTradingInstrument, bool)
GetInstrumentOk returns a tuple with the Instrument field value and a boolean to check if the value has been set.
func (*CryptoOrderForm) GetLimitPrice ¶ added in v1.0.92
func (o *CryptoOrderForm) GetLimitPrice() float64
GetLimitPrice returns the LimitPrice field value if set, zero value otherwise.
func (*CryptoOrderForm) GetLimitPriceOk ¶ added in v1.0.92
func (o *CryptoOrderForm) GetLimitPriceOk() (*float64, bool)
GetLimitPriceOk returns a tuple with the LimitPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CryptoOrderForm) GetPostOnly ¶ added in v1.0.92
func (o *CryptoOrderForm) GetPostOnly() bool
GetPostOnly returns the PostOnly field value if set, zero value otherwise.
func (*CryptoOrderForm) GetPostOnlyOk ¶ added in v1.0.92
func (o *CryptoOrderForm) GetPostOnlyOk() (*bool, bool)
GetPostOnlyOk returns a tuple with the PostOnly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CryptoOrderForm) GetSide ¶ added in v1.0.92
func (o *CryptoOrderForm) GetSide() ActionStrict
GetSide returns the Side field value
func (*CryptoOrderForm) GetSideOk ¶ added in v1.0.92
func (o *CryptoOrderForm) GetSideOk() (*ActionStrict, bool)
GetSideOk returns a tuple with the Side field value and a boolean to check if the value has been set.
func (*CryptoOrderForm) GetStopPrice ¶ added in v1.0.92
func (o *CryptoOrderForm) GetStopPrice() float64
GetStopPrice returns the StopPrice field value if set, zero value otherwise.
func (*CryptoOrderForm) GetStopPriceOk ¶ added in v1.0.92
func (o *CryptoOrderForm) GetStopPriceOk() (*float64, bool)
GetStopPriceOk returns a tuple with the StopPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CryptoOrderForm) GetTimeInForce ¶ added in v1.0.92
func (o *CryptoOrderForm) GetTimeInForce() string
GetTimeInForce returns the TimeInForce field value
func (*CryptoOrderForm) GetTimeInForceOk ¶ added in v1.0.92
func (o *CryptoOrderForm) GetTimeInForceOk() (*string, bool)
GetTimeInForceOk returns a tuple with the TimeInForce field value and a boolean to check if the value has been set.
func (*CryptoOrderForm) GetType ¶ added in v1.0.92
func (o *CryptoOrderForm) GetType() string
GetType returns the Type field value
func (*CryptoOrderForm) GetTypeOk ¶ added in v1.0.92
func (o *CryptoOrderForm) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*CryptoOrderForm) HasExpirationDate ¶ added in v1.0.92
func (o *CryptoOrderForm) HasExpirationDate() bool
HasExpirationDate returns a boolean if a field has been set.
func (*CryptoOrderForm) HasLimitPrice ¶ added in v1.0.92
func (o *CryptoOrderForm) HasLimitPrice() bool
HasLimitPrice returns a boolean if a field has been set.
func (*CryptoOrderForm) HasPostOnly ¶ added in v1.0.92
func (o *CryptoOrderForm) HasPostOnly() bool
HasPostOnly returns a boolean if a field has been set.
func (*CryptoOrderForm) HasStopPrice ¶ added in v1.0.92
func (o *CryptoOrderForm) HasStopPrice() bool
HasStopPrice returns a boolean if a field has been set.
func (CryptoOrderForm) MarshalJSON ¶ added in v1.0.92
func (o CryptoOrderForm) MarshalJSON() ([]byte, error)
func (*CryptoOrderForm) SetAmount ¶ added in v1.0.92
func (o *CryptoOrderForm) SetAmount(v float64)
SetAmount sets field value
func (*CryptoOrderForm) SetExpirationDate ¶ added in v1.0.92
func (o *CryptoOrderForm) SetExpirationDate(v time.Time)
SetExpirationDate gets a reference to the given time.Time and assigns it to the ExpirationDate field.
func (*CryptoOrderForm) SetInstrument ¶ added in v1.0.92
func (o *CryptoOrderForm) SetInstrument(v CryptoTradingInstrument)
SetInstrument sets field value
func (*CryptoOrderForm) SetLimitPrice ¶ added in v1.0.92
func (o *CryptoOrderForm) SetLimitPrice(v float64)
SetLimitPrice gets a reference to the given float64 and assigns it to the LimitPrice field.
func (*CryptoOrderForm) SetPostOnly ¶ added in v1.0.92
func (o *CryptoOrderForm) SetPostOnly(v bool)
SetPostOnly gets a reference to the given bool and assigns it to the PostOnly field.
func (*CryptoOrderForm) SetSide ¶ added in v1.0.92
func (o *CryptoOrderForm) SetSide(v ActionStrict)
SetSide sets field value
func (*CryptoOrderForm) SetStopPrice ¶ added in v1.0.92
func (o *CryptoOrderForm) SetStopPrice(v float64)
SetStopPrice gets a reference to the given float64 and assigns it to the StopPrice field.
func (*CryptoOrderForm) SetTimeInForce ¶ added in v1.0.92
func (o *CryptoOrderForm) SetTimeInForce(v string)
SetTimeInForce sets field value
func (*CryptoOrderForm) SetType ¶ added in v1.0.92
func (o *CryptoOrderForm) SetType(v string)
SetType sets field value
type CryptoOrderPreview ¶ added in v1.0.92
type CryptoOrderPreview struct {
EstimatedFee *CryptoOrderPreviewEstimatedFee `json:"estimated_fee,omitempty"`
AdditionalProperties map[string]interface{}
}
CryptoOrderPreview Preview of an order.
func NewCryptoOrderPreview ¶ added in v1.0.92
func NewCryptoOrderPreview() *CryptoOrderPreview
NewCryptoOrderPreview instantiates a new CryptoOrderPreview object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCryptoOrderPreviewWithDefaults ¶ added in v1.0.92
func NewCryptoOrderPreviewWithDefaults() *CryptoOrderPreview
NewCryptoOrderPreviewWithDefaults instantiates a new CryptoOrderPreview object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CryptoOrderPreview) GetEstimatedFee ¶ added in v1.0.92
func (o *CryptoOrderPreview) GetEstimatedFee() CryptoOrderPreviewEstimatedFee
GetEstimatedFee returns the EstimatedFee field value if set, zero value otherwise.
func (*CryptoOrderPreview) GetEstimatedFeeOk ¶ added in v1.0.92
func (o *CryptoOrderPreview) GetEstimatedFeeOk() (*CryptoOrderPreviewEstimatedFee, bool)
GetEstimatedFeeOk returns a tuple with the EstimatedFee field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CryptoOrderPreview) HasEstimatedFee ¶ added in v1.0.92
func (o *CryptoOrderPreview) HasEstimatedFee() bool
HasEstimatedFee returns a boolean if a field has been set.
func (CryptoOrderPreview) MarshalJSON ¶ added in v1.0.92
func (o CryptoOrderPreview) MarshalJSON() ([]byte, error)
func (*CryptoOrderPreview) SetEstimatedFee ¶ added in v1.0.92
func (o *CryptoOrderPreview) SetEstimatedFee(v CryptoOrderPreviewEstimatedFee)
SetEstimatedFee gets a reference to the given CryptoOrderPreviewEstimatedFee and assigns it to the EstimatedFee field.
func (*CryptoOrderPreview) UnmarshalJSON ¶ added in v1.0.92
func (o *CryptoOrderPreview) UnmarshalJSON(bytes []byte) (err error)
type CryptoOrderPreviewEstimatedFee ¶ added in v1.0.92
type CryptoOrderPreviewEstimatedFee struct {
// Symbol to identify a cryptocurrency or fiat currency on a crypto exchange. Fiat currencies symbols are ISO-4217 codes.
Currency string `json:"currency"`
Amount float64 `json:"amount"`
AdditionalProperties map[string]interface{}
}
CryptoOrderPreviewEstimatedFee The estimated order fee.
func NewCryptoOrderPreviewEstimatedFee ¶ added in v1.0.92
func NewCryptoOrderPreviewEstimatedFee(currency string, amount float64) *CryptoOrderPreviewEstimatedFee
NewCryptoOrderPreviewEstimatedFee instantiates a new CryptoOrderPreviewEstimatedFee object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCryptoOrderPreviewEstimatedFeeWithDefaults ¶ added in v1.0.92
func NewCryptoOrderPreviewEstimatedFeeWithDefaults() *CryptoOrderPreviewEstimatedFee
NewCryptoOrderPreviewEstimatedFeeWithDefaults instantiates a new CryptoOrderPreviewEstimatedFee object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CryptoOrderPreviewEstimatedFee) GetAmount ¶ added in v1.0.92
func (o *CryptoOrderPreviewEstimatedFee) GetAmount() float64
GetAmount returns the Amount field value
func (*CryptoOrderPreviewEstimatedFee) GetAmountOk ¶ added in v1.0.92
func (o *CryptoOrderPreviewEstimatedFee) GetAmountOk() (*float64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*CryptoOrderPreviewEstimatedFee) GetCurrency ¶ added in v1.0.92
func (o *CryptoOrderPreviewEstimatedFee) GetCurrency() string
GetCurrency returns the Currency field value
func (*CryptoOrderPreviewEstimatedFee) GetCurrencyOk ¶ added in v1.0.92
func (o *CryptoOrderPreviewEstimatedFee) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (CryptoOrderPreviewEstimatedFee) MarshalJSON ¶ added in v1.0.92
func (o CryptoOrderPreviewEstimatedFee) MarshalJSON() ([]byte, error)
func (*CryptoOrderPreviewEstimatedFee) SetAmount ¶ added in v1.0.92
func (o *CryptoOrderPreviewEstimatedFee) SetAmount(v float64)
SetAmount sets field value
func (*CryptoOrderPreviewEstimatedFee) SetCurrency ¶ added in v1.0.92
func (o *CryptoOrderPreviewEstimatedFee) SetCurrency(v string)
SetCurrency sets field value
func (*CryptoOrderPreviewEstimatedFee) UnmarshalJSON ¶ added in v1.0.92
func (o *CryptoOrderPreviewEstimatedFee) UnmarshalJSON(bytes []byte) (err error)
type CryptoTradingInstrument ¶ added in v1.0.92
type CryptoTradingInstrument struct {
// The instrument's trading ticker symbol
Symbol string `json:"symbol"`
// The instrument's type
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
CryptoTradingInstrument struct for CryptoTradingInstrument
func NewCryptoTradingInstrument ¶ added in v1.0.92
func NewCryptoTradingInstrument(symbol string, type_ string) *CryptoTradingInstrument
NewCryptoTradingInstrument instantiates a new CryptoTradingInstrument object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCryptoTradingInstrumentWithDefaults ¶ added in v1.0.92
func NewCryptoTradingInstrumentWithDefaults() *CryptoTradingInstrument
NewCryptoTradingInstrumentWithDefaults instantiates a new CryptoTradingInstrument object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CryptoTradingInstrument) GetSymbol ¶ added in v1.0.92
func (o *CryptoTradingInstrument) GetSymbol() string
GetSymbol returns the Symbol field value
func (*CryptoTradingInstrument) GetSymbolOk ¶ added in v1.0.92
func (o *CryptoTradingInstrument) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field value and a boolean to check if the value has been set.
func (*CryptoTradingInstrument) GetType ¶ added in v1.0.92
func (o *CryptoTradingInstrument) GetType() string
GetType returns the Type field value
func (*CryptoTradingInstrument) GetTypeOk ¶ added in v1.0.92
func (o *CryptoTradingInstrument) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (CryptoTradingInstrument) MarshalJSON ¶ added in v1.0.92
func (o CryptoTradingInstrument) MarshalJSON() ([]byte, error)
func (*CryptoTradingInstrument) SetSymbol ¶ added in v1.0.92
func (o *CryptoTradingInstrument) SetSymbol(v string)
SetSymbol sets field value
func (*CryptoTradingInstrument) SetType ¶ added in v1.0.92
func (o *CryptoTradingInstrument) SetType(v string)
SetType sets field value
func (*CryptoTradingInstrument) UnmarshalJSON ¶ added in v1.0.92
func (o *CryptoTradingInstrument) UnmarshalJSON(bytes []byte) (err error)
type CryptocurrencyPair ¶ added in v1.0.56
type CryptocurrencyPair struct {
// Cryptocurrency pair instrument symbol
Symbol *string `json:"symbol,omitempty"`
// The base currency of a pair (e.g., \"BTC\" in BTC/USD). Either fiat or cryptocurrency symbol, for fiat use ISO-4217 codes.
Base string `json:"base"`
// The quote currency of a pair (e.g., \"USD\" in BTC/USD). Either fiat or cryptocurrency symbol, for fiat use ISO-4217 codes.
Quote string `json:"quote"`
Increment NullableString `json:"increment,omitempty"`
AdditionalProperties map[string]interface{}
}
CryptocurrencyPair A cryptocurrency pair instrument.
func NewCryptocurrencyPair ¶ added in v1.0.56
func NewCryptocurrencyPair(base string, quote string) *CryptocurrencyPair
NewCryptocurrencyPair instantiates a new CryptocurrencyPair object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCryptocurrencyPairWithDefaults ¶ added in v1.0.56
func NewCryptocurrencyPairWithDefaults() *CryptocurrencyPair
NewCryptocurrencyPairWithDefaults instantiates a new CryptocurrencyPair object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CryptocurrencyPair) GetBase ¶ added in v1.0.56
func (o *CryptocurrencyPair) GetBase() string
GetBase returns the Base field value
func (*CryptocurrencyPair) GetBaseOk ¶ added in v1.0.56
func (o *CryptocurrencyPair) GetBaseOk() (*string, bool)
GetBaseOk returns a tuple with the Base field value and a boolean to check if the value has been set.
func (*CryptocurrencyPair) GetIncrement ¶ added in v1.0.119
func (o *CryptocurrencyPair) GetIncrement() string
GetIncrement returns the Increment field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CryptocurrencyPair) GetIncrementOk ¶ added in v1.0.119
func (o *CryptocurrencyPair) GetIncrementOk() (*string, bool)
GetIncrementOk returns a tuple with the Increment field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CryptocurrencyPair) GetQuote ¶ added in v1.0.56
func (o *CryptocurrencyPair) GetQuote() string
GetQuote returns the Quote field value
func (*CryptocurrencyPair) GetQuoteOk ¶ added in v1.0.56
func (o *CryptocurrencyPair) GetQuoteOk() (*string, bool)
GetQuoteOk returns a tuple with the Quote field value and a boolean to check if the value has been set.
func (*CryptocurrencyPair) GetSymbol ¶ added in v1.0.60
func (o *CryptocurrencyPair) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*CryptocurrencyPair) GetSymbolOk ¶ added in v1.0.60
func (o *CryptocurrencyPair) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CryptocurrencyPair) HasIncrement ¶ added in v1.0.119
func (o *CryptocurrencyPair) HasIncrement() bool
HasIncrement returns a boolean if a field has been set.
func (*CryptocurrencyPair) HasSymbol ¶ added in v1.0.60
func (o *CryptocurrencyPair) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (CryptocurrencyPair) MarshalJSON ¶ added in v1.0.56
func (o CryptocurrencyPair) MarshalJSON() ([]byte, error)
func (*CryptocurrencyPair) SetBase ¶ added in v1.0.56
func (o *CryptocurrencyPair) SetBase(v string)
SetBase sets field value
func (*CryptocurrencyPair) SetIncrement ¶ added in v1.0.119
func (o *CryptocurrencyPair) SetIncrement(v string)
SetIncrement gets a reference to the given NullableString and assigns it to the Increment field.
func (*CryptocurrencyPair) SetIncrementNil ¶ added in v1.0.119
func (o *CryptocurrencyPair) SetIncrementNil()
SetIncrementNil sets the value for Increment to be an explicit nil
func (*CryptocurrencyPair) SetQuote ¶ added in v1.0.56
func (o *CryptocurrencyPair) SetQuote(v string)
SetQuote sets field value
func (*CryptocurrencyPair) SetSymbol ¶ added in v1.0.60
func (o *CryptocurrencyPair) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*CryptocurrencyPair) UnmarshalJSON ¶ added in v1.0.56
func (o *CryptocurrencyPair) UnmarshalJSON(bytes []byte) (err error)
func (*CryptocurrencyPair) UnsetIncrement ¶ added in v1.0.119
func (o *CryptocurrencyPair) UnsetIncrement()
UnsetIncrement ensures that no value is present for Increment, not even an explicit nil
type CryptocurrencyPairQuote ¶ added in v1.0.60
type CryptocurrencyPairQuote struct {
// The highest price a buyer is willing to pay.
Bid float64 `json:"bid"`
// The lowest price a seller is willing to accept.
Ask float64 `json:"ask"`
// The market mid price.
Mid *float64 `json:"mid,omitempty"`
// The timestamp of the quote.
Timestamp *time.Time `json:"timestamp,omitempty"`
AdditionalProperties map[string]interface{}
}
CryptocurrencyPairQuote struct for CryptocurrencyPairQuote
func NewCryptocurrencyPairQuote ¶ added in v1.0.60
func NewCryptocurrencyPairQuote(bid float64, ask float64) *CryptocurrencyPairQuote
NewCryptocurrencyPairQuote instantiates a new CryptocurrencyPairQuote object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCryptocurrencyPairQuoteWithDefaults ¶ added in v1.0.60
func NewCryptocurrencyPairQuoteWithDefaults() *CryptocurrencyPairQuote
NewCryptocurrencyPairQuoteWithDefaults instantiates a new CryptocurrencyPairQuote object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CryptocurrencyPairQuote) GetAsk ¶ added in v1.0.60
func (o *CryptocurrencyPairQuote) GetAsk() float64
GetAsk returns the Ask field value
func (*CryptocurrencyPairQuote) GetAskOk ¶ added in v1.0.60
func (o *CryptocurrencyPairQuote) GetAskOk() (*float64, bool)
GetAskOk returns a tuple with the Ask field value and a boolean to check if the value has been set.
func (*CryptocurrencyPairQuote) GetBid ¶ added in v1.0.60
func (o *CryptocurrencyPairQuote) GetBid() float64
GetBid returns the Bid field value
func (*CryptocurrencyPairQuote) GetBidOk ¶ added in v1.0.60
func (o *CryptocurrencyPairQuote) GetBidOk() (*float64, bool)
GetBidOk returns a tuple with the Bid field value and a boolean to check if the value has been set.
func (*CryptocurrencyPairQuote) GetMid ¶ added in v1.0.60
func (o *CryptocurrencyPairQuote) GetMid() float64
GetMid returns the Mid field value if set, zero value otherwise.
func (*CryptocurrencyPairQuote) GetMidOk ¶ added in v1.0.60
func (o *CryptocurrencyPairQuote) GetMidOk() (*float64, bool)
GetMidOk returns a tuple with the Mid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CryptocurrencyPairQuote) GetTimestamp ¶ added in v1.0.60
func (o *CryptocurrencyPairQuote) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*CryptocurrencyPairQuote) GetTimestampOk ¶ added in v1.0.60
func (o *CryptocurrencyPairQuote) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CryptocurrencyPairQuote) HasMid ¶ added in v1.0.60
func (o *CryptocurrencyPairQuote) HasMid() bool
HasMid returns a boolean if a field has been set.
func (*CryptocurrencyPairQuote) HasTimestamp ¶ added in v1.0.60
func (o *CryptocurrencyPairQuote) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (CryptocurrencyPairQuote) MarshalJSON ¶ added in v1.0.60
func (o CryptocurrencyPairQuote) MarshalJSON() ([]byte, error)
func (*CryptocurrencyPairQuote) SetAsk ¶ added in v1.0.60
func (o *CryptocurrencyPairQuote) SetAsk(v float64)
SetAsk sets field value
func (*CryptocurrencyPairQuote) SetBid ¶ added in v1.0.60
func (o *CryptocurrencyPairQuote) SetBid(v float64)
SetBid sets field value
func (*CryptocurrencyPairQuote) SetMid ¶ added in v1.0.60
func (o *CryptocurrencyPairQuote) SetMid(v float64)
SetMid gets a reference to the given float64 and assigns it to the Mid field.
func (*CryptocurrencyPairQuote) SetTimestamp ¶ added in v1.0.60
func (o *CryptocurrencyPairQuote) SetTimestamp(v time.Time)
SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.
func (*CryptocurrencyPairQuote) UnmarshalJSON ¶ added in v1.0.60
func (o *CryptocurrencyPairQuote) UnmarshalJSON(bytes []byte) (err error)
type Currency ¶
type Currency struct {
// Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
Id *string `json:"id,omitempty"`
// The ISO-4217 currency code for the currency.
Code *string `json:"code,omitempty"`
// A human-friendly name of the currency.
Name *string `json:"name,omitempty"`
AdditionalProperties map[string]interface{}
}
Currency Describes a currency object.
func NewCurrency ¶
func NewCurrency() *Currency
NewCurrency instantiates a new Currency object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCurrencyWithDefaults ¶
func NewCurrencyWithDefaults() *Currency
NewCurrencyWithDefaults instantiates a new Currency object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Currency) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Currency) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Currency) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (Currency) MarshalJSON ¶
func (*Currency) SetCode ¶
SetCode gets a reference to the given string and assigns it to the Code field.
func (*Currency) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Currency) UnmarshalJSON ¶
type DeleteUserResponse ¶
type DeleteUserResponse struct {
// This is always `deleted` when a user is queued for deletion.
Status *string `json:"status,omitempty"`
// Human friendly message about the deletion status.
Detail *string `json:"detail,omitempty"`
// SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.
UserId *string `json:"userId,omitempty"`
AdditionalProperties map[string]interface{}
}
DeleteUserResponse struct for DeleteUserResponse
func NewDeleteUserResponse ¶
func NewDeleteUserResponse() *DeleteUserResponse
NewDeleteUserResponse instantiates a new DeleteUserResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeleteUserResponseWithDefaults ¶
func NewDeleteUserResponseWithDefaults() *DeleteUserResponse
NewDeleteUserResponseWithDefaults instantiates a new DeleteUserResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeleteUserResponse) GetDetail ¶ added in v1.0.6
func (o *DeleteUserResponse) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*DeleteUserResponse) GetDetailOk ¶ added in v1.0.6
func (o *DeleteUserResponse) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteUserResponse) GetStatus ¶
func (o *DeleteUserResponse) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*DeleteUserResponse) GetStatusOk ¶
func (o *DeleteUserResponse) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteUserResponse) GetUserId ¶
func (o *DeleteUserResponse) GetUserId() string
GetUserId returns the UserId field value if set, zero value otherwise.
func (*DeleteUserResponse) GetUserIdOk ¶
func (o *DeleteUserResponse) GetUserIdOk() (*string, bool)
GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteUserResponse) HasDetail ¶ added in v1.0.6
func (o *DeleteUserResponse) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*DeleteUserResponse) HasStatus ¶
func (o *DeleteUserResponse) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*DeleteUserResponse) HasUserId ¶
func (o *DeleteUserResponse) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (DeleteUserResponse) MarshalJSON ¶
func (o DeleteUserResponse) MarshalJSON() ([]byte, error)
func (*DeleteUserResponse) SetDetail ¶ added in v1.0.6
func (o *DeleteUserResponse) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*DeleteUserResponse) SetStatus ¶
func (o *DeleteUserResponse) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*DeleteUserResponse) SetUserId ¶
func (o *DeleteUserResponse) SetUserId(v string)
SetUserId gets a reference to the given string and assigns it to the UserId field.
func (*DeleteUserResponse) UnmarshalJSON ¶
func (o *DeleteUserResponse) UnmarshalJSON(bytes []byte) (err error)
type DividendAtDate ¶
type DividendAtDate struct {
// The ticker of the symbol that the dividend came from
Symbol NullableString `json:"symbol,omitempty"`
// The amount received from the dividend
Amount NullableFloat32 `json:"amount,omitempty"`
// The currency of the amount
Currency *string `json:"currency,omitempty"`
AdditionalProperties map[string]interface{}
}
DividendAtDate struct for DividendAtDate
func NewDividendAtDate ¶
func NewDividendAtDate() *DividendAtDate
NewDividendAtDate instantiates a new DividendAtDate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDividendAtDateWithDefaults ¶
func NewDividendAtDateWithDefaults() *DividendAtDate
NewDividendAtDateWithDefaults instantiates a new DividendAtDate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DividendAtDate) GetAmount ¶
func (o *DividendAtDate) GetAmount() float32
GetAmount returns the Amount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DividendAtDate) GetAmountOk ¶
func (o *DividendAtDate) GetAmountOk() (*float32, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DividendAtDate) GetCurrency ¶
func (o *DividendAtDate) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*DividendAtDate) GetCurrencyOk ¶
func (o *DividendAtDate) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DividendAtDate) GetSymbol ¶
func (o *DividendAtDate) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DividendAtDate) GetSymbolOk ¶
func (o *DividendAtDate) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*DividendAtDate) HasAmount ¶
func (o *DividendAtDate) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*DividendAtDate) HasCurrency ¶
func (o *DividendAtDate) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*DividendAtDate) HasSymbol ¶
func (o *DividendAtDate) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (DividendAtDate) MarshalJSON ¶
func (o DividendAtDate) MarshalJSON() ([]byte, error)
func (*DividendAtDate) SetAmount ¶
func (o *DividendAtDate) SetAmount(v float32)
SetAmount gets a reference to the given NullableFloat32 and assigns it to the Amount field.
func (*DividendAtDate) SetAmountNil ¶
func (o *DividendAtDate) SetAmountNil()
SetAmountNil sets the value for Amount to be an explicit nil
func (*DividendAtDate) SetCurrency ¶
func (o *DividendAtDate) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*DividendAtDate) SetSymbol ¶
func (o *DividendAtDate) SetSymbol(v string)
SetSymbol gets a reference to the given NullableString and assigns it to the Symbol field.
func (*DividendAtDate) SetSymbolNil ¶
func (o *DividendAtDate) SetSymbolNil()
SetSymbolNil sets the value for Symbol to be an explicit nil
func (*DividendAtDate) UnmarshalJSON ¶
func (o *DividendAtDate) UnmarshalJSON(bytes []byte) (err error)
func (*DividendAtDate) UnsetAmount ¶
func (o *DividendAtDate) UnsetAmount()
UnsetAmount ensures that no value is present for Amount, not even an explicit nil
func (*DividendAtDate) UnsetSymbol ¶
func (o *DividendAtDate) UnsetSymbol()
UnsetSymbol ensures that no value is present for Symbol, not even an explicit nil
type EncryptedResponse ¶
type EncryptedResponse struct {
EncryptedMessageData *EncryptedResponseEncryptedMessageData `json:"encryptedMessageData,omitempty"`
}
EncryptedResponse This response consists of 2 different components that must be decrypted to obtain the decrypted message * Decrypting the encryptedSharedKey The encrypted shared key is a shared key that was randomly generated by SnapTrade and encrypted using the users SSH public key provided when registering the user It is needed to decrypt the message in step 2. To decrypt the shared key, the user should have access to their SSH private key stored locally in their device An example Python code on how to decrypt the shared key is shown below ``` def decrypt_rsa_message(self, encrypted_message): from Crypto.Cipher import PKCS1_OAEP from Crypto.PublicKey import RSA from base64 import b64decode f = open('private.pem', 'r') private_key = RSA.import_key(f.read()) cipher = PKCS1_OAEP.new(private_key) return cipher.decrypt(b64decode(encrypted_message.encode())).decode() ``` * Decrypting the encryptedMessageData The data meant to be returned by an endpoint can be obtained by decrypting the encrypted message An encrypted message is a message that is encrypted using AES - MODE OCB with the shared key obtained in step one An example code to decrypt the encrypted message is shown below ``` def decrypt_aes_message(self, shared_key, encrypted_message): from Crypto.Cipher import AES from base64 import b64decode encrypted_msg = b64decode(encrypted_message[\"encryptedMessage\"].encode()) tag = b64decode(encrypted_message[\"tag\"].encode()) nonce = b64decode(encrypted_message[\"nonce\"].encode()) cipher = AES.new(shared_key.encode(), AES.MODE_OCB, nonce=nonce) return cipher.decrypt_and_verify(encrypted_msg, tag).decode() ```
func NewEncryptedResponse ¶
func NewEncryptedResponse() *EncryptedResponse
NewEncryptedResponse instantiates a new EncryptedResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEncryptedResponseWithDefaults ¶
func NewEncryptedResponseWithDefaults() *EncryptedResponse
NewEncryptedResponseWithDefaults instantiates a new EncryptedResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EncryptedResponse) GetEncryptedMessageData ¶
func (o *EncryptedResponse) GetEncryptedMessageData() EncryptedResponseEncryptedMessageData
GetEncryptedMessageData returns the EncryptedMessageData field value if set, zero value otherwise.
func (*EncryptedResponse) GetEncryptedMessageDataOk ¶
func (o *EncryptedResponse) GetEncryptedMessageDataOk() (*EncryptedResponseEncryptedMessageData, bool)
GetEncryptedMessageDataOk returns a tuple with the EncryptedMessageData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EncryptedResponse) GetEncryptedSharedKey ¶
func (o *EncryptedResponse) GetEncryptedSharedKey() string
GetEncryptedSharedKey returns the EncryptedSharedKey field value if set, zero value otherwise.
func (*EncryptedResponse) GetEncryptedSharedKeyOk ¶
func (o *EncryptedResponse) GetEncryptedSharedKeyOk() (*string, bool)
GetEncryptedSharedKeyOk returns a tuple with the EncryptedSharedKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EncryptedResponse) HasEncryptedMessageData ¶
func (o *EncryptedResponse) HasEncryptedMessageData() bool
HasEncryptedMessageData returns a boolean if a field has been set.
func (*EncryptedResponse) HasEncryptedSharedKey ¶
func (o *EncryptedResponse) HasEncryptedSharedKey() bool
HasEncryptedSharedKey returns a boolean if a field has been set.
func (EncryptedResponse) MarshalJSON ¶
func (o EncryptedResponse) MarshalJSON() ([]byte, error)
func (*EncryptedResponse) SetEncryptedMessageData ¶
func (o *EncryptedResponse) SetEncryptedMessageData(v EncryptedResponseEncryptedMessageData)
SetEncryptedMessageData gets a reference to the given EncryptedResponseEncryptedMessageData and assigns it to the EncryptedMessageData field.
func (*EncryptedResponse) SetEncryptedSharedKey ¶
func (o *EncryptedResponse) SetEncryptedSharedKey(v string)
SetEncryptedSharedKey gets a reference to the given string and assigns it to the EncryptedSharedKey field.
type EncryptedResponseEncryptedMessageData ¶
type EncryptedResponseEncryptedMessageData struct {
EncryptedMessage *string `json:"encryptedMessage,omitempty"`
Tag *string `json:"tag,omitempty"`
Nonce *string `json:"nonce,omitempty"`
AdditionalProperties map[string]interface{}
}
EncryptedResponseEncryptedMessageData struct for EncryptedResponseEncryptedMessageData
func NewEncryptedResponseEncryptedMessageData ¶
func NewEncryptedResponseEncryptedMessageData() *EncryptedResponseEncryptedMessageData
NewEncryptedResponseEncryptedMessageData instantiates a new EncryptedResponseEncryptedMessageData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEncryptedResponseEncryptedMessageDataWithDefaults ¶
func NewEncryptedResponseEncryptedMessageDataWithDefaults() *EncryptedResponseEncryptedMessageData
NewEncryptedResponseEncryptedMessageDataWithDefaults instantiates a new EncryptedResponseEncryptedMessageData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EncryptedResponseEncryptedMessageData) GetEncryptedMessage ¶
func (o *EncryptedResponseEncryptedMessageData) GetEncryptedMessage() string
GetEncryptedMessage returns the EncryptedMessage field value if set, zero value otherwise.
func (*EncryptedResponseEncryptedMessageData) GetEncryptedMessageOk ¶
func (o *EncryptedResponseEncryptedMessageData) GetEncryptedMessageOk() (*string, bool)
GetEncryptedMessageOk returns a tuple with the EncryptedMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EncryptedResponseEncryptedMessageData) GetNonce ¶
func (o *EncryptedResponseEncryptedMessageData) GetNonce() string
GetNonce returns the Nonce field value if set, zero value otherwise.
func (*EncryptedResponseEncryptedMessageData) GetNonceOk ¶
func (o *EncryptedResponseEncryptedMessageData) GetNonceOk() (*string, bool)
GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EncryptedResponseEncryptedMessageData) GetTag ¶
func (o *EncryptedResponseEncryptedMessageData) GetTag() string
GetTag returns the Tag field value if set, zero value otherwise.
func (*EncryptedResponseEncryptedMessageData) GetTagOk ¶
func (o *EncryptedResponseEncryptedMessageData) GetTagOk() (*string, bool)
GetTagOk returns a tuple with the Tag field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EncryptedResponseEncryptedMessageData) HasEncryptedMessage ¶
func (o *EncryptedResponseEncryptedMessageData) HasEncryptedMessage() bool
HasEncryptedMessage returns a boolean if a field has been set.
func (*EncryptedResponseEncryptedMessageData) HasNonce ¶
func (o *EncryptedResponseEncryptedMessageData) HasNonce() bool
HasNonce returns a boolean if a field has been set.
func (*EncryptedResponseEncryptedMessageData) HasTag ¶
func (o *EncryptedResponseEncryptedMessageData) HasTag() bool
HasTag returns a boolean if a field has been set.
func (EncryptedResponseEncryptedMessageData) MarshalJSON ¶
func (o EncryptedResponseEncryptedMessageData) MarshalJSON() ([]byte, error)
func (*EncryptedResponseEncryptedMessageData) SetEncryptedMessage ¶
func (o *EncryptedResponseEncryptedMessageData) SetEncryptedMessage(v string)
SetEncryptedMessage gets a reference to the given string and assigns it to the EncryptedMessage field.
func (*EncryptedResponseEncryptedMessageData) SetNonce ¶
func (o *EncryptedResponseEncryptedMessageData) SetNonce(v string)
SetNonce gets a reference to the given string and assigns it to the Nonce field.
func (*EncryptedResponseEncryptedMessageData) SetTag ¶
func (o *EncryptedResponseEncryptedMessageData) SetTag(v string)
SetTag gets a reference to the given string and assigns it to the Tag field.
func (*EncryptedResponseEncryptedMessageData) UnmarshalJSON ¶
func (o *EncryptedResponseEncryptedMessageData) UnmarshalJSON(bytes []byte) (err error)
type Exchange ¶
type Exchange struct {
// Unique ID for the exchange in SnapTrade.
Id *string `json:"id,omitempty"`
// A short name for the exchange. For standardized exchange code, please us the `mic_code` field.
Code *string `json:"code,omitempty"`
// The [Market Identifier Code](https://en.wikipedia.org/wiki/Market_Identifier_Code) (MIC) for the exchange.
MicCode *string `json:"mic_code,omitempty"`
// The full name of the exchange.
Name *string `json:"name,omitempty"`
// The timezone for the trading hours (`start_time` and `close_time`) of the exchange.
Timezone *string `json:"timezone,omitempty"`
// The time when the exchange opens for trading.
StartTime *string `json:"start_time,omitempty"`
// The time when the exchange closes for trading.
CloseTime *string `json:"close_time,omitempty"`
// The suffix to be appended to the symbol when trading on this exchange. For example, the suffix for the Toronto Stock Exchange is `.TO`. See `UniversalSymbol->symbol` and `UniversalSymbol->raw_symbol` for more detail.
Suffix NullableString `json:"suffix,omitempty"`
AdditionalProperties map[string]interface{}
}
Exchange Describes a single stock or crypto exchange.
func NewExchange ¶
func NewExchange() *Exchange
NewExchange instantiates a new Exchange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExchangeWithDefaults ¶
func NewExchangeWithDefaults() *Exchange
NewExchangeWithDefaults instantiates a new Exchange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Exchange) GetCloseTime ¶
GetCloseTime returns the CloseTime field value if set, zero value otherwise.
func (*Exchange) GetCloseTimeOk ¶
GetCloseTimeOk returns a tuple with the CloseTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Exchange) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Exchange) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Exchange) GetMicCode ¶
GetMicCode returns the MicCode field value if set, zero value otherwise.
func (*Exchange) GetMicCodeOk ¶
GetMicCodeOk returns a tuple with the MicCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Exchange) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Exchange) GetStartTime ¶
GetStartTime returns the StartTime field value if set, zero value otherwise.
func (*Exchange) GetStartTimeOk ¶
GetStartTimeOk returns a tuple with the StartTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Exchange) GetSuffix ¶
GetSuffix returns the Suffix field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Exchange) GetSuffixOk ¶
GetSuffixOk returns a tuple with the Suffix field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Exchange) GetTimezone ¶
GetTimezone returns the Timezone field value if set, zero value otherwise.
func (*Exchange) GetTimezoneOk ¶
GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Exchange) HasCloseTime ¶
HasCloseTime returns a boolean if a field has been set.
func (*Exchange) HasMicCode ¶
HasMicCode returns a boolean if a field has been set.
func (*Exchange) HasStartTime ¶
HasStartTime returns a boolean if a field has been set.
func (*Exchange) HasTimezone ¶
HasTimezone returns a boolean if a field has been set.
func (Exchange) MarshalJSON ¶
func (*Exchange) SetCloseTime ¶
SetCloseTime gets a reference to the given string and assigns it to the CloseTime field.
func (*Exchange) SetCode ¶
SetCode gets a reference to the given string and assigns it to the Code field.
func (*Exchange) SetMicCode ¶
SetMicCode gets a reference to the given string and assigns it to the MicCode field.
func (*Exchange) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Exchange) SetStartTime ¶
SetStartTime gets a reference to the given string and assigns it to the StartTime field.
func (*Exchange) SetSuffix ¶
SetSuffix gets a reference to the given NullableString and assigns it to the Suffix field.
func (*Exchange) SetSuffixNil ¶
func (o *Exchange) SetSuffixNil()
SetSuffixNil sets the value for Suffix to be an explicit nil
func (*Exchange) SetTimezone ¶
SetTimezone gets a reference to the given string and assigns it to the Timezone field.
func (*Exchange) UnmarshalJSON ¶
func (*Exchange) UnsetSuffix ¶
func (o *Exchange) UnsetSuffix()
UnsetSuffix ensures that no value is present for Suffix, not even an explicit nil
type ExchangeRatePairs ¶
type ExchangeRatePairs struct {
Src *Currency `json:"src,omitempty"`
Dst *Currency `json:"dst,omitempty"`
ExchangeRate *float32 `json:"exchange_rate,omitempty"`
AdditionalProperties map[string]interface{}
}
ExchangeRatePairs The exchange rate of a pair of currencies
func NewExchangeRatePairs ¶
func NewExchangeRatePairs() *ExchangeRatePairs
NewExchangeRatePairs instantiates a new ExchangeRatePairs object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExchangeRatePairsWithDefaults ¶
func NewExchangeRatePairsWithDefaults() *ExchangeRatePairs
NewExchangeRatePairsWithDefaults instantiates a new ExchangeRatePairs object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExchangeRatePairs) GetDst ¶
func (o *ExchangeRatePairs) GetDst() Currency
GetDst returns the Dst field value if set, zero value otherwise.
func (*ExchangeRatePairs) GetDstOk ¶
func (o *ExchangeRatePairs) GetDstOk() (*Currency, bool)
GetDstOk returns a tuple with the Dst field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExchangeRatePairs) GetExchangeRate ¶
func (o *ExchangeRatePairs) GetExchangeRate() float32
GetExchangeRate returns the ExchangeRate field value if set, zero value otherwise.
func (*ExchangeRatePairs) GetExchangeRateOk ¶
func (o *ExchangeRatePairs) GetExchangeRateOk() (*float32, bool)
GetExchangeRateOk returns a tuple with the ExchangeRate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExchangeRatePairs) GetSrc ¶
func (o *ExchangeRatePairs) GetSrc() Currency
GetSrc returns the Src field value if set, zero value otherwise.
func (*ExchangeRatePairs) GetSrcOk ¶
func (o *ExchangeRatePairs) GetSrcOk() (*Currency, bool)
GetSrcOk returns a tuple with the Src field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExchangeRatePairs) HasDst ¶
func (o *ExchangeRatePairs) HasDst() bool
HasDst returns a boolean if a field has been set.
func (*ExchangeRatePairs) HasExchangeRate ¶
func (o *ExchangeRatePairs) HasExchangeRate() bool
HasExchangeRate returns a boolean if a field has been set.
func (*ExchangeRatePairs) HasSrc ¶
func (o *ExchangeRatePairs) HasSrc() bool
HasSrc returns a boolean if a field has been set.
func (ExchangeRatePairs) MarshalJSON ¶
func (o ExchangeRatePairs) MarshalJSON() ([]byte, error)
func (*ExchangeRatePairs) SetDst ¶
func (o *ExchangeRatePairs) SetDst(v Currency)
SetDst gets a reference to the given Currency and assigns it to the Dst field.
func (*ExchangeRatePairs) SetExchangeRate ¶
func (o *ExchangeRatePairs) SetExchangeRate(v float32)
SetExchangeRate gets a reference to the given float32 and assigns it to the ExchangeRate field.
func (*ExchangeRatePairs) SetSrc ¶
func (o *ExchangeRatePairs) SetSrc(v Currency)
SetSrc gets a reference to the given Currency and assigns it to the Src field.
func (*ExchangeRatePairs) UnmarshalJSON ¶
func (o *ExchangeRatePairs) UnmarshalJSON(bytes []byte) (err error)
type ExperimentalEndpointsApiGetUserAccountOrdersV2Request ¶ added in v1.0.117
type ExperimentalEndpointsApiGetUserAccountOrdersV2Request struct {
ApiService *ExperimentalEndpointsApiService
// contains filtered or unexported fields
}
func (*ExperimentalEndpointsApiGetUserAccountOrdersV2Request) Days ¶ added in v1.0.117
func (r *ExperimentalEndpointsApiGetUserAccountOrdersV2Request) Days(days int32) *ExperimentalEndpointsApiGetUserAccountOrdersV2Request
Number of days in the past to fetch the most recent orders. Defaults to the last 30 days if no value is passed in.
func (ExperimentalEndpointsApiGetUserAccountOrdersV2Request) Execute ¶ added in v1.0.117
func (r ExperimentalEndpointsApiGetUserAccountOrdersV2Request) Execute() (*AccountOrdersV2Response, *http.Response, error)
func (*ExperimentalEndpointsApiGetUserAccountOrdersV2Request) State ¶ added in v1.0.117
func (r *ExperimentalEndpointsApiGetUserAccountOrdersV2Request) State(state string) *ExperimentalEndpointsApiGetUserAccountOrdersV2Request
defaults value is set to \"all\"
type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request ¶ added in v1.0.117
type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request struct {
ApiService *ExperimentalEndpointsApiService
// contains filtered or unexported fields
}
func (ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request) Execute ¶ added in v1.0.117
func (r ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request) Execute() (*AccountOrdersV2Response, *http.Response, error)
func (*ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request) OnlyExecuted ¶ added in v1.0.117
func (r *ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request) OnlyExecuted(onlyExecuted bool) *ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request
Defaults to true. Indicates if request should fetch only executed orders. Set to false to retrieve non executed orders as well
type ExperimentalEndpointsApiService ¶ added in v1.0.117
type ExperimentalEndpointsApiService service
ExperimentalEndpointsApiService ExperimentalEndpointsApi service
func (*ExperimentalEndpointsApiService) GetUserAccountOrdersV2 ¶ added in v1.0.117
func (a *ExperimentalEndpointsApiService) GetUserAccountOrdersV2(userId string, userSecret string, accountId string) ExperimentalEndpointsApiGetUserAccountOrdersV2Request
GetUserAccountOrdersV2 List account orders v2
Returns a list of recent orders in the specified account.
The V2 order response format will include all legs of each order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg.
If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @param userSecret @param accountId @return ExperimentalEndpointsApiGetUserAccountOrdersV2Request
func (*ExperimentalEndpointsApiService) GetUserAccountOrdersV2Execute ¶ added in v1.0.117
func (a *ExperimentalEndpointsApiService) GetUserAccountOrdersV2Execute(r ExperimentalEndpointsApiGetUserAccountOrdersV2Request) (*AccountOrdersV2Response, *http.Response, error)
Execute executes the request
@return AccountOrdersV2Response
func (*ExperimentalEndpointsApiService) GetUserAccountRecentOrdersV2 ¶ added in v1.0.117
func (a *ExperimentalEndpointsApiService) GetUserAccountRecentOrdersV2(userId string, userSecret string, accountId string) ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request
GetUserAccountRecentOrdersV2 List account recent orders (V2, last 24 hours only)
A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account using the V2 order format. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders. Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days. By default only returns executed orders, but that can be changed by setting *only_executed* to false. **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param userId @param userSecret @param accountId @return ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request
func (*ExperimentalEndpointsApiService) GetUserAccountRecentOrdersV2Execute ¶ added in v1.0.117
func (a *ExperimentalEndpointsApiService) GetUserAccountRecentOrdersV2Execute(r ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request) (*AccountOrdersV2Response, *http.Response, error)
Execute executes the request
@return AccountOrdersV2Response
type FigiInstrument ¶
type FigiInstrument struct {
// This identifier is unique per security per trading venue. See section 1.4.1 of the [FIGI Standard](https://www.openfigi.com/assets/local/figi-allocation-rules.pdf) for more information.
FigiCode NullableString `json:"figi_code,omitempty"`
// This enables users to link multiple FIGIs for the same security in order to obtain an aggregated view across all countries and all exchanges. For example, `AAPL` has a different FIGI for each exchange/trading venue it is traded on. The `figi_share_class` is the same for all of these FIGIs. See section 1.4.3 of the [FIGI Standard](https://www.openfigi.com/assets/local/figi-allocation-rules.pdf) for more information.
AdditionalProperties map[string]interface{}
}
FigiInstrument Financial Instrument Global Identifier (FIGI) information for the security. See [OpenFIGI](https://www.openfigi.com/) for more information.
func NewFigiInstrument ¶
func NewFigiInstrument() *FigiInstrument
NewFigiInstrument instantiates a new FigiInstrument object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFigiInstrumentWithDefaults ¶
func NewFigiInstrumentWithDefaults() *FigiInstrument
NewFigiInstrumentWithDefaults instantiates a new FigiInstrument object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FigiInstrument) GetFigiCode ¶
func (o *FigiInstrument) GetFigiCode() string
GetFigiCode returns the FigiCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FigiInstrument) GetFigiCodeOk ¶
func (o *FigiInstrument) GetFigiCodeOk() (*string, bool)
GetFigiCodeOk returns a tuple with the FigiCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*FigiInstrument) GetFigiShareClass ¶
func (o *FigiInstrument) GetFigiShareClass() string
GetFigiShareClass returns the FigiShareClass field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FigiInstrument) GetFigiShareClassOk ¶
func (o *FigiInstrument) GetFigiShareClassOk() (*string, bool)
GetFigiShareClassOk returns a tuple with the FigiShareClass field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*FigiInstrument) HasFigiCode ¶
func (o *FigiInstrument) HasFigiCode() bool
HasFigiCode returns a boolean if a field has been set.
func (*FigiInstrument) HasFigiShareClass ¶
func (o *FigiInstrument) HasFigiShareClass() bool
HasFigiShareClass returns a boolean if a field has been set.
func (FigiInstrument) MarshalJSON ¶
func (o FigiInstrument) MarshalJSON() ([]byte, error)
func (*FigiInstrument) SetFigiCode ¶
func (o *FigiInstrument) SetFigiCode(v string)
SetFigiCode gets a reference to the given NullableString and assigns it to the FigiCode field.
func (*FigiInstrument) SetFigiCodeNil ¶
func (o *FigiInstrument) SetFigiCodeNil()
SetFigiCodeNil sets the value for FigiCode to be an explicit nil
func (*FigiInstrument) SetFigiShareClass ¶
func (o *FigiInstrument) SetFigiShareClass(v string)
SetFigiShareClass gets a reference to the given NullableString and assigns it to the FigiShareClass field.
func (*FigiInstrument) SetFigiShareClassNil ¶
func (o *FigiInstrument) SetFigiShareClassNil()
SetFigiShareClassNil sets the value for FigiShareClass to be an explicit nil
func (*FigiInstrument) UnmarshalJSON ¶
func (o *FigiInstrument) UnmarshalJSON(bytes []byte) (err error)
func (*FigiInstrument) UnsetFigiCode ¶
func (o *FigiInstrument) UnsetFigiCode()
UnsetFigiCode ensures that no value is present for FigiCode, not even an explicit nil
func (*FigiInstrument) UnsetFigiShareClass ¶
func (o *FigiInstrument) UnsetFigiShareClass()
UnsetFigiShareClass ensures that no value is present for FigiShareClass, not even an explicit nil
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type HoldingsStatus ¶
type HoldingsStatus struct {
// Indicates if the initial sync of holdings has been completed. For accounts with a large number of positions/orders/transactions, the initial sync may take a while to complete.
InitialSyncCompleted *bool `json:"initial_sync_completed,omitempty"`
// The last time holdings were successfully synced by SnapTrade.
LastSuccessfulSync NullableTime `json:"last_successful_sync,omitempty"`
}
HoldingsStatus Status of account holdings sync. SnapTrade syncs holdings from the brokerage under the following conditions: 1. Initial connection - SnapTrade syncs all holdings (positions, balances, recent orders, and transactions) immediately after the connection is established. 2. Daily sync - Once a day SnapTrade refreshes all holdings from the brokerage. 3. Manual sync - You can trigger a refresh of holdings with the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
func NewHoldingsStatus ¶
func NewHoldingsStatus() *HoldingsStatus
NewHoldingsStatus instantiates a new HoldingsStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewHoldingsStatusWithDefaults ¶
func NewHoldingsStatusWithDefaults() *HoldingsStatus
NewHoldingsStatusWithDefaults instantiates a new HoldingsStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*HoldingsStatus) GetInitialSyncCompleted ¶
func (o *HoldingsStatus) GetInitialSyncCompleted() bool
GetInitialSyncCompleted returns the InitialSyncCompleted field value if set, zero value otherwise.
func (*HoldingsStatus) GetInitialSyncCompletedOk ¶
func (o *HoldingsStatus) GetInitialSyncCompletedOk() (*bool, bool)
GetInitialSyncCompletedOk returns a tuple with the InitialSyncCompleted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HoldingsStatus) GetLastSuccessfulSync ¶
func (o *HoldingsStatus) GetLastSuccessfulSync() time.Time
GetLastSuccessfulSync returns the LastSuccessfulSync field value if set, zero value otherwise (both if not set or set to explicit null).
func (*HoldingsStatus) GetLastSuccessfulSyncOk ¶
func (o *HoldingsStatus) GetLastSuccessfulSyncOk() (*time.Time, bool)
GetLastSuccessfulSyncOk returns a tuple with the LastSuccessfulSync field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*HoldingsStatus) HasInitialSyncCompleted ¶
func (o *HoldingsStatus) HasInitialSyncCompleted() bool
HasInitialSyncCompleted returns a boolean if a field has been set.
func (*HoldingsStatus) HasLastSuccessfulSync ¶
func (o *HoldingsStatus) HasLastSuccessfulSync() bool
HasLastSuccessfulSync returns a boolean if a field has been set.
func (HoldingsStatus) MarshalJSON ¶
func (o HoldingsStatus) MarshalJSON() ([]byte, error)
func (*HoldingsStatus) SetInitialSyncCompleted ¶
func (o *HoldingsStatus) SetInitialSyncCompleted(v bool)
SetInitialSyncCompleted gets a reference to the given bool and assigns it to the InitialSyncCompleted field.
func (*HoldingsStatus) SetLastSuccessfulSync ¶
func (o *HoldingsStatus) SetLastSuccessfulSync(v time.Time)
SetLastSuccessfulSync gets a reference to the given NullableTime.Time and assigns it to the LastSuccessfulSync field.
func (*HoldingsStatus) SetLastSuccessfulSyncNil ¶
func (o *HoldingsStatus) SetLastSuccessfulSyncNil()
SetLastSuccessfulSyncNil sets the value for LastSuccessfulSync to be an explicit nil
func (*HoldingsStatus) UnsetLastSuccessfulSync ¶
func (o *HoldingsStatus) UnsetLastSuccessfulSync()
UnsetLastSuccessfulSync ensures that no value is present for LastSuccessfulSync, not even an explicit nil
type LoginRedirectURI ¶
type LoginRedirectURI struct {
// Connection Portal link to redirect user to connect a brokerage account.
RedirectURI *string `json:"redirectURI,omitempty"`
// ID to identify the connection portal session.
SessionId *string `json:"sessionId,omitempty"`
}
LoginRedirectURI Redirect uri upon successful login
func NewLoginRedirectURI ¶
func NewLoginRedirectURI() *LoginRedirectURI
NewLoginRedirectURI instantiates a new LoginRedirectURI object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLoginRedirectURIWithDefaults ¶
func NewLoginRedirectURIWithDefaults() *LoginRedirectURI
NewLoginRedirectURIWithDefaults instantiates a new LoginRedirectURI object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LoginRedirectURI) GetRedirectURI ¶
func (o *LoginRedirectURI) GetRedirectURI() string
GetRedirectURI returns the RedirectURI field value if set, zero value otherwise.
func (*LoginRedirectURI) GetRedirectURIOk ¶
func (o *LoginRedirectURI) GetRedirectURIOk() (*string, bool)
GetRedirectURIOk returns a tuple with the RedirectURI field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRedirectURI) GetSessionId ¶
func (o *LoginRedirectURI) GetSessionId() string
GetSessionId returns the SessionId field value if set, zero value otherwise.
func (*LoginRedirectURI) GetSessionIdOk ¶
func (o *LoginRedirectURI) GetSessionIdOk() (*string, bool)
GetSessionIdOk returns a tuple with the SessionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRedirectURI) HasRedirectURI ¶
func (o *LoginRedirectURI) HasRedirectURI() bool
HasRedirectURI returns a boolean if a field has been set.
func (*LoginRedirectURI) HasSessionId ¶
func (o *LoginRedirectURI) HasSessionId() bool
HasSessionId returns a boolean if a field has been set.
func (LoginRedirectURI) MarshalJSON ¶
func (o LoginRedirectURI) MarshalJSON() ([]byte, error)
func (*LoginRedirectURI) SetRedirectURI ¶
func (o *LoginRedirectURI) SetRedirectURI(v string)
SetRedirectURI gets a reference to the given string and assigns it to the RedirectURI field.
func (*LoginRedirectURI) SetSessionId ¶
func (o *LoginRedirectURI) SetSessionId(v string)
SetSessionId gets a reference to the given string and assigns it to the SessionId field.
type ManualTrade ¶
type ManualTrade struct {
// Unique identifier for the submitted order through SnapTrade.
Id *string `json:"id,omitempty"`
// Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
Account *string `json:"account,omitempty"`
OrderType *OrderTypeStrict `json:"order_type,omitempty"`
TimeInForce *TimeInForceStrict `json:"time_in_force,omitempty"`
Symbol *ManualTradeSymbol `json:"symbol,omitempty"`
Action *ActionStrict `json:"action,omitempty"`
Units NullableFloat32 `json:"units,omitempty"`
// Trade Price if limit or stop limit order
Price NullableFloat32 `json:"price,omitempty"`
AdditionalProperties map[string]interface{}
}
ManualTrade Contains the details of a submitted order.
func NewManualTrade ¶
func NewManualTrade() *ManualTrade
NewManualTrade instantiates a new ManualTrade object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewManualTradeWithDefaults ¶
func NewManualTradeWithDefaults() *ManualTrade
NewManualTradeWithDefaults instantiates a new ManualTrade object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ManualTrade) GetAccount ¶
func (o *ManualTrade) GetAccount() string
GetAccount returns the Account field value if set, zero value otherwise.
func (*ManualTrade) GetAccountOk ¶
func (o *ManualTrade) GetAccountOk() (*string, bool)
GetAccountOk returns a tuple with the Account field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTrade) GetAction ¶
func (o *ManualTrade) GetAction() ActionStrict
GetAction returns the Action field value if set, zero value otherwise.
func (*ManualTrade) GetActionOk ¶
func (o *ManualTrade) GetActionOk() (*ActionStrict, bool)
GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTrade) GetId ¶
func (o *ManualTrade) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ManualTrade) GetIdOk ¶
func (o *ManualTrade) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTrade) GetOrderType ¶
func (o *ManualTrade) GetOrderType() OrderTypeStrict
GetOrderType returns the OrderType field value if set, zero value otherwise.
func (*ManualTrade) GetOrderTypeOk ¶
func (o *ManualTrade) GetOrderTypeOk() (*OrderTypeStrict, bool)
GetOrderTypeOk returns a tuple with the OrderType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTrade) GetPrice ¶
func (o *ManualTrade) GetPrice() float32
GetPrice returns the Price field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTrade) GetPriceOk ¶
func (o *ManualTrade) GetPriceOk() (*float32, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTrade) GetSymbol ¶
func (o *ManualTrade) GetSymbol() ManualTradeSymbol
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*ManualTrade) GetSymbolOk ¶
func (o *ManualTrade) GetSymbolOk() (*ManualTradeSymbol, bool)
GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTrade) GetTimeInForce ¶
func (o *ManualTrade) GetTimeInForce() TimeInForceStrict
GetTimeInForce returns the TimeInForce field value if set, zero value otherwise.
func (*ManualTrade) GetTimeInForceOk ¶
func (o *ManualTrade) GetTimeInForceOk() (*TimeInForceStrict, bool)
GetTimeInForceOk returns a tuple with the TimeInForce field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTrade) GetUnits ¶
func (o *ManualTrade) GetUnits() float32
GetUnits returns the Units field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTrade) GetUnitsOk ¶
func (o *ManualTrade) GetUnitsOk() (*float32, bool)
GetUnitsOk returns a tuple with the Units field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTrade) HasAccount ¶
func (o *ManualTrade) HasAccount() bool
HasAccount returns a boolean if a field has been set.
func (*ManualTrade) HasAction ¶
func (o *ManualTrade) HasAction() bool
HasAction returns a boolean if a field has been set.
func (*ManualTrade) HasId ¶
func (o *ManualTrade) HasId() bool
HasId returns a boolean if a field has been set.
func (*ManualTrade) HasOrderType ¶
func (o *ManualTrade) HasOrderType() bool
HasOrderType returns a boolean if a field has been set.
func (*ManualTrade) HasPrice ¶
func (o *ManualTrade) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*ManualTrade) HasSymbol ¶
func (o *ManualTrade) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (*ManualTrade) HasTimeInForce ¶
func (o *ManualTrade) HasTimeInForce() bool
HasTimeInForce returns a boolean if a field has been set.
func (*ManualTrade) HasUnits ¶
func (o *ManualTrade) HasUnits() bool
HasUnits returns a boolean if a field has been set.
func (ManualTrade) MarshalJSON ¶
func (o ManualTrade) MarshalJSON() ([]byte, error)
func (*ManualTrade) SetAccount ¶
func (o *ManualTrade) SetAccount(v string)
SetAccount gets a reference to the given string and assigns it to the Account field.
func (*ManualTrade) SetAction ¶
func (o *ManualTrade) SetAction(v ActionStrict)
SetAction gets a reference to the given ActionStrict and assigns it to the Action field.
func (*ManualTrade) SetId ¶
func (o *ManualTrade) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ManualTrade) SetOrderType ¶
func (o *ManualTrade) SetOrderType(v OrderTypeStrict)
SetOrderType gets a reference to the given OrderTypeStrict and assigns it to the OrderType field.
func (*ManualTrade) SetPrice ¶
func (o *ManualTrade) SetPrice(v float32)
SetPrice gets a reference to the given NullableFloat32 and assigns it to the Price field.
func (*ManualTrade) SetPriceNil ¶
func (o *ManualTrade) SetPriceNil()
SetPriceNil sets the value for Price to be an explicit nil
func (*ManualTrade) SetSymbol ¶
func (o *ManualTrade) SetSymbol(v ManualTradeSymbol)
SetSymbol gets a reference to the given ManualTradeSymbol and assigns it to the Symbol field.
func (*ManualTrade) SetTimeInForce ¶
func (o *ManualTrade) SetTimeInForce(v TimeInForceStrict)
SetTimeInForce gets a reference to the given TimeInForceStrict and assigns it to the TimeInForce field.
func (*ManualTrade) SetUnits ¶
func (o *ManualTrade) SetUnits(v float32)
SetUnits gets a reference to the given NullableFloat32 and assigns it to the Units field.
func (*ManualTrade) SetUnitsNil ¶
func (o *ManualTrade) SetUnitsNil()
SetUnitsNil sets the value for Units to be an explicit nil
func (*ManualTrade) UnmarshalJSON ¶
func (o *ManualTrade) UnmarshalJSON(bytes []byte) (err error)
func (*ManualTrade) UnsetPrice ¶
func (o *ManualTrade) UnsetPrice()
UnsetPrice ensures that no value is present for Price, not even an explicit nil
func (*ManualTrade) UnsetUnits ¶
func (o *ManualTrade) UnsetUnits()
UnsetUnits ensures that no value is present for Units, not even an explicit nil
type ManualTradeAndImpact ¶
type ManualTradeAndImpact struct {
Trade *ManualTrade `json:"trade,omitempty"`
// List of impacts of the trade on the account. The list always contains one value at the moment.
TradeImpacts []ManualTradeImpact `json:"trade_impacts,omitempty"`
CombinedRemainingBalance *ManualTradeBalance `json:"combined_remaining_balance,omitempty"`
AdditionalProperties map[string]interface{}
}
ManualTradeAndImpact struct for ManualTradeAndImpact
func NewManualTradeAndImpact ¶
func NewManualTradeAndImpact() *ManualTradeAndImpact
NewManualTradeAndImpact instantiates a new ManualTradeAndImpact object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewManualTradeAndImpactWithDefaults ¶
func NewManualTradeAndImpactWithDefaults() *ManualTradeAndImpact
NewManualTradeAndImpactWithDefaults instantiates a new ManualTradeAndImpact object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ManualTradeAndImpact) GetCombinedRemainingBalance ¶
func (o *ManualTradeAndImpact) GetCombinedRemainingBalance() ManualTradeBalance
GetCombinedRemainingBalance returns the CombinedRemainingBalance field value if set, zero value otherwise.
func (*ManualTradeAndImpact) GetCombinedRemainingBalanceOk ¶
func (o *ManualTradeAndImpact) GetCombinedRemainingBalanceOk() (*ManualTradeBalance, bool)
GetCombinedRemainingBalanceOk returns a tuple with the CombinedRemainingBalance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTradeAndImpact) GetTrade ¶
func (o *ManualTradeAndImpact) GetTrade() ManualTrade
GetTrade returns the Trade field value if set, zero value otherwise.
func (*ManualTradeAndImpact) GetTradeImpacts ¶
func (o *ManualTradeAndImpact) GetTradeImpacts() []ManualTradeImpact
GetTradeImpacts returns the TradeImpacts field value if set, zero value otherwise.
func (*ManualTradeAndImpact) GetTradeImpactsOk ¶
func (o *ManualTradeAndImpact) GetTradeImpactsOk() ([]ManualTradeImpact, bool)
GetTradeImpactsOk returns a tuple with the TradeImpacts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTradeAndImpact) GetTradeOk ¶
func (o *ManualTradeAndImpact) GetTradeOk() (*ManualTrade, bool)
GetTradeOk returns a tuple with the Trade field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTradeAndImpact) HasCombinedRemainingBalance ¶
func (o *ManualTradeAndImpact) HasCombinedRemainingBalance() bool
HasCombinedRemainingBalance returns a boolean if a field has been set.
func (*ManualTradeAndImpact) HasTrade ¶
func (o *ManualTradeAndImpact) HasTrade() bool
HasTrade returns a boolean if a field has been set.
func (*ManualTradeAndImpact) HasTradeImpacts ¶
func (o *ManualTradeAndImpact) HasTradeImpacts() bool
HasTradeImpacts returns a boolean if a field has been set.
func (ManualTradeAndImpact) MarshalJSON ¶
func (o ManualTradeAndImpact) MarshalJSON() ([]byte, error)
func (*ManualTradeAndImpact) SetCombinedRemainingBalance ¶
func (o *ManualTradeAndImpact) SetCombinedRemainingBalance(v ManualTradeBalance)
SetCombinedRemainingBalance gets a reference to the given ManualTradeBalance and assigns it to the CombinedRemainingBalance field.
func (*ManualTradeAndImpact) SetTrade ¶
func (o *ManualTradeAndImpact) SetTrade(v ManualTrade)
SetTrade gets a reference to the given ManualTrade and assigns it to the Trade field.
func (*ManualTradeAndImpact) SetTradeImpacts ¶
func (o *ManualTradeAndImpact) SetTradeImpacts(v []ManualTradeImpact)
SetTradeImpacts gets a reference to the given []ManualTradeImpact and assigns it to the TradeImpacts field.
func (*ManualTradeAndImpact) UnmarshalJSON ¶
func (o *ManualTradeAndImpact) UnmarshalJSON(bytes []byte) (err error)
type ManualTradeBalance ¶
type ManualTradeBalance struct {
Account *AccountSimple `json:"account,omitempty"`
Currency *Currency `json:"currency,omitempty"`
// Estimated amount of cash remaining in the account after the trade. At the moment this is the same as `remaining_cash` under `trade_impacts`.
Cash NullableFloat32 `json:"cash,omitempty"`
AdditionalProperties map[string]interface{}
}
ManualTradeBalance Estimated remaining balance of the account after the trade is executed.
func NewManualTradeBalance ¶
func NewManualTradeBalance() *ManualTradeBalance
NewManualTradeBalance instantiates a new ManualTradeBalance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewManualTradeBalanceWithDefaults ¶
func NewManualTradeBalanceWithDefaults() *ManualTradeBalance
NewManualTradeBalanceWithDefaults instantiates a new ManualTradeBalance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ManualTradeBalance) GetAccount ¶
func (o *ManualTradeBalance) GetAccount() AccountSimple
GetAccount returns the Account field value if set, zero value otherwise.
func (*ManualTradeBalance) GetAccountOk ¶
func (o *ManualTradeBalance) GetAccountOk() (*AccountSimple, bool)
GetAccountOk returns a tuple with the Account field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTradeBalance) GetCash ¶
func (o *ManualTradeBalance) GetCash() float32
GetCash returns the Cash field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeBalance) GetCashOk ¶
func (o *ManualTradeBalance) GetCashOk() (*float32, bool)
GetCashOk returns a tuple with the Cash field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeBalance) GetCurrency ¶
func (o *ManualTradeBalance) GetCurrency() Currency
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*ManualTradeBalance) GetCurrencyOk ¶
func (o *ManualTradeBalance) GetCurrencyOk() (*Currency, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTradeBalance) HasAccount ¶
func (o *ManualTradeBalance) HasAccount() bool
HasAccount returns a boolean if a field has been set.
func (*ManualTradeBalance) HasCash ¶
func (o *ManualTradeBalance) HasCash() bool
HasCash returns a boolean if a field has been set.
func (*ManualTradeBalance) HasCurrency ¶
func (o *ManualTradeBalance) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (ManualTradeBalance) MarshalJSON ¶
func (o ManualTradeBalance) MarshalJSON() ([]byte, error)
func (*ManualTradeBalance) SetAccount ¶
func (o *ManualTradeBalance) SetAccount(v AccountSimple)
SetAccount gets a reference to the given AccountSimple and assigns it to the Account field.
func (*ManualTradeBalance) SetCash ¶
func (o *ManualTradeBalance) SetCash(v float32)
SetCash gets a reference to the given NullableFloat32 and assigns it to the Cash field.
func (*ManualTradeBalance) SetCashNil ¶
func (o *ManualTradeBalance) SetCashNil()
SetCashNil sets the value for Cash to be an explicit nil
func (*ManualTradeBalance) SetCurrency ¶
func (o *ManualTradeBalance) SetCurrency(v Currency)
SetCurrency gets a reference to the given Currency and assigns it to the Currency field.
func (*ManualTradeBalance) UnmarshalJSON ¶
func (o *ManualTradeBalance) UnmarshalJSON(bytes []byte) (err error)
func (*ManualTradeBalance) UnsetCash ¶
func (o *ManualTradeBalance) UnsetCash()
UnsetCash ensures that no value is present for Cash, not even an explicit nil
type ManualTradeForm ¶
type ManualTradeForm struct {
// Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
AccountId string `json:"account_id"`
Action ActionStrict `json:"action"`
// Unique identifier for the symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
UniversalSymbolId string `json:"universal_symbol_id"`
OrderType OrderTypeStrict `json:"order_type"`
TimeInForce TimeInForceStrict `json:"time_in_force"`
// The limit price for `Limit` and `StopLimit` orders.
Price NullableFloat32 `json:"price,omitempty"`
// The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
Stop NullableFloat32 `json:"stop,omitempty"`
Units NullableFloat32 `json:"units,omitempty"`
NotionalValue NullableManualTradeFormNotionalValue `json:"notional_value,omitempty"`
}
ManualTradeForm Inputs for placing an order with the brokerage.
func NewManualTradeForm ¶
func NewManualTradeForm(accountId string, action ActionStrict, universalSymbolId string, orderType OrderTypeStrict, timeInForce TimeInForceStrict) *ManualTradeForm
NewManualTradeForm instantiates a new ManualTradeForm object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewManualTradeFormWithDefaults ¶
func NewManualTradeFormWithDefaults() *ManualTradeForm
NewManualTradeFormWithDefaults instantiates a new ManualTradeForm object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ManualTradeForm) GetAccountId ¶
func (o *ManualTradeForm) GetAccountId() string
GetAccountId returns the AccountId field value
func (*ManualTradeForm) GetAccountIdOk ¶
func (o *ManualTradeForm) GetAccountIdOk() (*string, bool)
GetAccountIdOk returns a tuple with the AccountId field value and a boolean to check if the value has been set.
func (*ManualTradeForm) GetAction ¶
func (o *ManualTradeForm) GetAction() ActionStrict
GetAction returns the Action field value
func (*ManualTradeForm) GetActionOk ¶
func (o *ManualTradeForm) GetActionOk() (*ActionStrict, bool)
GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.
func (*ManualTradeForm) GetNotionalValue ¶
func (o *ManualTradeForm) GetNotionalValue() ManualTradeFormNotionalValue
GetNotionalValue returns the NotionalValue field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeForm) GetNotionalValueOk ¶
func (o *ManualTradeForm) GetNotionalValueOk() (*ManualTradeFormNotionalValue, bool)
GetNotionalValueOk returns a tuple with the NotionalValue field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeForm) GetOrderType ¶
func (o *ManualTradeForm) GetOrderType() OrderTypeStrict
GetOrderType returns the OrderType field value
func (*ManualTradeForm) GetOrderTypeOk ¶
func (o *ManualTradeForm) GetOrderTypeOk() (*OrderTypeStrict, bool)
GetOrderTypeOk returns a tuple with the OrderType field value and a boolean to check if the value has been set.
func (*ManualTradeForm) GetPrice ¶
func (o *ManualTradeForm) GetPrice() float32
GetPrice returns the Price field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeForm) GetPriceOk ¶
func (o *ManualTradeForm) GetPriceOk() (*float32, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeForm) GetStop ¶
func (o *ManualTradeForm) GetStop() float32
GetStop returns the Stop field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeForm) GetStopOk ¶
func (o *ManualTradeForm) GetStopOk() (*float32, bool)
GetStopOk returns a tuple with the Stop field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeForm) GetTimeInForce ¶
func (o *ManualTradeForm) GetTimeInForce() TimeInForceStrict
GetTimeInForce returns the TimeInForce field value
func (*ManualTradeForm) GetTimeInForceOk ¶
func (o *ManualTradeForm) GetTimeInForceOk() (*TimeInForceStrict, bool)
GetTimeInForceOk returns a tuple with the TimeInForce field value and a boolean to check if the value has been set.
func (*ManualTradeForm) GetUnits ¶
func (o *ManualTradeForm) GetUnits() float32
GetUnits returns the Units field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeForm) GetUnitsOk ¶
func (o *ManualTradeForm) GetUnitsOk() (*float32, bool)
GetUnitsOk returns a tuple with the Units field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeForm) GetUniversalSymbolId ¶
func (o *ManualTradeForm) GetUniversalSymbolId() string
GetUniversalSymbolId returns the UniversalSymbolId field value
func (*ManualTradeForm) GetUniversalSymbolIdOk ¶
func (o *ManualTradeForm) GetUniversalSymbolIdOk() (*string, bool)
GetUniversalSymbolIdOk returns a tuple with the UniversalSymbolId field value and a boolean to check if the value has been set.
func (*ManualTradeForm) HasNotionalValue ¶
func (o *ManualTradeForm) HasNotionalValue() bool
HasNotionalValue returns a boolean if a field has been set.
func (*ManualTradeForm) HasPrice ¶
func (o *ManualTradeForm) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*ManualTradeForm) HasStop ¶
func (o *ManualTradeForm) HasStop() bool
HasStop returns a boolean if a field has been set.
func (*ManualTradeForm) HasUnits ¶
func (o *ManualTradeForm) HasUnits() bool
HasUnits returns a boolean if a field has been set.
func (ManualTradeForm) MarshalJSON ¶
func (o ManualTradeForm) MarshalJSON() ([]byte, error)
func (*ManualTradeForm) SetAccountId ¶
func (o *ManualTradeForm) SetAccountId(v string)
SetAccountId sets field value
func (*ManualTradeForm) SetAction ¶
func (o *ManualTradeForm) SetAction(v ActionStrict)
SetAction sets field value
func (*ManualTradeForm) SetNotionalValue ¶
func (o *ManualTradeForm) SetNotionalValue(v ManualTradeFormNotionalValue)
SetNotionalValue gets a reference to the given NullableManualTradeFormNotionalValue and assigns it to the NotionalValue field.
func (*ManualTradeForm) SetNotionalValueNil ¶
func (o *ManualTradeForm) SetNotionalValueNil()
SetNotionalValueNil sets the value for NotionalValue to be an explicit nil
func (*ManualTradeForm) SetOrderType ¶
func (o *ManualTradeForm) SetOrderType(v OrderTypeStrict)
SetOrderType sets field value
func (*ManualTradeForm) SetPrice ¶
func (o *ManualTradeForm) SetPrice(v float32)
SetPrice gets a reference to the given NullableFloat32 and assigns it to the Price field.
func (*ManualTradeForm) SetPriceNil ¶
func (o *ManualTradeForm) SetPriceNil()
SetPriceNil sets the value for Price to be an explicit nil
func (*ManualTradeForm) SetStop ¶
func (o *ManualTradeForm) SetStop(v float32)
SetStop gets a reference to the given NullableFloat32 and assigns it to the Stop field.
func (*ManualTradeForm) SetStopNil ¶
func (o *ManualTradeForm) SetStopNil()
SetStopNil sets the value for Stop to be an explicit nil
func (*ManualTradeForm) SetTimeInForce ¶
func (o *ManualTradeForm) SetTimeInForce(v TimeInForceStrict)
SetTimeInForce sets field value
func (*ManualTradeForm) SetUnits ¶
func (o *ManualTradeForm) SetUnits(v float32)
SetUnits gets a reference to the given NullableFloat32 and assigns it to the Units field.
func (*ManualTradeForm) SetUnitsNil ¶
func (o *ManualTradeForm) SetUnitsNil()
SetUnitsNil sets the value for Units to be an explicit nil
func (*ManualTradeForm) SetUniversalSymbolId ¶
func (o *ManualTradeForm) SetUniversalSymbolId(v string)
SetUniversalSymbolId sets field value
func (*ManualTradeForm) UnsetNotionalValue ¶
func (o *ManualTradeForm) UnsetNotionalValue()
UnsetNotionalValue ensures that no value is present for NotionalValue, not even an explicit nil
func (*ManualTradeForm) UnsetPrice ¶
func (o *ManualTradeForm) UnsetPrice()
UnsetPrice ensures that no value is present for Price, not even an explicit nil
func (*ManualTradeForm) UnsetStop ¶
func (o *ManualTradeForm) UnsetStop()
UnsetStop ensures that no value is present for Stop, not even an explicit nil
func (*ManualTradeForm) UnsetUnits ¶
func (o *ManualTradeForm) UnsetUnits()
UnsetUnits ensures that no value is present for Units, not even an explicit nil
type ManualTradeFormBracket ¶ added in v1.0.55
type ManualTradeFormBracket struct {
Action ActionStrictWithOptions `json:"action"`
Instrument TradingInstrument `json:"instrument"`
OrderType OrderTypeStrict `json:"order_type"`
TimeInForce TimeInForceStrict `json:"time_in_force"`
// The limit price for `Limit` and `StopLimit` orders.
Price NullableFloat32 `json:"price,omitempty"`
// The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
Stop NullableFloat32 `json:"stop,omitempty"`
// Number of shares for the order. This can be a decimal for fractional orders. Must be `null` if `notional_value` is provided.
Units *float32 `json:"units,omitempty"`
StopLoss StopLoss `json:"stop_loss"`
TakeProfit TakeProfit `json:"take_profit"`
}
ManualTradeFormBracket Inputs for placing an order with the brokerage.
func NewManualTradeFormBracket ¶ added in v1.0.55
func NewManualTradeFormBracket(action ActionStrictWithOptions, instrument TradingInstrument, orderType OrderTypeStrict, timeInForce TimeInForceStrict, stopLoss StopLoss, takeProfit TakeProfit) *ManualTradeFormBracket
NewManualTradeFormBracket instantiates a new ManualTradeFormBracket object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewManualTradeFormBracketWithDefaults ¶ added in v1.0.55
func NewManualTradeFormBracketWithDefaults() *ManualTradeFormBracket
NewManualTradeFormBracketWithDefaults instantiates a new ManualTradeFormBracket object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ManualTradeFormBracket) GetAction ¶ added in v1.0.55
func (o *ManualTradeFormBracket) GetAction() ActionStrictWithOptions
GetAction returns the Action field value
func (*ManualTradeFormBracket) GetActionOk ¶ added in v1.0.55
func (o *ManualTradeFormBracket) GetActionOk() (*ActionStrictWithOptions, bool)
GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.
func (*ManualTradeFormBracket) GetInstrument ¶ added in v1.0.59
func (o *ManualTradeFormBracket) GetInstrument() TradingInstrument
GetInstrument returns the Instrument field value
func (*ManualTradeFormBracket) GetInstrumentOk ¶ added in v1.0.59
func (o *ManualTradeFormBracket) GetInstrumentOk() (*TradingInstrument, bool)
GetInstrumentOk returns a tuple with the Instrument field value and a boolean to check if the value has been set.
func (*ManualTradeFormBracket) GetOrderType ¶ added in v1.0.55
func (o *ManualTradeFormBracket) GetOrderType() OrderTypeStrict
GetOrderType returns the OrderType field value
func (*ManualTradeFormBracket) GetOrderTypeOk ¶ added in v1.0.55
func (o *ManualTradeFormBracket) GetOrderTypeOk() (*OrderTypeStrict, bool)
GetOrderTypeOk returns a tuple with the OrderType field value and a boolean to check if the value has been set.
func (*ManualTradeFormBracket) GetPrice ¶ added in v1.0.55
func (o *ManualTradeFormBracket) GetPrice() float32
GetPrice returns the Price field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeFormBracket) GetPriceOk ¶ added in v1.0.55
func (o *ManualTradeFormBracket) GetPriceOk() (*float32, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeFormBracket) GetStop ¶ added in v1.0.55
func (o *ManualTradeFormBracket) GetStop() float32
GetStop returns the Stop field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeFormBracket) GetStopLoss ¶ added in v1.0.55
func (o *ManualTradeFormBracket) GetStopLoss() StopLoss
GetStopLoss returns the StopLoss field value
func (*ManualTradeFormBracket) GetStopLossOk ¶ added in v1.0.55
func (o *ManualTradeFormBracket) GetStopLossOk() (*StopLoss, bool)
GetStopLossOk returns a tuple with the StopLoss field value and a boolean to check if the value has been set.
func (*ManualTradeFormBracket) GetStopOk ¶ added in v1.0.55
func (o *ManualTradeFormBracket) GetStopOk() (*float32, bool)
GetStopOk returns a tuple with the Stop field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeFormBracket) GetTakeProfit ¶ added in v1.0.55
func (o *ManualTradeFormBracket) GetTakeProfit() TakeProfit
GetTakeProfit returns the TakeProfit field value
func (*ManualTradeFormBracket) GetTakeProfitOk ¶ added in v1.0.55
func (o *ManualTradeFormBracket) GetTakeProfitOk() (*TakeProfit, bool)
GetTakeProfitOk returns a tuple with the TakeProfit field value and a boolean to check if the value has been set.
func (*ManualTradeFormBracket) GetTimeInForce ¶ added in v1.0.55
func (o *ManualTradeFormBracket) GetTimeInForce() TimeInForceStrict
GetTimeInForce returns the TimeInForce field value
func (*ManualTradeFormBracket) GetTimeInForceOk ¶ added in v1.0.55
func (o *ManualTradeFormBracket) GetTimeInForceOk() (*TimeInForceStrict, bool)
GetTimeInForceOk returns a tuple with the TimeInForce field value and a boolean to check if the value has been set.
func (*ManualTradeFormBracket) GetUnits ¶ added in v1.0.55
func (o *ManualTradeFormBracket) GetUnits() float32
GetUnits returns the Units field value if set, zero value otherwise.
func (*ManualTradeFormBracket) GetUnitsOk ¶ added in v1.0.55
func (o *ManualTradeFormBracket) GetUnitsOk() (*float32, bool)
GetUnitsOk returns a tuple with the Units field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTradeFormBracket) HasPrice ¶ added in v1.0.55
func (o *ManualTradeFormBracket) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*ManualTradeFormBracket) HasStop ¶ added in v1.0.55
func (o *ManualTradeFormBracket) HasStop() bool
HasStop returns a boolean if a field has been set.
func (*ManualTradeFormBracket) HasUnits ¶ added in v1.0.55
func (o *ManualTradeFormBracket) HasUnits() bool
HasUnits returns a boolean if a field has been set.
func (ManualTradeFormBracket) MarshalJSON ¶ added in v1.0.55
func (o ManualTradeFormBracket) MarshalJSON() ([]byte, error)
func (*ManualTradeFormBracket) SetAction ¶ added in v1.0.55
func (o *ManualTradeFormBracket) SetAction(v ActionStrictWithOptions)
SetAction sets field value
func (*ManualTradeFormBracket) SetInstrument ¶ added in v1.0.59
func (o *ManualTradeFormBracket) SetInstrument(v TradingInstrument)
SetInstrument sets field value
func (*ManualTradeFormBracket) SetOrderType ¶ added in v1.0.55
func (o *ManualTradeFormBracket) SetOrderType(v OrderTypeStrict)
SetOrderType sets field value
func (*ManualTradeFormBracket) SetPrice ¶ added in v1.0.55
func (o *ManualTradeFormBracket) SetPrice(v float32)
SetPrice gets a reference to the given NullableFloat32 and assigns it to the Price field.
func (*ManualTradeFormBracket) SetPriceNil ¶ added in v1.0.55
func (o *ManualTradeFormBracket) SetPriceNil()
SetPriceNil sets the value for Price to be an explicit nil
func (*ManualTradeFormBracket) SetStop ¶ added in v1.0.55
func (o *ManualTradeFormBracket) SetStop(v float32)
SetStop gets a reference to the given NullableFloat32 and assigns it to the Stop field.
func (*ManualTradeFormBracket) SetStopLoss ¶ added in v1.0.55
func (o *ManualTradeFormBracket) SetStopLoss(v StopLoss)
SetStopLoss sets field value
func (*ManualTradeFormBracket) SetStopNil ¶ added in v1.0.55
func (o *ManualTradeFormBracket) SetStopNil()
SetStopNil sets the value for Stop to be an explicit nil
func (*ManualTradeFormBracket) SetTakeProfit ¶ added in v1.0.55
func (o *ManualTradeFormBracket) SetTakeProfit(v TakeProfit)
SetTakeProfit sets field value
func (*ManualTradeFormBracket) SetTimeInForce ¶ added in v1.0.55
func (o *ManualTradeFormBracket) SetTimeInForce(v TimeInForceStrict)
SetTimeInForce sets field value
func (*ManualTradeFormBracket) SetUnits ¶ added in v1.0.55
func (o *ManualTradeFormBracket) SetUnits(v float32)
SetUnits gets a reference to the given float32 and assigns it to the Units field.
func (*ManualTradeFormBracket) UnsetPrice ¶ added in v1.0.55
func (o *ManualTradeFormBracket) UnsetPrice()
UnsetPrice ensures that no value is present for Price, not even an explicit nil
func (*ManualTradeFormBracket) UnsetStop ¶ added in v1.0.55
func (o *ManualTradeFormBracket) UnsetStop()
UnsetStop ensures that no value is present for Stop, not even an explicit nil
type ManualTradeFormNotionalValue ¶
type ManualTradeFormNotionalValue struct {
}
ManualTradeFormNotionalValue struct for ManualTradeFormNotionalValue
func NewManualTradeFormNotionalValue ¶
func NewManualTradeFormNotionalValue() *ManualTradeFormNotionalValue
NewManualTradeFormNotionalValue instantiates a new ManualTradeFormNotionalValue object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewManualTradeFormNotionalValueWithDefaults ¶
func NewManualTradeFormNotionalValueWithDefaults() *ManualTradeFormNotionalValue
NewManualTradeFormNotionalValueWithDefaults instantiates a new ManualTradeFormNotionalValue object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (ManualTradeFormNotionalValue) MarshalJSON ¶
func (o ManualTradeFormNotionalValue) MarshalJSON() ([]byte, error)
type ManualTradeFormWithOptions ¶ added in v1.0.18
type ManualTradeFormWithOptions struct {
// Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
AccountId string `json:"account_id"`
Action ActionStrictWithOptions `json:"action"`
// The universal symbol ID of the security to trade. Must be 'null' if `symbol` is provided, otherwise must be provided.
UniversalSymbolId NullableString `json:"universal_symbol_id,omitempty"`
// The security's trading ticker symbol. If 'symbol' is provided, then 'universal_symbol_id' must be 'null'.
Symbol NullableString `json:"symbol,omitempty"`
OrderType OrderTypeStrict `json:"order_type"`
TimeInForce TimeInForceStrict `json:"time_in_force"`
TradingSession *TradingSession `json:"trading_session,omitempty"`
// The limit price for `Limit` and `StopLimit` orders.
Price NullableFloat32 `json:"price,omitempty"`
// The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
Stop NullableFloat32 `json:"stop,omitempty"`
// For Equity orders, this represents the number of shares for the order. This can be a decimal for fractional orders. Must be `null` if `notional_value` is provided. If placing an Option order, this field represents the number of contracts to buy or sell. (e.g., 1 contract = 100 shares).
Units NullableFloat32 `json:"units,omitempty"`
NotionalValue NullableManualTradeFormNotionalValue `json:"notional_value,omitempty"`
}
ManualTradeFormWithOptions Inputs for placing an order with the brokerage.
func NewManualTradeFormWithOptions ¶ added in v1.0.18
func NewManualTradeFormWithOptions(accountId string, action ActionStrictWithOptions, orderType OrderTypeStrict, timeInForce TimeInForceStrict) *ManualTradeFormWithOptions
NewManualTradeFormWithOptions instantiates a new ManualTradeFormWithOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewManualTradeFormWithOptionsWithDefaults ¶ added in v1.0.18
func NewManualTradeFormWithOptionsWithDefaults() *ManualTradeFormWithOptions
NewManualTradeFormWithOptionsWithDefaults instantiates a new ManualTradeFormWithOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ManualTradeFormWithOptions) GetAccountId ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetAccountId() string
GetAccountId returns the AccountId field value
func (*ManualTradeFormWithOptions) GetAccountIdOk ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetAccountIdOk() (*string, bool)
GetAccountIdOk returns a tuple with the AccountId field value and a boolean to check if the value has been set.
func (*ManualTradeFormWithOptions) GetAction ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetAction() ActionStrictWithOptions
GetAction returns the Action field value
func (*ManualTradeFormWithOptions) GetActionOk ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetActionOk() (*ActionStrictWithOptions, bool)
GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.
func (*ManualTradeFormWithOptions) GetNotionalValue ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetNotionalValue() ManualTradeFormNotionalValue
GetNotionalValue returns the NotionalValue field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeFormWithOptions) GetNotionalValueOk ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetNotionalValueOk() (*ManualTradeFormNotionalValue, bool)
GetNotionalValueOk returns a tuple with the NotionalValue field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeFormWithOptions) GetOrderType ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetOrderType() OrderTypeStrict
GetOrderType returns the OrderType field value
func (*ManualTradeFormWithOptions) GetOrderTypeOk ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetOrderTypeOk() (*OrderTypeStrict, bool)
GetOrderTypeOk returns a tuple with the OrderType field value and a boolean to check if the value has been set.
func (*ManualTradeFormWithOptions) GetPrice ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetPrice() float32
GetPrice returns the Price field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeFormWithOptions) GetPriceOk ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetPriceOk() (*float32, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeFormWithOptions) GetStop ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetStop() float32
GetStop returns the Stop field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeFormWithOptions) GetStopOk ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetStopOk() (*float32, bool)
GetStopOk returns a tuple with the Stop field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeFormWithOptions) GetSymbol ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeFormWithOptions) GetSymbolOk ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeFormWithOptions) GetTimeInForce ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetTimeInForce() TimeInForceStrict
GetTimeInForce returns the TimeInForce field value
func (*ManualTradeFormWithOptions) GetTimeInForceOk ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetTimeInForceOk() (*TimeInForceStrict, bool)
GetTimeInForceOk returns a tuple with the TimeInForce field value and a boolean to check if the value has been set.
func (*ManualTradeFormWithOptions) GetTradingSession ¶ added in v1.0.115
func (o *ManualTradeFormWithOptions) GetTradingSession() TradingSession
GetTradingSession returns the TradingSession field value if set, zero value otherwise.
func (*ManualTradeFormWithOptions) GetTradingSessionOk ¶ added in v1.0.115
func (o *ManualTradeFormWithOptions) GetTradingSessionOk() (*TradingSession, bool)
GetTradingSessionOk returns a tuple with the TradingSession field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTradeFormWithOptions) GetUnits ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetUnits() float32
GetUnits returns the Units field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeFormWithOptions) GetUnitsOk ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetUnitsOk() (*float32, bool)
GetUnitsOk returns a tuple with the Units field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeFormWithOptions) GetUniversalSymbolId ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetUniversalSymbolId() string
GetUniversalSymbolId returns the UniversalSymbolId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeFormWithOptions) GetUniversalSymbolIdOk ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) GetUniversalSymbolIdOk() (*string, bool)
GetUniversalSymbolIdOk returns a tuple with the UniversalSymbolId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeFormWithOptions) HasNotionalValue ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) HasNotionalValue() bool
HasNotionalValue returns a boolean if a field has been set.
func (*ManualTradeFormWithOptions) HasPrice ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*ManualTradeFormWithOptions) HasStop ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) HasStop() bool
HasStop returns a boolean if a field has been set.
func (*ManualTradeFormWithOptions) HasSymbol ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (*ManualTradeFormWithOptions) HasTradingSession ¶ added in v1.0.115
func (o *ManualTradeFormWithOptions) HasTradingSession() bool
HasTradingSession returns a boolean if a field has been set.
func (*ManualTradeFormWithOptions) HasUnits ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) HasUnits() bool
HasUnits returns a boolean if a field has been set.
func (*ManualTradeFormWithOptions) HasUniversalSymbolId ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) HasUniversalSymbolId() bool
HasUniversalSymbolId returns a boolean if a field has been set.
func (ManualTradeFormWithOptions) MarshalJSON ¶ added in v1.0.18
func (o ManualTradeFormWithOptions) MarshalJSON() ([]byte, error)
func (*ManualTradeFormWithOptions) SetAccountId ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) SetAccountId(v string)
SetAccountId sets field value
func (*ManualTradeFormWithOptions) SetAction ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) SetAction(v ActionStrictWithOptions)
SetAction sets field value
func (*ManualTradeFormWithOptions) SetNotionalValue ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) SetNotionalValue(v ManualTradeFormNotionalValue)
SetNotionalValue gets a reference to the given NullableManualTradeFormNotionalValue and assigns it to the NotionalValue field.
func (*ManualTradeFormWithOptions) SetNotionalValueNil ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) SetNotionalValueNil()
SetNotionalValueNil sets the value for NotionalValue to be an explicit nil
func (*ManualTradeFormWithOptions) SetOrderType ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) SetOrderType(v OrderTypeStrict)
SetOrderType sets field value
func (*ManualTradeFormWithOptions) SetPrice ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) SetPrice(v float32)
SetPrice gets a reference to the given NullableFloat32 and assigns it to the Price field.
func (*ManualTradeFormWithOptions) SetPriceNil ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) SetPriceNil()
SetPriceNil sets the value for Price to be an explicit nil
func (*ManualTradeFormWithOptions) SetStop ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) SetStop(v float32)
SetStop gets a reference to the given NullableFloat32 and assigns it to the Stop field.
func (*ManualTradeFormWithOptions) SetStopNil ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) SetStopNil()
SetStopNil sets the value for Stop to be an explicit nil
func (*ManualTradeFormWithOptions) SetSymbol ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) SetSymbol(v string)
SetSymbol gets a reference to the given NullableString and assigns it to the Symbol field.
func (*ManualTradeFormWithOptions) SetSymbolNil ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) SetSymbolNil()
SetSymbolNil sets the value for Symbol to be an explicit nil
func (*ManualTradeFormWithOptions) SetTimeInForce ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) SetTimeInForce(v TimeInForceStrict)
SetTimeInForce sets field value
func (*ManualTradeFormWithOptions) SetTradingSession ¶ added in v1.0.115
func (o *ManualTradeFormWithOptions) SetTradingSession(v TradingSession)
SetTradingSession gets a reference to the given TradingSession and assigns it to the TradingSession field.
func (*ManualTradeFormWithOptions) SetUnits ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) SetUnits(v float32)
SetUnits gets a reference to the given NullableFloat32 and assigns it to the Units field.
func (*ManualTradeFormWithOptions) SetUnitsNil ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) SetUnitsNil()
SetUnitsNil sets the value for Units to be an explicit nil
func (*ManualTradeFormWithOptions) SetUniversalSymbolId ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) SetUniversalSymbolId(v string)
SetUniversalSymbolId gets a reference to the given NullableString and assigns it to the UniversalSymbolId field.
func (*ManualTradeFormWithOptions) SetUniversalSymbolIdNil ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) SetUniversalSymbolIdNil()
SetUniversalSymbolIdNil sets the value for UniversalSymbolId to be an explicit nil
func (*ManualTradeFormWithOptions) UnsetNotionalValue ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) UnsetNotionalValue()
UnsetNotionalValue ensures that no value is present for NotionalValue, not even an explicit nil
func (*ManualTradeFormWithOptions) UnsetPrice ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) UnsetPrice()
UnsetPrice ensures that no value is present for Price, not even an explicit nil
func (*ManualTradeFormWithOptions) UnsetStop ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) UnsetStop()
UnsetStop ensures that no value is present for Stop, not even an explicit nil
func (*ManualTradeFormWithOptions) UnsetSymbol ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) UnsetSymbol()
UnsetSymbol ensures that no value is present for Symbol, not even an explicit nil
func (*ManualTradeFormWithOptions) UnsetUnits ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) UnsetUnits()
UnsetUnits ensures that no value is present for Units, not even an explicit nil
func (*ManualTradeFormWithOptions) UnsetUniversalSymbolId ¶ added in v1.0.18
func (o *ManualTradeFormWithOptions) UnsetUniversalSymbolId()
UnsetUniversalSymbolId ensures that no value is present for UniversalSymbolId, not even an explicit nil
type ManualTradeImpact ¶ added in v1.0.10
type ManualTradeImpact struct {
// Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
Account *string `json:"account,omitempty"`
// Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
Currency *string `json:"currency,omitempty"`
// Estimated amount of cash remaining in the account after the trade.
RemainingCash NullableFloat32 `json:"remaining_cash,omitempty"`
// Estimated commission for the trade.
EstimatedCommission NullableFloat32 `json:"estimated_commission,omitempty"`
// Estimated foreign transaction fees for the trade.
ForexFees NullableFloat32 `json:"forex_fees,omitempty"`
AdditionalProperties map[string]interface{}
}
ManualTradeImpact struct for ManualTradeImpact
func NewManualTradeImpact ¶ added in v1.0.10
func NewManualTradeImpact() *ManualTradeImpact
NewManualTradeImpact instantiates a new ManualTradeImpact object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewManualTradeImpactWithDefaults ¶ added in v1.0.10
func NewManualTradeImpactWithDefaults() *ManualTradeImpact
NewManualTradeImpactWithDefaults instantiates a new ManualTradeImpact object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ManualTradeImpact) GetAccount ¶ added in v1.0.10
func (o *ManualTradeImpact) GetAccount() string
GetAccount returns the Account field value if set, zero value otherwise.
func (*ManualTradeImpact) GetAccountOk ¶ added in v1.0.10
func (o *ManualTradeImpact) GetAccountOk() (*string, bool)
GetAccountOk returns a tuple with the Account field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTradeImpact) GetCurrency ¶ added in v1.0.10
func (o *ManualTradeImpact) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*ManualTradeImpact) GetCurrencyOk ¶ added in v1.0.10
func (o *ManualTradeImpact) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTradeImpact) GetEstimatedCommission ¶ added in v1.0.10
func (o *ManualTradeImpact) GetEstimatedCommission() float32
GetEstimatedCommission returns the EstimatedCommission field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeImpact) GetEstimatedCommissionOk ¶ added in v1.0.10
func (o *ManualTradeImpact) GetEstimatedCommissionOk() (*float32, bool)
GetEstimatedCommissionOk returns a tuple with the EstimatedCommission field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeImpact) GetForexFees ¶ added in v1.0.10
func (o *ManualTradeImpact) GetForexFees() float32
GetForexFees returns the ForexFees field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeImpact) GetForexFeesOk ¶ added in v1.0.10
func (o *ManualTradeImpact) GetForexFeesOk() (*float32, bool)
GetForexFeesOk returns a tuple with the ForexFees field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeImpact) GetRemainingCash ¶ added in v1.0.10
func (o *ManualTradeImpact) GetRemainingCash() float32
GetRemainingCash returns the RemainingCash field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeImpact) GetRemainingCashOk ¶ added in v1.0.10
func (o *ManualTradeImpact) GetRemainingCashOk() (*float32, bool)
GetRemainingCashOk returns a tuple with the RemainingCash field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeImpact) HasAccount ¶ added in v1.0.10
func (o *ManualTradeImpact) HasAccount() bool
HasAccount returns a boolean if a field has been set.
func (*ManualTradeImpact) HasCurrency ¶ added in v1.0.10
func (o *ManualTradeImpact) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*ManualTradeImpact) HasEstimatedCommission ¶ added in v1.0.10
func (o *ManualTradeImpact) HasEstimatedCommission() bool
HasEstimatedCommission returns a boolean if a field has been set.
func (*ManualTradeImpact) HasForexFees ¶ added in v1.0.10
func (o *ManualTradeImpact) HasForexFees() bool
HasForexFees returns a boolean if a field has been set.
func (*ManualTradeImpact) HasRemainingCash ¶ added in v1.0.10
func (o *ManualTradeImpact) HasRemainingCash() bool
HasRemainingCash returns a boolean if a field has been set.
func (ManualTradeImpact) MarshalJSON ¶ added in v1.0.10
func (o ManualTradeImpact) MarshalJSON() ([]byte, error)
func (*ManualTradeImpact) SetAccount ¶ added in v1.0.10
func (o *ManualTradeImpact) SetAccount(v string)
SetAccount gets a reference to the given string and assigns it to the Account field.
func (*ManualTradeImpact) SetCurrency ¶ added in v1.0.10
func (o *ManualTradeImpact) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*ManualTradeImpact) SetEstimatedCommission ¶ added in v1.0.10
func (o *ManualTradeImpact) SetEstimatedCommission(v float32)
SetEstimatedCommission gets a reference to the given NullableFloat32 and assigns it to the EstimatedCommission field.
func (*ManualTradeImpact) SetEstimatedCommissionNil ¶ added in v1.0.10
func (o *ManualTradeImpact) SetEstimatedCommissionNil()
SetEstimatedCommissionNil sets the value for EstimatedCommission to be an explicit nil
func (*ManualTradeImpact) SetForexFees ¶ added in v1.0.10
func (o *ManualTradeImpact) SetForexFees(v float32)
SetForexFees gets a reference to the given NullableFloat32 and assigns it to the ForexFees field.
func (*ManualTradeImpact) SetForexFeesNil ¶ added in v1.0.10
func (o *ManualTradeImpact) SetForexFeesNil()
SetForexFeesNil sets the value for ForexFees to be an explicit nil
func (*ManualTradeImpact) SetRemainingCash ¶ added in v1.0.10
func (o *ManualTradeImpact) SetRemainingCash(v float32)
SetRemainingCash gets a reference to the given NullableFloat32 and assigns it to the RemainingCash field.
func (*ManualTradeImpact) SetRemainingCashNil ¶ added in v1.0.10
func (o *ManualTradeImpact) SetRemainingCashNil()
SetRemainingCashNil sets the value for RemainingCash to be an explicit nil
func (*ManualTradeImpact) UnmarshalJSON ¶ added in v1.0.10
func (o *ManualTradeImpact) UnmarshalJSON(bytes []byte) (err error)
func (*ManualTradeImpact) UnsetEstimatedCommission ¶ added in v1.0.10
func (o *ManualTradeImpact) UnsetEstimatedCommission()
UnsetEstimatedCommission ensures that no value is present for EstimatedCommission, not even an explicit nil
func (*ManualTradeImpact) UnsetForexFees ¶ added in v1.0.10
func (o *ManualTradeImpact) UnsetForexFees()
UnsetForexFees ensures that no value is present for ForexFees, not even an explicit nil
func (*ManualTradeImpact) UnsetRemainingCash ¶ added in v1.0.10
func (o *ManualTradeImpact) UnsetRemainingCash()
UnsetRemainingCash ensures that no value is present for RemainingCash, not even an explicit nil
type ManualTradeReplaceForm ¶ added in v1.0.59
type ManualTradeReplaceForm struct {
// Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
BrokerageOrderId string `json:"brokerage_order_id"`
Action ActionStrict `json:"action"`
OrderType OrderTypeStrict `json:"order_type"`
TimeInForce TimeInForceStrict `json:"time_in_force"`
// The limit price for `Limit` and `StopLimit` orders.
Price NullableFloat32 `json:"price,omitempty"`
// The security's trading ticker symbol
Symbol *string `json:"symbol,omitempty"`
// The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
Stop NullableFloat32 `json:"stop,omitempty"`
Units NullableFloat32 `json:"units,omitempty"`
}
ManualTradeReplaceForm Inputs for replacing an order with the brokerage.
func NewManualTradeReplaceForm ¶ added in v1.0.59
func NewManualTradeReplaceForm(brokerageOrderId string, action ActionStrict, orderType OrderTypeStrict, timeInForce TimeInForceStrict) *ManualTradeReplaceForm
NewManualTradeReplaceForm instantiates a new ManualTradeReplaceForm object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewManualTradeReplaceFormWithDefaults ¶ added in v1.0.59
func NewManualTradeReplaceFormWithDefaults() *ManualTradeReplaceForm
NewManualTradeReplaceFormWithDefaults instantiates a new ManualTradeReplaceForm object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ManualTradeReplaceForm) GetAction ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) GetAction() ActionStrict
GetAction returns the Action field value
func (*ManualTradeReplaceForm) GetActionOk ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) GetActionOk() (*ActionStrict, bool)
GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.
func (*ManualTradeReplaceForm) GetBrokerageOrderId ¶ added in v1.0.92
func (o *ManualTradeReplaceForm) GetBrokerageOrderId() string
GetBrokerageOrderId returns the BrokerageOrderId field value
func (*ManualTradeReplaceForm) GetBrokerageOrderIdOk ¶ added in v1.0.92
func (o *ManualTradeReplaceForm) GetBrokerageOrderIdOk() (*string, bool)
GetBrokerageOrderIdOk returns a tuple with the BrokerageOrderId field value and a boolean to check if the value has been set.
func (*ManualTradeReplaceForm) GetOrderType ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) GetOrderType() OrderTypeStrict
GetOrderType returns the OrderType field value
func (*ManualTradeReplaceForm) GetOrderTypeOk ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) GetOrderTypeOk() (*OrderTypeStrict, bool)
GetOrderTypeOk returns a tuple with the OrderType field value and a boolean to check if the value has been set.
func (*ManualTradeReplaceForm) GetPrice ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) GetPrice() float32
GetPrice returns the Price field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeReplaceForm) GetPriceOk ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) GetPriceOk() (*float32, bool)
GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeReplaceForm) GetStop ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) GetStop() float32
GetStop returns the Stop field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeReplaceForm) GetStopOk ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) GetStopOk() (*float32, bool)
GetStopOk returns a tuple with the Stop field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeReplaceForm) GetSymbol ¶ added in v1.0.64
func (o *ManualTradeReplaceForm) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*ManualTradeReplaceForm) GetSymbolOk ¶ added in v1.0.64
func (o *ManualTradeReplaceForm) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTradeReplaceForm) GetTimeInForce ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) GetTimeInForce() TimeInForceStrict
GetTimeInForce returns the TimeInForce field value
func (*ManualTradeReplaceForm) GetTimeInForceOk ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) GetTimeInForceOk() (*TimeInForceStrict, bool)
GetTimeInForceOk returns a tuple with the TimeInForce field value and a boolean to check if the value has been set.
func (*ManualTradeReplaceForm) GetUnits ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) GetUnits() float32
GetUnits returns the Units field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ManualTradeReplaceForm) GetUnitsOk ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) GetUnitsOk() (*float32, bool)
GetUnitsOk returns a tuple with the Units field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ManualTradeReplaceForm) HasPrice ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*ManualTradeReplaceForm) HasStop ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) HasStop() bool
HasStop returns a boolean if a field has been set.
func (*ManualTradeReplaceForm) HasSymbol ¶ added in v1.0.64
func (o *ManualTradeReplaceForm) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (*ManualTradeReplaceForm) HasUnits ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) HasUnits() bool
HasUnits returns a boolean if a field has been set.
func (ManualTradeReplaceForm) MarshalJSON ¶ added in v1.0.59
func (o ManualTradeReplaceForm) MarshalJSON() ([]byte, error)
func (*ManualTradeReplaceForm) SetAction ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) SetAction(v ActionStrict)
SetAction sets field value
func (*ManualTradeReplaceForm) SetBrokerageOrderId ¶ added in v1.0.92
func (o *ManualTradeReplaceForm) SetBrokerageOrderId(v string)
SetBrokerageOrderId sets field value
func (*ManualTradeReplaceForm) SetOrderType ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) SetOrderType(v OrderTypeStrict)
SetOrderType sets field value
func (*ManualTradeReplaceForm) SetPrice ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) SetPrice(v float32)
SetPrice gets a reference to the given NullableFloat32 and assigns it to the Price field.
func (*ManualTradeReplaceForm) SetPriceNil ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) SetPriceNil()
SetPriceNil sets the value for Price to be an explicit nil
func (*ManualTradeReplaceForm) SetStop ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) SetStop(v float32)
SetStop gets a reference to the given NullableFloat32 and assigns it to the Stop field.
func (*ManualTradeReplaceForm) SetStopNil ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) SetStopNil()
SetStopNil sets the value for Stop to be an explicit nil
func (*ManualTradeReplaceForm) SetSymbol ¶ added in v1.0.64
func (o *ManualTradeReplaceForm) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*ManualTradeReplaceForm) SetTimeInForce ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) SetTimeInForce(v TimeInForceStrict)
SetTimeInForce sets field value
func (*ManualTradeReplaceForm) SetUnits ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) SetUnits(v float32)
SetUnits gets a reference to the given NullableFloat32 and assigns it to the Units field.
func (*ManualTradeReplaceForm) SetUnitsNil ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) SetUnitsNil()
SetUnitsNil sets the value for Units to be an explicit nil
func (*ManualTradeReplaceForm) UnsetPrice ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) UnsetPrice()
UnsetPrice ensures that no value is present for Price, not even an explicit nil
func (*ManualTradeReplaceForm) UnsetStop ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) UnsetStop()
UnsetStop ensures that no value is present for Stop, not even an explicit nil
func (*ManualTradeReplaceForm) UnsetUnits ¶ added in v1.0.59
func (o *ManualTradeReplaceForm) UnsetUnits()
UnsetUnits ensures that no value is present for Units, not even an explicit nil
type ManualTradeSymbol ¶
type ManualTradeSymbol struct {
// Unique identifier for the symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
UniversalSymbolId *string `json:"universal_symbol_id,omitempty"`
Currency *Currency `json:"currency,omitempty"`
// This field is deprecated and should not be used.
// Deprecated
LocalId *string `json:"local_id,omitempty"`
// This field is deprecated and should not be used.
// Deprecated
Description NullableString `json:"description,omitempty"`
// This field is deprecated and should not be used.
// Deprecated
Symbol *string `json:"symbol,omitempty"`
// A unique ID for the security within SnapTrade, scoped to the brokerage account that the security belongs to. This is a legacy field and should not be used. Do not rely on this being a stable ID as it can change.
// Deprecated
BrokerageSymbolId *string `json:"brokerage_symbol_id,omitempty"`
AdditionalProperties map[string]interface{}
}
ManualTradeSymbol Information about the security for the order.
func NewManualTradeSymbol ¶
func NewManualTradeSymbol() *ManualTradeSymbol
NewManualTradeSymbol instantiates a new ManualTradeSymbol object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewManualTradeSymbolWithDefaults ¶
func NewManualTradeSymbolWithDefaults() *ManualTradeSymbol
NewManualTradeSymbolWithDefaults instantiates a new ManualTradeSymbol object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ManualTradeSymbol) GetBrokerageSymbolId ¶
func (o *ManualTradeSymbol) GetBrokerageSymbolId() string
GetBrokerageSymbolId returns the BrokerageSymbolId field value if set, zero value otherwise. Deprecated
func (*ManualTradeSymbol) GetBrokerageSymbolIdOk ¶
func (o *ManualTradeSymbol) GetBrokerageSymbolIdOk() (*string, bool)
GetBrokerageSymbolIdOk returns a tuple with the BrokerageSymbolId field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*ManualTradeSymbol) GetCurrency ¶
func (o *ManualTradeSymbol) GetCurrency() Currency
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*ManualTradeSymbol) GetCurrencyOk ¶
func (o *ManualTradeSymbol) GetCurrencyOk() (*Currency, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTradeSymbol) GetDescription ¶
func (o *ManualTradeSymbol) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null). Deprecated
func (*ManualTradeSymbol) GetDescriptionOk ¶
func (o *ManualTradeSymbol) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned Deprecated
func (*ManualTradeSymbol) GetLocalId ¶
func (o *ManualTradeSymbol) GetLocalId() string
GetLocalId returns the LocalId field value if set, zero value otherwise. Deprecated
func (*ManualTradeSymbol) GetLocalIdOk ¶
func (o *ManualTradeSymbol) GetLocalIdOk() (*string, bool)
GetLocalIdOk returns a tuple with the LocalId field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*ManualTradeSymbol) GetSymbol ¶
func (o *ManualTradeSymbol) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise. Deprecated
func (*ManualTradeSymbol) GetSymbolOk ¶
func (o *ManualTradeSymbol) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*ManualTradeSymbol) GetUniversalSymbolId ¶
func (o *ManualTradeSymbol) GetUniversalSymbolId() string
GetUniversalSymbolId returns the UniversalSymbolId field value if set, zero value otherwise.
func (*ManualTradeSymbol) GetUniversalSymbolIdOk ¶
func (o *ManualTradeSymbol) GetUniversalSymbolIdOk() (*string, bool)
GetUniversalSymbolIdOk returns a tuple with the UniversalSymbolId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ManualTradeSymbol) HasBrokerageSymbolId ¶
func (o *ManualTradeSymbol) HasBrokerageSymbolId() bool
HasBrokerageSymbolId returns a boolean if a field has been set.
func (*ManualTradeSymbol) HasCurrency ¶
func (o *ManualTradeSymbol) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*ManualTradeSymbol) HasDescription ¶
func (o *ManualTradeSymbol) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ManualTradeSymbol) HasLocalId ¶
func (o *ManualTradeSymbol) HasLocalId() bool
HasLocalId returns a boolean if a field has been set.
func (*ManualTradeSymbol) HasSymbol ¶
func (o *ManualTradeSymbol) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (*ManualTradeSymbol) HasUniversalSymbolId ¶
func (o *ManualTradeSymbol) HasUniversalSymbolId() bool
HasUniversalSymbolId returns a boolean if a field has been set.
func (ManualTradeSymbol) MarshalJSON ¶
func (o ManualTradeSymbol) MarshalJSON() ([]byte, error)
func (*ManualTradeSymbol) SetBrokerageSymbolId ¶
func (o *ManualTradeSymbol) SetBrokerageSymbolId(v string)
SetBrokerageSymbolId gets a reference to the given string and assigns it to the BrokerageSymbolId field. Deprecated
func (*ManualTradeSymbol) SetCurrency ¶
func (o *ManualTradeSymbol) SetCurrency(v Currency)
SetCurrency gets a reference to the given Currency and assigns it to the Currency field.
func (*ManualTradeSymbol) SetDescription ¶
func (o *ManualTradeSymbol) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field. Deprecated
func (*ManualTradeSymbol) SetDescriptionNil ¶
func (o *ManualTradeSymbol) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*ManualTradeSymbol) SetLocalId ¶
func (o *ManualTradeSymbol) SetLocalId(v string)
SetLocalId gets a reference to the given string and assigns it to the LocalId field. Deprecated
func (*ManualTradeSymbol) SetSymbol ¶
func (o *ManualTradeSymbol) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field. Deprecated
func (*ManualTradeSymbol) SetUniversalSymbolId ¶
func (o *ManualTradeSymbol) SetUniversalSymbolId(v string)
SetUniversalSymbolId gets a reference to the given string and assigns it to the UniversalSymbolId field.
func (*ManualTradeSymbol) UnmarshalJSON ¶
func (o *ManualTradeSymbol) UnmarshalJSON(bytes []byte) (err error)
func (*ManualTradeSymbol) UnsetDescription ¶
func (o *ManualTradeSymbol) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
type MlegActionStrict ¶ added in v1.0.68
type MlegActionStrict string
MlegActionStrict The action describes the intent and side of a trade. For equities, this is either `BUY` or `SELL`. For options, this is one of `BUY_TO_OPEN`, `BUY_TO_CLOSE`, `SELL_TO_OPEN`, `SELL_TO_CLOSE`.
const ( MLEGACTIONSTRICT_BUY MlegActionStrict = "BUY" MLEGACTIONSTRICT_SELL MlegActionStrict = "SELL" MLEGACTIONSTRICT_BUY_TO_OPEN MlegActionStrict = "BUY_TO_OPEN" MLEGACTIONSTRICT_BUY_TO_CLOSE MlegActionStrict = "BUY_TO_CLOSE" MLEGACTIONSTRICT_SELL_TO_OPEN MlegActionStrict = "SELL_TO_OPEN" MLEGACTIONSTRICT_SELL_TO_CLOSE MlegActionStrict = "SELL_TO_CLOSE" )
List of MlegActionStrict
func NewMlegActionStrictFromValue ¶ added in v1.0.68
func NewMlegActionStrictFromValue(v string) (*MlegActionStrict, error)
NewMlegActionStrictFromValue returns a pointer to a valid MlegActionStrict for the value passed as argument, or an error if the value passed is not allowed by the enum
func (MlegActionStrict) IsValid ¶ added in v1.0.68
func (v MlegActionStrict) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (MlegActionStrict) Ptr ¶ added in v1.0.68
func (v MlegActionStrict) Ptr() *MlegActionStrict
Ptr returns reference to MlegActionStrict value
func (*MlegActionStrict) UnmarshalJSON ¶ added in v1.0.68
func (v *MlegActionStrict) UnmarshalJSON(src []byte) error
type MlegInstrumentType ¶ added in v1.0.70
type MlegInstrumentType string
MlegInstrumentType The instrument's type
const ( MLEGINSTRUMENTTYPE_OPTION MlegInstrumentType = "OPTION" MLEGINSTRUMENTTYPE_EQUITY MlegInstrumentType = "EQUITY" )
List of MlegInstrumentType
func NewMlegInstrumentTypeFromValue ¶ added in v1.0.70
func NewMlegInstrumentTypeFromValue(v string) (*MlegInstrumentType, error)
NewMlegInstrumentTypeFromValue returns a pointer to a valid MlegInstrumentType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (MlegInstrumentType) IsValid ¶ added in v1.0.70
func (v MlegInstrumentType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (MlegInstrumentType) Ptr ¶ added in v1.0.70
func (v MlegInstrumentType) Ptr() *MlegInstrumentType
Ptr returns reference to MlegInstrumentType value
func (*MlegInstrumentType) UnmarshalJSON ¶ added in v1.0.70
func (v *MlegInstrumentType) UnmarshalJSON(src []byte) error
type MlegLeg ¶ added in v1.0.68
type MlegLeg struct {
Instrument MlegTradingInstrument `json:"instrument"`
Action MlegActionStrict `json:"action"`
// The quantity to trade. For options this represents the number of contracts. For equity this represents the number of shares.
Units int32 `json:"units"`
AdditionalProperties map[string]interface{}
}
MlegLeg struct for MlegLeg
func NewMlegLeg ¶ added in v1.0.68
func NewMlegLeg(instrument MlegTradingInstrument, action MlegActionStrict, units int32) *MlegLeg
NewMlegLeg instantiates a new MlegLeg object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMlegLegWithDefaults ¶ added in v1.0.68
func NewMlegLegWithDefaults() *MlegLeg
NewMlegLegWithDefaults instantiates a new MlegLeg object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MlegLeg) GetAction ¶ added in v1.0.68
func (o *MlegLeg) GetAction() MlegActionStrict
GetAction returns the Action field value
func (*MlegLeg) GetActionOk ¶ added in v1.0.68
func (o *MlegLeg) GetActionOk() (*MlegActionStrict, bool)
GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.
func (*MlegLeg) GetInstrument ¶ added in v1.0.68
func (o *MlegLeg) GetInstrument() MlegTradingInstrument
GetInstrument returns the Instrument field value
func (*MlegLeg) GetInstrumentOk ¶ added in v1.0.68
func (o *MlegLeg) GetInstrumentOk() (*MlegTradingInstrument, bool)
GetInstrumentOk returns a tuple with the Instrument field value and a boolean to check if the value has been set.
func (*MlegLeg) GetUnitsOk ¶ added in v1.0.68
GetUnitsOk returns a tuple with the Units field value and a boolean to check if the value has been set.
func (MlegLeg) MarshalJSON ¶ added in v1.0.68
func (*MlegLeg) SetAction ¶ added in v1.0.68
func (o *MlegLeg) SetAction(v MlegActionStrict)
SetAction sets field value
func (*MlegLeg) SetInstrument ¶ added in v1.0.68
func (o *MlegLeg) SetInstrument(v MlegTradingInstrument)
SetInstrument sets field value
func (*MlegLeg) UnmarshalJSON ¶ added in v1.0.68
type MlegOrderResponse ¶ added in v1.0.68
type MlegOrderResponse struct {
// Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
BrokerageOrderId string `json:"brokerage_order_id"`
Orders []AccountOrderRecord `json:"orders"`
AdditionalProperties map[string]interface{}
}
MlegOrderResponse struct for MlegOrderResponse
func NewMlegOrderResponse ¶ added in v1.0.68
func NewMlegOrderResponse(brokerageOrderId string, orders []AccountOrderRecord) *MlegOrderResponse
NewMlegOrderResponse instantiates a new MlegOrderResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMlegOrderResponseWithDefaults ¶ added in v1.0.68
func NewMlegOrderResponseWithDefaults() *MlegOrderResponse
NewMlegOrderResponseWithDefaults instantiates a new MlegOrderResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MlegOrderResponse) GetBrokerageOrderId ¶ added in v1.0.68
func (o *MlegOrderResponse) GetBrokerageOrderId() string
GetBrokerageOrderId returns the BrokerageOrderId field value
func (*MlegOrderResponse) GetBrokerageOrderIdOk ¶ added in v1.0.68
func (o *MlegOrderResponse) GetBrokerageOrderIdOk() (*string, bool)
GetBrokerageOrderIdOk returns a tuple with the BrokerageOrderId field value and a boolean to check if the value has been set.
func (*MlegOrderResponse) GetOrders ¶ added in v1.0.68
func (o *MlegOrderResponse) GetOrders() []AccountOrderRecord
GetOrders returns the Orders field value
func (*MlegOrderResponse) GetOrdersOk ¶ added in v1.0.68
func (o *MlegOrderResponse) GetOrdersOk() ([]AccountOrderRecord, bool)
GetOrdersOk returns a tuple with the Orders field value and a boolean to check if the value has been set.
func (MlegOrderResponse) MarshalJSON ¶ added in v1.0.68
func (o MlegOrderResponse) MarshalJSON() ([]byte, error)
func (*MlegOrderResponse) SetBrokerageOrderId ¶ added in v1.0.68
func (o *MlegOrderResponse) SetBrokerageOrderId(v string)
SetBrokerageOrderId sets field value
func (*MlegOrderResponse) SetOrders ¶ added in v1.0.68
func (o *MlegOrderResponse) SetOrders(v []AccountOrderRecord)
SetOrders sets field value
func (*MlegOrderResponse) UnmarshalJSON ¶ added in v1.0.68
func (o *MlegOrderResponse) UnmarshalJSON(bytes []byte) (err error)
type MlegOrderTypeStrict ¶ added in v1.0.69
type MlegOrderTypeStrict string
MlegOrderTypeStrict The type of order to place.
const ( MLEGORDERTYPESTRICT_MARKET MlegOrderTypeStrict = "MARKET" MLEGORDERTYPESTRICT_LIMIT MlegOrderTypeStrict = "LIMIT" MLEGORDERTYPESTRICT_STOP_LOSS_MARKET MlegOrderTypeStrict = "STOP_LOSS_MARKET" MLEGORDERTYPESTRICT_STOP_LOSS_LIMIT MlegOrderTypeStrict = "STOP_LOSS_LIMIT" )
List of MlegOrderTypeStrict
func NewMlegOrderTypeStrictFromValue ¶ added in v1.0.69
func NewMlegOrderTypeStrictFromValue(v string) (*MlegOrderTypeStrict, error)
NewMlegOrderTypeStrictFromValue returns a pointer to a valid MlegOrderTypeStrict for the value passed as argument, or an error if the value passed is not allowed by the enum
func (MlegOrderTypeStrict) IsValid ¶ added in v1.0.69
func (v MlegOrderTypeStrict) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (MlegOrderTypeStrict) Ptr ¶ added in v1.0.69
func (v MlegOrderTypeStrict) Ptr() *MlegOrderTypeStrict
Ptr returns reference to MlegOrderTypeStrict value
func (*MlegOrderTypeStrict) UnmarshalJSON ¶ added in v1.0.69
func (v *MlegOrderTypeStrict) UnmarshalJSON(src []byte) error
type MlegPriceEffectStrict ¶ added in v1.0.88
type MlegPriceEffectStrict string
MlegPriceEffectStrict The desired price_effect for LIMIT and STOP_LOSS_LIMIT orders
const ( MLEGPRICEEFFECTSTRICT_CREDIT MlegPriceEffectStrict = "CREDIT" MLEGPRICEEFFECTSTRICT_DEBIT MlegPriceEffectStrict = "DEBIT" MLEGPRICEEFFECTSTRICT_EVEN MlegPriceEffectStrict = "EVEN" )
List of MlegPriceEffectStrict
func NewMlegPriceEffectStrictFromValue ¶ added in v1.0.88
func NewMlegPriceEffectStrictFromValue(v string) (*MlegPriceEffectStrict, error)
NewMlegPriceEffectStrictFromValue returns a pointer to a valid MlegPriceEffectStrict for the value passed as argument, or an error if the value passed is not allowed by the enum
func (MlegPriceEffectStrict) IsValid ¶ added in v1.0.88
func (v MlegPriceEffectStrict) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (MlegPriceEffectStrict) Ptr ¶ added in v1.0.88
func (v MlegPriceEffectStrict) Ptr() *MlegPriceEffectStrict
Ptr returns reference to MlegPriceEffectStrict value
func (*MlegPriceEffectStrict) UnmarshalJSON ¶ added in v1.0.88
func (v *MlegPriceEffectStrict) UnmarshalJSON(src []byte) error
type MlegTradeForm ¶ added in v1.0.71
type MlegTradeForm struct {
OrderType MlegOrderTypeStrict `json:"order_type"`
TimeInForce TimeInForceStrict `json:"time_in_force"`
// The limit price. Required if the order type is LIMIT, STOP_LOSS_LIMIT.
LimitPrice NullableFloat64 `json:"limit_price,omitempty"`
// The stop price. Required if the order type is STOP_LOSS_MARKET, STOP_LOSS_LIMIT.
StopPrice NullableFloat64 `json:"stop_price,omitempty"`
PriceEffect NullableMlegPriceEffectStrict `json:"price_effect,omitempty"`
Legs []MlegLeg `json:"legs"`
}
MlegTradeForm Inputs for placing a multi-leg order with the brokerage.
func NewMlegTradeForm ¶ added in v1.0.71
func NewMlegTradeForm(orderType MlegOrderTypeStrict, timeInForce TimeInForceStrict, legs []MlegLeg) *MlegTradeForm
NewMlegTradeForm instantiates a new MlegTradeForm object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMlegTradeFormWithDefaults ¶ added in v1.0.71
func NewMlegTradeFormWithDefaults() *MlegTradeForm
NewMlegTradeFormWithDefaults instantiates a new MlegTradeForm object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MlegTradeForm) GetLegs ¶ added in v1.0.71
func (o *MlegTradeForm) GetLegs() []MlegLeg
GetLegs returns the Legs field value
func (*MlegTradeForm) GetLegsOk ¶ added in v1.0.71
func (o *MlegTradeForm) GetLegsOk() ([]MlegLeg, bool)
GetLegsOk returns a tuple with the Legs field value and a boolean to check if the value has been set.
func (*MlegTradeForm) GetLimitPrice ¶ added in v1.0.71
func (o *MlegTradeForm) GetLimitPrice() float64
GetLimitPrice returns the LimitPrice field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MlegTradeForm) GetLimitPriceOk ¶ added in v1.0.71
func (o *MlegTradeForm) GetLimitPriceOk() (*float64, bool)
GetLimitPriceOk returns a tuple with the LimitPrice field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MlegTradeForm) GetOrderType ¶ added in v1.0.71
func (o *MlegTradeForm) GetOrderType() MlegOrderTypeStrict
GetOrderType returns the OrderType field value
func (*MlegTradeForm) GetOrderTypeOk ¶ added in v1.0.71
func (o *MlegTradeForm) GetOrderTypeOk() (*MlegOrderTypeStrict, bool)
GetOrderTypeOk returns a tuple with the OrderType field value and a boolean to check if the value has been set.
func (*MlegTradeForm) GetPriceEffect ¶ added in v1.0.77
func (o *MlegTradeForm) GetPriceEffect() MlegPriceEffectStrict
GetPriceEffect returns the PriceEffect field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MlegTradeForm) GetPriceEffectOk ¶ added in v1.0.77
func (o *MlegTradeForm) GetPriceEffectOk() (*MlegPriceEffectStrict, bool)
GetPriceEffectOk returns a tuple with the PriceEffect field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MlegTradeForm) GetStopPrice ¶ added in v1.0.71
func (o *MlegTradeForm) GetStopPrice() float64
GetStopPrice returns the StopPrice field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MlegTradeForm) GetStopPriceOk ¶ added in v1.0.71
func (o *MlegTradeForm) GetStopPriceOk() (*float64, bool)
GetStopPriceOk returns a tuple with the StopPrice field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MlegTradeForm) GetTimeInForce ¶ added in v1.0.71
func (o *MlegTradeForm) GetTimeInForce() TimeInForceStrict
GetTimeInForce returns the TimeInForce field value
func (*MlegTradeForm) GetTimeInForceOk ¶ added in v1.0.71
func (o *MlegTradeForm) GetTimeInForceOk() (*TimeInForceStrict, bool)
GetTimeInForceOk returns a tuple with the TimeInForce field value and a boolean to check if the value has been set.
func (*MlegTradeForm) HasLimitPrice ¶ added in v1.0.71
func (o *MlegTradeForm) HasLimitPrice() bool
HasLimitPrice returns a boolean if a field has been set.
func (*MlegTradeForm) HasPriceEffect ¶ added in v1.0.77
func (o *MlegTradeForm) HasPriceEffect() bool
HasPriceEffect returns a boolean if a field has been set.
func (*MlegTradeForm) HasStopPrice ¶ added in v1.0.71
func (o *MlegTradeForm) HasStopPrice() bool
HasStopPrice returns a boolean if a field has been set.
func (MlegTradeForm) MarshalJSON ¶ added in v1.0.71
func (o MlegTradeForm) MarshalJSON() ([]byte, error)
func (*MlegTradeForm) SetLegs ¶ added in v1.0.71
func (o *MlegTradeForm) SetLegs(v []MlegLeg)
SetLegs sets field value
func (*MlegTradeForm) SetLimitPrice ¶ added in v1.0.71
func (o *MlegTradeForm) SetLimitPrice(v float64)
SetLimitPrice gets a reference to the given NullableFloat64 and assigns it to the LimitPrice field.
func (*MlegTradeForm) SetLimitPriceNil ¶ added in v1.0.71
func (o *MlegTradeForm) SetLimitPriceNil()
SetLimitPriceNil sets the value for LimitPrice to be an explicit nil
func (*MlegTradeForm) SetOrderType ¶ added in v1.0.71
func (o *MlegTradeForm) SetOrderType(v MlegOrderTypeStrict)
SetOrderType sets field value
func (*MlegTradeForm) SetPriceEffect ¶ added in v1.0.77
func (o *MlegTradeForm) SetPriceEffect(v MlegPriceEffectStrict)
SetPriceEffect gets a reference to the given NullableMlegPriceEffectStrict and assigns it to the PriceEffect field.
func (*MlegTradeForm) SetPriceEffectNil ¶ added in v1.0.77
func (o *MlegTradeForm) SetPriceEffectNil()
SetPriceEffectNil sets the value for PriceEffect to be an explicit nil
func (*MlegTradeForm) SetStopPrice ¶ added in v1.0.71
func (o *MlegTradeForm) SetStopPrice(v float64)
SetStopPrice gets a reference to the given NullableFloat64 and assigns it to the StopPrice field.
func (*MlegTradeForm) SetStopPriceNil ¶ added in v1.0.71
func (o *MlegTradeForm) SetStopPriceNil()
SetStopPriceNil sets the value for StopPrice to be an explicit nil
func (*MlegTradeForm) SetTimeInForce ¶ added in v1.0.71
func (o *MlegTradeForm) SetTimeInForce(v TimeInForceStrict)
SetTimeInForce sets field value
func (*MlegTradeForm) UnsetLimitPrice ¶ added in v1.0.71
func (o *MlegTradeForm) UnsetLimitPrice()
UnsetLimitPrice ensures that no value is present for LimitPrice, not even an explicit nil
func (*MlegTradeForm) UnsetPriceEffect ¶ added in v1.0.77
func (o *MlegTradeForm) UnsetPriceEffect()
UnsetPriceEffect ensures that no value is present for PriceEffect, not even an explicit nil
func (*MlegTradeForm) UnsetStopPrice ¶ added in v1.0.71
func (o *MlegTradeForm) UnsetStopPrice()
UnsetStopPrice ensures that no value is present for StopPrice, not even an explicit nil
type MlegTradingInstrument ¶ added in v1.0.68
type MlegTradingInstrument struct {
// The security's trading ticker symbol. This currently supports stock symbols and Options symbols in the 21 character OCC format. For example `AAPL 131124C00240000` represents a call option on AAPL expiring on 2024-11-13 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format)
Symbol string `json:"symbol"`
InstrumentType MlegInstrumentType `json:"instrument_type"`
AdditionalProperties map[string]interface{}
}
MlegTradingInstrument struct for MlegTradingInstrument
func NewMlegTradingInstrument ¶ added in v1.0.68
func NewMlegTradingInstrument(symbol string, instrumentType MlegInstrumentType) *MlegTradingInstrument
NewMlegTradingInstrument instantiates a new MlegTradingInstrument object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMlegTradingInstrumentWithDefaults ¶ added in v1.0.68
func NewMlegTradingInstrumentWithDefaults() *MlegTradingInstrument
NewMlegTradingInstrumentWithDefaults instantiates a new MlegTradingInstrument object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MlegTradingInstrument) GetInstrumentType ¶ added in v1.0.70
func (o *MlegTradingInstrument) GetInstrumentType() MlegInstrumentType
GetInstrumentType returns the InstrumentType field value
func (*MlegTradingInstrument) GetInstrumentTypeOk ¶ added in v1.0.70
func (o *MlegTradingInstrument) GetInstrumentTypeOk() (*MlegInstrumentType, bool)
GetInstrumentTypeOk returns a tuple with the InstrumentType field value and a boolean to check if the value has been set.
func (*MlegTradingInstrument) GetSymbol ¶ added in v1.0.68
func (o *MlegTradingInstrument) GetSymbol() string
GetSymbol returns the Symbol field value
func (*MlegTradingInstrument) GetSymbolOk ¶ added in v1.0.68
func (o *MlegTradingInstrument) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field value and a boolean to check if the value has been set.
func (MlegTradingInstrument) MarshalJSON ¶ added in v1.0.68
func (o MlegTradingInstrument) MarshalJSON() ([]byte, error)
func (*MlegTradingInstrument) SetInstrumentType ¶ added in v1.0.70
func (o *MlegTradingInstrument) SetInstrumentType(v MlegInstrumentType)
SetInstrumentType sets field value
func (*MlegTradingInstrument) SetSymbol ¶ added in v1.0.68
func (o *MlegTradingInstrument) SetSymbol(v string)
SetSymbol sets field value
func (*MlegTradingInstrument) UnmarshalJSON ¶ added in v1.0.68
func (o *MlegTradingInstrument) UnmarshalJSON(bytes []byte) (err error)
type Model400FailedRequestResponse ¶
type Model400FailedRequestResponse struct {
DefaultDetail interface{} `json:"default_detail,omitempty"`
DefaultCode interface{} `json:"default_code,omitempty"`
AdditionalProperties map[string]interface{}
}
Model400FailedRequestResponse Example for failed request response
func NewModel400FailedRequestResponse ¶
func NewModel400FailedRequestResponse() *Model400FailedRequestResponse
NewModel400FailedRequestResponse instantiates a new Model400FailedRequestResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewModel400FailedRequestResponseWithDefaults ¶
func NewModel400FailedRequestResponseWithDefaults() *Model400FailedRequestResponse
NewModel400FailedRequestResponseWithDefaults instantiates a new Model400FailedRequestResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Model400FailedRequestResponse) GetDefaultCode ¶
func (o *Model400FailedRequestResponse) GetDefaultCode() interface{}
GetDefaultCode returns the DefaultCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model400FailedRequestResponse) GetDefaultCodeOk ¶
func (o *Model400FailedRequestResponse) GetDefaultCodeOk() (*interface{}, bool)
GetDefaultCodeOk returns a tuple with the DefaultCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model400FailedRequestResponse) GetDefaultDetail ¶
func (o *Model400FailedRequestResponse) GetDefaultDetail() interface{}
GetDefaultDetail returns the DefaultDetail field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model400FailedRequestResponse) GetDefaultDetailOk ¶
func (o *Model400FailedRequestResponse) GetDefaultDetailOk() (*interface{}, bool)
GetDefaultDetailOk returns a tuple with the DefaultDetail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model400FailedRequestResponse) HasDefaultCode ¶
func (o *Model400FailedRequestResponse) HasDefaultCode() bool
HasDefaultCode returns a boolean if a field has been set.
func (*Model400FailedRequestResponse) HasDefaultDetail ¶
func (o *Model400FailedRequestResponse) HasDefaultDetail() bool
HasDefaultDetail returns a boolean if a field has been set.
func (Model400FailedRequestResponse) MarshalJSON ¶
func (o Model400FailedRequestResponse) MarshalJSON() ([]byte, error)
func (*Model400FailedRequestResponse) SetDefaultCode ¶
func (o *Model400FailedRequestResponse) SetDefaultCode(v interface{})
SetDefaultCode gets a reference to the given interface{} and assigns it to the DefaultCode field.
func (*Model400FailedRequestResponse) SetDefaultDetail ¶
func (o *Model400FailedRequestResponse) SetDefaultDetail(v interface{})
SetDefaultDetail gets a reference to the given interface{} and assigns it to the DefaultDetail field.
func (*Model400FailedRequestResponse) UnmarshalJSON ¶
func (o *Model400FailedRequestResponse) UnmarshalJSON(bytes []byte) (err error)
type Model401FailedRequestResponse ¶
type Model401FailedRequestResponse struct {
DefaultDetail interface{} `json:"default_detail,omitempty"`
DefaultCode interface{} `json:"default_code,omitempty"`
AdditionalProperties map[string]interface{}
}
Model401FailedRequestResponse Example for failed request response
func NewModel401FailedRequestResponse ¶
func NewModel401FailedRequestResponse() *Model401FailedRequestResponse
NewModel401FailedRequestResponse instantiates a new Model401FailedRequestResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewModel401FailedRequestResponseWithDefaults ¶
func NewModel401FailedRequestResponseWithDefaults() *Model401FailedRequestResponse
NewModel401FailedRequestResponseWithDefaults instantiates a new Model401FailedRequestResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Model401FailedRequestResponse) GetDefaultCode ¶
func (o *Model401FailedRequestResponse) GetDefaultCode() interface{}
GetDefaultCode returns the DefaultCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model401FailedRequestResponse) GetDefaultCodeOk ¶
func (o *Model401FailedRequestResponse) GetDefaultCodeOk() (*interface{}, bool)
GetDefaultCodeOk returns a tuple with the DefaultCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model401FailedRequestResponse) GetDefaultDetail ¶
func (o *Model401FailedRequestResponse) GetDefaultDetail() interface{}
GetDefaultDetail returns the DefaultDetail field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model401FailedRequestResponse) GetDefaultDetailOk ¶
func (o *Model401FailedRequestResponse) GetDefaultDetailOk() (*interface{}, bool)
GetDefaultDetailOk returns a tuple with the DefaultDetail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model401FailedRequestResponse) HasDefaultCode ¶
func (o *Model401FailedRequestResponse) HasDefaultCode() bool
HasDefaultCode returns a boolean if a field has been set.
func (*Model401FailedRequestResponse) HasDefaultDetail ¶
func (o *Model401FailedRequestResponse) HasDefaultDetail() bool
HasDefaultDetail returns a boolean if a field has been set.
func (Model401FailedRequestResponse) MarshalJSON ¶
func (o Model401FailedRequestResponse) MarshalJSON() ([]byte, error)
func (*Model401FailedRequestResponse) SetDefaultCode ¶
func (o *Model401FailedRequestResponse) SetDefaultCode(v interface{})
SetDefaultCode gets a reference to the given interface{} and assigns it to the DefaultCode field.
func (*Model401FailedRequestResponse) SetDefaultDetail ¶
func (o *Model401FailedRequestResponse) SetDefaultDetail(v interface{})
SetDefaultDetail gets a reference to the given interface{} and assigns it to the DefaultDetail field.
func (*Model401FailedRequestResponse) UnmarshalJSON ¶
func (o *Model401FailedRequestResponse) UnmarshalJSON(bytes []byte) (err error)
type Model402BrokerageAuthAlreadyDisabledException ¶
type Model402BrokerageAuthAlreadyDisabledException struct {
Detail interface{} `json:"detail,omitempty"`
Code interface{} `json:"code,omitempty"`
AdditionalProperties map[string]interface{}
}
Model402BrokerageAuthAlreadyDisabledException This connection is already disabled.
func NewModel402BrokerageAuthAlreadyDisabledException ¶
func NewModel402BrokerageAuthAlreadyDisabledException() *Model402BrokerageAuthAlreadyDisabledException
NewModel402BrokerageAuthAlreadyDisabledException instantiates a new Model402BrokerageAuthAlreadyDisabledException object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewModel402BrokerageAuthAlreadyDisabledExceptionWithDefaults ¶
func NewModel402BrokerageAuthAlreadyDisabledExceptionWithDefaults() *Model402BrokerageAuthAlreadyDisabledException
NewModel402BrokerageAuthAlreadyDisabledExceptionWithDefaults instantiates a new Model402BrokerageAuthAlreadyDisabledException object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Model402BrokerageAuthAlreadyDisabledException) GetCode ¶
func (o *Model402BrokerageAuthAlreadyDisabledException) GetCode() interface{}
GetCode returns the Code field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model402BrokerageAuthAlreadyDisabledException) GetCodeOk ¶
func (o *Model402BrokerageAuthAlreadyDisabledException) GetCodeOk() (*interface{}, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model402BrokerageAuthAlreadyDisabledException) GetDetail ¶
func (o *Model402BrokerageAuthAlreadyDisabledException) GetDetail() interface{}
GetDetail returns the Detail field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model402BrokerageAuthAlreadyDisabledException) GetDetailOk ¶
func (o *Model402BrokerageAuthAlreadyDisabledException) GetDetailOk() (*interface{}, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model402BrokerageAuthAlreadyDisabledException) HasCode ¶
func (o *Model402BrokerageAuthAlreadyDisabledException) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*Model402BrokerageAuthAlreadyDisabledException) HasDetail ¶
func (o *Model402BrokerageAuthAlreadyDisabledException) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (Model402BrokerageAuthAlreadyDisabledException) MarshalJSON ¶
func (o Model402BrokerageAuthAlreadyDisabledException) MarshalJSON() ([]byte, error)
func (*Model402BrokerageAuthAlreadyDisabledException) SetCode ¶
func (o *Model402BrokerageAuthAlreadyDisabledException) SetCode(v interface{})
SetCode gets a reference to the given interface{} and assigns it to the Code field.
func (*Model402BrokerageAuthAlreadyDisabledException) SetDetail ¶
func (o *Model402BrokerageAuthAlreadyDisabledException) SetDetail(v interface{})
SetDetail gets a reference to the given interface{} and assigns it to the Detail field.
func (*Model402BrokerageAuthAlreadyDisabledException) UnmarshalJSON ¶
func (o *Model402BrokerageAuthAlreadyDisabledException) UnmarshalJSON(bytes []byte) (err error)
type Model402BrokerageAuthDisabledResponse ¶
type Model402BrokerageAuthDisabledResponse struct {
Detail interface{} `json:"detail,omitempty"`
Code interface{} `json:"code,omitempty"`
AdditionalProperties map[string]interface{}
}
Model402BrokerageAuthDisabledResponse Cannot perform action because connection is disabled
func NewModel402BrokerageAuthDisabledResponse ¶
func NewModel402BrokerageAuthDisabledResponse() *Model402BrokerageAuthDisabledResponse
NewModel402BrokerageAuthDisabledResponse instantiates a new Model402BrokerageAuthDisabledResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewModel402BrokerageAuthDisabledResponseWithDefaults ¶
func NewModel402BrokerageAuthDisabledResponseWithDefaults() *Model402BrokerageAuthDisabledResponse
NewModel402BrokerageAuthDisabledResponseWithDefaults instantiates a new Model402BrokerageAuthDisabledResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Model402BrokerageAuthDisabledResponse) GetCode ¶
func (o *Model402BrokerageAuthDisabledResponse) GetCode() interface{}
GetCode returns the Code field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model402BrokerageAuthDisabledResponse) GetCodeOk ¶
func (o *Model402BrokerageAuthDisabledResponse) GetCodeOk() (*interface{}, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model402BrokerageAuthDisabledResponse) GetDetail ¶
func (o *Model402BrokerageAuthDisabledResponse) GetDetail() interface{}
GetDetail returns the Detail field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model402BrokerageAuthDisabledResponse) GetDetailOk ¶
func (o *Model402BrokerageAuthDisabledResponse) GetDetailOk() (*interface{}, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model402BrokerageAuthDisabledResponse) HasCode ¶
func (o *Model402BrokerageAuthDisabledResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*Model402BrokerageAuthDisabledResponse) HasDetail ¶
func (o *Model402BrokerageAuthDisabledResponse) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (Model402BrokerageAuthDisabledResponse) MarshalJSON ¶
func (o Model402BrokerageAuthDisabledResponse) MarshalJSON() ([]byte, error)
func (*Model402BrokerageAuthDisabledResponse) SetCode ¶
func (o *Model402BrokerageAuthDisabledResponse) SetCode(v interface{})
SetCode gets a reference to the given interface{} and assigns it to the Code field.
func (*Model402BrokerageAuthDisabledResponse) SetDetail ¶
func (o *Model402BrokerageAuthDisabledResponse) SetDetail(v interface{})
SetDetail gets a reference to the given interface{} and assigns it to the Detail field.
func (*Model402BrokerageAuthDisabledResponse) UnmarshalJSON ¶
func (o *Model402BrokerageAuthDisabledResponse) UnmarshalJSON(bytes []byte) (err error)
type Model403FailedRequestResponse ¶
type Model403FailedRequestResponse struct {
DefaultDetail interface{} `json:"default_detail,omitempty"`
DefaultCode interface{} `json:"default_code,omitempty"`
AdditionalProperties map[string]interface{}
}
Model403FailedRequestResponse Example for failed request response
func NewModel403FailedRequestResponse ¶
func NewModel403FailedRequestResponse() *Model403FailedRequestResponse
NewModel403FailedRequestResponse instantiates a new Model403FailedRequestResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewModel403FailedRequestResponseWithDefaults ¶
func NewModel403FailedRequestResponseWithDefaults() *Model403FailedRequestResponse
NewModel403FailedRequestResponseWithDefaults instantiates a new Model403FailedRequestResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Model403FailedRequestResponse) GetDefaultCode ¶
func (o *Model403FailedRequestResponse) GetDefaultCode() interface{}
GetDefaultCode returns the DefaultCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model403FailedRequestResponse) GetDefaultCodeOk ¶
func (o *Model403FailedRequestResponse) GetDefaultCodeOk() (*interface{}, bool)
GetDefaultCodeOk returns a tuple with the DefaultCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model403FailedRequestResponse) GetDefaultDetail ¶
func (o *Model403FailedRequestResponse) GetDefaultDetail() interface{}
GetDefaultDetail returns the DefaultDetail field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model403FailedRequestResponse) GetDefaultDetailOk ¶
func (o *Model403FailedRequestResponse) GetDefaultDetailOk() (*interface{}, bool)
GetDefaultDetailOk returns a tuple with the DefaultDetail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model403FailedRequestResponse) HasDefaultCode ¶
func (o *Model403FailedRequestResponse) HasDefaultCode() bool
HasDefaultCode returns a boolean if a field has been set.
func (*Model403FailedRequestResponse) HasDefaultDetail ¶
func (o *Model403FailedRequestResponse) HasDefaultDetail() bool
HasDefaultDetail returns a boolean if a field has been set.
func (Model403FailedRequestResponse) MarshalJSON ¶
func (o Model403FailedRequestResponse) MarshalJSON() ([]byte, error)
func (*Model403FailedRequestResponse) SetDefaultCode ¶
func (o *Model403FailedRequestResponse) SetDefaultCode(v interface{})
SetDefaultCode gets a reference to the given interface{} and assigns it to the DefaultCode field.
func (*Model403FailedRequestResponse) SetDefaultDetail ¶
func (o *Model403FailedRequestResponse) SetDefaultDetail(v interface{})
SetDefaultDetail gets a reference to the given interface{} and assigns it to the DefaultDetail field.
func (*Model403FailedRequestResponse) UnmarshalJSON ¶
func (o *Model403FailedRequestResponse) UnmarshalJSON(bytes []byte) (err error)
type Model403FeatureNotEnabledResponse ¶
type Model403FeatureNotEnabledResponse struct {
Detail interface{} `json:"detail,omitempty"`
DefaultCode interface{} `json:"default_code,omitempty"`
AdditionalProperties map[string]interface{}
}
Model403FeatureNotEnabledResponse Example for failed request response
func NewModel403FeatureNotEnabledResponse ¶
func NewModel403FeatureNotEnabledResponse() *Model403FeatureNotEnabledResponse
NewModel403FeatureNotEnabledResponse instantiates a new Model403FeatureNotEnabledResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewModel403FeatureNotEnabledResponseWithDefaults ¶
func NewModel403FeatureNotEnabledResponseWithDefaults() *Model403FeatureNotEnabledResponse
NewModel403FeatureNotEnabledResponseWithDefaults instantiates a new Model403FeatureNotEnabledResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Model403FeatureNotEnabledResponse) GetDefaultCode ¶
func (o *Model403FeatureNotEnabledResponse) GetDefaultCode() interface{}
GetDefaultCode returns the DefaultCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model403FeatureNotEnabledResponse) GetDefaultCodeOk ¶
func (o *Model403FeatureNotEnabledResponse) GetDefaultCodeOk() (*interface{}, bool)
GetDefaultCodeOk returns a tuple with the DefaultCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model403FeatureNotEnabledResponse) GetDetail ¶
func (o *Model403FeatureNotEnabledResponse) GetDetail() interface{}
GetDetail returns the Detail field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model403FeatureNotEnabledResponse) GetDetailOk ¶
func (o *Model403FeatureNotEnabledResponse) GetDetailOk() (*interface{}, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model403FeatureNotEnabledResponse) HasDefaultCode ¶
func (o *Model403FeatureNotEnabledResponse) HasDefaultCode() bool
HasDefaultCode returns a boolean if a field has been set.
func (*Model403FeatureNotEnabledResponse) HasDetail ¶
func (o *Model403FeatureNotEnabledResponse) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (Model403FeatureNotEnabledResponse) MarshalJSON ¶
func (o Model403FeatureNotEnabledResponse) MarshalJSON() ([]byte, error)
func (*Model403FeatureNotEnabledResponse) SetDefaultCode ¶
func (o *Model403FeatureNotEnabledResponse) SetDefaultCode(v interface{})
SetDefaultCode gets a reference to the given interface{} and assigns it to the DefaultCode field.
func (*Model403FeatureNotEnabledResponse) SetDetail ¶
func (o *Model403FeatureNotEnabledResponse) SetDetail(v interface{})
SetDetail gets a reference to the given interface{} and assigns it to the Detail field.
func (*Model403FeatureNotEnabledResponse) UnmarshalJSON ¶
func (o *Model403FeatureNotEnabledResponse) UnmarshalJSON(bytes []byte) (err error)
type Model404FailedRequestResponse ¶
type Model404FailedRequestResponse struct {
DefaultDetail interface{} `json:"default_detail,omitempty"`
DefaultCode interface{} `json:"default_code,omitempty"`
AdditionalProperties map[string]interface{}
}
Model404FailedRequestResponse Example for failed request response
func NewModel404FailedRequestResponse ¶
func NewModel404FailedRequestResponse() *Model404FailedRequestResponse
NewModel404FailedRequestResponse instantiates a new Model404FailedRequestResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewModel404FailedRequestResponseWithDefaults ¶
func NewModel404FailedRequestResponseWithDefaults() *Model404FailedRequestResponse
NewModel404FailedRequestResponseWithDefaults instantiates a new Model404FailedRequestResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Model404FailedRequestResponse) GetDefaultCode ¶
func (o *Model404FailedRequestResponse) GetDefaultCode() interface{}
GetDefaultCode returns the DefaultCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model404FailedRequestResponse) GetDefaultCodeOk ¶
func (o *Model404FailedRequestResponse) GetDefaultCodeOk() (*interface{}, bool)
GetDefaultCodeOk returns a tuple with the DefaultCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model404FailedRequestResponse) GetDefaultDetail ¶
func (o *Model404FailedRequestResponse) GetDefaultDetail() interface{}
GetDefaultDetail returns the DefaultDetail field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model404FailedRequestResponse) GetDefaultDetailOk ¶
func (o *Model404FailedRequestResponse) GetDefaultDetailOk() (*interface{}, bool)
GetDefaultDetailOk returns a tuple with the DefaultDetail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model404FailedRequestResponse) HasDefaultCode ¶
func (o *Model404FailedRequestResponse) HasDefaultCode() bool
HasDefaultCode returns a boolean if a field has been set.
func (*Model404FailedRequestResponse) HasDefaultDetail ¶
func (o *Model404FailedRequestResponse) HasDefaultDetail() bool
HasDefaultDetail returns a boolean if a field has been set.
func (Model404FailedRequestResponse) MarshalJSON ¶
func (o Model404FailedRequestResponse) MarshalJSON() ([]byte, error)
func (*Model404FailedRequestResponse) SetDefaultCode ¶
func (o *Model404FailedRequestResponse) SetDefaultCode(v interface{})
SetDefaultCode gets a reference to the given interface{} and assigns it to the DefaultCode field.
func (*Model404FailedRequestResponse) SetDefaultDetail ¶
func (o *Model404FailedRequestResponse) SetDefaultDetail(v interface{})
SetDefaultDetail gets a reference to the given interface{} and assigns it to the DefaultDetail field.
func (*Model404FailedRequestResponse) UnmarshalJSON ¶
func (o *Model404FailedRequestResponse) UnmarshalJSON(bytes []byte) (err error)
type Model425FailedRequestResponse ¶ added in v1.0.23
type Model425FailedRequestResponse struct {
Detail interface{} `json:"detail,omitempty"`
Code interface{} `json:"code,omitempty"`
AdditionalProperties map[string]interface{}
}
Model425FailedRequestResponse Example for failed request response
func NewModel425FailedRequestResponse ¶ added in v1.0.23
func NewModel425FailedRequestResponse() *Model425FailedRequestResponse
NewModel425FailedRequestResponse instantiates a new Model425FailedRequestResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewModel425FailedRequestResponseWithDefaults ¶ added in v1.0.23
func NewModel425FailedRequestResponseWithDefaults() *Model425FailedRequestResponse
NewModel425FailedRequestResponseWithDefaults instantiates a new Model425FailedRequestResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Model425FailedRequestResponse) GetCode ¶ added in v1.0.23
func (o *Model425FailedRequestResponse) GetCode() interface{}
GetCode returns the Code field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model425FailedRequestResponse) GetCodeOk ¶ added in v1.0.23
func (o *Model425FailedRequestResponse) GetCodeOk() (*interface{}, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model425FailedRequestResponse) GetDetail ¶ added in v1.0.23
func (o *Model425FailedRequestResponse) GetDetail() interface{}
GetDetail returns the Detail field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model425FailedRequestResponse) GetDetailOk ¶ added in v1.0.23
func (o *Model425FailedRequestResponse) GetDetailOk() (*interface{}, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model425FailedRequestResponse) HasCode ¶ added in v1.0.23
func (o *Model425FailedRequestResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*Model425FailedRequestResponse) HasDetail ¶ added in v1.0.23
func (o *Model425FailedRequestResponse) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (Model425FailedRequestResponse) MarshalJSON ¶ added in v1.0.23
func (o Model425FailedRequestResponse) MarshalJSON() ([]byte, error)
func (*Model425FailedRequestResponse) SetCode ¶ added in v1.0.23
func (o *Model425FailedRequestResponse) SetCode(v interface{})
SetCode gets a reference to the given interface{} and assigns it to the Code field.
func (*Model425FailedRequestResponse) SetDetail ¶ added in v1.0.23
func (o *Model425FailedRequestResponse) SetDetail(v interface{})
SetDetail gets a reference to the given interface{} and assigns it to the Detail field.
func (*Model425FailedRequestResponse) UnmarshalJSON ¶ added in v1.0.23
func (o *Model425FailedRequestResponse) UnmarshalJSON(bytes []byte) (err error)
type Model500UnexpectedExceptionResponse ¶
type Model500UnexpectedExceptionResponse struct {
Detail interface{} `json:"detail,omitempty"`
StatusCode interface{} `json:"status_code,omitempty"`
Code interface{} `json:"code,omitempty"`
AdditionalProperties map[string]interface{}
}
Model500UnexpectedExceptionResponse Example for a response that failed for unexpected reasons
func NewModel500UnexpectedExceptionResponse ¶
func NewModel500UnexpectedExceptionResponse() *Model500UnexpectedExceptionResponse
NewModel500UnexpectedExceptionResponse instantiates a new Model500UnexpectedExceptionResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewModel500UnexpectedExceptionResponseWithDefaults ¶
func NewModel500UnexpectedExceptionResponseWithDefaults() *Model500UnexpectedExceptionResponse
NewModel500UnexpectedExceptionResponseWithDefaults instantiates a new Model500UnexpectedExceptionResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Model500UnexpectedExceptionResponse) GetCode ¶
func (o *Model500UnexpectedExceptionResponse) GetCode() interface{}
GetCode returns the Code field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model500UnexpectedExceptionResponse) GetCodeOk ¶
func (o *Model500UnexpectedExceptionResponse) GetCodeOk() (*interface{}, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model500UnexpectedExceptionResponse) GetDetail ¶
func (o *Model500UnexpectedExceptionResponse) GetDetail() interface{}
GetDetail returns the Detail field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model500UnexpectedExceptionResponse) GetDetailOk ¶
func (o *Model500UnexpectedExceptionResponse) GetDetailOk() (*interface{}, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model500UnexpectedExceptionResponse) GetStatusCode ¶
func (o *Model500UnexpectedExceptionResponse) GetStatusCode() interface{}
GetStatusCode returns the StatusCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Model500UnexpectedExceptionResponse) GetStatusCodeOk ¶
func (o *Model500UnexpectedExceptionResponse) GetStatusCodeOk() (*interface{}, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Model500UnexpectedExceptionResponse) HasCode ¶
func (o *Model500UnexpectedExceptionResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*Model500UnexpectedExceptionResponse) HasDetail ¶
func (o *Model500UnexpectedExceptionResponse) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*Model500UnexpectedExceptionResponse) HasStatusCode ¶
func (o *Model500UnexpectedExceptionResponse) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
func (Model500UnexpectedExceptionResponse) MarshalJSON ¶
func (o Model500UnexpectedExceptionResponse) MarshalJSON() ([]byte, error)
func (*Model500UnexpectedExceptionResponse) SetCode ¶
func (o *Model500UnexpectedExceptionResponse) SetCode(v interface{})
SetCode gets a reference to the given interface{} and assigns it to the Code field.
func (*Model500UnexpectedExceptionResponse) SetDetail ¶
func (o *Model500UnexpectedExceptionResponse) SetDetail(v interface{})
SetDetail gets a reference to the given interface{} and assigns it to the Detail field.
func (*Model500UnexpectedExceptionResponse) SetStatusCode ¶
func (o *Model500UnexpectedExceptionResponse) SetStatusCode(v interface{})
SetStatusCode gets a reference to the given interface{} and assigns it to the StatusCode field.
func (*Model500UnexpectedExceptionResponse) UnmarshalJSON ¶
func (o *Model500UnexpectedExceptionResponse) UnmarshalJSON(bytes []byte) (err error)
type MonthlyDividends ¶
type MonthlyDividends struct {
// Date used to specify timeframe for a reporting call (in YYYY-MM-DD format). These dates are inclusive.
Date *string `json:"date,omitempty"`
Dividends []DividendAtDate `json:"dividends,omitempty"`
AdditionalProperties map[string]interface{}
}
MonthlyDividends struct for MonthlyDividends
func NewMonthlyDividends ¶
func NewMonthlyDividends() *MonthlyDividends
NewMonthlyDividends instantiates a new MonthlyDividends object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMonthlyDividendsWithDefaults ¶
func NewMonthlyDividendsWithDefaults() *MonthlyDividends
NewMonthlyDividendsWithDefaults instantiates a new MonthlyDividends object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MonthlyDividends) GetDate ¶
func (o *MonthlyDividends) GetDate() string
GetDate returns the Date field value if set, zero value otherwise.
func (*MonthlyDividends) GetDateOk ¶
func (o *MonthlyDividends) GetDateOk() (*string, bool)
GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MonthlyDividends) GetDividends ¶
func (o *MonthlyDividends) GetDividends() []DividendAtDate
GetDividends returns the Dividends field value if set, zero value otherwise.
func (*MonthlyDividends) GetDividendsOk ¶
func (o *MonthlyDividends) GetDividendsOk() ([]DividendAtDate, bool)
GetDividendsOk returns a tuple with the Dividends field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MonthlyDividends) HasDate ¶
func (o *MonthlyDividends) HasDate() bool
HasDate returns a boolean if a field has been set.
func (*MonthlyDividends) HasDividends ¶
func (o *MonthlyDividends) HasDividends() bool
HasDividends returns a boolean if a field has been set.
func (MonthlyDividends) MarshalJSON ¶
func (o MonthlyDividends) MarshalJSON() ([]byte, error)
func (*MonthlyDividends) SetDate ¶
func (o *MonthlyDividends) SetDate(v string)
SetDate gets a reference to the given string and assigns it to the Date field.
func (*MonthlyDividends) SetDividends ¶
func (o *MonthlyDividends) SetDividends(v []DividendAtDate)
SetDividends gets a reference to the given []DividendAtDate and assigns it to the Dividends field.
func (*MonthlyDividends) UnmarshalJSON ¶
func (o *MonthlyDividends) UnmarshalJSON(bytes []byte) (err error)
type NetContributions ¶
type NetContributions struct {
// Date used to specify timeframe for a reporting call (in YYYY-MM-DD format). These dates are inclusive.
Date *string `json:"date,omitempty"`
Contributions NullableFloat32 `json:"contributions,omitempty"`
Currency *string `json:"currency,omitempty"`
AdditionalProperties map[string]interface{}
}
NetContributions struct for NetContributions
func NewNetContributions ¶
func NewNetContributions() *NetContributions
NewNetContributions instantiates a new NetContributions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNetContributionsWithDefaults ¶
func NewNetContributionsWithDefaults() *NetContributions
NewNetContributionsWithDefaults instantiates a new NetContributions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NetContributions) GetContributions ¶
func (o *NetContributions) GetContributions() float32
GetContributions returns the Contributions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*NetContributions) GetContributionsOk ¶
func (o *NetContributions) GetContributionsOk() (*float32, bool)
GetContributionsOk returns a tuple with the Contributions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NetContributions) GetCurrency ¶
func (o *NetContributions) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*NetContributions) GetCurrencyOk ¶
func (o *NetContributions) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetContributions) GetDate ¶
func (o *NetContributions) GetDate() string
GetDate returns the Date field value if set, zero value otherwise.
func (*NetContributions) GetDateOk ¶
func (o *NetContributions) GetDateOk() (*string, bool)
GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetContributions) HasContributions ¶
func (o *NetContributions) HasContributions() bool
HasContributions returns a boolean if a field has been set.
func (*NetContributions) HasCurrency ¶
func (o *NetContributions) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*NetContributions) HasDate ¶
func (o *NetContributions) HasDate() bool
HasDate returns a boolean if a field has been set.
func (NetContributions) MarshalJSON ¶
func (o NetContributions) MarshalJSON() ([]byte, error)
func (*NetContributions) SetContributions ¶
func (o *NetContributions) SetContributions(v float32)
SetContributions gets a reference to the given NullableFloat32 and assigns it to the Contributions field.
func (*NetContributions) SetContributionsNil ¶
func (o *NetContributions) SetContributionsNil()
SetContributionsNil sets the value for Contributions to be an explicit nil
func (*NetContributions) SetCurrency ¶
func (o *NetContributions) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*NetContributions) SetDate ¶
func (o *NetContributions) SetDate(v string)
SetDate gets a reference to the given string and assigns it to the Date field.
func (*NetContributions) UnmarshalJSON ¶
func (o *NetContributions) UnmarshalJSON(bytes []byte) (err error)
func (*NetContributions) UnsetContributions ¶
func (o *NetContributions) UnsetContributions()
UnsetContributions ensures that no value is present for Contributions, not even an explicit nil
type NetDividend ¶
type NetDividend struct {
Symbol *UniversalSymbol `json:"symbol,omitempty"`
Amount NullableFloat32 `json:"amount,omitempty"`
Currency *string `json:"currency,omitempty"`
AdditionalProperties map[string]interface{}
}
NetDividend Object representing total dividends received during a timeframe
func NewNetDividend ¶
func NewNetDividend() *NetDividend
NewNetDividend instantiates a new NetDividend object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNetDividendWithDefaults ¶
func NewNetDividendWithDefaults() *NetDividend
NewNetDividendWithDefaults instantiates a new NetDividend object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NetDividend) GetAmount ¶
func (o *NetDividend) GetAmount() float32
GetAmount returns the Amount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*NetDividend) GetAmountOk ¶
func (o *NetDividend) GetAmountOk() (*float32, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*NetDividend) GetCurrency ¶
func (o *NetDividend) GetCurrency() string
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*NetDividend) GetCurrencyOk ¶
func (o *NetDividend) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetDividend) GetSymbol ¶
func (o *NetDividend) GetSymbol() UniversalSymbol
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*NetDividend) GetSymbolOk ¶
func (o *NetDividend) GetSymbolOk() (*UniversalSymbol, bool)
GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetDividend) HasAmount ¶
func (o *NetDividend) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*NetDividend) HasCurrency ¶
func (o *NetDividend) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*NetDividend) HasSymbol ¶
func (o *NetDividend) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (NetDividend) MarshalJSON ¶
func (o NetDividend) MarshalJSON() ([]byte, error)
func (*NetDividend) SetAmount ¶
func (o *NetDividend) SetAmount(v float32)
SetAmount gets a reference to the given NullableFloat32 and assigns it to the Amount field.
func (*NetDividend) SetAmountNil ¶
func (o *NetDividend) SetAmountNil()
SetAmountNil sets the value for Amount to be an explicit nil
func (*NetDividend) SetCurrency ¶
func (o *NetDividend) SetCurrency(v string)
SetCurrency gets a reference to the given string and assigns it to the Currency field.
func (*NetDividend) SetSymbol ¶
func (o *NetDividend) SetSymbol(v UniversalSymbol)
SetSymbol gets a reference to the given UniversalSymbol and assigns it to the Symbol field.
func (*NetDividend) UnmarshalJSON ¶
func (o *NetDividend) UnmarshalJSON(bytes []byte) (err error)
func (*NetDividend) UnsetAmount ¶
func (o *NetDividend) UnsetAmount()
UnsetAmount ensures that no value is present for Amount, not even an explicit nil
type NotionalValue ¶
NotionalValue - Total notional amount for the order. Must be `null` if `units` is provided. Can only work with `Market` for `order_type` and `Day` for `time_in_force`. This is only available for certain brokerages. Please check the [integrations doc](https://snaptrade.notion.site/66793431ad0b416489eaabaf248d0afb?v=e7bbcbf9f272441593f93decde660687) for more information.
func Float32AsNotionalValue ¶
func Float32AsNotionalValue(v *float32) NotionalValue
float32AsNotionalValue is a convenience function that returns float32 wrapped in NotionalValue
func StringAsNotionalValue ¶
func StringAsNotionalValue(v *string) NotionalValue
stringAsNotionalValue is a convenience function that returns string wrapped in NotionalValue
func (*NotionalValue) GetActualInstance ¶
func (obj *NotionalValue) GetActualInstance() interface{}
Get the actual instance
func (NotionalValue) MarshalJSON ¶
func (src NotionalValue) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*NotionalValue) UnmarshalJSON ¶
func (dst *NotionalValue) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type NullableAccount ¶
type NullableAccount struct {
// contains filtered or unexported fields
}
func NewNullableAccount ¶
func NewNullableAccount(val *Account) *NullableAccount
func (NullableAccount) Get ¶
func (v NullableAccount) Get() *Account
func (NullableAccount) IsSet ¶
func (v NullableAccount) IsSet() bool
func (NullableAccount) MarshalJSON ¶
func (v NullableAccount) MarshalJSON() ([]byte, error)
func (*NullableAccount) Set ¶
func (v *NullableAccount) Set(val *Account)
func (*NullableAccount) UnmarshalJSON ¶
func (v *NullableAccount) UnmarshalJSON(src []byte) error
func (*NullableAccount) Unset ¶
func (v *NullableAccount) Unset()
type NullableAccountBalance ¶
type NullableAccountBalance struct {
// contains filtered or unexported fields
}
func NewNullableAccountBalance ¶
func NewNullableAccountBalance(val *AccountBalance) *NullableAccountBalance
func (NullableAccountBalance) Get ¶
func (v NullableAccountBalance) Get() *AccountBalance
func (NullableAccountBalance) IsSet ¶
func (v NullableAccountBalance) IsSet() bool
func (NullableAccountBalance) MarshalJSON ¶
func (v NullableAccountBalance) MarshalJSON() ([]byte, error)
func (*NullableAccountBalance) Set ¶
func (v *NullableAccountBalance) Set(val *AccountBalance)
func (*NullableAccountBalance) UnmarshalJSON ¶
func (v *NullableAccountBalance) UnmarshalJSON(src []byte) error
func (*NullableAccountBalance) Unset ¶
func (v *NullableAccountBalance) Unset()
type NullableAccountBalanceTotal ¶
type NullableAccountBalanceTotal struct {
// contains filtered or unexported fields
}
func NewNullableAccountBalanceTotal ¶
func NewNullableAccountBalanceTotal(val *AccountBalanceTotal) *NullableAccountBalanceTotal
func (NullableAccountBalanceTotal) Get ¶
func (v NullableAccountBalanceTotal) Get() *AccountBalanceTotal
func (NullableAccountBalanceTotal) IsSet ¶
func (v NullableAccountBalanceTotal) IsSet() bool
func (NullableAccountBalanceTotal) MarshalJSON ¶
func (v NullableAccountBalanceTotal) MarshalJSON() ([]byte, error)
func (*NullableAccountBalanceTotal) Set ¶
func (v *NullableAccountBalanceTotal) Set(val *AccountBalanceTotal)
func (*NullableAccountBalanceTotal) UnmarshalJSON ¶
func (v *NullableAccountBalanceTotal) UnmarshalJSON(src []byte) error
func (*NullableAccountBalanceTotal) Unset ¶
func (v *NullableAccountBalanceTotal) Unset()
type NullableAccountHoldings ¶
type NullableAccountHoldings struct {
// contains filtered or unexported fields
}
func NewNullableAccountHoldings ¶
func NewNullableAccountHoldings(val *AccountHoldings) *NullableAccountHoldings
func (NullableAccountHoldings) Get ¶
func (v NullableAccountHoldings) Get() *AccountHoldings
func (NullableAccountHoldings) IsSet ¶
func (v NullableAccountHoldings) IsSet() bool
func (NullableAccountHoldings) MarshalJSON ¶
func (v NullableAccountHoldings) MarshalJSON() ([]byte, error)
func (*NullableAccountHoldings) Set ¶
func (v *NullableAccountHoldings) Set(val *AccountHoldings)
func (*NullableAccountHoldings) UnmarshalJSON ¶
func (v *NullableAccountHoldings) UnmarshalJSON(src []byte) error
func (*NullableAccountHoldings) Unset ¶
func (v *NullableAccountHoldings) Unset()
type NullableAccountHoldingsAccount ¶
type NullableAccountHoldingsAccount struct {
// contains filtered or unexported fields
}
func NewNullableAccountHoldingsAccount ¶
func NewNullableAccountHoldingsAccount(val *AccountHoldingsAccount) *NullableAccountHoldingsAccount
func (NullableAccountHoldingsAccount) Get ¶
func (v NullableAccountHoldingsAccount) Get() *AccountHoldingsAccount
func (NullableAccountHoldingsAccount) IsSet ¶
func (v NullableAccountHoldingsAccount) IsSet() bool
func (NullableAccountHoldingsAccount) MarshalJSON ¶
func (v NullableAccountHoldingsAccount) MarshalJSON() ([]byte, error)
func (*NullableAccountHoldingsAccount) Set ¶
func (v *NullableAccountHoldingsAccount) Set(val *AccountHoldingsAccount)
func (*NullableAccountHoldingsAccount) UnmarshalJSON ¶
func (v *NullableAccountHoldingsAccount) UnmarshalJSON(src []byte) error
func (*NullableAccountHoldingsAccount) Unset ¶
func (v *NullableAccountHoldingsAccount) Unset()
type NullableAccountInformationGetUserAccountOrderDetailRequest ¶ added in v1.0.100
type NullableAccountInformationGetUserAccountOrderDetailRequest struct {
// contains filtered or unexported fields
}
func NewNullableAccountInformationGetUserAccountOrderDetailRequest ¶ added in v1.0.100
func NewNullableAccountInformationGetUserAccountOrderDetailRequest(val *AccountInformationGetUserAccountOrderDetailRequest) *NullableAccountInformationGetUserAccountOrderDetailRequest
func (NullableAccountInformationGetUserAccountOrderDetailRequest) IsSet ¶ added in v1.0.100
func (v NullableAccountInformationGetUserAccountOrderDetailRequest) IsSet() bool
func (NullableAccountInformationGetUserAccountOrderDetailRequest) MarshalJSON ¶ added in v1.0.100
func (v NullableAccountInformationGetUserAccountOrderDetailRequest) MarshalJSON() ([]byte, error)
func (*NullableAccountInformationGetUserAccountOrderDetailRequest) UnmarshalJSON ¶ added in v1.0.100
func (v *NullableAccountInformationGetUserAccountOrderDetailRequest) UnmarshalJSON(src []byte) error
func (*NullableAccountInformationGetUserAccountOrderDetailRequest) Unset ¶ added in v1.0.100
func (v *NullableAccountInformationGetUserAccountOrderDetailRequest) Unset()
type NullableAccountOrderRecord ¶
type NullableAccountOrderRecord struct {
// contains filtered or unexported fields
}
func NewNullableAccountOrderRecord ¶
func NewNullableAccountOrderRecord(val *AccountOrderRecord) *NullableAccountOrderRecord
func (NullableAccountOrderRecord) Get ¶
func (v NullableAccountOrderRecord) Get() *AccountOrderRecord
func (NullableAccountOrderRecord) IsSet ¶
func (v NullableAccountOrderRecord) IsSet() bool
func (NullableAccountOrderRecord) MarshalJSON ¶
func (v NullableAccountOrderRecord) MarshalJSON() ([]byte, error)
func (*NullableAccountOrderRecord) Set ¶
func (v *NullableAccountOrderRecord) Set(val *AccountOrderRecord)
func (*NullableAccountOrderRecord) UnmarshalJSON ¶
func (v *NullableAccountOrderRecord) UnmarshalJSON(src []byte) error
func (*NullableAccountOrderRecord) Unset ¶
func (v *NullableAccountOrderRecord) Unset()
type NullableAccountOrderRecordChildBrokerageOrderIds ¶ added in v1.0.55
type NullableAccountOrderRecordChildBrokerageOrderIds struct {
// contains filtered or unexported fields
}
func NewNullableAccountOrderRecordChildBrokerageOrderIds ¶ added in v1.0.55
func NewNullableAccountOrderRecordChildBrokerageOrderIds(val *AccountOrderRecordChildBrokerageOrderIds) *NullableAccountOrderRecordChildBrokerageOrderIds
func (NullableAccountOrderRecordChildBrokerageOrderIds) IsSet ¶ added in v1.0.55
func (v NullableAccountOrderRecordChildBrokerageOrderIds) IsSet() bool
func (NullableAccountOrderRecordChildBrokerageOrderIds) MarshalJSON ¶ added in v1.0.55
func (v NullableAccountOrderRecordChildBrokerageOrderIds) MarshalJSON() ([]byte, error)
func (*NullableAccountOrderRecordChildBrokerageOrderIds) UnmarshalJSON ¶ added in v1.0.55
func (v *NullableAccountOrderRecordChildBrokerageOrderIds) UnmarshalJSON(src []byte) error
func (*NullableAccountOrderRecordChildBrokerageOrderIds) Unset ¶ added in v1.0.55
func (v *NullableAccountOrderRecordChildBrokerageOrderIds) Unset()
type NullableAccountOrderRecordLeg ¶ added in v1.0.117
type NullableAccountOrderRecordLeg struct {
// contains filtered or unexported fields
}
func NewNullableAccountOrderRecordLeg ¶ added in v1.0.117
func NewNullableAccountOrderRecordLeg(val *AccountOrderRecordLeg) *NullableAccountOrderRecordLeg
func (NullableAccountOrderRecordLeg) Get ¶ added in v1.0.117
func (v NullableAccountOrderRecordLeg) Get() *AccountOrderRecordLeg
func (NullableAccountOrderRecordLeg) IsSet ¶ added in v1.0.117
func (v NullableAccountOrderRecordLeg) IsSet() bool
func (NullableAccountOrderRecordLeg) MarshalJSON ¶ added in v1.0.117
func (v NullableAccountOrderRecordLeg) MarshalJSON() ([]byte, error)
func (*NullableAccountOrderRecordLeg) Set ¶ added in v1.0.117
func (v *NullableAccountOrderRecordLeg) Set(val *AccountOrderRecordLeg)
func (*NullableAccountOrderRecordLeg) UnmarshalJSON ¶ added in v1.0.117
func (v *NullableAccountOrderRecordLeg) UnmarshalJSON(src []byte) error
func (*NullableAccountOrderRecordLeg) Unset ¶ added in v1.0.117
func (v *NullableAccountOrderRecordLeg) Unset()
type NullableAccountOrderRecordLegInstrument ¶ added in v1.0.117
type NullableAccountOrderRecordLegInstrument struct {
// contains filtered or unexported fields
}
func NewNullableAccountOrderRecordLegInstrument ¶ added in v1.0.117
func NewNullableAccountOrderRecordLegInstrument(val *AccountOrderRecordLegInstrument) *NullableAccountOrderRecordLegInstrument
func (NullableAccountOrderRecordLegInstrument) IsSet ¶ added in v1.0.117
func (v NullableAccountOrderRecordLegInstrument) IsSet() bool
func (NullableAccountOrderRecordLegInstrument) MarshalJSON ¶ added in v1.0.117
func (v NullableAccountOrderRecordLegInstrument) MarshalJSON() ([]byte, error)
func (*NullableAccountOrderRecordLegInstrument) Set ¶ added in v1.0.117
func (v *NullableAccountOrderRecordLegInstrument) Set(val *AccountOrderRecordLegInstrument)
func (*NullableAccountOrderRecordLegInstrument) UnmarshalJSON ¶ added in v1.0.117
func (v *NullableAccountOrderRecordLegInstrument) UnmarshalJSON(src []byte) error
func (*NullableAccountOrderRecordLegInstrument) Unset ¶ added in v1.0.117
func (v *NullableAccountOrderRecordLegInstrument) Unset()
type NullableAccountOrderRecordOptionSymbol ¶ added in v1.0.4
type NullableAccountOrderRecordOptionSymbol struct {
// contains filtered or unexported fields
}
func NewNullableAccountOrderRecordOptionSymbol ¶ added in v1.0.4
func NewNullableAccountOrderRecordOptionSymbol(val *AccountOrderRecordOptionSymbol) *NullableAccountOrderRecordOptionSymbol
func (NullableAccountOrderRecordOptionSymbol) Get ¶ added in v1.0.4
func (v NullableAccountOrderRecordOptionSymbol) Get() *AccountOrderRecordOptionSymbol
func (NullableAccountOrderRecordOptionSymbol) IsSet ¶ added in v1.0.4
func (v NullableAccountOrderRecordOptionSymbol) IsSet() bool
func (NullableAccountOrderRecordOptionSymbol) MarshalJSON ¶ added in v1.0.4
func (v NullableAccountOrderRecordOptionSymbol) MarshalJSON() ([]byte, error)
func (*NullableAccountOrderRecordOptionSymbol) Set ¶ added in v1.0.4
func (v *NullableAccountOrderRecordOptionSymbol) Set(val *AccountOrderRecordOptionSymbol)
func (*NullableAccountOrderRecordOptionSymbol) UnmarshalJSON ¶ added in v1.0.4
func (v *NullableAccountOrderRecordOptionSymbol) UnmarshalJSON(src []byte) error
func (*NullableAccountOrderRecordOptionSymbol) Unset ¶ added in v1.0.4
func (v *NullableAccountOrderRecordOptionSymbol) Unset()
type NullableAccountOrderRecordQuoteCurrency ¶ added in v1.0.58
type NullableAccountOrderRecordQuoteCurrency struct {
// contains filtered or unexported fields
}
func NewNullableAccountOrderRecordQuoteCurrency ¶ added in v1.0.58
func NewNullableAccountOrderRecordQuoteCurrency(val *AccountOrderRecordQuoteCurrency) *NullableAccountOrderRecordQuoteCurrency
func (NullableAccountOrderRecordQuoteCurrency) IsSet ¶ added in v1.0.58
func (v NullableAccountOrderRecordQuoteCurrency) IsSet() bool
func (NullableAccountOrderRecordQuoteCurrency) MarshalJSON ¶ added in v1.0.58
func (v NullableAccountOrderRecordQuoteCurrency) MarshalJSON() ([]byte, error)
func (*NullableAccountOrderRecordQuoteCurrency) Set ¶ added in v1.0.58
func (v *NullableAccountOrderRecordQuoteCurrency) Set(val *AccountOrderRecordQuoteCurrency)
func (*NullableAccountOrderRecordQuoteCurrency) UnmarshalJSON ¶ added in v1.0.58
func (v *NullableAccountOrderRecordQuoteCurrency) UnmarshalJSON(src []byte) error
func (*NullableAccountOrderRecordQuoteCurrency) Unset ¶ added in v1.0.58
func (v *NullableAccountOrderRecordQuoteCurrency) Unset()
type NullableAccountOrderRecordQuoteUniversalSymbol ¶ added in v1.0.58
type NullableAccountOrderRecordQuoteUniversalSymbol struct {
// contains filtered or unexported fields
}
func NewNullableAccountOrderRecordQuoteUniversalSymbol ¶ added in v1.0.58
func NewNullableAccountOrderRecordQuoteUniversalSymbol(val *AccountOrderRecordQuoteUniversalSymbol) *NullableAccountOrderRecordQuoteUniversalSymbol
func (NullableAccountOrderRecordQuoteUniversalSymbol) IsSet ¶ added in v1.0.58
func (v NullableAccountOrderRecordQuoteUniversalSymbol) IsSet() bool
func (NullableAccountOrderRecordQuoteUniversalSymbol) MarshalJSON ¶ added in v1.0.58
func (v NullableAccountOrderRecordQuoteUniversalSymbol) MarshalJSON() ([]byte, error)
func (*NullableAccountOrderRecordQuoteUniversalSymbol) Set ¶ added in v1.0.58
func (v *NullableAccountOrderRecordQuoteUniversalSymbol) Set(val *AccountOrderRecordQuoteUniversalSymbol)
func (*NullableAccountOrderRecordQuoteUniversalSymbol) UnmarshalJSON ¶ added in v1.0.58
func (v *NullableAccountOrderRecordQuoteUniversalSymbol) UnmarshalJSON(src []byte) error
func (*NullableAccountOrderRecordQuoteUniversalSymbol) Unset ¶ added in v1.0.58
func (v *NullableAccountOrderRecordQuoteUniversalSymbol) Unset()
type NullableAccountOrderRecordStatus ¶
type NullableAccountOrderRecordStatus struct {
// contains filtered or unexported fields
}
func NewNullableAccountOrderRecordStatus ¶
func NewNullableAccountOrderRecordStatus(val *AccountOrderRecordStatus) *NullableAccountOrderRecordStatus
func (NullableAccountOrderRecordStatus) Get ¶
func (v NullableAccountOrderRecordStatus) Get() *AccountOrderRecordStatus
func (NullableAccountOrderRecordStatus) IsSet ¶
func (v NullableAccountOrderRecordStatus) IsSet() bool
func (NullableAccountOrderRecordStatus) MarshalJSON ¶
func (v NullableAccountOrderRecordStatus) MarshalJSON() ([]byte, error)
func (*NullableAccountOrderRecordStatus) Set ¶
func (v *NullableAccountOrderRecordStatus) Set(val *AccountOrderRecordStatus)
func (*NullableAccountOrderRecordStatus) UnmarshalJSON ¶
func (v *NullableAccountOrderRecordStatus) UnmarshalJSON(src []byte) error
func (*NullableAccountOrderRecordStatus) Unset ¶
func (v *NullableAccountOrderRecordStatus) Unset()
type NullableAccountOrderRecordStatusV2 ¶ added in v1.0.117
type NullableAccountOrderRecordStatusV2 struct {
// contains filtered or unexported fields
}
func NewNullableAccountOrderRecordStatusV2 ¶ added in v1.0.117
func NewNullableAccountOrderRecordStatusV2(val *AccountOrderRecordStatusV2) *NullableAccountOrderRecordStatusV2
func (NullableAccountOrderRecordStatusV2) Get ¶ added in v1.0.117
func (v NullableAccountOrderRecordStatusV2) Get() *AccountOrderRecordStatusV2
func (NullableAccountOrderRecordStatusV2) IsSet ¶ added in v1.0.117
func (v NullableAccountOrderRecordStatusV2) IsSet() bool
func (NullableAccountOrderRecordStatusV2) MarshalJSON ¶ added in v1.0.117
func (v NullableAccountOrderRecordStatusV2) MarshalJSON() ([]byte, error)
func (*NullableAccountOrderRecordStatusV2) Set ¶ added in v1.0.117
func (v *NullableAccountOrderRecordStatusV2) Set(val *AccountOrderRecordStatusV2)
func (*NullableAccountOrderRecordStatusV2) UnmarshalJSON ¶ added in v1.0.117
func (v *NullableAccountOrderRecordStatusV2) UnmarshalJSON(src []byte) error
func (*NullableAccountOrderRecordStatusV2) Unset ¶ added in v1.0.117
func (v *NullableAccountOrderRecordStatusV2) Unset()
type NullableAccountOrderRecordUniversalSymbol ¶ added in v1.0.4
type NullableAccountOrderRecordUniversalSymbol struct {
// contains filtered or unexported fields
}
func NewNullableAccountOrderRecordUniversalSymbol ¶ added in v1.0.4
func NewNullableAccountOrderRecordUniversalSymbol(val *AccountOrderRecordUniversalSymbol) *NullableAccountOrderRecordUniversalSymbol
func (NullableAccountOrderRecordUniversalSymbol) IsSet ¶ added in v1.0.4
func (v NullableAccountOrderRecordUniversalSymbol) IsSet() bool
func (NullableAccountOrderRecordUniversalSymbol) MarshalJSON ¶ added in v1.0.4
func (v NullableAccountOrderRecordUniversalSymbol) MarshalJSON() ([]byte, error)
func (*NullableAccountOrderRecordUniversalSymbol) Set ¶ added in v1.0.4
func (v *NullableAccountOrderRecordUniversalSymbol) Set(val *AccountOrderRecordUniversalSymbol)
func (*NullableAccountOrderRecordUniversalSymbol) UnmarshalJSON ¶ added in v1.0.4
func (v *NullableAccountOrderRecordUniversalSymbol) UnmarshalJSON(src []byte) error
func (*NullableAccountOrderRecordUniversalSymbol) Unset ¶ added in v1.0.4
func (v *NullableAccountOrderRecordUniversalSymbol) Unset()
type NullableAccountOrderRecordV2 ¶ added in v1.0.117
type NullableAccountOrderRecordV2 struct {
// contains filtered or unexported fields
}
func NewNullableAccountOrderRecordV2 ¶ added in v1.0.117
func NewNullableAccountOrderRecordV2(val *AccountOrderRecordV2) *NullableAccountOrderRecordV2
func (NullableAccountOrderRecordV2) Get ¶ added in v1.0.117
func (v NullableAccountOrderRecordV2) Get() *AccountOrderRecordV2
func (NullableAccountOrderRecordV2) IsSet ¶ added in v1.0.117
func (v NullableAccountOrderRecordV2) IsSet() bool
func (NullableAccountOrderRecordV2) MarshalJSON ¶ added in v1.0.117
func (v NullableAccountOrderRecordV2) MarshalJSON() ([]byte, error)
func (*NullableAccountOrderRecordV2) Set ¶ added in v1.0.117
func (v *NullableAccountOrderRecordV2) Set(val *AccountOrderRecordV2)
func (*NullableAccountOrderRecordV2) UnmarshalJSON ¶ added in v1.0.117
func (v *NullableAccountOrderRecordV2) UnmarshalJSON(src []byte) error
func (*NullableAccountOrderRecordV2) Unset ¶ added in v1.0.117
func (v *NullableAccountOrderRecordV2) Unset()
type NullableAccountOrdersV2Response ¶ added in v1.0.117
type NullableAccountOrdersV2Response struct {
// contains filtered or unexported fields
}
func NewNullableAccountOrdersV2Response ¶ added in v1.0.117
func NewNullableAccountOrdersV2Response(val *AccountOrdersV2Response) *NullableAccountOrdersV2Response
func (NullableAccountOrdersV2Response) Get ¶ added in v1.0.117
func (v NullableAccountOrdersV2Response) Get() *AccountOrdersV2Response
func (NullableAccountOrdersV2Response) IsSet ¶ added in v1.0.117
func (v NullableAccountOrdersV2Response) IsSet() bool
func (NullableAccountOrdersV2Response) MarshalJSON ¶ added in v1.0.117
func (v NullableAccountOrdersV2Response) MarshalJSON() ([]byte, error)
func (*NullableAccountOrdersV2Response) Set ¶ added in v1.0.117
func (v *NullableAccountOrdersV2Response) Set(val *AccountOrdersV2Response)
func (*NullableAccountOrdersV2Response) UnmarshalJSON ¶ added in v1.0.117
func (v *NullableAccountOrdersV2Response) UnmarshalJSON(src []byte) error
func (*NullableAccountOrdersV2Response) Unset ¶ added in v1.0.117
func (v *NullableAccountOrdersV2Response) Unset()
type NullableAccountSimple ¶
type NullableAccountSimple struct {
// contains filtered or unexported fields
}
func NewNullableAccountSimple ¶
func NewNullableAccountSimple(val *AccountSimple) *NullableAccountSimple
func (NullableAccountSimple) Get ¶
func (v NullableAccountSimple) Get() *AccountSimple
func (NullableAccountSimple) IsSet ¶
func (v NullableAccountSimple) IsSet() bool
func (NullableAccountSimple) MarshalJSON ¶
func (v NullableAccountSimple) MarshalJSON() ([]byte, error)
func (*NullableAccountSimple) Set ¶
func (v *NullableAccountSimple) Set(val *AccountSimple)
func (*NullableAccountSimple) UnmarshalJSON ¶
func (v *NullableAccountSimple) UnmarshalJSON(src []byte) error
func (*NullableAccountSimple) Unset ¶
func (v *NullableAccountSimple) Unset()
type NullableAccountSyncStatus ¶
type NullableAccountSyncStatus struct {
// contains filtered or unexported fields
}
func NewNullableAccountSyncStatus ¶
func NewNullableAccountSyncStatus(val *AccountSyncStatus) *NullableAccountSyncStatus
func (NullableAccountSyncStatus) Get ¶
func (v NullableAccountSyncStatus) Get() *AccountSyncStatus
func (NullableAccountSyncStatus) IsSet ¶
func (v NullableAccountSyncStatus) IsSet() bool
func (NullableAccountSyncStatus) MarshalJSON ¶
func (v NullableAccountSyncStatus) MarshalJSON() ([]byte, error)
func (*NullableAccountSyncStatus) Set ¶
func (v *NullableAccountSyncStatus) Set(val *AccountSyncStatus)
func (*NullableAccountSyncStatus) UnmarshalJSON ¶
func (v *NullableAccountSyncStatus) UnmarshalJSON(src []byte) error
func (*NullableAccountSyncStatus) Unset ¶
func (v *NullableAccountSyncStatus) Unset()
type NullableAccountUniversalActivity ¶ added in v1.0.46
type NullableAccountUniversalActivity struct {
// contains filtered or unexported fields
}
func NewNullableAccountUniversalActivity ¶ added in v1.0.46
func NewNullableAccountUniversalActivity(val *AccountUniversalActivity) *NullableAccountUniversalActivity
func (NullableAccountUniversalActivity) Get ¶ added in v1.0.46
func (v NullableAccountUniversalActivity) Get() *AccountUniversalActivity
func (NullableAccountUniversalActivity) IsSet ¶ added in v1.0.46
func (v NullableAccountUniversalActivity) IsSet() bool
func (NullableAccountUniversalActivity) MarshalJSON ¶ added in v1.0.46
func (v NullableAccountUniversalActivity) MarshalJSON() ([]byte, error)
func (*NullableAccountUniversalActivity) Set ¶ added in v1.0.46
func (v *NullableAccountUniversalActivity) Set(val *AccountUniversalActivity)
func (*NullableAccountUniversalActivity) UnmarshalJSON ¶ added in v1.0.46
func (v *NullableAccountUniversalActivity) UnmarshalJSON(src []byte) error
func (*NullableAccountUniversalActivity) Unset ¶ added in v1.0.46
func (v *NullableAccountUniversalActivity) Unset()
type NullableAccountUniversalActivityCurrency ¶ added in v1.0.46
type NullableAccountUniversalActivityCurrency struct {
// contains filtered or unexported fields
}
func NewNullableAccountUniversalActivityCurrency ¶ added in v1.0.46
func NewNullableAccountUniversalActivityCurrency(val *AccountUniversalActivityCurrency) *NullableAccountUniversalActivityCurrency
func (NullableAccountUniversalActivityCurrency) IsSet ¶ added in v1.0.46
func (v NullableAccountUniversalActivityCurrency) IsSet() bool
func (NullableAccountUniversalActivityCurrency) MarshalJSON ¶ added in v1.0.46
func (v NullableAccountUniversalActivityCurrency) MarshalJSON() ([]byte, error)
func (*NullableAccountUniversalActivityCurrency) Set ¶ added in v1.0.46
func (v *NullableAccountUniversalActivityCurrency) Set(val *AccountUniversalActivityCurrency)
func (*NullableAccountUniversalActivityCurrency) UnmarshalJSON ¶ added in v1.0.46
func (v *NullableAccountUniversalActivityCurrency) UnmarshalJSON(src []byte) error
func (*NullableAccountUniversalActivityCurrency) Unset ¶ added in v1.0.46
func (v *NullableAccountUniversalActivityCurrency) Unset()
type NullableAccountUniversalActivityOptionSymbol ¶ added in v1.0.46
type NullableAccountUniversalActivityOptionSymbol struct {
// contains filtered or unexported fields
}
func NewNullableAccountUniversalActivityOptionSymbol ¶ added in v1.0.46
func NewNullableAccountUniversalActivityOptionSymbol(val *AccountUniversalActivityOptionSymbol) *NullableAccountUniversalActivityOptionSymbol
func (NullableAccountUniversalActivityOptionSymbol) IsSet ¶ added in v1.0.46
func (v NullableAccountUniversalActivityOptionSymbol) IsSet() bool
func (NullableAccountUniversalActivityOptionSymbol) MarshalJSON ¶ added in v1.0.46
func (v NullableAccountUniversalActivityOptionSymbol) MarshalJSON() ([]byte, error)
func (*NullableAccountUniversalActivityOptionSymbol) Set ¶ added in v1.0.46
func (v *NullableAccountUniversalActivityOptionSymbol) Set(val *AccountUniversalActivityOptionSymbol)
func (*NullableAccountUniversalActivityOptionSymbol) UnmarshalJSON ¶ added in v1.0.46
func (v *NullableAccountUniversalActivityOptionSymbol) UnmarshalJSON(src []byte) error
func (*NullableAccountUniversalActivityOptionSymbol) Unset ¶ added in v1.0.46
func (v *NullableAccountUniversalActivityOptionSymbol) Unset()
type NullableAccountUniversalActivitySymbol ¶ added in v1.0.46
type NullableAccountUniversalActivitySymbol struct {
// contains filtered or unexported fields
}
func NewNullableAccountUniversalActivitySymbol ¶ added in v1.0.46
func NewNullableAccountUniversalActivitySymbol(val *AccountUniversalActivitySymbol) *NullableAccountUniversalActivitySymbol
func (NullableAccountUniversalActivitySymbol) Get ¶ added in v1.0.46
func (v NullableAccountUniversalActivitySymbol) Get() *AccountUniversalActivitySymbol
func (NullableAccountUniversalActivitySymbol) IsSet ¶ added in v1.0.46
func (v NullableAccountUniversalActivitySymbol) IsSet() bool
func (NullableAccountUniversalActivitySymbol) MarshalJSON ¶ added in v1.0.46
func (v NullableAccountUniversalActivitySymbol) MarshalJSON() ([]byte, error)
func (*NullableAccountUniversalActivitySymbol) Set ¶ added in v1.0.46
func (v *NullableAccountUniversalActivitySymbol) Set(val *AccountUniversalActivitySymbol)
func (*NullableAccountUniversalActivitySymbol) UnmarshalJSON ¶ added in v1.0.46
func (v *NullableAccountUniversalActivitySymbol) UnmarshalJSON(src []byte) error
func (*NullableAccountUniversalActivitySymbol) Unset ¶ added in v1.0.46
func (v *NullableAccountUniversalActivitySymbol) Unset()
type NullableActionStrict ¶
type NullableActionStrict struct {
// contains filtered or unexported fields
}
func NewNullableActionStrict ¶
func NewNullableActionStrict(val *ActionStrict) *NullableActionStrict
func (NullableActionStrict) Get ¶
func (v NullableActionStrict) Get() *ActionStrict
func (NullableActionStrict) IsSet ¶
func (v NullableActionStrict) IsSet() bool
func (NullableActionStrict) MarshalJSON ¶
func (v NullableActionStrict) MarshalJSON() ([]byte, error)
func (*NullableActionStrict) Set ¶
func (v *NullableActionStrict) Set(val *ActionStrict)
func (*NullableActionStrict) UnmarshalJSON ¶
func (v *NullableActionStrict) UnmarshalJSON(src []byte) error
func (*NullableActionStrict) Unset ¶
func (v *NullableActionStrict) Unset()
type NullableActionStrictWithOptions ¶ added in v1.0.18
type NullableActionStrictWithOptions struct {
// contains filtered or unexported fields
}
func NewNullableActionStrictWithOptions ¶ added in v1.0.18
func NewNullableActionStrictWithOptions(val *ActionStrictWithOptions) *NullableActionStrictWithOptions
func (NullableActionStrictWithOptions) Get ¶ added in v1.0.18
func (v NullableActionStrictWithOptions) Get() *ActionStrictWithOptions
func (NullableActionStrictWithOptions) IsSet ¶ added in v1.0.18
func (v NullableActionStrictWithOptions) IsSet() bool
func (NullableActionStrictWithOptions) MarshalJSON ¶ added in v1.0.18
func (v NullableActionStrictWithOptions) MarshalJSON() ([]byte, error)
func (*NullableActionStrictWithOptions) Set ¶ added in v1.0.18
func (v *NullableActionStrictWithOptions) Set(val *ActionStrictWithOptions)
func (*NullableActionStrictWithOptions) UnmarshalJSON ¶ added in v1.0.18
func (v *NullableActionStrictWithOptions) UnmarshalJSON(src []byte) error
func (*NullableActionStrictWithOptions) Unset ¶ added in v1.0.18
func (v *NullableActionStrictWithOptions) Unset()
type NullableAuthenticationLoginSnapTradeUser200Response ¶
type NullableAuthenticationLoginSnapTradeUser200Response struct {
// contains filtered or unexported fields
}
func NewNullableAuthenticationLoginSnapTradeUser200Response ¶
func NewNullableAuthenticationLoginSnapTradeUser200Response(val *AuthenticationLoginSnapTradeUser200Response) *NullableAuthenticationLoginSnapTradeUser200Response
func (NullableAuthenticationLoginSnapTradeUser200Response) IsSet ¶
func (v NullableAuthenticationLoginSnapTradeUser200Response) IsSet() bool
func (NullableAuthenticationLoginSnapTradeUser200Response) MarshalJSON ¶
func (v NullableAuthenticationLoginSnapTradeUser200Response) MarshalJSON() ([]byte, error)
func (*NullableAuthenticationLoginSnapTradeUser200Response) UnmarshalJSON ¶
func (v *NullableAuthenticationLoginSnapTradeUser200Response) UnmarshalJSON(src []byte) error
func (*NullableAuthenticationLoginSnapTradeUser200Response) Unset ¶
func (v *NullableAuthenticationLoginSnapTradeUser200Response) Unset()
type NullableBalance ¶
type NullableBalance struct {
// contains filtered or unexported fields
}
func NewNullableBalance ¶
func NewNullableBalance(val *Balance) *NullableBalance
func (NullableBalance) Get ¶
func (v NullableBalance) Get() *Balance
func (NullableBalance) IsSet ¶
func (v NullableBalance) IsSet() bool
func (NullableBalance) MarshalJSON ¶
func (v NullableBalance) MarshalJSON() ([]byte, error)
func (*NullableBalance) Set ¶
func (v *NullableBalance) Set(val *Balance)
func (*NullableBalance) UnmarshalJSON ¶
func (v *NullableBalance) UnmarshalJSON(src []byte) error
func (*NullableBalance) Unset ¶
func (v *NullableBalance) Unset()
type NullableBalanceCurrency ¶ added in v1.0.5
type NullableBalanceCurrency struct {
// contains filtered or unexported fields
}
func NewNullableBalanceCurrency ¶ added in v1.0.5
func NewNullableBalanceCurrency(val *BalanceCurrency) *NullableBalanceCurrency
func (NullableBalanceCurrency) Get ¶ added in v1.0.5
func (v NullableBalanceCurrency) Get() *BalanceCurrency
func (NullableBalanceCurrency) IsSet ¶ added in v1.0.5
func (v NullableBalanceCurrency) IsSet() bool
func (NullableBalanceCurrency) MarshalJSON ¶ added in v1.0.5
func (v NullableBalanceCurrency) MarshalJSON() ([]byte, error)
func (*NullableBalanceCurrency) Set ¶ added in v1.0.5
func (v *NullableBalanceCurrency) Set(val *BalanceCurrency)
func (*NullableBalanceCurrency) UnmarshalJSON ¶ added in v1.0.5
func (v *NullableBalanceCurrency) UnmarshalJSON(src []byte) error
func (*NullableBalanceCurrency) Unset ¶ added in v1.0.5
func (v *NullableBalanceCurrency) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableBrokerage ¶
type NullableBrokerage struct {
// contains filtered or unexported fields
}
func NewNullableBrokerage ¶
func NewNullableBrokerage(val *Brokerage) *NullableBrokerage
func (NullableBrokerage) Get ¶
func (v NullableBrokerage) Get() *Brokerage
func (NullableBrokerage) IsSet ¶
func (v NullableBrokerage) IsSet() bool
func (NullableBrokerage) MarshalJSON ¶
func (v NullableBrokerage) MarshalJSON() ([]byte, error)
func (*NullableBrokerage) Set ¶
func (v *NullableBrokerage) Set(val *Brokerage)
func (*NullableBrokerage) UnmarshalJSON ¶
func (v *NullableBrokerage) UnmarshalJSON(src []byte) error
func (*NullableBrokerage) Unset ¶
func (v *NullableBrokerage) Unset()
type NullableBrokerageAuthorization ¶
type NullableBrokerageAuthorization struct {
// contains filtered or unexported fields
}
func NewNullableBrokerageAuthorization ¶
func NewNullableBrokerageAuthorization(val *BrokerageAuthorization) *NullableBrokerageAuthorization
func (NullableBrokerageAuthorization) Get ¶
func (v NullableBrokerageAuthorization) Get() *BrokerageAuthorization
func (NullableBrokerageAuthorization) IsSet ¶
func (v NullableBrokerageAuthorization) IsSet() bool
func (NullableBrokerageAuthorization) MarshalJSON ¶
func (v NullableBrokerageAuthorization) MarshalJSON() ([]byte, error)
func (*NullableBrokerageAuthorization) Set ¶
func (v *NullableBrokerageAuthorization) Set(val *BrokerageAuthorization)
func (*NullableBrokerageAuthorization) UnmarshalJSON ¶
func (v *NullableBrokerageAuthorization) UnmarshalJSON(src []byte) error
func (*NullableBrokerageAuthorization) Unset ¶
func (v *NullableBrokerageAuthorization) Unset()
type NullableBrokerageAuthorizationDisabledConfirmation ¶
type NullableBrokerageAuthorizationDisabledConfirmation struct {
// contains filtered or unexported fields
}
func NewNullableBrokerageAuthorizationDisabledConfirmation ¶
func NewNullableBrokerageAuthorizationDisabledConfirmation(val *BrokerageAuthorizationDisabledConfirmation) *NullableBrokerageAuthorizationDisabledConfirmation
func (NullableBrokerageAuthorizationDisabledConfirmation) IsSet ¶
func (v NullableBrokerageAuthorizationDisabledConfirmation) IsSet() bool
func (NullableBrokerageAuthorizationDisabledConfirmation) MarshalJSON ¶
func (v NullableBrokerageAuthorizationDisabledConfirmation) MarshalJSON() ([]byte, error)
func (*NullableBrokerageAuthorizationDisabledConfirmation) UnmarshalJSON ¶
func (v *NullableBrokerageAuthorizationDisabledConfirmation) UnmarshalJSON(src []byte) error
func (*NullableBrokerageAuthorizationDisabledConfirmation) Unset ¶
func (v *NullableBrokerageAuthorizationDisabledConfirmation) Unset()
type NullableBrokerageAuthorizationRefreshConfirmation ¶
type NullableBrokerageAuthorizationRefreshConfirmation struct {
// contains filtered or unexported fields
}
func NewNullableBrokerageAuthorizationRefreshConfirmation ¶
func NewNullableBrokerageAuthorizationRefreshConfirmation(val *BrokerageAuthorizationRefreshConfirmation) *NullableBrokerageAuthorizationRefreshConfirmation
func (NullableBrokerageAuthorizationRefreshConfirmation) IsSet ¶
func (v NullableBrokerageAuthorizationRefreshConfirmation) IsSet() bool
func (NullableBrokerageAuthorizationRefreshConfirmation) MarshalJSON ¶
func (v NullableBrokerageAuthorizationRefreshConfirmation) MarshalJSON() ([]byte, error)
func (*NullableBrokerageAuthorizationRefreshConfirmation) UnmarshalJSON ¶
func (v *NullableBrokerageAuthorizationRefreshConfirmation) UnmarshalJSON(src []byte) error
func (*NullableBrokerageAuthorizationRefreshConfirmation) Unset ¶
func (v *NullableBrokerageAuthorizationRefreshConfirmation) Unset()
type NullableBrokerageAuthorizationTypeReadOnly ¶
type NullableBrokerageAuthorizationTypeReadOnly struct {
// contains filtered or unexported fields
}
func NewNullableBrokerageAuthorizationTypeReadOnly ¶
func NewNullableBrokerageAuthorizationTypeReadOnly(val *BrokerageAuthorizationTypeReadOnly) *NullableBrokerageAuthorizationTypeReadOnly
func (NullableBrokerageAuthorizationTypeReadOnly) IsSet ¶
func (v NullableBrokerageAuthorizationTypeReadOnly) IsSet() bool
func (NullableBrokerageAuthorizationTypeReadOnly) MarshalJSON ¶
func (v NullableBrokerageAuthorizationTypeReadOnly) MarshalJSON() ([]byte, error)
func (*NullableBrokerageAuthorizationTypeReadOnly) Set ¶
func (v *NullableBrokerageAuthorizationTypeReadOnly) Set(val *BrokerageAuthorizationTypeReadOnly)
func (*NullableBrokerageAuthorizationTypeReadOnly) UnmarshalJSON ¶
func (v *NullableBrokerageAuthorizationTypeReadOnly) UnmarshalJSON(src []byte) error
func (*NullableBrokerageAuthorizationTypeReadOnly) Unset ¶
func (v *NullableBrokerageAuthorizationTypeReadOnly) Unset()
type NullableBrokerageAuthorizationTypeReadOnlyBrokerage ¶
type NullableBrokerageAuthorizationTypeReadOnlyBrokerage struct {
// contains filtered or unexported fields
}
func NewNullableBrokerageAuthorizationTypeReadOnlyBrokerage ¶
func NewNullableBrokerageAuthorizationTypeReadOnlyBrokerage(val *BrokerageAuthorizationTypeReadOnlyBrokerage) *NullableBrokerageAuthorizationTypeReadOnlyBrokerage
func (NullableBrokerageAuthorizationTypeReadOnlyBrokerage) IsSet ¶
func (v NullableBrokerageAuthorizationTypeReadOnlyBrokerage) IsSet() bool
func (NullableBrokerageAuthorizationTypeReadOnlyBrokerage) MarshalJSON ¶
func (v NullableBrokerageAuthorizationTypeReadOnlyBrokerage) MarshalJSON() ([]byte, error)
func (*NullableBrokerageAuthorizationTypeReadOnlyBrokerage) UnmarshalJSON ¶
func (v *NullableBrokerageAuthorizationTypeReadOnlyBrokerage) UnmarshalJSON(src []byte) error
func (*NullableBrokerageAuthorizationTypeReadOnlyBrokerage) Unset ¶
func (v *NullableBrokerageAuthorizationTypeReadOnlyBrokerage) Unset()
type NullableBrokerageInstrument ¶ added in v1.0.90
type NullableBrokerageInstrument struct {
// contains filtered or unexported fields
}
func NewNullableBrokerageInstrument ¶ added in v1.0.90
func NewNullableBrokerageInstrument(val *BrokerageInstrument) *NullableBrokerageInstrument
func (NullableBrokerageInstrument) Get ¶ added in v1.0.90
func (v NullableBrokerageInstrument) Get() *BrokerageInstrument
func (NullableBrokerageInstrument) IsSet ¶ added in v1.0.90
func (v NullableBrokerageInstrument) IsSet() bool
func (NullableBrokerageInstrument) MarshalJSON ¶ added in v1.0.90
func (v NullableBrokerageInstrument) MarshalJSON() ([]byte, error)
func (*NullableBrokerageInstrument) Set ¶ added in v1.0.90
func (v *NullableBrokerageInstrument) Set(val *BrokerageInstrument)
func (*NullableBrokerageInstrument) UnmarshalJSON ¶ added in v1.0.90
func (v *NullableBrokerageInstrument) UnmarshalJSON(src []byte) error
func (*NullableBrokerageInstrument) Unset ¶ added in v1.0.90
func (v *NullableBrokerageInstrument) Unset()
type NullableBrokerageInstrumentsResponse ¶ added in v1.0.90
type NullableBrokerageInstrumentsResponse struct {
// contains filtered or unexported fields
}
func NewNullableBrokerageInstrumentsResponse ¶ added in v1.0.90
func NewNullableBrokerageInstrumentsResponse(val *BrokerageInstrumentsResponse) *NullableBrokerageInstrumentsResponse
func (NullableBrokerageInstrumentsResponse) Get ¶ added in v1.0.90
func (v NullableBrokerageInstrumentsResponse) Get() *BrokerageInstrumentsResponse
func (NullableBrokerageInstrumentsResponse) IsSet ¶ added in v1.0.90
func (v NullableBrokerageInstrumentsResponse) IsSet() bool
func (NullableBrokerageInstrumentsResponse) MarshalJSON ¶ added in v1.0.90
func (v NullableBrokerageInstrumentsResponse) MarshalJSON() ([]byte, error)
func (*NullableBrokerageInstrumentsResponse) Set ¶ added in v1.0.90
func (v *NullableBrokerageInstrumentsResponse) Set(val *BrokerageInstrumentsResponse)
func (*NullableBrokerageInstrumentsResponse) UnmarshalJSON ¶ added in v1.0.90
func (v *NullableBrokerageInstrumentsResponse) UnmarshalJSON(src []byte) error
func (*NullableBrokerageInstrumentsResponse) Unset ¶ added in v1.0.90
func (v *NullableBrokerageInstrumentsResponse) Unset()
type NullableBrokerageType ¶
type NullableBrokerageType struct {
// contains filtered or unexported fields
}
func NewNullableBrokerageType ¶
func NewNullableBrokerageType(val *BrokerageType) *NullableBrokerageType
func (NullableBrokerageType) Get ¶
func (v NullableBrokerageType) Get() *BrokerageType
func (NullableBrokerageType) IsSet ¶
func (v NullableBrokerageType) IsSet() bool
func (NullableBrokerageType) MarshalJSON ¶
func (v NullableBrokerageType) MarshalJSON() ([]byte, error)
func (*NullableBrokerageType) Set ¶
func (v *NullableBrokerageType) Set(val *BrokerageType)
func (*NullableBrokerageType) UnmarshalJSON ¶
func (v *NullableBrokerageType) UnmarshalJSON(src []byte) error
func (*NullableBrokerageType) Unset ¶
func (v *NullableBrokerageType) Unset()
type NullableCancelOrderResponse ¶ added in v1.0.89
type NullableCancelOrderResponse struct {
// contains filtered or unexported fields
}
func NewNullableCancelOrderResponse ¶ added in v1.0.89
func NewNullableCancelOrderResponse(val *CancelOrderResponse) *NullableCancelOrderResponse
func (NullableCancelOrderResponse) Get ¶ added in v1.0.89
func (v NullableCancelOrderResponse) Get() *CancelOrderResponse
func (NullableCancelOrderResponse) IsSet ¶ added in v1.0.89
func (v NullableCancelOrderResponse) IsSet() bool
func (NullableCancelOrderResponse) MarshalJSON ¶ added in v1.0.89
func (v NullableCancelOrderResponse) MarshalJSON() ([]byte, error)
func (*NullableCancelOrderResponse) Set ¶ added in v1.0.89
func (v *NullableCancelOrderResponse) Set(val *CancelOrderResponse)
func (*NullableCancelOrderResponse) UnmarshalJSON ¶ added in v1.0.89
func (v *NullableCancelOrderResponse) UnmarshalJSON(src []byte) error
func (*NullableCancelOrderResponse) Unset ¶ added in v1.0.89
func (v *NullableCancelOrderResponse) Unset()
type NullableChildBrokerageOrderIDs ¶ added in v1.0.55
type NullableChildBrokerageOrderIDs struct {
// contains filtered or unexported fields
}
func NewNullableChildBrokerageOrderIDs ¶ added in v1.0.55
func NewNullableChildBrokerageOrderIDs(val *ChildBrokerageOrderIDs) *NullableChildBrokerageOrderIDs
func (NullableChildBrokerageOrderIDs) Get ¶ added in v1.0.55
func (v NullableChildBrokerageOrderIDs) Get() *ChildBrokerageOrderIDs
func (NullableChildBrokerageOrderIDs) IsSet ¶ added in v1.0.55
func (v NullableChildBrokerageOrderIDs) IsSet() bool
func (NullableChildBrokerageOrderIDs) MarshalJSON ¶ added in v1.0.55
func (v NullableChildBrokerageOrderIDs) MarshalJSON() ([]byte, error)
func (*NullableChildBrokerageOrderIDs) Set ¶ added in v1.0.55
func (v *NullableChildBrokerageOrderIDs) Set(val *ChildBrokerageOrderIDs)
func (*NullableChildBrokerageOrderIDs) UnmarshalJSON ¶ added in v1.0.55
func (v *NullableChildBrokerageOrderIDs) UnmarshalJSON(src []byte) error
func (*NullableChildBrokerageOrderIDs) Unset ¶ added in v1.0.55
func (v *NullableChildBrokerageOrderIDs) Unset()
type NullableCryptoOrderForm ¶ added in v1.0.92
type NullableCryptoOrderForm struct {
// contains filtered or unexported fields
}
func NewNullableCryptoOrderForm ¶ added in v1.0.92
func NewNullableCryptoOrderForm(val *CryptoOrderForm) *NullableCryptoOrderForm
func (NullableCryptoOrderForm) Get ¶ added in v1.0.92
func (v NullableCryptoOrderForm) Get() *CryptoOrderForm
func (NullableCryptoOrderForm) IsSet ¶ added in v1.0.92
func (v NullableCryptoOrderForm) IsSet() bool
func (NullableCryptoOrderForm) MarshalJSON ¶ added in v1.0.92
func (v NullableCryptoOrderForm) MarshalJSON() ([]byte, error)
func (*NullableCryptoOrderForm) Set ¶ added in v1.0.92
func (v *NullableCryptoOrderForm) Set(val *CryptoOrderForm)
func (*NullableCryptoOrderForm) UnmarshalJSON ¶ added in v1.0.92
func (v *NullableCryptoOrderForm) UnmarshalJSON(src []byte) error
func (*NullableCryptoOrderForm) Unset ¶ added in v1.0.92
func (v *NullableCryptoOrderForm) Unset()
type NullableCryptoOrderPreview ¶ added in v1.0.92
type NullableCryptoOrderPreview struct {
// contains filtered or unexported fields
}
func NewNullableCryptoOrderPreview ¶ added in v1.0.92
func NewNullableCryptoOrderPreview(val *CryptoOrderPreview) *NullableCryptoOrderPreview
func (NullableCryptoOrderPreview) Get ¶ added in v1.0.92
func (v NullableCryptoOrderPreview) Get() *CryptoOrderPreview
func (NullableCryptoOrderPreview) IsSet ¶ added in v1.0.92
func (v NullableCryptoOrderPreview) IsSet() bool
func (NullableCryptoOrderPreview) MarshalJSON ¶ added in v1.0.92
func (v NullableCryptoOrderPreview) MarshalJSON() ([]byte, error)
func (*NullableCryptoOrderPreview) Set ¶ added in v1.0.92
func (v *NullableCryptoOrderPreview) Set(val *CryptoOrderPreview)
func (*NullableCryptoOrderPreview) UnmarshalJSON ¶ added in v1.0.92
func (v *NullableCryptoOrderPreview) UnmarshalJSON(src []byte) error
func (*NullableCryptoOrderPreview) Unset ¶ added in v1.0.92
func (v *NullableCryptoOrderPreview) Unset()
type NullableCryptoOrderPreviewEstimatedFee ¶ added in v1.0.92
type NullableCryptoOrderPreviewEstimatedFee struct {
// contains filtered or unexported fields
}
func NewNullableCryptoOrderPreviewEstimatedFee ¶ added in v1.0.92
func NewNullableCryptoOrderPreviewEstimatedFee(val *CryptoOrderPreviewEstimatedFee) *NullableCryptoOrderPreviewEstimatedFee
func (NullableCryptoOrderPreviewEstimatedFee) Get ¶ added in v1.0.92
func (v NullableCryptoOrderPreviewEstimatedFee) Get() *CryptoOrderPreviewEstimatedFee
func (NullableCryptoOrderPreviewEstimatedFee) IsSet ¶ added in v1.0.92
func (v NullableCryptoOrderPreviewEstimatedFee) IsSet() bool
func (NullableCryptoOrderPreviewEstimatedFee) MarshalJSON ¶ added in v1.0.92
func (v NullableCryptoOrderPreviewEstimatedFee) MarshalJSON() ([]byte, error)
func (*NullableCryptoOrderPreviewEstimatedFee) Set ¶ added in v1.0.92
func (v *NullableCryptoOrderPreviewEstimatedFee) Set(val *CryptoOrderPreviewEstimatedFee)
func (*NullableCryptoOrderPreviewEstimatedFee) UnmarshalJSON ¶ added in v1.0.92
func (v *NullableCryptoOrderPreviewEstimatedFee) UnmarshalJSON(src []byte) error
func (*NullableCryptoOrderPreviewEstimatedFee) Unset ¶ added in v1.0.92
func (v *NullableCryptoOrderPreviewEstimatedFee) Unset()
type NullableCryptoTradingInstrument ¶ added in v1.0.92
type NullableCryptoTradingInstrument struct {
// contains filtered or unexported fields
}
func NewNullableCryptoTradingInstrument ¶ added in v1.0.92
func NewNullableCryptoTradingInstrument(val *CryptoTradingInstrument) *NullableCryptoTradingInstrument
func (NullableCryptoTradingInstrument) Get ¶ added in v1.0.92
func (v NullableCryptoTradingInstrument) Get() *CryptoTradingInstrument
func (NullableCryptoTradingInstrument) IsSet ¶ added in v1.0.92
func (v NullableCryptoTradingInstrument) IsSet() bool
func (NullableCryptoTradingInstrument) MarshalJSON ¶ added in v1.0.92
func (v NullableCryptoTradingInstrument) MarshalJSON() ([]byte, error)
func (*NullableCryptoTradingInstrument) Set ¶ added in v1.0.92
func (v *NullableCryptoTradingInstrument) Set(val *CryptoTradingInstrument)
func (*NullableCryptoTradingInstrument) UnmarshalJSON ¶ added in v1.0.92
func (v *NullableCryptoTradingInstrument) UnmarshalJSON(src []byte) error
func (*NullableCryptoTradingInstrument) Unset ¶ added in v1.0.92
func (v *NullableCryptoTradingInstrument) Unset()
type NullableCryptocurrencyPair ¶ added in v1.0.56
type NullableCryptocurrencyPair struct {
// contains filtered or unexported fields
}
func NewNullableCryptocurrencyPair ¶ added in v1.0.56
func NewNullableCryptocurrencyPair(val *CryptocurrencyPair) *NullableCryptocurrencyPair
func (NullableCryptocurrencyPair) Get ¶ added in v1.0.56
func (v NullableCryptocurrencyPair) Get() *CryptocurrencyPair
func (NullableCryptocurrencyPair) IsSet ¶ added in v1.0.56
func (v NullableCryptocurrencyPair) IsSet() bool
func (NullableCryptocurrencyPair) MarshalJSON ¶ added in v1.0.56
func (v NullableCryptocurrencyPair) MarshalJSON() ([]byte, error)
func (*NullableCryptocurrencyPair) Set ¶ added in v1.0.56
func (v *NullableCryptocurrencyPair) Set(val *CryptocurrencyPair)
func (*NullableCryptocurrencyPair) UnmarshalJSON ¶ added in v1.0.56
func (v *NullableCryptocurrencyPair) UnmarshalJSON(src []byte) error
func (*NullableCryptocurrencyPair) Unset ¶ added in v1.0.56
func (v *NullableCryptocurrencyPair) Unset()
type NullableCryptocurrencyPairQuote ¶ added in v1.0.60
type NullableCryptocurrencyPairQuote struct {
// contains filtered or unexported fields
}
func NewNullableCryptocurrencyPairQuote ¶ added in v1.0.60
func NewNullableCryptocurrencyPairQuote(val *CryptocurrencyPairQuote) *NullableCryptocurrencyPairQuote
func (NullableCryptocurrencyPairQuote) Get ¶ added in v1.0.60
func (v NullableCryptocurrencyPairQuote) Get() *CryptocurrencyPairQuote
func (NullableCryptocurrencyPairQuote) IsSet ¶ added in v1.0.60
func (v NullableCryptocurrencyPairQuote) IsSet() bool
func (NullableCryptocurrencyPairQuote) MarshalJSON ¶ added in v1.0.60
func (v NullableCryptocurrencyPairQuote) MarshalJSON() ([]byte, error)
func (*NullableCryptocurrencyPairQuote) Set ¶ added in v1.0.60
func (v *NullableCryptocurrencyPairQuote) Set(val *CryptocurrencyPairQuote)
func (*NullableCryptocurrencyPairQuote) UnmarshalJSON ¶ added in v1.0.60
func (v *NullableCryptocurrencyPairQuote) UnmarshalJSON(src []byte) error
func (*NullableCryptocurrencyPairQuote) Unset ¶ added in v1.0.60
func (v *NullableCryptocurrencyPairQuote) Unset()
type NullableCurrency ¶
type NullableCurrency struct {
// contains filtered or unexported fields
}
func NewNullableCurrency ¶
func NewNullableCurrency(val *Currency) *NullableCurrency
func (NullableCurrency) Get ¶
func (v NullableCurrency) Get() *Currency
func (NullableCurrency) IsSet ¶
func (v NullableCurrency) IsSet() bool
func (NullableCurrency) MarshalJSON ¶
func (v NullableCurrency) MarshalJSON() ([]byte, error)
func (*NullableCurrency) Set ¶
func (v *NullableCurrency) Set(val *Currency)
func (*NullableCurrency) UnmarshalJSON ¶
func (v *NullableCurrency) UnmarshalJSON(src []byte) error
func (*NullableCurrency) Unset ¶
func (v *NullableCurrency) Unset()
type NullableDeleteUserResponse ¶
type NullableDeleteUserResponse struct {
// contains filtered or unexported fields
}
func NewNullableDeleteUserResponse ¶
func NewNullableDeleteUserResponse(val *DeleteUserResponse) *NullableDeleteUserResponse
func (NullableDeleteUserResponse) Get ¶
func (v NullableDeleteUserResponse) Get() *DeleteUserResponse
func (NullableDeleteUserResponse) IsSet ¶
func (v NullableDeleteUserResponse) IsSet() bool
func (NullableDeleteUserResponse) MarshalJSON ¶
func (v NullableDeleteUserResponse) MarshalJSON() ([]byte, error)
func (*NullableDeleteUserResponse) Set ¶
func (v *NullableDeleteUserResponse) Set(val *DeleteUserResponse)
func (*NullableDeleteUserResponse) UnmarshalJSON ¶
func (v *NullableDeleteUserResponse) UnmarshalJSON(src []byte) error
func (*NullableDeleteUserResponse) Unset ¶
func (v *NullableDeleteUserResponse) Unset()
type NullableDividendAtDate ¶
type NullableDividendAtDate struct {
// contains filtered or unexported fields
}
func NewNullableDividendAtDate ¶
func NewNullableDividendAtDate(val *DividendAtDate) *NullableDividendAtDate
func (NullableDividendAtDate) Get ¶
func (v NullableDividendAtDate) Get() *DividendAtDate
func (NullableDividendAtDate) IsSet ¶
func (v NullableDividendAtDate) IsSet() bool
func (NullableDividendAtDate) MarshalJSON ¶
func (v NullableDividendAtDate) MarshalJSON() ([]byte, error)
func (*NullableDividendAtDate) Set ¶
func (v *NullableDividendAtDate) Set(val *DividendAtDate)
func (*NullableDividendAtDate) UnmarshalJSON ¶
func (v *NullableDividendAtDate) UnmarshalJSON(src []byte) error
func (*NullableDividendAtDate) Unset ¶
func (v *NullableDividendAtDate) Unset()
type NullableEncryptedResponse ¶
type NullableEncryptedResponse struct {
// contains filtered or unexported fields
}
func NewNullableEncryptedResponse ¶
func NewNullableEncryptedResponse(val *EncryptedResponse) *NullableEncryptedResponse
func (NullableEncryptedResponse) Get ¶
func (v NullableEncryptedResponse) Get() *EncryptedResponse
func (NullableEncryptedResponse) IsSet ¶
func (v NullableEncryptedResponse) IsSet() bool
func (NullableEncryptedResponse) MarshalJSON ¶
func (v NullableEncryptedResponse) MarshalJSON() ([]byte, error)
func (*NullableEncryptedResponse) Set ¶
func (v *NullableEncryptedResponse) Set(val *EncryptedResponse)
func (*NullableEncryptedResponse) UnmarshalJSON ¶
func (v *NullableEncryptedResponse) UnmarshalJSON(src []byte) error
func (*NullableEncryptedResponse) Unset ¶
func (v *NullableEncryptedResponse) Unset()
type NullableEncryptedResponseEncryptedMessageData ¶
type NullableEncryptedResponseEncryptedMessageData struct {
// contains filtered or unexported fields
}
func NewNullableEncryptedResponseEncryptedMessageData ¶
func NewNullableEncryptedResponseEncryptedMessageData(val *EncryptedResponseEncryptedMessageData) *NullableEncryptedResponseEncryptedMessageData
func (NullableEncryptedResponseEncryptedMessageData) IsSet ¶
func (v NullableEncryptedResponseEncryptedMessageData) IsSet() bool
func (NullableEncryptedResponseEncryptedMessageData) MarshalJSON ¶
func (v NullableEncryptedResponseEncryptedMessageData) MarshalJSON() ([]byte, error)
func (*NullableEncryptedResponseEncryptedMessageData) Set ¶
func (v *NullableEncryptedResponseEncryptedMessageData) Set(val *EncryptedResponseEncryptedMessageData)
func (*NullableEncryptedResponseEncryptedMessageData) UnmarshalJSON ¶
func (v *NullableEncryptedResponseEncryptedMessageData) UnmarshalJSON(src []byte) error
func (*NullableEncryptedResponseEncryptedMessageData) Unset ¶
func (v *NullableEncryptedResponseEncryptedMessageData) Unset()
type NullableExchange ¶
type NullableExchange struct {
// contains filtered or unexported fields
}
func NewNullableExchange ¶
func NewNullableExchange(val *Exchange) *NullableExchange
func (NullableExchange) Get ¶
func (v NullableExchange) Get() *Exchange
func (NullableExchange) IsSet ¶
func (v NullableExchange) IsSet() bool
func (NullableExchange) MarshalJSON ¶
func (v NullableExchange) MarshalJSON() ([]byte, error)
func (*NullableExchange) Set ¶
func (v *NullableExchange) Set(val *Exchange)
func (*NullableExchange) UnmarshalJSON ¶
func (v *NullableExchange) UnmarshalJSON(src []byte) error
func (*NullableExchange) Unset ¶
func (v *NullableExchange) Unset()
type NullableExchangeRatePairs ¶
type NullableExchangeRatePairs struct {
// contains filtered or unexported fields
}
func NewNullableExchangeRatePairs ¶
func NewNullableExchangeRatePairs(val *ExchangeRatePairs) *NullableExchangeRatePairs
func (NullableExchangeRatePairs) Get ¶
func (v NullableExchangeRatePairs) Get() *ExchangeRatePairs
func (NullableExchangeRatePairs) IsSet ¶
func (v NullableExchangeRatePairs) IsSet() bool
func (NullableExchangeRatePairs) MarshalJSON ¶
func (v NullableExchangeRatePairs) MarshalJSON() ([]byte, error)
func (*NullableExchangeRatePairs) Set ¶
func (v *NullableExchangeRatePairs) Set(val *ExchangeRatePairs)
func (*NullableExchangeRatePairs) UnmarshalJSON ¶
func (v *NullableExchangeRatePairs) UnmarshalJSON(src []byte) error
func (*NullableExchangeRatePairs) Unset ¶
func (v *NullableExchangeRatePairs) Unset()
type NullableFigiInstrument ¶
type NullableFigiInstrument struct {
// contains filtered or unexported fields
}
func NewNullableFigiInstrument ¶
func NewNullableFigiInstrument(val *FigiInstrument) *NullableFigiInstrument
func (NullableFigiInstrument) Get ¶
func (v NullableFigiInstrument) Get() *FigiInstrument
func (NullableFigiInstrument) IsSet ¶
func (v NullableFigiInstrument) IsSet() bool
func (NullableFigiInstrument) MarshalJSON ¶
func (v NullableFigiInstrument) MarshalJSON() ([]byte, error)
func (*NullableFigiInstrument) Set ¶
func (v *NullableFigiInstrument) Set(val *FigiInstrument)
func (*NullableFigiInstrument) UnmarshalJSON ¶
func (v *NullableFigiInstrument) UnmarshalJSON(src []byte) error
func (*NullableFigiInstrument) Unset ¶
func (v *NullableFigiInstrument) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableHoldingsStatus ¶
type NullableHoldingsStatus struct {
// contains filtered or unexported fields
}
func NewNullableHoldingsStatus ¶
func NewNullableHoldingsStatus(val *HoldingsStatus) *NullableHoldingsStatus
func (NullableHoldingsStatus) Get ¶
func (v NullableHoldingsStatus) Get() *HoldingsStatus
func (NullableHoldingsStatus) IsSet ¶
func (v NullableHoldingsStatus) IsSet() bool
func (NullableHoldingsStatus) MarshalJSON ¶
func (v NullableHoldingsStatus) MarshalJSON() ([]byte, error)
func (*NullableHoldingsStatus) Set ¶
func (v *NullableHoldingsStatus) Set(val *HoldingsStatus)
func (*NullableHoldingsStatus) UnmarshalJSON ¶
func (v *NullableHoldingsStatus) UnmarshalJSON(src []byte) error
func (*NullableHoldingsStatus) Unset ¶
func (v *NullableHoldingsStatus) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLoginRedirectURI ¶
type NullableLoginRedirectURI struct {
// contains filtered or unexported fields
}
func NewNullableLoginRedirectURI ¶
func NewNullableLoginRedirectURI(val *LoginRedirectURI) *NullableLoginRedirectURI
func (NullableLoginRedirectURI) Get ¶
func (v NullableLoginRedirectURI) Get() *LoginRedirectURI
func (NullableLoginRedirectURI) IsSet ¶
func (v NullableLoginRedirectURI) IsSet() bool
func (NullableLoginRedirectURI) MarshalJSON ¶
func (v NullableLoginRedirectURI) MarshalJSON() ([]byte, error)
func (*NullableLoginRedirectURI) Set ¶
func (v *NullableLoginRedirectURI) Set(val *LoginRedirectURI)
func (*NullableLoginRedirectURI) UnmarshalJSON ¶
func (v *NullableLoginRedirectURI) UnmarshalJSON(src []byte) error
func (*NullableLoginRedirectURI) Unset ¶
func (v *NullableLoginRedirectURI) Unset()
type NullableManualTrade ¶
type NullableManualTrade struct {
// contains filtered or unexported fields
}
func NewNullableManualTrade ¶
func NewNullableManualTrade(val *ManualTrade) *NullableManualTrade
func (NullableManualTrade) Get ¶
func (v NullableManualTrade) Get() *ManualTrade
func (NullableManualTrade) IsSet ¶
func (v NullableManualTrade) IsSet() bool
func (NullableManualTrade) MarshalJSON ¶
func (v NullableManualTrade) MarshalJSON() ([]byte, error)
func (*NullableManualTrade) Set ¶
func (v *NullableManualTrade) Set(val *ManualTrade)
func (*NullableManualTrade) UnmarshalJSON ¶
func (v *NullableManualTrade) UnmarshalJSON(src []byte) error
func (*NullableManualTrade) Unset ¶
func (v *NullableManualTrade) Unset()
type NullableManualTradeAndImpact ¶
type NullableManualTradeAndImpact struct {
// contains filtered or unexported fields
}
func NewNullableManualTradeAndImpact ¶
func NewNullableManualTradeAndImpact(val *ManualTradeAndImpact) *NullableManualTradeAndImpact
func (NullableManualTradeAndImpact) Get ¶
func (v NullableManualTradeAndImpact) Get() *ManualTradeAndImpact
func (NullableManualTradeAndImpact) IsSet ¶
func (v NullableManualTradeAndImpact) IsSet() bool
func (NullableManualTradeAndImpact) MarshalJSON ¶
func (v NullableManualTradeAndImpact) MarshalJSON() ([]byte, error)
func (*NullableManualTradeAndImpact) Set ¶
func (v *NullableManualTradeAndImpact) Set(val *ManualTradeAndImpact)
func (*NullableManualTradeAndImpact) UnmarshalJSON ¶
func (v *NullableManualTradeAndImpact) UnmarshalJSON(src []byte) error
func (*NullableManualTradeAndImpact) Unset ¶
func (v *NullableManualTradeAndImpact) Unset()
type NullableManualTradeBalance ¶
type NullableManualTradeBalance struct {
// contains filtered or unexported fields
}
func NewNullableManualTradeBalance ¶
func NewNullableManualTradeBalance(val *ManualTradeBalance) *NullableManualTradeBalance
func (NullableManualTradeBalance) Get ¶
func (v NullableManualTradeBalance) Get() *ManualTradeBalance
func (NullableManualTradeBalance) IsSet ¶
func (v NullableManualTradeBalance) IsSet() bool
func (NullableManualTradeBalance) MarshalJSON ¶
func (v NullableManualTradeBalance) MarshalJSON() ([]byte, error)
func (*NullableManualTradeBalance) Set ¶
func (v *NullableManualTradeBalance) Set(val *ManualTradeBalance)
func (*NullableManualTradeBalance) UnmarshalJSON ¶
func (v *NullableManualTradeBalance) UnmarshalJSON(src []byte) error
func (*NullableManualTradeBalance) Unset ¶
func (v *NullableManualTradeBalance) Unset()
type NullableManualTradeForm ¶
type NullableManualTradeForm struct {
// contains filtered or unexported fields
}
func NewNullableManualTradeForm ¶
func NewNullableManualTradeForm(val *ManualTradeForm) *NullableManualTradeForm
func (NullableManualTradeForm) Get ¶
func (v NullableManualTradeForm) Get() *ManualTradeForm
func (NullableManualTradeForm) IsSet ¶
func (v NullableManualTradeForm) IsSet() bool
func (NullableManualTradeForm) MarshalJSON ¶
func (v NullableManualTradeForm) MarshalJSON() ([]byte, error)
func (*NullableManualTradeForm) Set ¶
func (v *NullableManualTradeForm) Set(val *ManualTradeForm)
func (*NullableManualTradeForm) UnmarshalJSON ¶
func (v *NullableManualTradeForm) UnmarshalJSON(src []byte) error
func (*NullableManualTradeForm) Unset ¶
func (v *NullableManualTradeForm) Unset()
type NullableManualTradeFormBracket ¶ added in v1.0.55
type NullableManualTradeFormBracket struct {
// contains filtered or unexported fields
}
func NewNullableManualTradeFormBracket ¶ added in v1.0.55
func NewNullableManualTradeFormBracket(val *ManualTradeFormBracket) *NullableManualTradeFormBracket
func (NullableManualTradeFormBracket) Get ¶ added in v1.0.55
func (v NullableManualTradeFormBracket) Get() *ManualTradeFormBracket
func (NullableManualTradeFormBracket) IsSet ¶ added in v1.0.55
func (v NullableManualTradeFormBracket) IsSet() bool
func (NullableManualTradeFormBracket) MarshalJSON ¶ added in v1.0.55
func (v NullableManualTradeFormBracket) MarshalJSON() ([]byte, error)
func (*NullableManualTradeFormBracket) Set ¶ added in v1.0.55
func (v *NullableManualTradeFormBracket) Set(val *ManualTradeFormBracket)
func (*NullableManualTradeFormBracket) UnmarshalJSON ¶ added in v1.0.55
func (v *NullableManualTradeFormBracket) UnmarshalJSON(src []byte) error
func (*NullableManualTradeFormBracket) Unset ¶ added in v1.0.55
func (v *NullableManualTradeFormBracket) Unset()
type NullableManualTradeFormNotionalValue ¶
type NullableManualTradeFormNotionalValue struct {
// contains filtered or unexported fields
}
func NewNullableManualTradeFormNotionalValue ¶
func NewNullableManualTradeFormNotionalValue(val *ManualTradeFormNotionalValue) *NullableManualTradeFormNotionalValue
func (NullableManualTradeFormNotionalValue) Get ¶
func (v NullableManualTradeFormNotionalValue) Get() *ManualTradeFormNotionalValue
func (NullableManualTradeFormNotionalValue) IsSet ¶
func (v NullableManualTradeFormNotionalValue) IsSet() bool
func (NullableManualTradeFormNotionalValue) MarshalJSON ¶
func (v NullableManualTradeFormNotionalValue) MarshalJSON() ([]byte, error)
func (*NullableManualTradeFormNotionalValue) Set ¶
func (v *NullableManualTradeFormNotionalValue) Set(val *ManualTradeFormNotionalValue)
func (*NullableManualTradeFormNotionalValue) UnmarshalJSON ¶
func (v *NullableManualTradeFormNotionalValue) UnmarshalJSON(src []byte) error
func (*NullableManualTradeFormNotionalValue) Unset ¶
func (v *NullableManualTradeFormNotionalValue) Unset()
type NullableManualTradeFormWithOptions ¶ added in v1.0.18
type NullableManualTradeFormWithOptions struct {
// contains filtered or unexported fields
}
func NewNullableManualTradeFormWithOptions ¶ added in v1.0.18
func NewNullableManualTradeFormWithOptions(val *ManualTradeFormWithOptions) *NullableManualTradeFormWithOptions
func (NullableManualTradeFormWithOptions) Get ¶ added in v1.0.18
func (v NullableManualTradeFormWithOptions) Get() *ManualTradeFormWithOptions
func (NullableManualTradeFormWithOptions) IsSet ¶ added in v1.0.18
func (v NullableManualTradeFormWithOptions) IsSet() bool
func (NullableManualTradeFormWithOptions) MarshalJSON ¶ added in v1.0.18
func (v NullableManualTradeFormWithOptions) MarshalJSON() ([]byte, error)
func (*NullableManualTradeFormWithOptions) Set ¶ added in v1.0.18
func (v *NullableManualTradeFormWithOptions) Set(val *ManualTradeFormWithOptions)
func (*NullableManualTradeFormWithOptions) UnmarshalJSON ¶ added in v1.0.18
func (v *NullableManualTradeFormWithOptions) UnmarshalJSON(src []byte) error
func (*NullableManualTradeFormWithOptions) Unset ¶ added in v1.0.18
func (v *NullableManualTradeFormWithOptions) Unset()
type NullableManualTradeImpact ¶ added in v1.0.10
type NullableManualTradeImpact struct {
// contains filtered or unexported fields
}
func NewNullableManualTradeImpact ¶ added in v1.0.10
func NewNullableManualTradeImpact(val *ManualTradeImpact) *NullableManualTradeImpact
func (NullableManualTradeImpact) Get ¶ added in v1.0.10
func (v NullableManualTradeImpact) Get() *ManualTradeImpact
func (NullableManualTradeImpact) IsSet ¶ added in v1.0.10
func (v NullableManualTradeImpact) IsSet() bool
func (NullableManualTradeImpact) MarshalJSON ¶ added in v1.0.10
func (v NullableManualTradeImpact) MarshalJSON() ([]byte, error)
func (*NullableManualTradeImpact) Set ¶ added in v1.0.10
func (v *NullableManualTradeImpact) Set(val *ManualTradeImpact)
func (*NullableManualTradeImpact) UnmarshalJSON ¶ added in v1.0.10
func (v *NullableManualTradeImpact) UnmarshalJSON(src []byte) error
func (*NullableManualTradeImpact) Unset ¶ added in v1.0.10
func (v *NullableManualTradeImpact) Unset()
type NullableManualTradeReplaceForm ¶ added in v1.0.59
type NullableManualTradeReplaceForm struct {
// contains filtered or unexported fields
}
func NewNullableManualTradeReplaceForm ¶ added in v1.0.59
func NewNullableManualTradeReplaceForm(val *ManualTradeReplaceForm) *NullableManualTradeReplaceForm
func (NullableManualTradeReplaceForm) Get ¶ added in v1.0.59
func (v NullableManualTradeReplaceForm) Get() *ManualTradeReplaceForm
func (NullableManualTradeReplaceForm) IsSet ¶ added in v1.0.59
func (v NullableManualTradeReplaceForm) IsSet() bool
func (NullableManualTradeReplaceForm) MarshalJSON ¶ added in v1.0.59
func (v NullableManualTradeReplaceForm) MarshalJSON() ([]byte, error)
func (*NullableManualTradeReplaceForm) Set ¶ added in v1.0.59
func (v *NullableManualTradeReplaceForm) Set(val *ManualTradeReplaceForm)
func (*NullableManualTradeReplaceForm) UnmarshalJSON ¶ added in v1.0.59
func (v *NullableManualTradeReplaceForm) UnmarshalJSON(src []byte) error
func (*NullableManualTradeReplaceForm) Unset ¶ added in v1.0.59
func (v *NullableManualTradeReplaceForm) Unset()
type NullableManualTradeSymbol ¶
type NullableManualTradeSymbol struct {
// contains filtered or unexported fields
}
func NewNullableManualTradeSymbol ¶
func NewNullableManualTradeSymbol(val *ManualTradeSymbol) *NullableManualTradeSymbol
func (NullableManualTradeSymbol) Get ¶
func (v NullableManualTradeSymbol) Get() *ManualTradeSymbol
func (NullableManualTradeSymbol) IsSet ¶
func (v NullableManualTradeSymbol) IsSet() bool
func (NullableManualTradeSymbol) MarshalJSON ¶
func (v NullableManualTradeSymbol) MarshalJSON() ([]byte, error)
func (*NullableManualTradeSymbol) Set ¶
func (v *NullableManualTradeSymbol) Set(val *ManualTradeSymbol)
func (*NullableManualTradeSymbol) UnmarshalJSON ¶
func (v *NullableManualTradeSymbol) UnmarshalJSON(src []byte) error
func (*NullableManualTradeSymbol) Unset ¶
func (v *NullableManualTradeSymbol) Unset()
type NullableMlegActionStrict ¶ added in v1.0.68
type NullableMlegActionStrict struct {
// contains filtered or unexported fields
}
func NewNullableMlegActionStrict ¶ added in v1.0.68
func NewNullableMlegActionStrict(val *MlegActionStrict) *NullableMlegActionStrict
func (NullableMlegActionStrict) Get ¶ added in v1.0.68
func (v NullableMlegActionStrict) Get() *MlegActionStrict
func (NullableMlegActionStrict) IsSet ¶ added in v1.0.68
func (v NullableMlegActionStrict) IsSet() bool
func (NullableMlegActionStrict) MarshalJSON ¶ added in v1.0.68
func (v NullableMlegActionStrict) MarshalJSON() ([]byte, error)
func (*NullableMlegActionStrict) Set ¶ added in v1.0.68
func (v *NullableMlegActionStrict) Set(val *MlegActionStrict)
func (*NullableMlegActionStrict) UnmarshalJSON ¶ added in v1.0.68
func (v *NullableMlegActionStrict) UnmarshalJSON(src []byte) error
func (*NullableMlegActionStrict) Unset ¶ added in v1.0.68
func (v *NullableMlegActionStrict) Unset()
type NullableMlegInstrumentType ¶ added in v1.0.70
type NullableMlegInstrumentType struct {
// contains filtered or unexported fields
}
func NewNullableMlegInstrumentType ¶ added in v1.0.70
func NewNullableMlegInstrumentType(val *MlegInstrumentType) *NullableMlegInstrumentType
func (NullableMlegInstrumentType) Get ¶ added in v1.0.70
func (v NullableMlegInstrumentType) Get() *MlegInstrumentType
func (NullableMlegInstrumentType) IsSet ¶ added in v1.0.70
func (v NullableMlegInstrumentType) IsSet() bool
func (NullableMlegInstrumentType) MarshalJSON ¶ added in v1.0.70
func (v NullableMlegInstrumentType) MarshalJSON() ([]byte, error)
func (*NullableMlegInstrumentType) Set ¶ added in v1.0.70
func (v *NullableMlegInstrumentType) Set(val *MlegInstrumentType)
func (*NullableMlegInstrumentType) UnmarshalJSON ¶ added in v1.0.70
func (v *NullableMlegInstrumentType) UnmarshalJSON(src []byte) error
func (*NullableMlegInstrumentType) Unset ¶ added in v1.0.70
func (v *NullableMlegInstrumentType) Unset()
type NullableMlegLeg ¶ added in v1.0.68
type NullableMlegLeg struct {
// contains filtered or unexported fields
}
func NewNullableMlegLeg ¶ added in v1.0.68
func NewNullableMlegLeg(val *MlegLeg) *NullableMlegLeg
func (NullableMlegLeg) Get ¶ added in v1.0.68
func (v NullableMlegLeg) Get() *MlegLeg
func (NullableMlegLeg) IsSet ¶ added in v1.0.68
func (v NullableMlegLeg) IsSet() bool
func (NullableMlegLeg) MarshalJSON ¶ added in v1.0.68
func (v NullableMlegLeg) MarshalJSON() ([]byte, error)
func (*NullableMlegLeg) Set ¶ added in v1.0.68
func (v *NullableMlegLeg) Set(val *MlegLeg)
func (*NullableMlegLeg) UnmarshalJSON ¶ added in v1.0.68
func (v *NullableMlegLeg) UnmarshalJSON(src []byte) error
func (*NullableMlegLeg) Unset ¶ added in v1.0.68
func (v *NullableMlegLeg) Unset()
type NullableMlegOrderResponse ¶ added in v1.0.68
type NullableMlegOrderResponse struct {
// contains filtered or unexported fields
}
func NewNullableMlegOrderResponse ¶ added in v1.0.68
func NewNullableMlegOrderResponse(val *MlegOrderResponse) *NullableMlegOrderResponse
func (NullableMlegOrderResponse) Get ¶ added in v1.0.68
func (v NullableMlegOrderResponse) Get() *MlegOrderResponse
func (NullableMlegOrderResponse) IsSet ¶ added in v1.0.68
func (v NullableMlegOrderResponse) IsSet() bool
func (NullableMlegOrderResponse) MarshalJSON ¶ added in v1.0.68
func (v NullableMlegOrderResponse) MarshalJSON() ([]byte, error)
func (*NullableMlegOrderResponse) Set ¶ added in v1.0.68
func (v *NullableMlegOrderResponse) Set(val *MlegOrderResponse)
func (*NullableMlegOrderResponse) UnmarshalJSON ¶ added in v1.0.68
func (v *NullableMlegOrderResponse) UnmarshalJSON(src []byte) error
func (*NullableMlegOrderResponse) Unset ¶ added in v1.0.68
func (v *NullableMlegOrderResponse) Unset()
type NullableMlegOrderTypeStrict ¶ added in v1.0.69
type NullableMlegOrderTypeStrict struct {
// contains filtered or unexported fields
}
func NewNullableMlegOrderTypeStrict ¶ added in v1.0.69
func NewNullableMlegOrderTypeStrict(val *MlegOrderTypeStrict) *NullableMlegOrderTypeStrict
func (NullableMlegOrderTypeStrict) Get ¶ added in v1.0.69
func (v NullableMlegOrderTypeStrict) Get() *MlegOrderTypeStrict
func (NullableMlegOrderTypeStrict) IsSet ¶ added in v1.0.69
func (v NullableMlegOrderTypeStrict) IsSet() bool
func (NullableMlegOrderTypeStrict) MarshalJSON ¶ added in v1.0.69
func (v NullableMlegOrderTypeStrict) MarshalJSON() ([]byte, error)
func (*NullableMlegOrderTypeStrict) Set ¶ added in v1.0.69
func (v *NullableMlegOrderTypeStrict) Set(val *MlegOrderTypeStrict)
func (*NullableMlegOrderTypeStrict) UnmarshalJSON ¶ added in v1.0.69
func (v *NullableMlegOrderTypeStrict) UnmarshalJSON(src []byte) error
func (*NullableMlegOrderTypeStrict) Unset ¶ added in v1.0.69
func (v *NullableMlegOrderTypeStrict) Unset()
type NullableMlegPriceEffectStrict ¶ added in v1.0.88
type NullableMlegPriceEffectStrict struct {
// contains filtered or unexported fields
}
func NewNullableMlegPriceEffectStrict ¶ added in v1.0.88
func NewNullableMlegPriceEffectStrict(val *MlegPriceEffectStrict) *NullableMlegPriceEffectStrict
func (NullableMlegPriceEffectStrict) Get ¶ added in v1.0.88
func (v NullableMlegPriceEffectStrict) Get() *MlegPriceEffectStrict
func (NullableMlegPriceEffectStrict) IsSet ¶ added in v1.0.88
func (v NullableMlegPriceEffectStrict) IsSet() bool
func (NullableMlegPriceEffectStrict) MarshalJSON ¶ added in v1.0.88
func (v NullableMlegPriceEffectStrict) MarshalJSON() ([]byte, error)
func (*NullableMlegPriceEffectStrict) Set ¶ added in v1.0.88
func (v *NullableMlegPriceEffectStrict) Set(val *MlegPriceEffectStrict)
func (*NullableMlegPriceEffectStrict) UnmarshalJSON ¶ added in v1.0.88
func (v *NullableMlegPriceEffectStrict) UnmarshalJSON(src []byte) error
func (*NullableMlegPriceEffectStrict) Unset ¶ added in v1.0.88
func (v *NullableMlegPriceEffectStrict) Unset()
type NullableMlegTradeForm ¶ added in v1.0.71
type NullableMlegTradeForm struct {
// contains filtered or unexported fields
}
func NewNullableMlegTradeForm ¶ added in v1.0.71
func NewNullableMlegTradeForm(val *MlegTradeForm) *NullableMlegTradeForm
func (NullableMlegTradeForm) Get ¶ added in v1.0.71
func (v NullableMlegTradeForm) Get() *MlegTradeForm
func (NullableMlegTradeForm) IsSet ¶ added in v1.0.71
func (v NullableMlegTradeForm) IsSet() bool
func (NullableMlegTradeForm) MarshalJSON ¶ added in v1.0.71
func (v NullableMlegTradeForm) MarshalJSON() ([]byte, error)
func (*NullableMlegTradeForm) Set ¶ added in v1.0.71
func (v *NullableMlegTradeForm) Set(val *MlegTradeForm)
func (*NullableMlegTradeForm) UnmarshalJSON ¶ added in v1.0.71
func (v *NullableMlegTradeForm) UnmarshalJSON(src []byte) error
func (*NullableMlegTradeForm) Unset ¶ added in v1.0.71
func (v *NullableMlegTradeForm) Unset()
type NullableMlegTradingInstrument ¶ added in v1.0.68
type NullableMlegTradingInstrument struct {
// contains filtered or unexported fields
}
func NewNullableMlegTradingInstrument ¶ added in v1.0.68
func NewNullableMlegTradingInstrument(val *MlegTradingInstrument) *NullableMlegTradingInstrument
func (NullableMlegTradingInstrument) Get ¶ added in v1.0.68
func (v NullableMlegTradingInstrument) Get() *MlegTradingInstrument
func (NullableMlegTradingInstrument) IsSet ¶ added in v1.0.68
func (v NullableMlegTradingInstrument) IsSet() bool
func (NullableMlegTradingInstrument) MarshalJSON ¶ added in v1.0.68
func (v NullableMlegTradingInstrument) MarshalJSON() ([]byte, error)
func (*NullableMlegTradingInstrument) Set ¶ added in v1.0.68
func (v *NullableMlegTradingInstrument) Set(val *MlegTradingInstrument)
func (*NullableMlegTradingInstrument) UnmarshalJSON ¶ added in v1.0.68
func (v *NullableMlegTradingInstrument) UnmarshalJSON(src []byte) error
func (*NullableMlegTradingInstrument) Unset ¶ added in v1.0.68
func (v *NullableMlegTradingInstrument) Unset()
type NullableModel400FailedRequestResponse ¶
type NullableModel400FailedRequestResponse struct {
// contains filtered or unexported fields
}
func NewNullableModel400FailedRequestResponse ¶
func NewNullableModel400FailedRequestResponse(val *Model400FailedRequestResponse) *NullableModel400FailedRequestResponse
func (NullableModel400FailedRequestResponse) Get ¶
func (v NullableModel400FailedRequestResponse) Get() *Model400FailedRequestResponse
func (NullableModel400FailedRequestResponse) IsSet ¶
func (v NullableModel400FailedRequestResponse) IsSet() bool
func (NullableModel400FailedRequestResponse) MarshalJSON ¶
func (v NullableModel400FailedRequestResponse) MarshalJSON() ([]byte, error)
func (*NullableModel400FailedRequestResponse) Set ¶
func (v *NullableModel400FailedRequestResponse) Set(val *Model400FailedRequestResponse)
func (*NullableModel400FailedRequestResponse) UnmarshalJSON ¶
func (v *NullableModel400FailedRequestResponse) UnmarshalJSON(src []byte) error
func (*NullableModel400FailedRequestResponse) Unset ¶
func (v *NullableModel400FailedRequestResponse) Unset()
type NullableModel401FailedRequestResponse ¶
type NullableModel401FailedRequestResponse struct {
// contains filtered or unexported fields
}
func NewNullableModel401FailedRequestResponse ¶
func NewNullableModel401FailedRequestResponse(val *Model401FailedRequestResponse) *NullableModel401FailedRequestResponse
func (NullableModel401FailedRequestResponse) Get ¶
func (v NullableModel401FailedRequestResponse) Get() *Model401FailedRequestResponse
func (NullableModel401FailedRequestResponse) IsSet ¶
func (v NullableModel401FailedRequestResponse) IsSet() bool
func (NullableModel401FailedRequestResponse) MarshalJSON ¶
func (v NullableModel401FailedRequestResponse) MarshalJSON() ([]byte, error)
func (*NullableModel401FailedRequestResponse) Set ¶
func (v *NullableModel401FailedRequestResponse) Set(val *Model401FailedRequestResponse)
func (*NullableModel401FailedRequestResponse) UnmarshalJSON ¶
func (v *NullableModel401FailedRequestResponse) UnmarshalJSON(src []byte) error
func (*NullableModel401FailedRequestResponse) Unset ¶
func (v *NullableModel401FailedRequestResponse) Unset()
type NullableModel402BrokerageAuthAlreadyDisabledException ¶
type NullableModel402BrokerageAuthAlreadyDisabledException struct {
// contains filtered or unexported fields
}
func NewNullableModel402BrokerageAuthAlreadyDisabledException ¶
func NewNullableModel402BrokerageAuthAlreadyDisabledException(val *Model402BrokerageAuthAlreadyDisabledException) *NullableModel402BrokerageAuthAlreadyDisabledException
func (NullableModel402BrokerageAuthAlreadyDisabledException) IsSet ¶
func (v NullableModel402BrokerageAuthAlreadyDisabledException) IsSet() bool
func (NullableModel402BrokerageAuthAlreadyDisabledException) MarshalJSON ¶
func (v NullableModel402BrokerageAuthAlreadyDisabledException) MarshalJSON() ([]byte, error)
func (*NullableModel402BrokerageAuthAlreadyDisabledException) UnmarshalJSON ¶
func (v *NullableModel402BrokerageAuthAlreadyDisabledException) UnmarshalJSON(src []byte) error
func (*NullableModel402BrokerageAuthAlreadyDisabledException) Unset ¶
func (v *NullableModel402BrokerageAuthAlreadyDisabledException) Unset()
type NullableModel402BrokerageAuthDisabledResponse ¶
type NullableModel402BrokerageAuthDisabledResponse struct {
// contains filtered or unexported fields
}
func NewNullableModel402BrokerageAuthDisabledResponse ¶
func NewNullableModel402BrokerageAuthDisabledResponse(val *Model402BrokerageAuthDisabledResponse) *NullableModel402BrokerageAuthDisabledResponse
func (NullableModel402BrokerageAuthDisabledResponse) IsSet ¶
func (v NullableModel402BrokerageAuthDisabledResponse) IsSet() bool
func (NullableModel402BrokerageAuthDisabledResponse) MarshalJSON ¶
func (v NullableModel402BrokerageAuthDisabledResponse) MarshalJSON() ([]byte, error)
func (*NullableModel402BrokerageAuthDisabledResponse) Set ¶
func (v *NullableModel402BrokerageAuthDisabledResponse) Set(val *Model402BrokerageAuthDisabledResponse)
func (*NullableModel402BrokerageAuthDisabledResponse) UnmarshalJSON ¶
func (v *NullableModel402BrokerageAuthDisabledResponse) UnmarshalJSON(src []byte) error
func (*NullableModel402BrokerageAuthDisabledResponse) Unset ¶
func (v *NullableModel402BrokerageAuthDisabledResponse) Unset()
type NullableModel403FailedRequestResponse ¶
type NullableModel403FailedRequestResponse struct {
// contains filtered or unexported fields
}
func NewNullableModel403FailedRequestResponse ¶
func NewNullableModel403FailedRequestResponse(val *Model403FailedRequestResponse) *NullableModel403FailedRequestResponse
func (NullableModel403FailedRequestResponse) Get ¶
func (v NullableModel403FailedRequestResponse) Get() *Model403FailedRequestResponse
func (NullableModel403FailedRequestResponse) IsSet ¶
func (v NullableModel403FailedRequestResponse) IsSet() bool
func (NullableModel403FailedRequestResponse) MarshalJSON ¶
func (v NullableModel403FailedRequestResponse) MarshalJSON() ([]byte, error)
func (*NullableModel403FailedRequestResponse) Set ¶
func (v *NullableModel403FailedRequestResponse) Set(val *Model403FailedRequestResponse)
func (*NullableModel403FailedRequestResponse) UnmarshalJSON ¶
func (v *NullableModel403FailedRequestResponse) UnmarshalJSON(src []byte) error
func (*NullableModel403FailedRequestResponse) Unset ¶
func (v *NullableModel403FailedRequestResponse) Unset()
type NullableModel403FeatureNotEnabledResponse ¶
type NullableModel403FeatureNotEnabledResponse struct {
// contains filtered or unexported fields
}
func NewNullableModel403FeatureNotEnabledResponse ¶
func NewNullableModel403FeatureNotEnabledResponse(val *Model403FeatureNotEnabledResponse) *NullableModel403FeatureNotEnabledResponse
func (NullableModel403FeatureNotEnabledResponse) IsSet ¶
func (v NullableModel403FeatureNotEnabledResponse) IsSet() bool
func (NullableModel403FeatureNotEnabledResponse) MarshalJSON ¶
func (v NullableModel403FeatureNotEnabledResponse) MarshalJSON() ([]byte, error)
func (*NullableModel403FeatureNotEnabledResponse) Set ¶
func (v *NullableModel403FeatureNotEnabledResponse) Set(val *Model403FeatureNotEnabledResponse)
func (*NullableModel403FeatureNotEnabledResponse) UnmarshalJSON ¶
func (v *NullableModel403FeatureNotEnabledResponse) UnmarshalJSON(src []byte) error
func (*NullableModel403FeatureNotEnabledResponse) Unset ¶
func (v *NullableModel403FeatureNotEnabledResponse) Unset()
type NullableModel404FailedRequestResponse ¶
type NullableModel404FailedRequestResponse struct {
// contains filtered or unexported fields
}
func NewNullableModel404FailedRequestResponse ¶
func NewNullableModel404FailedRequestResponse(val *Model404FailedRequestResponse) *NullableModel404FailedRequestResponse
func (NullableModel404FailedRequestResponse) Get ¶
func (v NullableModel404FailedRequestResponse) Get() *Model404FailedRequestResponse
func (NullableModel404FailedRequestResponse) IsSet ¶
func (v NullableModel404FailedRequestResponse) IsSet() bool
func (NullableModel404FailedRequestResponse) MarshalJSON ¶
func (v NullableModel404FailedRequestResponse) MarshalJSON() ([]byte, error)
func (*NullableModel404FailedRequestResponse) Set ¶
func (v *NullableModel404FailedRequestResponse) Set(val *Model404FailedRequestResponse)
func (*NullableModel404FailedRequestResponse) UnmarshalJSON ¶
func (v *NullableModel404FailedRequestResponse) UnmarshalJSON(src []byte) error
func (*NullableModel404FailedRequestResponse) Unset ¶
func (v *NullableModel404FailedRequestResponse) Unset()
type NullableModel425FailedRequestResponse ¶ added in v1.0.23
type NullableModel425FailedRequestResponse struct {
// contains filtered or unexported fields
}
func NewNullableModel425FailedRequestResponse ¶ added in v1.0.23
func NewNullableModel425FailedRequestResponse(val *Model425FailedRequestResponse) *NullableModel425FailedRequestResponse
func (NullableModel425FailedRequestResponse) Get ¶ added in v1.0.23
func (v NullableModel425FailedRequestResponse) Get() *Model425FailedRequestResponse
func (NullableModel425FailedRequestResponse) IsSet ¶ added in v1.0.23
func (v NullableModel425FailedRequestResponse) IsSet() bool
func (NullableModel425FailedRequestResponse) MarshalJSON ¶ added in v1.0.23
func (v NullableModel425FailedRequestResponse) MarshalJSON() ([]byte, error)
func (*NullableModel425FailedRequestResponse) Set ¶ added in v1.0.23
func (v *NullableModel425FailedRequestResponse) Set(val *Model425FailedRequestResponse)
func (*NullableModel425FailedRequestResponse) UnmarshalJSON ¶ added in v1.0.23
func (v *NullableModel425FailedRequestResponse) UnmarshalJSON(src []byte) error
func (*NullableModel425FailedRequestResponse) Unset ¶ added in v1.0.23
func (v *NullableModel425FailedRequestResponse) Unset()
type NullableModel500UnexpectedExceptionResponse ¶
type NullableModel500UnexpectedExceptionResponse struct {
// contains filtered or unexported fields
}
func NewNullableModel500UnexpectedExceptionResponse ¶
func NewNullableModel500UnexpectedExceptionResponse(val *Model500UnexpectedExceptionResponse) *NullableModel500UnexpectedExceptionResponse
func (NullableModel500UnexpectedExceptionResponse) IsSet ¶
func (v NullableModel500UnexpectedExceptionResponse) IsSet() bool
func (NullableModel500UnexpectedExceptionResponse) MarshalJSON ¶
func (v NullableModel500UnexpectedExceptionResponse) MarshalJSON() ([]byte, error)
func (*NullableModel500UnexpectedExceptionResponse) Set ¶
func (v *NullableModel500UnexpectedExceptionResponse) Set(val *Model500UnexpectedExceptionResponse)
func (*NullableModel500UnexpectedExceptionResponse) UnmarshalJSON ¶
func (v *NullableModel500UnexpectedExceptionResponse) UnmarshalJSON(src []byte) error
func (*NullableModel500UnexpectedExceptionResponse) Unset ¶
func (v *NullableModel500UnexpectedExceptionResponse) Unset()
type NullableMonthlyDividends ¶
type NullableMonthlyDividends struct {
// contains filtered or unexported fields
}
func NewNullableMonthlyDividends ¶
func NewNullableMonthlyDividends(val *MonthlyDividends) *NullableMonthlyDividends
func (NullableMonthlyDividends) Get ¶
func (v NullableMonthlyDividends) Get() *MonthlyDividends
func (NullableMonthlyDividends) IsSet ¶
func (v NullableMonthlyDividends) IsSet() bool
func (NullableMonthlyDividends) MarshalJSON ¶
func (v NullableMonthlyDividends) MarshalJSON() ([]byte, error)
func (*NullableMonthlyDividends) Set ¶
func (v *NullableMonthlyDividends) Set(val *MonthlyDividends)
func (*NullableMonthlyDividends) UnmarshalJSON ¶
func (v *NullableMonthlyDividends) UnmarshalJSON(src []byte) error
func (*NullableMonthlyDividends) Unset ¶
func (v *NullableMonthlyDividends) Unset()
type NullableNetContributions ¶
type NullableNetContributions struct {
// contains filtered or unexported fields
}
func NewNullableNetContributions ¶
func NewNullableNetContributions(val *NetContributions) *NullableNetContributions
func (NullableNetContributions) Get ¶
func (v NullableNetContributions) Get() *NetContributions
func (NullableNetContributions) IsSet ¶
func (v NullableNetContributions) IsSet() bool
func (NullableNetContributions) MarshalJSON ¶
func (v NullableNetContributions) MarshalJSON() ([]byte, error)
func (*NullableNetContributions) Set ¶
func (v *NullableNetContributions) Set(val *NetContributions)
func (*NullableNetContributions) UnmarshalJSON ¶
func (v *NullableNetContributions) UnmarshalJSON(src []byte) error
func (*NullableNetContributions) Unset ¶
func (v *NullableNetContributions) Unset()
type NullableNetDividend ¶
type NullableNetDividend struct {
// contains filtered or unexported fields
}
func NewNullableNetDividend ¶
func NewNullableNetDividend(val *NetDividend) *NullableNetDividend
func (NullableNetDividend) Get ¶
func (v NullableNetDividend) Get() *NetDividend
func (NullableNetDividend) IsSet ¶
func (v NullableNetDividend) IsSet() bool
func (NullableNetDividend) MarshalJSON ¶
func (v NullableNetDividend) MarshalJSON() ([]byte, error)
func (*NullableNetDividend) Set ¶
func (v *NullableNetDividend) Set(val *NetDividend)
func (*NullableNetDividend) UnmarshalJSON ¶
func (v *NullableNetDividend) UnmarshalJSON(src []byte) error
func (*NullableNetDividend) Unset ¶
func (v *NullableNetDividend) Unset()
type NullableNotionalValue ¶
type NullableNotionalValue struct {
// contains filtered or unexported fields
}
func NewNullableNotionalValue ¶
func NewNullableNotionalValue(val *NotionalValue) *NullableNotionalValue
func (NullableNotionalValue) Get ¶
func (v NullableNotionalValue) Get() *NotionalValue
func (NullableNotionalValue) IsSet ¶
func (v NullableNotionalValue) IsSet() bool
func (NullableNotionalValue) MarshalJSON ¶
func (v NullableNotionalValue) MarshalJSON() ([]byte, error)
func (*NullableNotionalValue) Set ¶
func (v *NullableNotionalValue) Set(val *NotionalValue)
func (*NullableNotionalValue) UnmarshalJSON ¶
func (v *NullableNotionalValue) UnmarshalJSON(src []byte) error
func (*NullableNotionalValue) Unset ¶
func (v *NullableNotionalValue) Unset()
type NullableOptionBrokerageSymbol ¶
type NullableOptionBrokerageSymbol struct {
// contains filtered or unexported fields
}
func NewNullableOptionBrokerageSymbol ¶
func NewNullableOptionBrokerageSymbol(val *OptionBrokerageSymbol) *NullableOptionBrokerageSymbol
func (NullableOptionBrokerageSymbol) Get ¶
func (v NullableOptionBrokerageSymbol) Get() *OptionBrokerageSymbol
func (NullableOptionBrokerageSymbol) IsSet ¶
func (v NullableOptionBrokerageSymbol) IsSet() bool
func (NullableOptionBrokerageSymbol) MarshalJSON ¶
func (v NullableOptionBrokerageSymbol) MarshalJSON() ([]byte, error)
func (*NullableOptionBrokerageSymbol) Set ¶
func (v *NullableOptionBrokerageSymbol) Set(val *OptionBrokerageSymbol)
func (*NullableOptionBrokerageSymbol) UnmarshalJSON ¶
func (v *NullableOptionBrokerageSymbol) UnmarshalJSON(src []byte) error
func (*NullableOptionBrokerageSymbol) Unset ¶
func (v *NullableOptionBrokerageSymbol) Unset()
type NullableOptionChainInner ¶
type NullableOptionChainInner struct {
// contains filtered or unexported fields
}
func NewNullableOptionChainInner ¶
func NewNullableOptionChainInner(val *OptionChainInner) *NullableOptionChainInner
func (NullableOptionChainInner) Get ¶
func (v NullableOptionChainInner) Get() *OptionChainInner
func (NullableOptionChainInner) IsSet ¶
func (v NullableOptionChainInner) IsSet() bool
func (NullableOptionChainInner) MarshalJSON ¶
func (v NullableOptionChainInner) MarshalJSON() ([]byte, error)
func (*NullableOptionChainInner) Set ¶
func (v *NullableOptionChainInner) Set(val *OptionChainInner)
func (*NullableOptionChainInner) UnmarshalJSON ¶
func (v *NullableOptionChainInner) UnmarshalJSON(src []byte) error
func (*NullableOptionChainInner) Unset ¶
func (v *NullableOptionChainInner) Unset()
type NullableOptionChainInnerChainPerRootInner ¶
type NullableOptionChainInnerChainPerRootInner struct {
// contains filtered or unexported fields
}
func NewNullableOptionChainInnerChainPerRootInner ¶
func NewNullableOptionChainInnerChainPerRootInner(val *OptionChainInnerChainPerRootInner) *NullableOptionChainInnerChainPerRootInner
func (NullableOptionChainInnerChainPerRootInner) IsSet ¶
func (v NullableOptionChainInnerChainPerRootInner) IsSet() bool
func (NullableOptionChainInnerChainPerRootInner) MarshalJSON ¶
func (v NullableOptionChainInnerChainPerRootInner) MarshalJSON() ([]byte, error)
func (*NullableOptionChainInnerChainPerRootInner) Set ¶
func (v *NullableOptionChainInnerChainPerRootInner) Set(val *OptionChainInnerChainPerRootInner)
func (*NullableOptionChainInnerChainPerRootInner) UnmarshalJSON ¶
func (v *NullableOptionChainInnerChainPerRootInner) UnmarshalJSON(src []byte) error
func (*NullableOptionChainInnerChainPerRootInner) Unset ¶
func (v *NullableOptionChainInnerChainPerRootInner) Unset()
type NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner ¶
type NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner struct {
// contains filtered or unexported fields
}
func NewNullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner ¶
func NewNullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner(val *OptionChainInnerChainPerRootInnerChainPerStrikePriceInner) *NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner
func (NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner) IsSet ¶
func (v NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner) IsSet() bool
func (NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner) MarshalJSON ¶
func (v NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner) MarshalJSON() ([]byte, error)
func (*NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner) UnmarshalJSON ¶
func (v *NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner) UnmarshalJSON(src []byte) error
func (*NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner) Unset ¶
func (v *NullableOptionChainInnerChainPerRootInnerChainPerStrikePriceInner) Unset()
type NullableOptionLeg ¶
type NullableOptionLeg struct {
// contains filtered or unexported fields
}
func NewNullableOptionLeg ¶
func NewNullableOptionLeg(val *OptionLeg) *NullableOptionLeg
func (NullableOptionLeg) Get ¶
func (v NullableOptionLeg
