Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- 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 APIRuleAction
- type Account
- func (o *Account) GetSecuritiesAccount() SecuritiesAccount
- func (o *Account) GetSecuritiesAccountOk() (*SecuritiesAccount, bool)
- func (o *Account) HasSecuritiesAccount() bool
- func (o Account) MarshalJSON() ([]byte, error)
- func (o *Account) SetSecuritiesAccount(v SecuritiesAccount)
- func (o Account) ToMap() (map[string]interface{}, error)
- type AccountAPIOptionDeliverable
- func (o *AccountAPIOptionDeliverable) GetApiCurrencyType() string
- func (o *AccountAPIOptionDeliverable) GetApiCurrencyTypeOk() (*string, bool)
- func (o *AccountAPIOptionDeliverable) GetAssetType() AssetType
- func (o *AccountAPIOptionDeliverable) GetAssetTypeOk() (*AssetType, bool)
- func (o *AccountAPIOptionDeliverable) GetDeliverableUnits() float64
- func (o *AccountAPIOptionDeliverable) GetDeliverableUnitsOk() (*float64, bool)
- func (o *AccountAPIOptionDeliverable) GetSymbol() string
- func (o *AccountAPIOptionDeliverable) GetSymbolOk() (*string, bool)
- func (o *AccountAPIOptionDeliverable) HasApiCurrencyType() bool
- func (o *AccountAPIOptionDeliverable) HasAssetType() bool
- func (o *AccountAPIOptionDeliverable) HasDeliverableUnits() bool
- func (o *AccountAPIOptionDeliverable) HasSymbol() bool
- func (o AccountAPIOptionDeliverable) MarshalJSON() ([]byte, error)
- func (o *AccountAPIOptionDeliverable) SetApiCurrencyType(v string)
- func (o *AccountAPIOptionDeliverable) SetAssetType(v AssetType)
- func (o *AccountAPIOptionDeliverable) SetDeliverableUnits(v float64)
- func (o *AccountAPIOptionDeliverable) SetSymbol(v string)
- func (o AccountAPIOptionDeliverable) ToMap() (map[string]interface{}, error)
- type AccountCashEquivalent
- func (o *AccountCashEquivalent) GetAssetType() string
- func (o *AccountCashEquivalent) GetAssetTypeOk() (*string, bool)
- func (o *AccountCashEquivalent) GetCusip() string
- func (o *AccountCashEquivalent) GetCusipOk() (*string, bool)
- func (o *AccountCashEquivalent) GetDescription() string
- func (o *AccountCashEquivalent) GetDescriptionOk() (*string, bool)
- func (o *AccountCashEquivalent) GetInstrumentId() int64
- func (o *AccountCashEquivalent) GetInstrumentIdOk() (*int64, bool)
- func (o *AccountCashEquivalent) GetNetChange() float64
- func (o *AccountCashEquivalent) GetNetChangeOk() (*float64, bool)
- func (o *AccountCashEquivalent) GetSymbol() string
- func (o *AccountCashEquivalent) GetSymbolOk() (*string, bool)
- func (o *AccountCashEquivalent) GetType() string
- func (o *AccountCashEquivalent) GetTypeOk() (*string, bool)
- func (o *AccountCashEquivalent) HasCusip() bool
- func (o *AccountCashEquivalent) HasDescription() bool
- func (o *AccountCashEquivalent) HasInstrumentId() bool
- func (o *AccountCashEquivalent) HasNetChange() bool
- func (o *AccountCashEquivalent) HasSymbol() bool
- func (o *AccountCashEquivalent) HasType() bool
- func (o AccountCashEquivalent) MarshalJSON() ([]byte, error)
- func (o *AccountCashEquivalent) SetAssetType(v string)
- func (o *AccountCashEquivalent) SetCusip(v string)
- func (o *AccountCashEquivalent) SetDescription(v string)
- func (o *AccountCashEquivalent) SetInstrumentId(v int64)
- func (o *AccountCashEquivalent) SetNetChange(v float64)
- func (o *AccountCashEquivalent) SetSymbol(v string)
- func (o *AccountCashEquivalent) SetType(v string)
- func (o AccountCashEquivalent) ToMap() (map[string]interface{}, error)
- func (o *AccountCashEquivalent) UnmarshalJSON(data []byte) (err error)
- type AccountEquity
- func (o *AccountEquity) GetAssetType() string
- func (o *AccountEquity) GetAssetTypeOk() (*string, bool)
- func (o *AccountEquity) GetCusip() string
- func (o *AccountEquity) GetCusipOk() (*string, bool)
- func (o *AccountEquity) GetDescription() string
- func (o *AccountEquity) GetDescriptionOk() (*string, bool)
- func (o *AccountEquity) GetInstrumentId() int64
- func (o *AccountEquity) GetInstrumentIdOk() (*int64, bool)
- func (o *AccountEquity) GetNetChange() float64
- func (o *AccountEquity) GetNetChangeOk() (*float64, bool)
- func (o *AccountEquity) GetSymbol() string
- func (o *AccountEquity) GetSymbolOk() (*string, bool)
- func (o *AccountEquity) HasCusip() bool
- func (o *AccountEquity) HasDescription() bool
- func (o *AccountEquity) HasInstrumentId() bool
- func (o *AccountEquity) HasNetChange() bool
- func (o *AccountEquity) HasSymbol() bool
- func (o AccountEquity) MarshalJSON() ([]byte, error)
- func (o *AccountEquity) SetAssetType(v string)
- func (o *AccountEquity) SetCusip(v string)
- func (o *AccountEquity) SetDescription(v string)
- func (o *AccountEquity) SetInstrumentId(v int64)
- func (o *AccountEquity) SetNetChange(v float64)
- func (o *AccountEquity) SetSymbol(v string)
- func (o AccountEquity) ToMap() (map[string]interface{}, error)
- func (o *AccountEquity) UnmarshalJSON(data []byte) (err error)
- type AccountFixedIncome
- func (o *AccountFixedIncome) GetAssetType() string
- func (o *AccountFixedIncome) GetAssetTypeOk() (*string, bool)
- func (o *AccountFixedIncome) GetCusip() string
- func (o *AccountFixedIncome) GetCusipOk() (*string, bool)
- func (o *AccountFixedIncome) GetDescription() string
- func (o *AccountFixedIncome) GetDescriptionOk() (*string, bool)
- func (o *AccountFixedIncome) GetFactor() float64
- func (o *AccountFixedIncome) GetFactorOk() (*float64, bool)
- func (o *AccountFixedIncome) GetInstrumentId() int64
- func (o *AccountFixedIncome) GetInstrumentIdOk() (*int64, bool)
- func (o *AccountFixedIncome) GetMaturityDate() time.Time
- func (o *AccountFixedIncome) GetMaturityDateOk() (*time.Time, bool)
- func (o *AccountFixedIncome) GetNetChange() float64
- func (o *AccountFixedIncome) GetNetChangeOk() (*float64, bool)
- func (o *AccountFixedIncome) GetSymbol() string
- func (o *AccountFixedIncome) GetSymbolOk() (*string, bool)
- func (o *AccountFixedIncome) GetVariableRate() float64
- func (o *AccountFixedIncome) GetVariableRateOk() (*float64, bool)
- func (o *AccountFixedIncome) HasCusip() bool
- func (o *AccountFixedIncome) HasDescription() bool
- func (o *AccountFixedIncome) HasFactor() bool
- func (o *AccountFixedIncome) HasInstrumentId() bool
- func (o *AccountFixedIncome) HasMaturityDate() bool
- func (o *AccountFixedIncome) HasNetChange() bool
- func (o *AccountFixedIncome) HasSymbol() bool
- func (o *AccountFixedIncome) HasVariableRate() bool
- func (o AccountFixedIncome) MarshalJSON() ([]byte, error)
- func (o *AccountFixedIncome) SetAssetType(v string)
- func (o *AccountFixedIncome) SetCusip(v string)
- func (o *AccountFixedIncome) SetDescription(v string)
- func (o *AccountFixedIncome) SetFactor(v float64)
- func (o *AccountFixedIncome) SetInstrumentId(v int64)
- func (o *AccountFixedIncome) SetMaturityDate(v time.Time)
- func (o *AccountFixedIncome) SetNetChange(v float64)
- func (o *AccountFixedIncome) SetSymbol(v string)
- func (o *AccountFixedIncome) SetVariableRate(v float64)
- func (o AccountFixedIncome) ToMap() (map[string]interface{}, error)
- func (o *AccountFixedIncome) UnmarshalJSON(data []byte) (err error)
- type AccountMutualFund
- func (o *AccountMutualFund) GetAssetType() string
- func (o *AccountMutualFund) GetAssetTypeOk() (*string, bool)
- func (o *AccountMutualFund) GetCusip() string
- func (o *AccountMutualFund) GetCusipOk() (*string, bool)
- func (o *AccountMutualFund) GetDescription() string
- func (o *AccountMutualFund) GetDescriptionOk() (*string, bool)
- func (o *AccountMutualFund) GetInstrumentId() int64
- func (o *AccountMutualFund) GetInstrumentIdOk() (*int64, bool)
- func (o *AccountMutualFund) GetNetChange() float64
- func (o *AccountMutualFund) GetNetChangeOk() (*float64, bool)
- func (o *AccountMutualFund) GetSymbol() string
- func (o *AccountMutualFund) GetSymbolOk() (*string, bool)
- func (o *AccountMutualFund) HasCusip() bool
- func (o *AccountMutualFund) HasDescription() bool
- func (o *AccountMutualFund) HasInstrumentId() bool
- func (o *AccountMutualFund) HasNetChange() bool
- func (o *AccountMutualFund) HasSymbol() bool
- func (o AccountMutualFund) MarshalJSON() ([]byte, error)
- func (o *AccountMutualFund) SetAssetType(v string)
- func (o *AccountMutualFund) SetCusip(v string)
- func (o *AccountMutualFund) SetDescription(v string)
- func (o *AccountMutualFund) SetInstrumentId(v int64)
- func (o *AccountMutualFund) SetNetChange(v float64)
- func (o *AccountMutualFund) SetSymbol(v string)
- func (o AccountMutualFund) ToMap() (map[string]interface{}, error)
- func (o *AccountMutualFund) UnmarshalJSON(data []byte) (err error)
- type AccountNumberHash
- func (o *AccountNumberHash) GetAccountNumber() string
- func (o *AccountNumberHash) GetAccountNumberOk() (*string, bool)
- func (o *AccountNumberHash) GetHashValue() string
- func (o *AccountNumberHash) GetHashValueOk() (*string, bool)
- func (o *AccountNumberHash) HasAccountNumber() bool
- func (o *AccountNumberHash) HasHashValue() bool
- func (o AccountNumberHash) MarshalJSON() ([]byte, error)
- func (o *AccountNumberHash) SetAccountNumber(v string)
- func (o *AccountNumberHash) SetHashValue(v string)
- func (o AccountNumberHash) ToMap() (map[string]interface{}, error)
- type AccountOption
- func (o *AccountOption) GetAssetType() string
- func (o *AccountOption) GetAssetTypeOk() (*string, bool)
- func (o *AccountOption) GetCusip() string
- func (o *AccountOption) GetCusipOk() (*string, bool)
- func (o *AccountOption) GetDescription() string
- func (o *AccountOption) GetDescriptionOk() (*string, bool)
- func (o *AccountOption) GetInstrumentId() int64
- func (o *AccountOption) GetInstrumentIdOk() (*int64, bool)
- func (o *AccountOption) GetNetChange() float64
- func (o *AccountOption) GetNetChangeOk() (*float64, bool)
- func (o *AccountOption) GetOptionDeliverables() []AccountAPIOptionDeliverable
- func (o *AccountOption) GetOptionDeliverablesOk() ([]AccountAPIOptionDeliverable, bool)
- func (o *AccountOption) GetOptionMultiplier() int32
- func (o *AccountOption) GetOptionMultiplierOk() (*int32, bool)
- func (o *AccountOption) GetPutCall() string
- func (o *AccountOption) GetPutCallOk() (*string, bool)
- func (o *AccountOption) GetSymbol() string
- func (o *AccountOption) GetSymbolOk() (*string, bool)
- func (o *AccountOption) GetType() string
- func (o *AccountOption) GetTypeOk() (*string, bool)
- func (o *AccountOption) GetUnderlyingSymbol() string
- func (o *AccountOption) GetUnderlyingSymbolOk() (*string, bool)
- func (o *AccountOption) HasCusip() bool
- func (o *AccountOption) HasDescription() bool
- func (o *AccountOption) HasInstrumentId() bool
- func (o *AccountOption) HasNetChange() bool
- func (o *AccountOption) HasOptionDeliverables() bool
- func (o *AccountOption) HasOptionMultiplier() bool
- func (o *AccountOption) HasPutCall() bool
- func (o *AccountOption) HasSymbol() bool
- func (o *AccountOption) HasType() bool
- func (o *AccountOption) HasUnderlyingSymbol() bool
- func (o AccountOption) MarshalJSON() ([]byte, error)
- func (o *AccountOption) SetAssetType(v string)
- func (o *AccountOption) SetCusip(v string)
- func (o *AccountOption) SetDescription(v string)
- func (o *AccountOption) SetInstrumentId(v int64)
- func (o *AccountOption) SetNetChange(v float64)
- func (o *AccountOption) SetOptionDeliverables(v []AccountAPIOptionDeliverable)
- func (o *AccountOption) SetOptionMultiplier(v int32)
- func (o *AccountOption) SetPutCall(v string)
- func (o *AccountOption) SetSymbol(v string)
- func (o *AccountOption) SetType(v string)
- func (o *AccountOption) SetUnderlyingSymbol(v string)
- func (o AccountOption) ToMap() (map[string]interface{}, error)
- func (o *AccountOption) UnmarshalJSON(data []byte) (err error)
- type AccountsAPIService
- func (a *AccountsAPIService) GetAccount(ctx context.Context, accountNumber string) ApiGetAccountRequest
- func (a *AccountsAPIService) GetAccountExecute(r ApiGetAccountRequest) (*Account, *http.Response, error)
- func (a *AccountsAPIService) GetAccountNumbers(ctx context.Context) ApiGetAccountNumbersRequest
- func (a *AccountsAPIService) GetAccountNumbersExecute(r ApiGetAccountNumbersRequest) ([]AccountNumberHash, *http.Response, error)
- func (a *AccountsAPIService) GetAccounts(ctx context.Context) ApiGetAccountsRequest
- func (a *AccountsAPIService) GetAccountsExecute(r ApiGetAccountsRequest) ([]Account, *http.Response, error)
- type AccountsBaseInstrument
- func (o *AccountsBaseInstrument) GetAssetType() string
- func (o *AccountsBaseInstrument) GetAssetTypeOk() (*string, bool)
- func (o *AccountsBaseInstrument) GetCusip() string
- func (o *AccountsBaseInstrument) GetCusipOk() (*string, bool)
- func (o *AccountsBaseInstrument) GetDescription() string
- func (o *AccountsBaseInstrument) GetDescriptionOk() (*string, bool)
- func (o *AccountsBaseInstrument) GetInstrumentId() int64
- func (o *AccountsBaseInstrument) GetInstrumentIdOk() (*int64, bool)
- func (o *AccountsBaseInstrument) GetNetChange() float64
- func (o *AccountsBaseInstrument) GetNetChangeOk() (*float64, bool)
- func (o *AccountsBaseInstrument) GetSymbol() string
- func (o *AccountsBaseInstrument) GetSymbolOk() (*string, bool)
- func (o *AccountsBaseInstrument) HasCusip() bool
- func (o *AccountsBaseInstrument) HasDescription() bool
- func (o *AccountsBaseInstrument) HasInstrumentId() bool
- func (o *AccountsBaseInstrument) HasNetChange() bool
- func (o *AccountsBaseInstrument) HasSymbol() bool
- func (o AccountsBaseInstrument) MarshalJSON() ([]byte, error)
- func (o *AccountsBaseInstrument) SetAssetType(v string)
- func (o *AccountsBaseInstrument) SetCusip(v string)
- func (o *AccountsBaseInstrument) SetDescription(v string)
- func (o *AccountsBaseInstrument) SetInstrumentId(v int64)
- func (o *AccountsBaseInstrument) SetNetChange(v float64)
- func (o *AccountsBaseInstrument) SetSymbol(v string)
- func (o AccountsBaseInstrument) ToMap() (map[string]interface{}, error)
- func (o *AccountsBaseInstrument) UnmarshalJSON(data []byte) (err error)
- type AccountsInstrument
- func AccountCashEquivalentAsAccountsInstrument(v *AccountCashEquivalent) AccountsInstrument
- func AccountEquityAsAccountsInstrument(v *AccountEquity) AccountsInstrument
- func AccountFixedIncomeAsAccountsInstrument(v *AccountFixedIncome) AccountsInstrument
- func AccountMutualFundAsAccountsInstrument(v *AccountMutualFund) AccountsInstrument
- func AccountOptionAsAccountsInstrument(v *AccountOption) AccountsInstrument
- type AmountIndicator
- type ApiCancelOrderRequest
- type ApiGetAccountNumbersRequest
- type ApiGetAccountRequest
- type ApiGetAccountsRequest
- type ApiGetOrderRequest
- type ApiGetOrdersByPathParamRequest
- func (r ApiGetOrdersByPathParamRequest) Execute() ([]Order, *http.Response, error)
- func (r ApiGetOrdersByPathParamRequest) FromEnteredTime(fromEnteredTime string) ApiGetOrdersByPathParamRequest
- func (r ApiGetOrdersByPathParamRequest) MaxResults(maxResults int64) ApiGetOrdersByPathParamRequest
- func (r ApiGetOrdersByPathParamRequest) Status(status ApiOrderStatus) ApiGetOrdersByPathParamRequest
- func (r ApiGetOrdersByPathParamRequest) ToEnteredTime(toEnteredTime string) ApiGetOrdersByPathParamRequest
- type ApiGetOrdersByQueryParamRequest
- func (r ApiGetOrdersByQueryParamRequest) Execute() ([]Order, *http.Response, error)
- func (r ApiGetOrdersByQueryParamRequest) FromEnteredTime(fromEnteredTime string) ApiGetOrdersByQueryParamRequest
- func (r ApiGetOrdersByQueryParamRequest) MaxResults(maxResults int64) ApiGetOrdersByQueryParamRequest
- func (r ApiGetOrdersByQueryParamRequest) Status(status ApiOrderStatus) ApiGetOrdersByQueryParamRequest
- func (r ApiGetOrdersByQueryParamRequest) ToEnteredTime(toEnteredTime string) ApiGetOrdersByQueryParamRequest
- type ApiGetTransactionsByIdRequest
- type ApiGetTransactionsByPathParamRequest
- func (r ApiGetTransactionsByPathParamRequest) EndDate(endDate string) ApiGetTransactionsByPathParamRequest
- func (r ApiGetTransactionsByPathParamRequest) Execute() ([]Transaction, *http.Response, error)
- func (r ApiGetTransactionsByPathParamRequest) StartDate(startDate string) ApiGetTransactionsByPathParamRequest
- func (r ApiGetTransactionsByPathParamRequest) Symbol(symbol string) ApiGetTransactionsByPathParamRequest
- func (r ApiGetTransactionsByPathParamRequest) Types(types TransactionType) ApiGetTransactionsByPathParamRequest
- type ApiGetUserPreferenceRequest
- type ApiOrderStatus
- type ApiPlaceOrderRequest
- type ApiPreviewOrderRequest
- type ApiReplaceOrderRequest
- type AssetType
- type BasicAuth
- type CollectiveInvestment
- func (o *CollectiveInvestment) GetAssetType() string
- func (o *CollectiveInvestment) GetAssetTypeOk() (*string, bool)
- func (o *CollectiveInvestment) GetCusip() string
- func (o *CollectiveInvestment) GetCusipOk() (*string, bool)
- func (o *CollectiveInvestment) GetDescription() string
- func (o *CollectiveInvestment) GetDescriptionOk() (*string, bool)
- func (o *CollectiveInvestment) GetInstrumentId() int64
- func (o *CollectiveInvestment) GetInstrumentIdOk() (*int64, bool)
- func (o *CollectiveInvestment) GetNetChange() float64
- func (o *CollectiveInvestment) GetNetChangeOk() (*float64, bool)
- func (o *CollectiveInvestment) GetSymbol() string
- func (o *CollectiveInvestment) GetSymbolOk() (*string, bool)
- func (o *CollectiveInvestment) GetType() string
- func (o *CollectiveInvestment) GetTypeOk() (*string, bool)
- func (o *CollectiveInvestment) HasCusip() bool
- func (o *CollectiveInvestment) HasDescription() bool
- func (o *CollectiveInvestment) HasInstrumentId() bool
- func (o *CollectiveInvestment) HasNetChange() bool
- func (o *CollectiveInvestment) HasSymbol() bool
- func (o *CollectiveInvestment) HasType() bool
- func (o CollectiveInvestment) MarshalJSON() ([]byte, error)
- func (o *CollectiveInvestment) SetAssetType(v string)
- func (o *CollectiveInvestment) SetCusip(v string)
- func (o *CollectiveInvestment) SetDescription(v string)
- func (o *CollectiveInvestment) SetInstrumentId(v int64)
- func (o *CollectiveInvestment) SetNetChange(v float64)
- func (o *CollectiveInvestment) SetSymbol(v string)
- func (o *CollectiveInvestment) SetType(v string)
- func (o CollectiveInvestment) ToMap() (map[string]interface{}, error)
- func (o *CollectiveInvestment) UnmarshalJSON(data []byte) (err error)
- type Commission
- func (o *Commission) GetCommissionLegs() []CommissionLeg
- func (o *Commission) GetCommissionLegsOk() ([]CommissionLeg, bool)
- func (o *Commission) HasCommissionLegs() bool
- func (o Commission) MarshalJSON() ([]byte, error)
- func (o *Commission) SetCommissionLegs(v []CommissionLeg)
- func (o Commission) ToMap() (map[string]interface{}, error)
- type CommissionAndFee
- func (o *CommissionAndFee) GetCommission() Commission
- func (o *CommissionAndFee) GetCommissionOk() (*Commission, bool)
- func (o *CommissionAndFee) GetFee() Fees
- func (o *CommissionAndFee) GetFeeOk() (*Fees, bool)
- func (o *CommissionAndFee) GetTrueCommission() Commission
- func (o *CommissionAndFee) GetTrueCommissionOk() (*Commission, bool)
- func (o *CommissionAndFee) HasCommission() bool
- func (o *CommissionAndFee) HasFee() bool
- func (o *CommissionAndFee) HasTrueCommission() bool
- func (o CommissionAndFee) MarshalJSON() ([]byte, error)
- func (o *CommissionAndFee) SetCommission(v Commission)
- func (o *CommissionAndFee) SetFee(v Fees)
- func (o *CommissionAndFee) SetTrueCommission(v Commission)
- func (o CommissionAndFee) ToMap() (map[string]interface{}, error)
- type CommissionLeg
- func (o *CommissionLeg) GetCommissionValues() []CommissionValue
- func (o *CommissionLeg) GetCommissionValuesOk() ([]CommissionValue, bool)
- func (o *CommissionLeg) HasCommissionValues() bool
- func (o CommissionLeg) MarshalJSON() ([]byte, error)
- func (o *CommissionLeg) SetCommissionValues(v []CommissionValue)
- func (o CommissionLeg) ToMap() (map[string]interface{}, error)
- type CommissionValue
- func (o *CommissionValue) GetType() FeeType
- func (o *CommissionValue) GetTypeOk() (*FeeType, bool)
- func (o *CommissionValue) GetValue() float64
- func (o *CommissionValue) GetValueOk() (*float64, bool)
- func (o *CommissionValue) HasType() bool
- func (o *CommissionValue) HasValue() bool
- func (o CommissionValue) MarshalJSON() ([]byte, error)
- func (o *CommissionValue) SetType(v FeeType)
- func (o *CommissionValue) SetValue(v float64)
- func (o CommissionValue) ToMap() (map[string]interface{}, error)
- type ComplexOrderStrategyType
- type Configuration
- type Currency
- func (o *Currency) GetAssetType() string
- func (o *Currency) GetAssetTypeOk() (*string, bool)
- func (o *Currency) GetCusip() string
- func (o *Currency) GetCusipOk() (*string, bool)
- func (o *Currency) GetDescription() string
- func (o *Currency) GetDescriptionOk() (*string, bool)
- func (o *Currency) GetInstrumentId() int64
- func (o *Currency) GetInstrumentIdOk() (*int64, bool)
- func (o *Currency) GetNetChange() float64
- func (o *Currency) GetNetChangeOk() (*float64, bool)
- func (o *Currency) GetSymbol() string
- func (o *Currency) GetSymbolOk() (*string, bool)
- func (o *Currency) HasCusip() bool
- func (o *Currency) HasDescription() bool
- func (o *Currency) HasInstrumentId() bool
- func (o *Currency) HasNetChange() bool
- func (o *Currency) HasSymbol() bool
- func (o Currency) MarshalJSON() ([]byte, error)
- func (o *Currency) SetAssetType(v string)
- func (o *Currency) SetCusip(v string)
- func (o *Currency) SetDescription(v string)
- func (o *Currency) SetInstrumentId(v int64)
- func (o *Currency) SetNetChange(v float64)
- func (o *Currency) SetSymbol(v string)
- func (o Currency) ToMap() (map[string]interface{}, error)
- func (o *Currency) UnmarshalJSON(data []byte) (err error)
- type DateParam
- type Duration
- type ExecutionLeg
- func (o *ExecutionLeg) GetInstrumentId() int64
- func (o *ExecutionLeg) GetInstrumentIdOk() (*int64, bool)
- func (o *ExecutionLeg) GetLegId() int64
- func (o *ExecutionLeg) GetLegIdOk() (*int64, bool)
- func (o *ExecutionLeg) GetMismarkedQuantity() float64
- func (o *ExecutionLeg) GetMismarkedQuantityOk() (*float64, bool)
- func (o *ExecutionLeg) GetPrice() float64
- func (o *ExecutionLeg) GetPriceOk() (*float64, bool)
- func (o *ExecutionLeg) GetQuantity() float64
- func (o *ExecutionLeg) GetQuantityOk() (*float64, bool)
- func (o *ExecutionLeg) GetTime() time.Time
- func (o *ExecutionLeg) GetTimeOk() (*time.Time, bool)
- func (o *ExecutionLeg) HasInstrumentId() bool
- func (o *ExecutionLeg) HasLegId() bool
- func (o *ExecutionLeg) HasMismarkedQuantity() bool
- func (o *ExecutionLeg) HasPrice() bool
- func (o *ExecutionLeg) HasQuantity() bool
- func (o *ExecutionLeg) HasTime() bool
- func (o ExecutionLeg) MarshalJSON() ([]byte, error)
- func (o *ExecutionLeg) SetInstrumentId(v int64)
- func (o *ExecutionLeg) SetLegId(v int64)
- func (o *ExecutionLeg) SetMismarkedQuantity(v float64)
- func (o *ExecutionLeg) SetPrice(v float64)
- func (o *ExecutionLeg) SetQuantity(v float64)
- func (o *ExecutionLeg) SetTime(v time.Time)
- func (o ExecutionLeg) ToMap() (map[string]interface{}, error)
- type FeeLeg
- type FeeType
- type FeeValue
- func (o *FeeValue) GetType() FeeType
- func (o *FeeValue) GetTypeOk() (*FeeType, bool)
- func (o *FeeValue) GetValue() float64
- func (o *FeeValue) GetValueOk() (*float64, bool)
- func (o *FeeValue) HasType() bool
- func (o *FeeValue) HasValue() bool
- func (o FeeValue) MarshalJSON() ([]byte, error)
- func (o *FeeValue) SetType(v FeeType)
- func (o *FeeValue) SetValue(v float64)
- func (o FeeValue) ToMap() (map[string]interface{}, error)
- type Fees
- type Forex
- func (o *Forex) GetAssetType() string
- func (o *Forex) GetAssetTypeOk() (*string, bool)
- func (o *Forex) GetBaseCurrency() Currency
- func (o *Forex) GetBaseCurrencyOk() (*Currency, bool)
- func (o *Forex) GetCounterCurrency() Currency
- func (o *Forex) GetCounterCurrencyOk() (*Currency, bool)
- func (o *Forex) GetCusip() string
- func (o *Forex) GetCusipOk() (*string, bool)
- func (o *Forex) GetDescription() string
- func (o *Forex) GetDescriptionOk() (*string, bool)
- func (o *Forex) GetInstrumentId() int64
- func (o *Forex) GetInstrumentIdOk() (*int64, bool)
- func (o *Forex) GetNetChange() float64
- func (o *Forex) GetNetChangeOk() (*float64, bool)
- func (o *Forex) GetSymbol() string
- func (o *Forex) GetSymbolOk() (*string, bool)
- func (o *Forex) GetType() string
- func (o *Forex) GetTypeOk() (*string, bool)
- func (o *Forex) HasBaseCurrency() bool
- func (o *Forex) HasCounterCurrency() bool
- func (o *Forex) HasCusip() bool
- func (o *Forex) HasDescription() bool
- func (o *Forex) HasInstrumentId() bool
- func (o *Forex) HasNetChange() bool
- func (o *Forex) HasSymbol() bool
- func (o *Forex) HasType() bool
- func (o Forex) MarshalJSON() ([]byte, error)
- func (o *Forex) SetAssetType(v string)
- func (o *Forex) SetBaseCurrency(v Currency)
- func (o *Forex) SetCounterCurrency(v Currency)
- func (o *Forex) SetCusip(v string)
- func (o *Forex) SetDescription(v string)
- func (o *Forex) SetInstrumentId(v int64)
- func (o *Forex) SetNetChange(v float64)
- func (o *Forex) SetSymbol(v string)
- func (o *Forex) SetType(v string)
- func (o Forex) ToMap() (map[string]interface{}, error)
- func (o *Forex) UnmarshalJSON(data []byte) (err error)
- type Future
- func (o *Future) GetActiveContract() bool
- func (o *Future) GetActiveContractOk() (*bool, bool)
- func (o *Future) GetAssetType() string
- func (o *Future) GetAssetTypeOk() (*string, bool)
- func (o *Future) GetCusip() string
- func (o *Future) GetCusipOk() (*string, bool)
- func (o *Future) GetDescription() string
- func (o *Future) GetDescriptionOk() (*string, bool)
- func (o *Future) GetExpirationDate() time.Time
- func (o *Future) GetExpirationDateOk() (*time.Time, bool)
- func (o *Future) GetFirstNoticeDate() time.Time
- func (o *Future) GetFirstNoticeDateOk() (*time.Time, bool)
- func (o *Future) GetInstrumentId() int64
- func (o *Future) GetInstrumentIdOk() (*int64, bool)
- func (o *Future) GetLastTradingDate() time.Time
- func (o *Future) GetLastTradingDateOk() (*time.Time, bool)
- func (o *Future) GetMultiplier() float64
- func (o *Future) GetMultiplierOk() (*float64, bool)
- func (o *Future) GetNetChange() float64
- func (o *Future) GetNetChangeOk() (*float64, bool)
- func (o *Future) GetSymbol() string
- func (o *Future) GetSymbolOk() (*string, bool)
- func (o *Future) GetType() string
- func (o *Future) GetTypeOk() (*string, bool)
- func (o *Future) HasActiveContract() bool
- func (o *Future) HasCusip() bool
- func (o *Future) HasDescription() bool
- func (o *Future) HasExpirationDate() bool
- func (o *Future) HasFirstNoticeDate() bool
- func (o *Future) HasInstrumentId() bool
- func (o *Future) HasLastTradingDate() bool
- func (o *Future) HasMultiplier() bool
- func (o *Future) HasNetChange() bool
- func (o *Future) HasSymbol() bool
- func (o *Future) HasType() bool
- func (o Future) MarshalJSON() ([]byte, error)
- func (o *Future) SetActiveContract(v bool)
- func (o *Future) SetAssetType(v string)
- func (o *Future) SetCusip(v string)
- func (o *Future) SetDescription(v string)
- func (o *Future) SetExpirationDate(v time.Time)
- func (o *Future) SetFirstNoticeDate(v time.Time)
- func (o *Future) SetInstrumentId(v int64)
- func (o *Future) SetLastTradingDate(v time.Time)
- func (o *Future) SetMultiplier(v float64)
- func (o *Future) SetNetChange(v float64)
- func (o *Future) SetSymbol(v string)
- func (o *Future) SetType(v string)
- func (o Future) ToMap() (map[string]interface{}, error)
- func (o *Future) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type Index
- func (o *Index) GetActiveContract() bool
- func (o *Index) GetActiveContractOk() (*bool, bool)
- func (o *Index) GetAssetType() string
- func (o *Index) GetAssetTypeOk() (*string, bool)
- func (o *Index) GetCusip() string
- func (o *Index) GetCusipOk() (*string, bool)
- func (o *Index) GetDescription() string
- func (o *Index) GetDescriptionOk() (*string, bool)
- func (o *Index) GetInstrumentId() int64
- func (o *Index) GetInstrumentIdOk() (*int64, bool)
- func (o *Index) GetNetChange() float64
- func (o *Index) GetNetChangeOk() (*float64, bool)
- func (o *Index) GetSymbol() string
- func (o *Index) GetSymbolOk() (*string, bool)
- func (o *Index) GetType() string
- func (o *Index) GetTypeOk() (*string, bool)
- func (o *Index) HasActiveContract() bool
- func (o *Index) HasCusip() bool
- func (o *Index) HasDescription() bool
- func (o *Index) HasInstrumentId() bool
- func (o *Index) HasNetChange() bool
- func (o *Index) HasSymbol() bool
- func (o *Index) HasType() bool
- func (o Index) MarshalJSON() ([]byte, error)
- func (o *Index) SetActiveContract(v bool)
- func (o *Index) SetAssetType(v string)
- func (o *Index) SetCusip(v string)
- func (o *Index) SetDescription(v string)
- func (o *Index) SetInstrumentId(v int64)
- func (o *Index) SetNetChange(v float64)
- func (o *Index) SetSymbol(v string)
- func (o *Index) SetType(v string)
- func (o Index) ToMap() (map[string]interface{}, error)
- func (o *Index) UnmarshalJSON(data []byte) (err error)
- type Instruction
- type MappedNullable
- type NullableAPIRuleAction
- func (v NullableAPIRuleAction) Get() *APIRuleAction
- func (v NullableAPIRuleAction) IsSet() bool
- func (v NullableAPIRuleAction) MarshalJSON() ([]byte, error)
- func (v *NullableAPIRuleAction) Set(val *APIRuleAction)
- func (v *NullableAPIRuleAction) UnmarshalJSON(src []byte) error
- func (v *NullableAPIRuleAction) Unset()
- type NullableAccount
- type NullableAccountAPIOptionDeliverable
- func (v NullableAccountAPIOptionDeliverable) Get() *AccountAPIOptionDeliverable
- func (v NullableAccountAPIOptionDeliverable) IsSet() bool
- func (v NullableAccountAPIOptionDeliverable) MarshalJSON() ([]byte, error)
- func (v *NullableAccountAPIOptionDeliverable) Set(val *AccountAPIOptionDeliverable)
- func (v *NullableAccountAPIOptionDeliverable) UnmarshalJSON(src []byte) error
- func (v *NullableAccountAPIOptionDeliverable) Unset()
- type NullableAccountCashEquivalent
- func (v NullableAccountCashEquivalent) Get() *AccountCashEquivalent
- func (v NullableAccountCashEquivalent) IsSet() bool
- func (v NullableAccountCashEquivalent) MarshalJSON() ([]byte, error)
- func (v *NullableAccountCashEquivalent) Set(val *AccountCashEquivalent)
- func (v *NullableAccountCashEquivalent) UnmarshalJSON(src []byte) error
- func (v *NullableAccountCashEquivalent) Unset()
- type NullableAccountEquity
- func (v NullableAccountEquity) Get() *AccountEquity
- func (v NullableAccountEquity) IsSet() bool
- func (v NullableAccountEquity) MarshalJSON() ([]byte, error)
- func (v *NullableAccountEquity) Set(val *AccountEquity)
- func (v *NullableAccountEquity) UnmarshalJSON(src []byte) error
- func (v *NullableAccountEquity) Unset()
- type NullableAccountFixedIncome
- func (v NullableAccountFixedIncome) Get() *AccountFixedIncome
- func (v NullableAccountFixedIncome) IsSet() bool
- func (v NullableAccountFixedIncome) MarshalJSON() ([]byte, error)
- func (v *NullableAccountFixedIncome) Set(val *AccountFixedIncome)
- func (v *NullableAccountFixedIncome) UnmarshalJSON(src []byte) error
- func (v *NullableAccountFixedIncome) Unset()
- type NullableAccountMutualFund
- func (v NullableAccountMutualFund) Get() *AccountMutualFund
- func (v NullableAccountMutualFund) IsSet() bool
- func (v NullableAccountMutualFund) MarshalJSON() ([]byte, error)
- func (v *NullableAccountMutualFund) Set(val *AccountMutualFund)
- func (v *NullableAccountMutualFund) UnmarshalJSON(src []byte) error
- func (v *NullableAccountMutualFund) Unset()
- type NullableAccountNumberHash
- func (v NullableAccountNumberHash) Get() *AccountNumberHash
- func (v NullableAccountNumberHash) IsSet() bool
- func (v NullableAccountNumberHash) MarshalJSON() ([]byte, error)
- func (v *NullableAccountNumberHash) Set(val *AccountNumberHash)
- func (v *NullableAccountNumberHash) UnmarshalJSON(src []byte) error
- func (v *NullableAccountNumberHash) Unset()
- type NullableAccountOption
- func (v NullableAccountOption) Get() *AccountOption
- func (v NullableAccountOption) IsSet() bool
- func (v NullableAccountOption) MarshalJSON() ([]byte, error)
- func (v *NullableAccountOption) Set(val *AccountOption)
- func (v *NullableAccountOption) UnmarshalJSON(src []byte) error
- func (v *NullableAccountOption) Unset()
- type NullableAccountsBaseInstrument
- func (v NullableAccountsBaseInstrument) Get() *AccountsBaseInstrument
- func (v NullableAccountsBaseInstrument) IsSet() bool
- func (v NullableAccountsBaseInstrument) MarshalJSON() ([]byte, error)
- func (v *NullableAccountsBaseInstrument) Set(val *AccountsBaseInstrument)
- func (v *NullableAccountsBaseInstrument) UnmarshalJSON(src []byte) error
- func (v *NullableAccountsBaseInstrument) Unset()
- type NullableAccountsInstrument
- func (v NullableAccountsInstrument) Get() *AccountsInstrument
- func (v NullableAccountsInstrument) IsSet() bool
- func (v NullableAccountsInstrument) MarshalJSON() ([]byte, error)
- func (v *NullableAccountsInstrument) Set(val *AccountsInstrument)
- func (v *NullableAccountsInstrument) UnmarshalJSON(src []byte) error
- func (v *NullableAccountsInstrument) Unset()
- type NullableAmountIndicator
- func (v NullableAmountIndicator) Get() *AmountIndicator
- func (v NullableAmountIndicator) IsSet() bool
- func (v NullableAmountIndicator) MarshalJSON() ([]byte, error)
- func (v *NullableAmountIndicator) Set(val *AmountIndicator)
- func (v *NullableAmountIndicator) UnmarshalJSON(src []byte) error
- func (v *NullableAmountIndicator) Unset()
- type NullableApiOrderStatus
- func (v NullableApiOrderStatus) Get() *ApiOrderStatus
- func (v NullableApiOrderStatus) IsSet() bool
- func (v NullableApiOrderStatus) MarshalJSON() ([]byte, error)
- func (v *NullableApiOrderStatus) Set(val *ApiOrderStatus)
- func (v *NullableApiOrderStatus) UnmarshalJSON(src []byte) error
- func (v *NullableApiOrderStatus) Unset()
- type NullableAssetType
- type NullableBool
- type NullableCollectiveInvestment
- func (v NullableCollectiveInvestment) Get() *CollectiveInvestment
- func (v NullableCollectiveInvestment) IsSet() bool
- func (v NullableCollectiveInvestment) MarshalJSON() ([]byte, error)
- func (v *NullableCollectiveInvestment) Set(val *CollectiveInvestment)
- func (v *NullableCollectiveInvestment) UnmarshalJSON(src []byte) error
- func (v *NullableCollectiveInvestment) Unset()
- type NullableCommission
- type NullableCommissionAndFee
- func (v NullableCommissionAndFee) Get() *CommissionAndFee
- func (v NullableCommissionAndFee) IsSet() bool
- func (v NullableCommissionAndFee) MarshalJSON() ([]byte, error)
- func (v *NullableCommissionAndFee) Set(val *CommissionAndFee)
- func (v *NullableCommissionAndFee) UnmarshalJSON(src []byte) error
- func (v *NullableCommissionAndFee) Unset()
- type NullableCommissionLeg
- func (v NullableCommissionLeg) Get() *CommissionLeg
- func (v NullableCommissionLeg) IsSet() bool
- func (v NullableCommissionLeg) MarshalJSON() ([]byte, error)
- func (v *NullableCommissionLeg) Set(val *CommissionLeg)
- func (v *NullableCommissionLeg) UnmarshalJSON(src []byte) error
- func (v *NullableCommissionLeg) Unset()
- type NullableCommissionValue
- func (v NullableCommissionValue) Get() *CommissionValue
- func (v NullableCommissionValue) IsSet() bool
- func (v NullableCommissionValue) MarshalJSON() ([]byte, error)
- func (v *NullableCommissionValue) Set(val *CommissionValue)
- func (v *NullableCommissionValue) UnmarshalJSON(src []byte) error
- func (v *NullableCommissionValue) Unset()
- type NullableComplexOrderStrategyType
- func (v NullableComplexOrderStrategyType) Get() *ComplexOrderStrategyType
- func (v NullableComplexOrderStrategyType) IsSet() bool
- func (v NullableComplexOrderStrategyType) MarshalJSON() ([]byte, error)
- func (v *NullableComplexOrderStrategyType) Set(val *ComplexOrderStrategyType)
- func (v *NullableComplexOrderStrategyType) UnmarshalJSON(src []byte) error
- func (v *NullableComplexOrderStrategyType) Unset()
- type NullableCurrency
- type NullableDateParam
- type NullableDuration
- type NullableExecutionLeg
- func (v NullableExecutionLeg) Get() *ExecutionLeg
- func (v NullableExecutionLeg) IsSet() bool
- func (v NullableExecutionLeg) MarshalJSON() ([]byte, error)
- func (v *NullableExecutionLeg) Set(val *ExecutionLeg)
- func (v *NullableExecutionLeg) UnmarshalJSON(src []byte) error
- func (v *NullableExecutionLeg) Unset()
- type NullableFeeLeg
- type NullableFeeType
- type NullableFeeValue
- type NullableFees
- type NullableFloat32
- type NullableFloat64
- type NullableForex
- type NullableFuture
- type NullableIndex
- type NullableInstruction
- func (v NullableInstruction) Get() *Instruction
- func (v NullableInstruction) IsSet() bool
- func (v NullableInstruction) MarshalJSON() ([]byte, error)
- func (v *NullableInstruction) Set(val *Instruction)
- func (v *NullableInstruction) UnmarshalJSON(src []byte) error
- func (v *NullableInstruction) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableOffer
- type NullableOrder
- type NullableOrderActivity
- func (v NullableOrderActivity) Get() *OrderActivity
- func (v NullableOrderActivity) IsSet() bool
- func (v NullableOrderActivity) MarshalJSON() ([]byte, error)
- func (v *NullableOrderActivity) Set(val *OrderActivity)
- func (v *NullableOrderActivity) UnmarshalJSON(src []byte) error
- func (v *NullableOrderActivity) Unset()
- type NullableOrderBalance
- func (v NullableOrderBalance) Get() *OrderBalance
- func (v NullableOrderBalance) IsSet() bool
- func (v NullableOrderBalance) MarshalJSON() ([]byte, error)
- func (v *NullableOrderBalance) Set(val *OrderBalance)
- func (v *NullableOrderBalance) UnmarshalJSON(src []byte) error
- func (v *NullableOrderBalance) Unset()
- type NullableOrderLeg
- type NullableOrderLegCollection
- func (v NullableOrderLegCollection) Get() *OrderLegCollection
- func (v NullableOrderLegCollection) IsSet() bool
- func (v NullableOrderLegCollection) MarshalJSON() ([]byte, error)
- func (v *NullableOrderLegCollection) Set(val *OrderLegCollection)
- func (v *NullableOrderLegCollection) UnmarshalJSON(src []byte) error
- func (v *NullableOrderLegCollection) Unset()
- type NullableOrderRequest
- func (v NullableOrderRequest) Get() *OrderRequest
- func (v NullableOrderRequest) IsSet() bool
- func (v NullableOrderRequest) MarshalJSON() ([]byte, error)
- func (v *NullableOrderRequest) Set(val *OrderRequest)
- func (v *NullableOrderRequest) UnmarshalJSON(src []byte) error
- func (v *NullableOrderRequest) Unset()
- type NullableOrderStrategy
- func (v NullableOrderStrategy) Get() *OrderStrategy
- func (v NullableOrderStrategy) IsSet() bool
- func (v NullableOrderStrategy) MarshalJSON() ([]byte, error)
- func (v *NullableOrderStrategy) Set(val *OrderStrategy)
- func (v *NullableOrderStrategy) UnmarshalJSON(src []byte) error
- func (v *NullableOrderStrategy) Unset()
- type NullableOrderStrategyType
- func (v NullableOrderStrategyType) Get() *OrderStrategyType
- func (v NullableOrderStrategyType) IsSet() bool
- func (v NullableOrderStrategyType) MarshalJSON() ([]byte, error)
- func (v *NullableOrderStrategyType) Set(val *OrderStrategyType)
- func (v *NullableOrderStrategyType) UnmarshalJSON(src []byte) error
- func (v *NullableOrderStrategyType) Unset()
- type NullableOrderType
- type NullableOrderTypeRequest
- func (v NullableOrderTypeRequest) Get() *OrderTypeRequest
- func (v NullableOrderTypeRequest) IsSet() bool
- func (v NullableOrderTypeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableOrderTypeRequest) Set(val *OrderTypeRequest)
- func (v *NullableOrderTypeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableOrderTypeRequest) Unset()
- type NullableOrderValidationDetail
- func (v NullableOrderValidationDetail) Get() *OrderValidationDetail
- func (v NullableOrderValidationDetail) IsSet() bool
- func (v NullableOrderValidationDetail) MarshalJSON() ([]byte, error)
- func (v *NullableOrderValidationDetail) Set(val *OrderValidationDetail)
- func (v *NullableOrderValidationDetail) UnmarshalJSON(src []byte) error
- func (v *NullableOrderValidationDetail) Unset()
- type NullableOrderValidationResult
- func (v NullableOrderValidationResult) Get() *OrderValidationResult
- func (v NullableOrderValidationResult) IsSet() bool
- func (v NullableOrderValidationResult) MarshalJSON() ([]byte, error)
- func (v *NullableOrderValidationResult) Set(val *OrderValidationResult)
- func (v *NullableOrderValidationResult) UnmarshalJSON(src []byte) error
- func (v *NullableOrderValidationResult) Unset()
- type NullablePosition
- type NullablePreviewOrder
- func (v NullablePreviewOrder) Get() *PreviewOrder
- func (v NullablePreviewOrder) IsSet() bool
- func (v NullablePreviewOrder) MarshalJSON() ([]byte, error)
- func (v *NullablePreviewOrder) Set(val *PreviewOrder)
- func (v *NullablePreviewOrder) UnmarshalJSON(src []byte) error
- func (v *NullablePreviewOrder) Unset()
- type NullablePriceLinkBasis
- func (v NullablePriceLinkBasis) Get() *PriceLinkBasis
- func (v NullablePriceLinkBasis) IsSet() bool
- func (v NullablePriceLinkBasis) MarshalJSON() ([]byte, error)
- func (v *NullablePriceLinkBasis) Set(val *PriceLinkBasis)
- func (v *NullablePriceLinkBasis) UnmarshalJSON(src []byte) error
- func (v *NullablePriceLinkBasis) Unset()
- type NullablePriceLinkType
- func (v NullablePriceLinkType) Get() *PriceLinkType
- func (v NullablePriceLinkType) IsSet() bool
- func (v NullablePriceLinkType) MarshalJSON() ([]byte, error)
- func (v *NullablePriceLinkType) Set(val *PriceLinkType)
- func (v *NullablePriceLinkType) UnmarshalJSON(src []byte) error
- func (v *NullablePriceLinkType) Unset()
- type NullableProduct
- type NullableRequestedDestination
- func (v NullableRequestedDestination) Get() *RequestedDestination
- func (v NullableRequestedDestination) IsSet() bool
- func (v NullableRequestedDestination) MarshalJSON() ([]byte, error)
- func (v *NullableRequestedDestination) Set(val *RequestedDestination)
- func (v *NullableRequestedDestination) UnmarshalJSON(src []byte) error
- func (v *NullableRequestedDestination) Unset()
- type NullableSecuritiesAccount
- func (v NullableSecuritiesAccount) Get() *SecuritiesAccount
- func (v NullableSecuritiesAccount) IsSet() bool
- func (v NullableSecuritiesAccount) MarshalJSON() ([]byte, error)
- func (v *NullableSecuritiesAccount) Set(val *SecuritiesAccount)
- func (v *NullableSecuritiesAccount) UnmarshalJSON(src []byte) error
- func (v *NullableSecuritiesAccount) Unset()
- type NullableServiceError
- func (v NullableServiceError) Get() *ServiceError
- func (v NullableServiceError) IsSet() bool
- func (v NullableServiceError) MarshalJSON() ([]byte, error)
- func (v *NullableServiceError) Set(val *ServiceError)
- func (v *NullableServiceError) UnmarshalJSON(src []byte) error
- func (v *NullableServiceError) Unset()
- type NullableSession
- type NullableSettlementInstruction
- func (v NullableSettlementInstruction) Get() *SettlementInstruction
- func (v NullableSettlementInstruction) IsSet() bool
- func (v NullableSettlementInstruction) MarshalJSON() ([]byte, error)
- func (v *NullableSettlementInstruction) Set(val *SettlementInstruction)
- func (v *NullableSettlementInstruction) UnmarshalJSON(src []byte) error
- func (v *NullableSettlementInstruction) Unset()
- type NullableSpecialInstruction
- func (v NullableSpecialInstruction) Get() *SpecialInstruction
- func (v NullableSpecialInstruction) IsSet() bool
- func (v NullableSpecialInstruction) MarshalJSON() ([]byte, error)
- func (v *NullableSpecialInstruction) Set(val *SpecialInstruction)
- func (v *NullableSpecialInstruction) UnmarshalJSON(src []byte) error
- func (v *NullableSpecialInstruction) Unset()
- type NullableStatus
- type NullableStopPriceLinkBasis
- func (v NullableStopPriceLinkBasis) Get() *StopPriceLinkBasis
- func (v NullableStopPriceLinkBasis) IsSet() bool
- func (v NullableStopPriceLinkBasis) MarshalJSON() ([]byte, error)
- func (v *NullableStopPriceLinkBasis) Set(val *StopPriceLinkBasis)
- func (v *NullableStopPriceLinkBasis) UnmarshalJSON(src []byte) error
- func (v *NullableStopPriceLinkBasis) Unset()
- type NullableStopPriceLinkType
- func (v NullableStopPriceLinkType) Get() *StopPriceLinkType
- func (v NullableStopPriceLinkType) IsSet() bool
- func (v NullableStopPriceLinkType) MarshalJSON() ([]byte, error)
- func (v *NullableStopPriceLinkType) Set(val *StopPriceLinkType)
- func (v *NullableStopPriceLinkType) UnmarshalJSON(src []byte) error
- func (v *NullableStopPriceLinkType) Unset()
- type NullableStopType
- type NullableStreamerInfo
- func (v NullableStreamerInfo) Get() *StreamerInfo
- func (v NullableStreamerInfo) IsSet() bool
- func (v NullableStreamerInfo) MarshalJSON() ([]byte, error)
- func (v *NullableStreamerInfo) Set(val *StreamerInfo)
- func (v *NullableStreamerInfo) UnmarshalJSON(src []byte) error
- func (v *NullableStreamerInfo) Unset()
- type NullableString
- type NullableTaxLotMethod
- func (v NullableTaxLotMethod) Get() *TaxLotMethod
- func (v NullableTaxLotMethod) IsSet() bool
- func (v NullableTaxLotMethod) MarshalJSON() ([]byte, error)
- func (v *NullableTaxLotMethod) Set(val *TaxLotMethod)
- func (v *NullableTaxLotMethod) UnmarshalJSON(src []byte) error
- func (v *NullableTaxLotMethod) Unset()
- type NullableTime
- type NullableTransaction
- func (v NullableTransaction) Get() *Transaction
- func (v NullableTransaction) IsSet() bool
- func (v NullableTransaction) MarshalJSON() ([]byte, error)
- func (v *NullableTransaction) Set(val *Transaction)
- func (v *NullableTransaction) UnmarshalJSON(src []byte) error
- func (v *NullableTransaction) Unset()
- type NullableTransactionAPIOptionDeliverable
- func (v NullableTransactionAPIOptionDeliverable) Get() *TransactionAPIOptionDeliverable
- func (v NullableTransactionAPIOptionDeliverable) IsSet() bool
- func (v NullableTransactionAPIOptionDeliverable) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionAPIOptionDeliverable) Set(val *TransactionAPIOptionDeliverable)
- func (v *NullableTransactionAPIOptionDeliverable) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionAPIOptionDeliverable) Unset()
- type NullableTransactionBaseInstrument
- func (v NullableTransactionBaseInstrument) Get() *TransactionBaseInstrument
- func (v NullableTransactionBaseInstrument) IsSet() bool
- func (v NullableTransactionBaseInstrument) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionBaseInstrument) Set(val *TransactionBaseInstrument)
- func (v *NullableTransactionBaseInstrument) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionBaseInstrument) Unset()
- type NullableTransactionCashEquivalent
- func (v NullableTransactionCashEquivalent) Get() *TransactionCashEquivalent
- func (v NullableTransactionCashEquivalent) IsSet() bool
- func (v NullableTransactionCashEquivalent) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionCashEquivalent) Set(val *TransactionCashEquivalent)
- func (v *NullableTransactionCashEquivalent) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionCashEquivalent) Unset()
- type NullableTransactionEquity
- func (v NullableTransactionEquity) Get() *TransactionEquity
- func (v NullableTransactionEquity) IsSet() bool
- func (v NullableTransactionEquity) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionEquity) Set(val *TransactionEquity)
- func (v *NullableTransactionEquity) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionEquity) Unset()
- type NullableTransactionFixedIncome
- func (v NullableTransactionFixedIncome) Get() *TransactionFixedIncome
- func (v NullableTransactionFixedIncome) IsSet() bool
- func (v NullableTransactionFixedIncome) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionFixedIncome) Set(val *TransactionFixedIncome)
- func (v *NullableTransactionFixedIncome) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionFixedIncome) Unset()
- type NullableTransactionInstrument
- func (v NullableTransactionInstrument) Get() *TransactionInstrument
- func (v NullableTransactionInstrument) IsSet() bool
- func (v NullableTransactionInstrument) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionInstrument) Set(val *TransactionInstrument)
- func (v *NullableTransactionInstrument) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionInstrument) Unset()
- type NullableTransactionMutualFund
- func (v NullableTransactionMutualFund) Get() *TransactionMutualFund
- func (v NullableTransactionMutualFund) IsSet() bool
- func (v NullableTransactionMutualFund) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionMutualFund) Set(val *TransactionMutualFund)
- func (v *NullableTransactionMutualFund) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionMutualFund) Unset()
- type NullableTransactionOption
- func (v NullableTransactionOption) Get() *TransactionOption
- func (v NullableTransactionOption) IsSet() bool
- func (v NullableTransactionOption) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionOption) Set(val *TransactionOption)
- func (v *NullableTransactionOption) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionOption) Unset()
- type NullableTransactionType
- func (v NullableTransactionType) Get() *TransactionType
- func (v NullableTransactionType) IsSet() bool
- func (v NullableTransactionType) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionType) Set(val *TransactionType)
- func (v *NullableTransactionType) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionType) Unset()
- type NullableTransferItem
- func (v NullableTransferItem) Get() *TransferItem
- func (v NullableTransferItem) IsSet() bool
- func (v NullableTransferItem) MarshalJSON() ([]byte, error)
- func (v *NullableTransferItem) Set(val *TransferItem)
- func (v *NullableTransferItem) UnmarshalJSON(src []byte) error
- func (v *NullableTransferItem) Unset()
- type NullableUserDetails
- func (v NullableUserDetails) Get() *UserDetails
- func (v NullableUserDetails) IsSet() bool
- func (v NullableUserDetails) MarshalJSON() ([]byte, error)
- func (v *NullableUserDetails) Set(val *UserDetails)
- func (v *NullableUserDetails) UnmarshalJSON(src []byte) error
- func (v *NullableUserDetails) Unset()
- type NullableUserPreference
- func (v NullableUserPreference) Get() *UserPreference
- func (v NullableUserPreference) IsSet() bool
- func (v NullableUserPreference) MarshalJSON() ([]byte, error)
- func (v *NullableUserPreference) Set(val *UserPreference)
- func (v *NullableUserPreference) UnmarshalJSON(src []byte) error
- func (v *NullableUserPreference) Unset()
- type NullableUserProferenceAccount
- func (v NullableUserProferenceAccount) Get() *UserProferenceAccount
- func (v NullableUserProferenceAccount) IsSet() bool
- func (v NullableUserProferenceAccount) MarshalJSON() ([]byte, error)
- func (v *NullableUserProferenceAccount) Set(val *UserProferenceAccount)
- func (v *NullableUserProferenceAccount) UnmarshalJSON(src []byte) error
- func (v *NullableUserProferenceAccount) Unset()
- type Offer
- type Order
- func (o *Order) GetAccountNumber() int64
- func (o *Order) GetAccountNumberOk() (*int64, bool)
- func (o *Order) GetActivationPrice() float64
- func (o *Order) GetActivationPriceOk() (*float64, bool)
- func (o *Order) GetCancelTime() time.Time
- func (o *Order) GetCancelTimeOk() (*time.Time, bool)
- func (o *Order) GetCancelable() bool
- func (o *Order) GetCancelableOk() (*bool, bool)
- func (o *Order) GetChildOrderStrategies() []Order
- func (o *Order) GetChildOrderStrategiesOk() ([]Order, bool)
- func (o *Order) GetCloseTime() time.Time
- func (o *Order) GetCloseTimeOk() (*time.Time, bool)
- func (o *Order) GetComplexOrderStrategyType() ComplexOrderStrategyType
- func (o *Order) GetComplexOrderStrategyTypeOk() (*ComplexOrderStrategyType, bool)
- func (o *Order) GetDestinationLinkName() string
- func (o *Order) GetDestinationLinkNameOk() (*string, bool)
- func (o *Order) GetDuration() Duration
- func (o *Order) GetDurationOk() (*Duration, bool)
- func (o *Order) GetEditable() bool
- func (o *Order) GetEditableOk() (*bool, bool)
- func (o *Order) GetEnteredTime() time.Time
- func (o *Order) GetEnteredTimeOk() (*time.Time, bool)
- func (o *Order) GetFilledQuantity() float64
- func (o *Order) GetFilledQuantityOk() (*float64, bool)
- func (o *Order) GetOrderActivityCollection() []OrderActivity
- func (o *Order) GetOrderActivityCollectionOk() ([]OrderActivity, bool)
- func (o *Order) GetOrderId() int64
- func (o *Order) GetOrderIdOk() (*int64, bool)
- func (o *Order) GetOrderLegCollection() []OrderLegCollection
- func (o *Order) GetOrderLegCollectionOk() ([]OrderLegCollection, bool)
- func (o *Order) GetOrderStrategyType() OrderStrategyType
- func (o *Order) GetOrderStrategyTypeOk() (*OrderStrategyType, bool)
- func (o *Order) GetOrderType() OrderType
- func (o *Order) GetOrderTypeOk() (*OrderType, bool)
- func (o *Order) GetPrice() float64
- func (o *Order) GetPriceLinkBasis() PriceLinkBasis
- func (o *Order) GetPriceLinkBasisOk() (*PriceLinkBasis, bool)
- func (o *Order) GetPriceLinkType() PriceLinkType
- func (o *Order) GetPriceLinkTypeOk() (*PriceLinkType, bool)
- func (o *Order) GetPriceOk() (*float64, bool)
- func (o *Order) GetQuantity() float64
- func (o *Order) GetQuantityOk() (*float64, bool)
- func (o *Order) GetReleaseTime() time.Time
- func (o *Order) GetReleaseTimeOk() (*time.Time, bool)
- func (o *Order) GetRemainingQuantity() float64
- func (o *Order) GetRemainingQuantityOk() (*float64, bool)
- func (o *Order) GetReplacingOrderCollection() []Order
- func (o *Order) GetReplacingOrderCollectionOk() ([]Order, bool)
- func (o *Order) GetRequestedDestination() RequestedDestination
- func (o *Order) GetRequestedDestinationOk() (*RequestedDestination, bool)
- func (o *Order) GetSession() Session
- func (o *Order) GetSessionOk() (*Session, bool)
- func (o *Order) GetSpecialInstruction() SpecialInstruction
- func (o *Order) GetSpecialInstructionOk() (*SpecialInstruction, bool)
- func (o *Order) GetStatus() Status
- func (o *Order) GetStatusDescription() string
- func (o *Order) GetStatusDescriptionOk() (*string, bool)
- func (o *Order) GetStatusOk() (*Status, bool)
- func (o *Order) GetStopPrice() float64
- func (o *Order) GetStopPriceLinkBasis() StopPriceLinkBasis
- func (o *Order) GetStopPriceLinkBasisOk() (*StopPriceLinkBasis, bool)
- func (o *Order) GetStopPriceLinkType() StopPriceLinkType
- func (o *Order) GetStopPriceLinkTypeOk() (*StopPriceLinkType, bool)
- func (o *Order) GetStopPriceOffset() float64
- func (o *Order) GetStopPriceOffsetOk() (*float64, bool)
- func (o *Order) GetStopPriceOk() (*float64, bool)
- func (o *Order) GetStopType() StopType
- func (o *Order) GetStopTypeOk() (*StopType, bool)
- func (o *Order) GetTag() string
- func (o *Order) GetTagOk() (*string, bool)
- func (o *Order) GetTaxLotMethod() TaxLotMethod
- func (o *Order) GetTaxLotMethodOk() (*TaxLotMethod, bool)
- func (o *Order) HasAccountNumber() bool
- func (o *Order) HasActivationPrice() bool
- func (o *Order) HasCancelTime() bool
- func (o *Order) HasCancelable() bool
- func (o *Order) HasChildOrderStrategies() bool
- func (o *Order) HasCloseTime() bool
- func (o *Order) HasComplexOrderStrategyType() bool
- func (o *Order) HasDestinationLinkName() bool
- func (o *Order) HasDuration() bool
- func (o *Order) HasEditable() bool
- func (o *Order) HasEnteredTime() bool
- func (o *Order) HasFilledQuantity() bool
- func (o *Order) HasOrderActivityCollection() bool
- func (o *Order) HasOrderId() bool
- func (o *Order) HasOrderLegCollection() bool
- func (o *Order) HasOrderStrategyType() bool
- func (o *Order) HasOrderType() bool
- func (o *Order) HasPrice() bool
- func (o *Order) HasPriceLinkBasis() bool
- func (o *Order) HasPriceLinkType() bool
- func (o *Order) HasQuantity() bool
- func (o *Order) HasReleaseTime() bool
- func (o *Order) HasRemainingQuantity() bool
- func (o *Order) HasReplacingOrderCollection() bool
- func (o *Order) HasRequestedDestination() bool
- func (o *Order) HasSession() bool
- func (o *Order) HasSpecialInstruction() bool
- func (o *Order) HasStatus() bool
- func (o *Order) HasStatusDescription() bool
- func (o *Order) HasStopPrice() bool
- func (o *Order) HasStopPriceLinkBasis() bool
- func (o *Order) HasStopPriceLinkType() bool
- func (o *Order) HasStopPriceOffset() bool
- func (o *Order) HasStopType() bool
- func (o *Order) HasTag() bool
- func (o *Order) HasTaxLotMethod() bool
- func (o Order) MarshalJSON() ([]byte, error)
- func (o *Order) SetAccountNumber(v int64)
- func (o *Order) SetActivationPrice(v float64)
- func (o *Order) SetCancelTime(v time.Time)
- func (o *Order) SetCancelable(v bool)
- func (o *Order) SetChildOrderStrategies(v []Order)
- func (o *Order) SetCloseTime(v time.Time)
- func (o *Order) SetComplexOrderStrategyType(v ComplexOrderStrategyType)
- func (o *Order) SetDestinationLinkName(v string)
- func (o *Order) SetDuration(v Duration)
- func (o *Order) SetEditable(v bool)
- func (o *Order) SetEnteredTime(v time.Time)
- func (o *Order) SetFilledQuantity(v float64)
- func (o *Order) SetOrderActivityCollection(v []OrderActivity)
- func (o *Order) SetOrderId(v int64)
- func (o *Order) SetOrderLegCollection(v []OrderLegCollection)
- func (o *Order) SetOrderStrategyType(v OrderStrategyType)
- func (o *Order) SetOrderType(v OrderType)
- func (o *Order) SetPrice(v float64)
- func (o *Order) SetPriceLinkBasis(v PriceLinkBasis)
- func (o *Order) SetPriceLinkType(v PriceLinkType)
- func (o *Order) SetQuantity(v float64)
- func (o *Order) SetReleaseTime(v time.Time)
- func (o *Order) SetRemainingQuantity(v float64)
- func (o *Order) SetReplacingOrderCollection(v []Order)
- func (o *Order) SetRequestedDestination(v RequestedDestination)
- func (o *Order) SetSession(v Session)
- func (o *Order) SetSpecialInstruction(v SpecialInstruction)
- func (o *Order) SetStatus(v Status)
- func (o *Order) SetStatusDescription(v string)
- func (o *Order) SetStopPrice(v float64)
- func (o *Order) SetStopPriceLinkBasis(v StopPriceLinkBasis)
- func (o *Order) SetStopPriceLinkType(v StopPriceLinkType)
- func (o *Order) SetStopPriceOffset(v float64)
- func (o *Order) SetStopType(v StopType)
- func (o *Order) SetTag(v string)
- func (o *Order) SetTaxLotMethod(v TaxLotMethod)
- func (o Order) ToMap() (map[string]interface{}, error)
- type OrderActivity
- func (o *OrderActivity) GetActivityType() string
- func (o *OrderActivity) GetActivityTypeOk() (*string, bool)
- func (o *OrderActivity) GetExecutionLegs() []ExecutionLeg
- func (o *OrderActivity) GetExecutionLegsOk() ([]ExecutionLeg, bool)
- func (o *OrderActivity) GetExecutionType() string
- func (o *OrderActivity) GetExecutionTypeOk() (*string, bool)
- func (o *OrderActivity) GetOrderRemainingQuantity() float64
- func (o *OrderActivity) GetOrderRemainingQuantityOk() (*float64, bool)
- func (o *OrderActivity) GetQuantity() float64
- func (o *OrderActivity) GetQuantityOk() (*float64, bool)
- func (o *OrderActivity) HasActivityType() bool
- func (o *OrderActivity) HasExecutionLegs() bool
- func (o *OrderActivity) HasExecutionType() bool
- func (o *OrderActivity) HasOrderRemainingQuantity() bool
- func (o *OrderActivity) HasQuantity() bool
- func (o OrderActivity) MarshalJSON() ([]byte, error)
- func (o *OrderActivity) SetActivityType(v string)
- func (o *OrderActivity) SetExecutionLegs(v []ExecutionLeg)
- func (o *OrderActivity) SetExecutionType(v string)
- func (o *OrderActivity) SetOrderRemainingQuantity(v float64)
- func (o *OrderActivity) SetQuantity(v float64)
- func (o OrderActivity) ToMap() (map[string]interface{}, error)
- type OrderBalance
- func (o *OrderBalance) GetOrderValue() float64
- func (o *OrderBalance) GetOrderValueOk() (*float64, bool)
- func (o *OrderBalance) GetProjectedAvailableFund() float64
- func (o *OrderBalance) GetProjectedAvailableFundOk() (*float64, bool)
- func (o *OrderBalance) GetProjectedBuyingPower() float64
- func (o *OrderBalance) GetProjectedBuyingPowerOk() (*float64, bool)
- func (o *OrderBalance) GetProjectedCommission() float64
- func (o *OrderBalance) GetProjectedCommissionOk() (*float64, bool)
- func (o *OrderBalance) HasOrderValue() bool
- func (o *OrderBalance) HasProjectedAvailableFund() bool
- func (o *OrderBalance) HasProjectedBuyingPower() bool
- func (o *OrderBalance) HasProjectedCommission() bool
- func (o OrderBalance) MarshalJSON() ([]byte, error)
- func (o *OrderBalance) SetOrderValue(v float64)
- func (o *OrderBalance) SetProjectedAvailableFund(v float64)
- func (o *OrderBalance) SetProjectedBuyingPower(v float64)
- func (o *OrderBalance) SetProjectedCommission(v float64)
- func (o OrderBalance) ToMap() (map[string]interface{}, error)
- type OrderLeg
- func (o *OrderLeg) GetAskPrice() float64
- func (o *OrderLeg) GetAskPriceOk() (*float64, bool)
- func (o *OrderLeg) GetAssetType() AssetType
- func (o *OrderLeg) GetAssetTypeOk() (*AssetType, bool)
- func (o *OrderLeg) GetBidPrice() float64
- func (o *OrderLeg) GetBidPriceOk() (*float64, bool)
- func (o *OrderLeg) GetFinalSymbol() string
- func (o *OrderLeg) GetFinalSymbolOk() (*string, bool)
- func (o *OrderLeg) GetInstruction() Instruction
- func (o *OrderLeg) GetInstructionOk() (*Instruction, bool)
- func (o *OrderLeg) GetLastPrice() float64
- func (o *OrderLeg) GetLastPriceOk() (*float64, bool)
- func (o *OrderLeg) GetLegId() float32
- func (o *OrderLeg) GetLegIdOk() (*float32, bool)
- func (o *OrderLeg) GetMarkPrice() float64
- func (o *OrderLeg) GetMarkPriceOk() (*float64, bool)
- func (o *OrderLeg) GetProjectedCommission() float64
- func (o *OrderLeg) GetProjectedCommissionOk() (*float64, bool)
- func (o *OrderLeg) GetQuantity() float64
- func (o *OrderLeg) GetQuantityOk() (*float64, bool)
- func (o *OrderLeg) HasAskPrice() bool
- func (o *OrderLeg) HasAssetType() bool
- func (o *OrderLeg) HasBidPrice() bool
- func (o *OrderLeg) HasFinalSymbol() bool
- func (o *OrderLeg) HasInstruction() bool
- func (o *OrderLeg) HasLastPrice() bool
- func (o *OrderLeg) HasLegId() bool
- func (o *OrderLeg) HasMarkPrice() bool
- func (o *OrderLeg) HasProjectedCommission() bool
- func (o *OrderLeg) HasQuantity() bool
- func (o OrderLeg) MarshalJSON() ([]byte, error)
- func (o *OrderLeg) SetAskPrice(v float64)
- func (o *OrderLeg) SetAssetType(v AssetType)
- func (o *OrderLeg) SetBidPrice(v float64)
- func (o *OrderLeg) SetFinalSymbol(v string)
- func (o *OrderLeg) SetInstruction(v Instruction)
- func (o *OrderLeg) SetLastPrice(v float64)
- func (o *OrderLeg) SetLegId(v float32)
- func (o *OrderLeg) SetMarkPrice(v float64)
- func (o *OrderLeg) SetProjectedCommission(v float64)
- func (o *OrderLeg) SetQuantity(v float64)
- func (o OrderLeg) ToMap() (map[string]interface{}, error)
- type OrderLegCollection
- func (o *OrderLegCollection) GetDivCapGains() string
- func (o *OrderLegCollection) GetDivCapGainsOk() (*string, bool)
- func (o *OrderLegCollection) GetInstruction() Instruction
- func (o *OrderLegCollection) GetInstructionOk() (*Instruction, bool)
- func (o *OrderLegCollection) GetInstrument() AccountsInstrument
- func (o *OrderLegCollection) GetInstrumentOk() (*AccountsInstrument, bool)
- func (o *OrderLegCollection) GetLegId() int64
- func (o *OrderLegCollection) GetLegIdOk() (*int64, bool)
- func (o *OrderLegCollection) GetOrderLegType() string
- func (o *OrderLegCollection) GetOrderLegTypeOk() (*string, bool)
- func (o *OrderLegCollection) GetPositionEffect() string
- func (o *OrderLegCollection) GetPositionEffectOk() (*string, bool)
- func (o *OrderLegCollection) GetQuantity() float64
- func (o *OrderLegCollection) GetQuantityOk() (*float64, bool)
- func (o *OrderLegCollection) GetQuantityType() string
- func (o *OrderLegCollection) GetQuantityTypeOk() (*string, bool)
- func (o *OrderLegCollection) GetToSymbol() string
- func (o *OrderLegCollection) GetToSymbolOk() (*string, bool)
- func (o *OrderLegCollection) HasDivCapGains() bool
- func (o *OrderLegCollection) HasInstruction() bool
- func (o *OrderLegCollection) HasInstrument() bool
- func (o *OrderLegCollection) HasLegId() bool
- func (o *OrderLegCollection) HasOrderLegType() bool
- func (o *OrderLegCollection) HasPositionEffect() bool
- func (o *OrderLegCollection) HasQuantity() bool
- func (o *OrderLegCollection) HasQuantityType() bool
- func (o *OrderLegCollection) HasToSymbol() bool
- func (o OrderLegCollection) MarshalJSON() ([]byte, error)
- func (o *OrderLegCollection) SetDivCapGains(v string)
- func (o *OrderLegCollection) SetInstruction(v Instruction)
- func (o *OrderLegCollection) SetInstrument(v AccountsInstrument)
- func (o *OrderLegCollection) SetLegId(v int64)
- func (o *OrderLegCollection) SetOrderLegType(v string)
- func (o *OrderLegCollection) SetPositionEffect(v string)
- func (o *OrderLegCollection) SetQuantity(v float64)
- func (o *OrderLegCollection) SetQuantityType(v string)
- func (o *OrderLegCollection) SetToSymbol(v string)
- func (o OrderLegCollection) ToMap() (map[string]interface{}, error)
- type OrderRequest
- func (o *OrderRequest) GetAccountNumber() int64
- func (o *OrderRequest) GetAccountNumberOk() (*int64, bool)
- func (o *OrderRequest) GetActivationPrice() float64
- func (o *OrderRequest) GetActivationPriceOk() (*float64, bool)
- func (o *OrderRequest) GetCancelTime() time.Time
- func (o *OrderRequest) GetCancelTimeOk() (*time.Time, bool)
- func (o *OrderRequest) GetCancelable() bool
- func (o *OrderRequest) GetCancelableOk() (*bool, bool)
- func (o *OrderRequest) GetChildOrderStrategies() []OrderRequest
- func (o *OrderRequest) GetChildOrderStrategiesOk() ([]OrderRequest, bool)
- func (o *OrderRequest) GetCloseTime() time.Time
- func (o *OrderRequest) GetCloseTimeOk() (*time.Time, bool)
- func (o *OrderRequest) GetComplexOrderStrategyType() ComplexOrderStrategyType
- func (o *OrderRequest) GetComplexOrderStrategyTypeOk() (*ComplexOrderStrategyType, bool)
- func (o *OrderRequest) GetDestinationLinkName() string
- func (o *OrderRequest) GetDestinationLinkNameOk() (*string, bool)
- func (o *OrderRequest) GetDuration() Duration
- func (o *OrderRequest) GetDurationOk() (*Duration, bool)
- func (o *OrderRequest) GetEditable() bool
- func (o *OrderRequest) GetEditableOk() (*bool, bool)
- func (o *OrderRequest) GetEnteredTime() time.Time
- func (o *OrderRequest) GetEnteredTimeOk() (*time.Time, bool)
- func (o *OrderRequest) GetFilledQuantity() float64
- func (o *OrderRequest) GetFilledQuantityOk() (*float64, bool)
- func (o *OrderRequest) GetOrderActivityCollection() []OrderActivity
- func (o *OrderRequest) GetOrderActivityCollectionOk() ([]OrderActivity, bool)
- func (o *OrderRequest) GetOrderId() int64
- func (o *OrderRequest) GetOrderIdOk() (*int64, bool)
- func (o *OrderRequest) GetOrderLegCollection() []OrderLegCollection
- func (o *OrderRequest) GetOrderLegCollectionOk() ([]OrderLegCollection, bool)
- func (o *OrderRequest) GetOrderStrategyType() OrderStrategyType
- func (o *OrderRequest) GetOrderStrategyTypeOk() (*OrderStrategyType, bool)
- func (o *OrderRequest) GetOrderType() OrderTypeRequest
- func (o *OrderRequest) GetOrderTypeOk() (*OrderTypeRequest, bool)
- func (o *OrderRequest) GetPrice() float64
- func (o *OrderRequest) GetPriceLinkBasis() PriceLinkBasis
- func (o *OrderRequest) GetPriceLinkBasisOk() (*PriceLinkBasis, bool)
- func (o *OrderRequest) GetPriceLinkType() PriceLinkType
- func (o *OrderRequest) GetPriceLinkTypeOk() (*PriceLinkType, bool)
- func (o *OrderRequest) GetPriceOk() (*float64, bool)
- func (o *OrderRequest) GetQuantity() float64
- func (o *OrderRequest) GetQuantityOk() (*float64, bool)
- func (o *OrderRequest) GetReleaseTime() time.Time
- func (o *OrderRequest) GetReleaseTimeOk() (*time.Time, bool)
- func (o *OrderRequest) GetRemainingQuantity() float64
- func (o *OrderRequest) GetRemainingQuantityOk() (*float64, bool)
- func (o *OrderRequest) GetReplacingOrderCollection() []OrderRequest
- func (o *OrderRequest) GetReplacingOrderCollectionOk() ([]OrderRequest, bool)
- func (o *OrderRequest) GetSession() Session
- func (o *OrderRequest) GetSessionOk() (*Session, bool)
- func (o *OrderRequest) GetSpecialInstruction() SpecialInstruction
- func (o *OrderRequest) GetSpecialInstructionOk() (*SpecialInstruction, bool)
- func (o *OrderRequest) GetStatus() Status
- func (o *OrderRequest) GetStatusDescription() string
- func (o *OrderRequest) GetStatusDescriptionOk() (*string, bool)
- func (o *OrderRequest) GetStatusOk() (*Status, bool)
- func (o *OrderRequest) GetStopPrice() float64
- func (o *OrderRequest) GetStopPriceLinkBasis() StopPriceLinkBasis
- func (o *OrderRequest) GetStopPriceLinkBasisOk() (*StopPriceLinkBasis, bool)
- func (o *OrderRequest) GetStopPriceLinkType() StopPriceLinkType
- func (o *OrderRequest) GetStopPriceLinkTypeOk() (*StopPriceLinkType, bool)
- func (o *OrderRequest) GetStopPriceOffset() float64
- func (o *OrderRequest) GetStopPriceOffsetOk() (*float64, bool)
- func (o *OrderRequest) GetStopPriceOk() (*float64, bool)
- func (o *OrderRequest) GetStopType() StopType
- func (o *OrderRequest) GetStopTypeOk() (*StopType, bool)
- func (o *OrderRequest) GetTaxLotMethod() TaxLotMethod
- func (o *OrderRequest) GetTaxLotMethodOk() (*TaxLotMethod, bool)
- func (o *OrderRequest) HasAccountNumber() bool
- func (o *OrderRequest) HasActivationPrice() bool
- func (o *OrderRequest) HasCancelTime() bool
- func (o *OrderRequest) HasCancelable() bool
- func (o *OrderRequest) HasChildOrderStrategies() bool
- func (o *OrderRequest) HasCloseTime() bool
- func (o *OrderRequest) HasComplexOrderStrategyType() bool
- func (o *OrderRequest) HasDestinationLinkName() bool
- func (o *OrderRequest) HasDuration() bool
- func (o *OrderRequest) HasEditable() bool
- func (o *OrderRequest) HasEnteredTime() bool
- func (o *OrderRequest) HasFilledQuantity() bool
- func (o *OrderRequest) HasOrderActivityCollection() bool
- func (o *OrderRequest) HasOrderId() bool
- func (o *OrderRequest) HasOrderLegCollection() bool
- func (o *OrderRequest) HasOrderStrategyType() bool
- func (o *OrderRequest) HasOrderType() bool
- func (o *OrderRequest) HasPrice() bool
- func (o *OrderRequest) HasPriceLinkBasis() bool
- func (o *OrderRequest) HasPriceLinkType() bool
- func (o *OrderRequest) HasQuantity() bool
- func (o *OrderRequest) HasReleaseTime() bool
- func (o *OrderRequest) HasRemainingQuantity() bool
- func (o *OrderRequest) HasReplacingOrderCollection() bool
- func (o *OrderRequest) HasSession() bool
- func (o *OrderRequest) HasSpecialInstruction() bool
- func (o *OrderRequest) HasStatus() bool
- func (o *OrderRequest) HasStatusDescription() bool
- func (o *OrderRequest) HasStopPrice() bool
- func (o *OrderRequest) HasStopPriceLinkBasis() bool
- func (o *OrderRequest) HasStopPriceLinkType() bool
- func (o *OrderRequest) HasStopPriceOffset() bool
- func (o *OrderRequest) HasStopType() bool
- func (o *OrderRequest) HasTaxLotMethod() bool
- func (o OrderRequest) MarshalJSON() ([]byte, error)
- func (o *OrderRequest) SetAccountNumber(v int64)
- func (o *OrderRequest) SetActivationPrice(v float64)
- func (o *OrderRequest) SetCancelTime(v time.Time)
- func (o *OrderRequest) SetCancelable(v bool)
- func (o *OrderRequest) SetChildOrderStrategies(v []OrderRequest)
- func (o *OrderRequest) SetCloseTime(v time.Time)
- func (o *OrderRequest) SetComplexOrderStrategyType(v ComplexOrderStrategyType)
- func (o *OrderRequest) SetDestinationLinkName(v string)
- func (o *OrderRequest) SetDuration(v Duration)
- func (o *OrderRequest) SetEditable(v bool)
- func (o *OrderRequest) SetEnteredTime(v time.Time)
- func (o *OrderRequest) SetFilledQuantity(v float64)
- func (o *OrderRequest) SetOrderActivityCollection(v []OrderActivity)
- func (o *OrderRequest) SetOrderId(v int64)
- func (o *OrderRequest) SetOrderLegCollection(v []OrderLegCollection)
- func (o *OrderRequest) SetOrderStrategyType(v OrderStrategyType)
- func (o *OrderRequest) SetOrderType(v OrderTypeRequest)
- func (o *OrderRequest) SetPrice(v float64)
- func (o *OrderRequest) SetPriceLinkBasis(v PriceLinkBasis)
- func (o *OrderRequest) SetPriceLinkType(v PriceLinkType)
- func (o *OrderRequest) SetQuantity(v float64)
- func (o *OrderRequest) SetReleaseTime(v time.Time)
- func (o *OrderRequest) SetRemainingQuantity(v float64)
- func (o *OrderRequest) SetReplacingOrderCollection(v []OrderRequest)
- func (o *OrderRequest) SetSession(v Session)
- func (o *OrderRequest) SetSpecialInstruction(v SpecialInstruction)
- func (o *OrderRequest) SetStatus(v Status)
- func (o *OrderRequest) SetStatusDescription(v string)
- func (o *OrderRequest) SetStopPrice(v float64)
- func (o *OrderRequest) SetStopPriceLinkBasis(v StopPriceLinkBasis)
- func (o *OrderRequest) SetStopPriceLinkType(v StopPriceLinkType)
- func (o *OrderRequest) SetStopPriceOffset(v float64)
- func (o *OrderRequest) SetStopType(v StopType)
- func (o *OrderRequest) SetTaxLotMethod(v TaxLotMethod)
- func (o OrderRequest) ToMap() (map[string]interface{}, error)
- type OrderStrategy
- func (o *OrderStrategy) GetAccountNumber() string
- func (o *OrderStrategy) GetAccountNumberOk() (*string, bool)
- func (o *OrderStrategy) GetAdvancedOrderType() string
- func (o *OrderStrategy) GetAdvancedOrderTypeOk() (*string, bool)
- func (o *OrderStrategy) GetAllOrNone() bool
- func (o *OrderStrategy) GetAllOrNoneOk() (*bool, bool)
- func (o *OrderStrategy) GetAmountIndicator() AmountIndicator
- func (o *OrderStrategy) GetAmountIndicatorOk() (*AmountIndicator, bool)
- func (o *OrderStrategy) GetCloseTime() time.Time
- func (o *OrderStrategy) GetCloseTimeOk() (*time.Time, bool)
- func (o *OrderStrategy) GetDiscretionary() bool
- func (o *OrderStrategy) GetDiscretionaryOk() (*bool, bool)
- func (o *OrderStrategy) GetDuration() Duration
- func (o *OrderStrategy) GetDurationOk() (*Duration, bool)
- func (o *OrderStrategy) GetEnteredTime() time.Time
- func (o *OrderStrategy) GetEnteredTimeOk() (*time.Time, bool)
- func (o *OrderStrategy) GetFilledQuantity() float64
- func (o *OrderStrategy) GetFilledQuantityOk() (*float64, bool)
- func (o *OrderStrategy) GetOrderBalance() OrderBalance
- func (o *OrderStrategy) GetOrderBalanceOk() (*OrderBalance, bool)
- func (o *OrderStrategy) GetOrderLegs() []OrderLeg
- func (o *OrderStrategy) GetOrderLegsOk() ([]OrderLeg, bool)
- func (o *OrderStrategy) GetOrderStrategyType() OrderStrategyType
- func (o *OrderStrategy) GetOrderStrategyTypeOk() (*OrderStrategyType, bool)
- func (o *OrderStrategy) GetOrderType() OrderType
- func (o *OrderStrategy) GetOrderTypeOk() (*OrderType, bool)
- func (o *OrderStrategy) GetOrderValue() float64
- func (o *OrderStrategy) GetOrderValueOk() (*float64, bool)
- func (o *OrderStrategy) GetOrderVersion() float32
- func (o *OrderStrategy) GetOrderVersionOk() (*float32, bool)
- func (o *OrderStrategy) GetPrice() float64
- func (o *OrderStrategy) GetPriceOk() (*float64, bool)
- func (o *OrderStrategy) GetQuantity() float64
- func (o *OrderStrategy) GetQuantityOk() (*float64, bool)
- func (o *OrderStrategy) GetRemainingQuantity() float64
- func (o *OrderStrategy) GetRemainingQuantityOk() (*float64, bool)
- func (o *OrderStrategy) GetSellNonMarginableFirst() bool
- func (o *OrderStrategy) GetSellNonMarginableFirstOk() (*bool, bool)
- func (o *OrderStrategy) GetSession() Session
- func (o *OrderStrategy) GetSessionOk() (*Session, bool)
- func (o *OrderStrategy) GetSettlementInstruction() SettlementInstruction
- func (o *OrderStrategy) GetSettlementInstructionOk() (*SettlementInstruction, bool)
- func (o *OrderStrategy) GetStatus() ApiOrderStatus
- func (o *OrderStrategy) GetStatusOk() (*ApiOrderStatus, bool)
- func (o *OrderStrategy) GetStrategy() ComplexOrderStrategyType
- func (o *OrderStrategy) GetStrategyOk() (*ComplexOrderStrategyType, bool)
- func (o *OrderStrategy) HasAccountNumber() bool
- func (o *OrderStrategy) HasAdvancedOrderType() bool
- func (o *OrderStrategy) HasAllOrNone() bool
- func (o *OrderStrategy) HasAmountIndicator() bool
- func (o *OrderStrategy) HasCloseTime() bool
- func (o *OrderStrategy) HasDiscretionary() bool
- func (o *OrderStrategy) HasDuration() bool
- func (o *OrderStrategy) HasEnteredTime() bool
- func (o *OrderStrategy) HasFilledQuantity() bool
- func (o *OrderStrategy) HasOrderBalance() bool
- func (o *OrderStrategy) HasOrderLegs() bool
- func (o *OrderStrategy) HasOrderStrategyType() bool
- func (o *OrderStrategy) HasOrderType() bool
- func (o *OrderStrategy) HasOrderValue() bool
- func (o *OrderStrategy) HasOrderVersion() bool
- func (o *OrderStrategy) HasPrice() bool
- func (o *OrderStrategy) HasQuantity() bool
- func (o *OrderStrategy) HasRemainingQuantity() bool
- func (o *OrderStrategy) HasSellNonMarginableFirst() bool
- func (o *OrderStrategy) HasSession() bool
- func (o *OrderStrategy) HasSettlementInstruction() bool
- func (o *OrderStrategy) HasStatus() bool
- func (o *OrderStrategy) HasStrategy() bool
- func (o OrderStrategy) MarshalJSON() ([]byte, error)
- func (o *OrderStrategy) SetAccountNumber(v string)
- func (o *OrderStrategy) SetAdvancedOrderType(v string)
- func (o *OrderStrategy) SetAllOrNone(v bool)
- func (o *OrderStrategy) SetAmountIndicator(v AmountIndicator)
- func (o *OrderStrategy) SetCloseTime(v time.Time)
- func (o *OrderStrategy) SetDiscretionary(v bool)
- func (o *OrderStrategy) SetDuration(v Duration)
- func (o *OrderStrategy) SetEnteredTime(v time.Time)
- func (o *OrderStrategy) SetFilledQuantity(v float64)
- func (o *OrderStrategy) SetOrderBalance(v OrderBalance)
- func (o *OrderStrategy) SetOrderLegs(v []OrderLeg)
- func (o *OrderStrategy) SetOrderStrategyType(v OrderStrategyType)
- func (o *OrderStrategy) SetOrderType(v OrderType)
- func (o *OrderStrategy) SetOrderValue(v float64)
- func (o *OrderStrategy) SetOrderVersion(v float32)
- func (o *OrderStrategy) SetPrice(v float64)
- func (o *OrderStrategy) SetQuantity(v float64)
- func (o *OrderStrategy) SetRemainingQuantity(v float64)
- func (o *OrderStrategy) SetSellNonMarginableFirst(v bool)
- func (o *OrderStrategy) SetSession(v Session)
- func (o *OrderStrategy) SetSettlementInstruction(v SettlementInstruction)
- func (o *OrderStrategy) SetStatus(v ApiOrderStatus)
- func (o *OrderStrategy) SetStrategy(v ComplexOrderStrategyType)
- func (o OrderStrategy) ToMap() (map[string]interface{}, error)
- type OrderStrategyType
- type OrderType
- type OrderTypeRequest
- type OrderValidationDetail
- func (o *OrderValidationDetail) GetActivityMessage() string
- func (o *OrderValidationDetail) GetActivityMessageOk() (*string, bool)
- func (o *OrderValidationDetail) GetMessage() string
- func (o *OrderValidationDetail) GetMessageOk() (*string, bool)
- func (o *OrderValidationDetail) GetOriginalSeverity() APIRuleAction
- func (o *OrderValidationDetail) GetOriginalSeverityOk() (*APIRuleAction, bool)
- func (o *OrderValidationDetail) GetOverrideName() string
- func (o *OrderValidationDetail) GetOverrideNameOk() (*string, bool)
- func (o *OrderValidationDetail) GetOverrideSeverity() APIRuleAction
- func (o *OrderValidationDetail) GetOverrideSeverityOk() (*APIRuleAction, bool)
- func (o *OrderValidationDetail) GetValidationRuleName() string
- func (o *OrderValidationDetail) GetValidationRuleNameOk() (*string, bool)
- func (o *OrderValidationDetail) HasActivityMessage() bool
- func (o *OrderValidationDetail) HasMessage() bool
- func (o *OrderValidationDetail) HasOriginalSeverity() bool
- func (o *OrderValidationDetail) HasOverrideName() bool
- func (o *OrderValidationDetail) HasOverrideSeverity() bool
- func (o *OrderValidationDetail) HasValidationRuleName() bool
- func (o OrderValidationDetail) MarshalJSON() ([]byte, error)
- func (o *OrderValidationDetail) SetActivityMessage(v string)
- func (o *OrderValidationDetail) SetMessage(v string)
- func (o *OrderValidationDetail) SetOriginalSeverity(v APIRuleAction)
- func (o *OrderValidationDetail) SetOverrideName(v string)
- func (o *OrderValidationDetail) SetOverrideSeverity(v APIRuleAction)
- func (o *OrderValidationDetail) SetValidationRuleName(v string)
- func (o OrderValidationDetail) ToMap() (map[string]interface{}, error)
- type OrderValidationResult
- func (o *OrderValidationResult) GetAccepts() []OrderValidationDetail
- func (o *OrderValidationResult) GetAcceptsOk() ([]OrderValidationDetail, bool)
- func (o *OrderValidationResult) GetAlerts() []OrderValidationDetail
- func (o *OrderValidationResult) GetAlertsOk() ([]OrderValidationDetail, bool)
- func (o *OrderValidationResult) GetRejects() []OrderValidationDetail
- func (o *OrderValidationResult) GetRejectsOk() ([]OrderValidationDetail, bool)
- func (o *OrderValidationResult) GetReviews() []OrderValidationDetail
- func (o *OrderValidationResult) GetReviewsOk() ([]OrderValidationDetail, bool)
- func (o *OrderValidationResult) GetWarns() []OrderValidationDetail
- func (o *OrderValidationResult) GetWarnsOk() ([]OrderValidationDetail, bool)
- func (o *OrderValidationResult) HasAccepts() bool
- func (o *OrderValidationResult) HasAlerts() bool
- func (o *OrderValidationResult) HasRejects() bool
- func (o *OrderValidationResult) HasReviews() bool
- func (o *OrderValidationResult) HasWarns() bool
- func (o OrderValidationResult) MarshalJSON() ([]byte, error)
- func (o *OrderValidationResult) SetAccepts(v []OrderValidationDetail)
- func (o *OrderValidationResult) SetAlerts(v []OrderValidationDetail)
- func (o *OrderValidationResult) SetRejects(v []OrderValidationDetail)
- func (o *OrderValidationResult) SetReviews(v []OrderValidationDetail)
- func (o *OrderValidationResult) SetWarns(v []OrderValidationDetail)
- func (o OrderValidationResult) ToMap() (map[string]interface{}, error)
- type OrdersAPIService
- func (a *OrdersAPIService) CancelOrder(ctx context.Context, accountNumber string, orderId int64) ApiCancelOrderRequest
- func (a *OrdersAPIService) CancelOrderExecute(r ApiCancelOrderRequest) (*http.Response, error)
- func (a *OrdersAPIService) GetOrder(ctx context.Context, accountNumber string, orderId int64) ApiGetOrderRequest
- func (a *OrdersAPIService) GetOrderExecute(r ApiGetOrderRequest) (*Order, *http.Response, error)
- func (a *OrdersAPIService) GetOrdersByPathParam(ctx context.Context, accountNumber string) ApiGetOrdersByPathParamRequest
- func (a *OrdersAPIService) GetOrdersByPathParamExecute(r ApiGetOrdersByPathParamRequest) ([]Order, *http.Response, error)
- func (a *OrdersAPIService) GetOrdersByQueryParam(ctx context.Context) ApiGetOrdersByQueryParamRequest
- func (a *OrdersAPIService) GetOrdersByQueryParamExecute(r ApiGetOrdersByQueryParamRequest) ([]Order, *http.Response, error)
- func (a *OrdersAPIService) PlaceOrder(ctx context.Context, accountNumber string) ApiPlaceOrderRequest
- func (a *OrdersAPIService) PlaceOrderExecute(r ApiPlaceOrderRequest) (*http.Response, error)
- func (a *OrdersAPIService) PreviewOrder(ctx context.Context, accountNumber string) ApiPreviewOrderRequest
- func (a *OrdersAPIService) PreviewOrderExecute(r ApiPreviewOrderRequest) (*PreviewOrder, *http.Response, error)
- func (a *OrdersAPIService) ReplaceOrder(ctx context.Context, accountNumber string, orderId int64) ApiReplaceOrderRequest
- func (a *OrdersAPIService) ReplaceOrderExecute(r ApiReplaceOrderRequest) (*http.Response, error)
- type Position
- func (o *Position) GetAgedQuantity() float64
- func (o *Position) GetAgedQuantityOk() (*float64, bool)
- func (o *Position) GetAverageLongPrice() float64
- func (o *Position) GetAverageLongPriceOk() (*float64, bool)
- func (o *Position) GetAveragePrice() float64
- func (o *Position) GetAveragePriceOk() (*float64, bool)
- func (o *Position) GetAverageShortPrice() float64
- func (o *Position) GetAverageShortPriceOk() (*float64, bool)
- func (o *Position) GetCurrentDayCost() float64
- func (o *Position) GetCurrentDayCostOk() (*float64, bool)
- func (o *Position) GetCurrentDayProfitLoss() float64
- func (o *Position) GetCurrentDayProfitLossOk() (*float64, bool)
- func (o *Position) GetCurrentDayProfitLossPercentage() float64
- func (o *Position) GetCurrentDayProfitLossPercentageOk() (*float64, bool)
- func (o *Position) GetInstrument() AccountsInstrument
- func (o *Position) GetInstrumentOk() (*AccountsInstrument, bool)
- func (o *Position) GetLongOpenProfitLoss() float64
- func (o *Position) GetLongOpenProfitLossOk() (*float64, bool)
- func (o *Position) GetLongQuantity() float64
- func (o *Position) GetLongQuantityOk() (*float64, bool)
- func (o *Position) GetMaintenanceRequirement() float64
- func (o *Position) GetMaintenanceRequirementOk() (*float64, bool)
- func (o *Position) GetMarketValue() float64
- func (o *Position) GetMarketValueOk() (*float64, bool)
- func (o *Position) GetPreviousSessionLongQuantity() float64
- func (o *Position) GetPreviousSessionLongQuantityOk() (*float64, bool)
- func (o *Position) GetPreviousSessionShortQuantity() float64
- func (o *Position) GetPreviousSessionShortQuantityOk() (*float64, bool)
- func (o *Position) GetSettledLongQuantity() float64
- func (o *Position) GetSettledLongQuantityOk() (*float64, bool)
- func (o *Position) GetSettledShortQuantity() float64
- func (o *Position) GetSettledShortQuantityOk() (*float64, bool)
- func (o *Position) GetShortOpenProfitLoss() float64
- func (o *Position) GetShortOpenProfitLossOk() (*float64, bool)
- func (o *Position) GetShortQuantity() float64
- func (o *Position) GetShortQuantityOk() (*float64, bool)
- func (o *Position) GetTaxLotAverageLongPrice() float64
- func (o *Position) GetTaxLotAverageLongPriceOk() (*float64, bool)
- func (o *Position) GetTaxLotAverageShortPrice() float64
- func (o *Position) GetTaxLotAverageShortPriceOk() (*float64, bool)
- func (o *Position) HasAgedQuantity() bool
- func (o *Position) HasAverageLongPrice() bool
- func (o *Position) HasAveragePrice() bool
- func (o *Position) HasAverageShortPrice() bool
- func (o *Position) HasCurrentDayCost() bool
- func (o *Position) HasCurrentDayProfitLoss() bool
- func (o *Position) HasCurrentDayProfitLossPercentage() bool
- func (o *Position) HasInstrument() bool
- func (o *Position) HasLongOpenProfitLoss() bool
- func (o *Position) HasLongQuantity() bool
- func (o *Position) HasMaintenanceRequirement() bool
- func (o *Position) HasMarketValue() bool
- func (o *Position) HasPreviousSessionLongQuantity() bool
- func (o *Position) HasPreviousSessionShortQuantity() bool
- func (o *Position) HasSettledLongQuantity() bool
- func (o *Position) HasSettledShortQuantity() bool
- func (o *Position) HasShortOpenProfitLoss() bool
- func (o *Position) HasShortQuantity() bool
- func (o *Position) HasTaxLotAverageLongPrice() bool
- func (o *Position) HasTaxLotAverageShortPrice() bool
- func (o Position) MarshalJSON() ([]byte, error)
- func (o *Position) SetAgedQuantity(v float64)
- func (o *Position) SetAverageLongPrice(v float64)
- func (o *Position) SetAveragePrice(v float64)
- func (o *Position) SetAverageShortPrice(v float64)
- func (o *Position) SetCurrentDayCost(v float64)
- func (o *Position) SetCurrentDayProfitLoss(v float64)
- func (o *Position) SetCurrentDayProfitLossPercentage(v float64)
- func (o *Position) SetInstrument(v AccountsInstrument)
- func (o *Position) SetLongOpenProfitLoss(v float64)
- func (o *Position) SetLongQuantity(v float64)
- func (o *Position) SetMaintenanceRequirement(v float64)
- func (o *Position) SetMarketValue(v float64)
- func (o *Position) SetPreviousSessionLongQuantity(v float64)
- func (o *Position) SetPreviousSessionShortQuantity(v float64)
- func (o *Position) SetSettledLongQuantity(v float64)
- func (o *Position) SetSettledShortQuantity(v float64)
- func (o *Position) SetShortOpenProfitLoss(v float64)
- func (o *Position) SetShortQuantity(v float64)
- func (o *Position) SetTaxLotAverageLongPrice(v float64)
- func (o *Position) SetTaxLotAverageShortPrice(v float64)
- func (o Position) ToMap() (map[string]interface{}, error)
- type PreviewOrder
- func (o *PreviewOrder) GetCommissionAndFee() CommissionAndFee
- func (o *PreviewOrder) GetCommissionAndFeeOk() (*CommissionAndFee, bool)
- func (o *PreviewOrder) GetOrderId() int64
- func (o *PreviewOrder) GetOrderIdOk() (*int64, bool)
- func (o *PreviewOrder) GetOrderStrategy() OrderStrategy
- func (o *PreviewOrder) GetOrderStrategyOk() (*OrderStrategy, bool)
- func (o *PreviewOrder) GetOrderValidationResult() OrderValidationResult
- func (o *PreviewOrder) GetOrderValidationResultOk() (*OrderValidationResult, bool)
- func (o *PreviewOrder) HasCommissionAndFee() bool
- func (o *PreviewOrder) HasOrderId() bool
- func (o *PreviewOrder) HasOrderStrategy() bool
- func (o *PreviewOrder) HasOrderValidationResult() bool
- func (o PreviewOrder) MarshalJSON() ([]byte, error)
- func (o *PreviewOrder) SetCommissionAndFee(v CommissionAndFee)
- func (o *PreviewOrder) SetOrderId(v int64)
- func (o *PreviewOrder) SetOrderStrategy(v OrderStrategy)
- func (o *PreviewOrder) SetOrderValidationResult(v OrderValidationResult)
- func (o PreviewOrder) ToMap() (map[string]interface{}, error)
- type PriceLinkBasis
- type PriceLinkType
- type Product
- func (o *Product) GetAssetType() string
- func (o *Product) GetAssetTypeOk() (*string, bool)
- func (o *Product) GetCusip() string
- func (o *Product) GetCusipOk() (*string, bool)
- func (o *Product) GetDescription() string
- func (o *Product) GetDescriptionOk() (*string, bool)
- func (o *Product) GetInstrumentId() int64
- func (o *Product) GetInstrumentIdOk() (*int64, bool)
- func (o *Product) GetNetChange() float64
- func (o *Product) GetNetChangeOk() (*float64, bool)
- func (o *Product) GetSymbol() string
- func (o *Product) GetSymbolOk() (*string, bool)
- func (o *Product) GetType() string
- func (o *Product) GetTypeOk() (*string, bool)
- func (o *Product) HasCusip() bool
- func (o *Product) HasDescription() bool
- func (o *Product) HasInstrumentId() bool
- func (o *Product) HasNetChange() bool
- func (o *Product) HasSymbol() bool
- func (o *Product) HasType() bool
- func (o Product) MarshalJSON() ([]byte, error)
- func (o *Product) SetAssetType(v string)
- func (o *Product) SetCusip(v string)
- func (o *Product) SetDescription(v string)
- func (o *Product) SetInstrumentId(v int64)
- func (o *Product) SetNetChange(v float64)
- func (o *Product) SetSymbol(v string)
- func (o *Product) SetType(v string)
- func (o Product) ToMap() (map[string]interface{}, error)
- func (o *Product) UnmarshalJSON(data []byte) (err error)
- type RequestedDestination
- type SecuritiesAccount
- func (o *SecuritiesAccount) GetAccountNumber() string
- func (o *SecuritiesAccount) GetAccountNumberOk() (*string, bool)
- func (o *SecuritiesAccount) GetIsClosingOnlyRestricted() bool
- func (o *SecuritiesAccount) GetIsClosingOnlyRestrictedOk() (*bool, bool)
- func (o *SecuritiesAccount) GetIsDayTrader() bool
- func (o *SecuritiesAccount) GetIsDayTraderOk() (*bool, bool)
- func (o *SecuritiesAccount) GetPfcbFlag() bool
- func (o *SecuritiesAccount) GetPfcbFlagOk() (*bool, bool)
- func (o *SecuritiesAccount) GetPositions() []Position
- func (o *SecuritiesAccount) GetPositionsOk() ([]Position, bool)
- func (o *SecuritiesAccount) GetRoundTrips() int32
- func (o *SecuritiesAccount) GetRoundTripsOk() (*int32, bool)
- func (o *SecuritiesAccount) GetType() string
- func (o *SecuritiesAccount) GetTypeOk() (*string, bool)
- func (o *SecuritiesAccount) HasAccountNumber() bool
- func (o *SecuritiesAccount) HasIsClosingOnlyRestricted() bool
- func (o *SecuritiesAccount) HasIsDayTrader() bool
- func (o *SecuritiesAccount) HasPfcbFlag() bool
- func (o *SecuritiesAccount) HasPositions() bool
- func (o *SecuritiesAccount) HasRoundTrips() bool
- func (o *SecuritiesAccount) HasType() bool
- func (o SecuritiesAccount) MarshalJSON() ([]byte, error)
- func (o *SecuritiesAccount) SetAccountNumber(v string)
- func (o *SecuritiesAccount) SetIsClosingOnlyRestricted(v bool)
- func (o *SecuritiesAccount) SetIsDayTrader(v bool)
- func (o *SecuritiesAccount) SetPfcbFlag(v bool)
- func (o *SecuritiesAccount) SetPositions(v []Position)
- func (o *SecuritiesAccount) SetRoundTrips(v int32)
- func (o *SecuritiesAccount) SetType(v string)
- func (o SecuritiesAccount) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ServiceError
- func (o *ServiceError) GetErrors() []string
- func (o *ServiceError) GetErrorsOk() ([]string, bool)
- func (o *ServiceError) GetMessage() string
- func (o *ServiceError) GetMessageOk() (*string, bool)
- func (o *ServiceError) HasErrors() bool
- func (o *ServiceError) HasMessage() bool
- func (o ServiceError) MarshalJSON() ([]byte, error)
- func (o *ServiceError) SetErrors(v []string)
- func (o *ServiceError) SetMessage(v string)
- func (o ServiceError) ToMap() (map[string]interface{}, error)
- type Session
- type SettlementInstruction
- type SpecialInstruction
- type Status
- type StopPriceLinkBasis
- type StopPriceLinkType
- type StopType
- type StreamerInfo
- func (o *StreamerInfo) GetSchwabClientChannel() string
- func (o *StreamerInfo) GetSchwabClientChannelOk() (*string, bool)
- func (o *StreamerInfo) GetSchwabClientCorrelId() string
- func (o *StreamerInfo) GetSchwabClientCorrelIdOk() (*string, bool)
- func (o *StreamerInfo) GetSchwabClientCustomerId() string
- func (o *StreamerInfo) GetSchwabClientCustomerIdOk() (*string, bool)
- func (o *StreamerInfo) GetSchwabClientFunctionId() string
- func (o *StreamerInfo) GetSchwabClientFunctionIdOk() (*string, bool)
- func (o *StreamerInfo) GetStreamerSocketUrl() string
- func (o *StreamerInfo) GetStreamerSocketUrlOk() (*string, bool)
- func (o *StreamerInfo) HasSchwabClientChannel() bool
- func (o *StreamerInfo) HasSchwabClientCorrelId() bool
- func (o *StreamerInfo) HasSchwabClientCustomerId() bool
- func (o *StreamerInfo) HasSchwabClientFunctionId() bool
- func (o *StreamerInfo) HasStreamerSocketUrl() bool
- func (o StreamerInfo) MarshalJSON() ([]byte, error)
- func (o *StreamerInfo) SetSchwabClientChannel(v string)
- func (o *StreamerInfo) SetSchwabClientCorrelId(v string)
- func (o *StreamerInfo) SetSchwabClientCustomerId(v string)
- func (o *StreamerInfo) SetSchwabClientFunctionId(v string)
- func (o *StreamerInfo) SetStreamerSocketUrl(v string)
- func (o StreamerInfo) ToMap() (map[string]interface{}, error)
- type TaxLotMethod
- type Transaction
- func (o *Transaction) GetAccountNumber() string
- func (o *Transaction) GetAccountNumberOk() (*string, bool)
- func (o *Transaction) GetActivityId() int64
- func (o *Transaction) GetActivityIdOk() (*int64, bool)
- func (o *Transaction) GetActivityType() string
- func (o *Transaction) GetActivityTypeOk() (*string, bool)
- func (o *Transaction) GetDescription() string
- func (o *Transaction) GetDescriptionOk() (*string, bool)
- func (o *Transaction) GetNetAmount() float64
- func (o *Transaction) GetNetAmountOk() (*float64, bool)
- func (o *Transaction) GetOrderId() int64
- func (o *Transaction) GetOrderIdOk() (*int64, bool)
- func (o *Transaction) GetPositionId() int64
- func (o *Transaction) GetPositionIdOk() (*int64, bool)
- func (o *Transaction) GetSettlementDate() time.Time
- func (o *Transaction) GetSettlementDateOk() (*time.Time, bool)
- func (o *Transaction) GetStatus() string
- func (o *Transaction) GetStatusOk() (*string, bool)
- func (o *Transaction) GetSubAccount() string
- func (o *Transaction) GetSubAccountOk() (*string, bool)
- func (o *Transaction) GetTime() time.Time
- func (o *Transaction) GetTimeOk() (*time.Time, bool)
- func (o *Transaction) GetTradeDate() time.Time
- func (o *Transaction) GetTradeDateOk() (*time.Time, bool)
- func (o *Transaction) GetTransferItems() []TransferItem
- func (o *Transaction) GetTransferItemsOk() ([]TransferItem, bool)
- func (o *Transaction) GetType() TransactionType
- func (o *Transaction) GetTypeOk() (*TransactionType, bool)
- func (o *Transaction) GetUser() UserDetails
- func (o *Transaction) GetUserOk() (*UserDetails, bool)
- func (o *Transaction) HasAccountNumber() bool
- func (o *Transaction) HasActivityId() bool
- func (o *Transaction) HasActivityType() bool
- func (o *Transaction) HasDescription() bool
- func (o *Transaction) HasNetAmount() bool
- func (o *Transaction) HasOrderId() bool
- func (o *Transaction) HasPositionId() bool
- func (o *Transaction) HasSettlementDate() bool
- func (o *Transaction) HasStatus() bool
- func (o *Transaction) HasSubAccount() bool
- func (o *Transaction) HasTime() bool
- func (o *Transaction) HasTradeDate() bool
- func (o *Transaction) HasTransferItems() bool
- func (o *Transaction) HasType() bool
- func (o *Transaction) HasUser() bool
- func (o Transaction) MarshalJSON() ([]byte, error)
- func (o *Transaction) SetAccountNumber(v string)
- func (o *Transaction) SetActivityId(v int64)
- func (o *Transaction) SetActivityType(v string)
- func (o *Transaction) SetDescription(v string)
- func (o *Transaction) SetNetAmount(v float64)
- func (o *Transaction) SetOrderId(v int64)
- func (o *Transaction) SetPositionId(v int64)
- func (o *Transaction) SetSettlementDate(v time.Time)
- func (o *Transaction) SetStatus(v string)
- func (o *Transaction) SetSubAccount(v string)
- func (o *Transaction) SetTime(v time.Time)
- func (o *Transaction) SetTradeDate(v time.Time)
- func (o *Transaction) SetTransferItems(v []TransferItem)
- func (o *Transaction) SetType(v TransactionType)
- func (o *Transaction) SetUser(v UserDetails)
- func (o Transaction) ToMap() (map[string]interface{}, error)
- type TransactionAPIOptionDeliverable
- func (o *TransactionAPIOptionDeliverable) GetAssetType() AssetType
- func (o *TransactionAPIOptionDeliverable) GetAssetTypeOk() (*AssetType, bool)
- func (o *TransactionAPIOptionDeliverable) GetDeliverable() TransactionInstrument
- func (o *TransactionAPIOptionDeliverable) GetDeliverableNumber() int64
- func (o *TransactionAPIOptionDeliverable) GetDeliverableNumberOk() (*int64, bool)
- func (o *TransactionAPIOptionDeliverable) GetDeliverableOk() (*TransactionInstrument, bool)
- func (o *TransactionAPIOptionDeliverable) GetDeliverableUnits() float64
- func (o *TransactionAPIOptionDeliverable) GetDeliverableUnitsOk() (*float64, bool)
- func (o *TransactionAPIOptionDeliverable) GetRootSymbol() string
- func (o *TransactionAPIOptionDeliverable) GetRootSymbolOk() (*string, bool)
- func (o *TransactionAPIOptionDeliverable) GetStrikePercent() int64
- func (o *TransactionAPIOptionDeliverable) GetStrikePercentOk() (*int64, bool)
- func (o *TransactionAPIOptionDeliverable) HasAssetType() bool
- func (o *TransactionAPIOptionDeliverable) HasDeliverable() bool
- func (o *TransactionAPIOptionDeliverable) HasDeliverableNumber() bool
- func (o *TransactionAPIOptionDeliverable) HasDeliverableUnits() bool
- func (o *TransactionAPIOptionDeliverable) HasRootSymbol() bool
- func (o *TransactionAPIOptionDeliverable) HasStrikePercent() bool
- func (o TransactionAPIOptionDeliverable) MarshalJSON() ([]byte, error)
- func (o *TransactionAPIOptionDeliverable) SetAssetType(v AssetType)
- func (o *TransactionAPIOptionDeliverable) SetDeliverable(v TransactionInstrument)
- func (o *TransactionAPIOptionDeliverable) SetDeliverableNumber(v int64)
- func (o *TransactionAPIOptionDeliverable) SetDeliverableUnits(v float64)
- func (o *TransactionAPIOptionDeliverable) SetRootSymbol(v string)
- func (o *TransactionAPIOptionDeliverable) SetStrikePercent(v int64)
- func (o TransactionAPIOptionDeliverable) ToMap() (map[string]interface{}, error)
- type TransactionBaseInstrument
- func (o *TransactionBaseInstrument) GetAssetType() string
- func (o *TransactionBaseInstrument) GetAssetTypeOk() (*string, bool)
- func (o *TransactionBaseInstrument) GetCusip() string
- func (o *TransactionBaseInstrument) GetCusipOk() (*string, bool)
- func (o *TransactionBaseInstrument) GetDescription() string
- func (o *TransactionBaseInstrument) GetDescriptionOk() (*string, bool)
- func (o *TransactionBaseInstrument) GetInstrumentId() int64
- func (o *TransactionBaseInstrument) GetInstrumentIdOk() (*int64, bool)
- func (o *TransactionBaseInstrument) GetNetChange() float64
- func (o *TransactionBaseInstrument) GetNetChangeOk() (*float64, bool)
- func (o *TransactionBaseInstrument) GetSymbol() string
- func (o *TransactionBaseInstrument) GetSymbolOk() (*string, bool)
- func (o *TransactionBaseInstrument) HasCusip() bool
- func (o *TransactionBaseInstrument) HasDescription() bool
- func (o *TransactionBaseInstrument) HasInstrumentId() bool
- func (o *TransactionBaseInstrument) HasNetChange() bool
- func (o *TransactionBaseInstrument) HasSymbol() bool
- func (o TransactionBaseInstrument) MarshalJSON() ([]byte, error)
- func (o *TransactionBaseInstrument) SetAssetType(v string)
- func (o *TransactionBaseInstrument) SetCusip(v string)
- func (o *TransactionBaseInstrument) SetDescription(v string)
- func (o *TransactionBaseInstrument) SetInstrumentId(v int64)
- func (o *TransactionBaseInstrument) SetNetChange(v float64)
- func (o *TransactionBaseInstrument) SetSymbol(v string)
- func (o TransactionBaseInstrument) ToMap() (map[string]interface{}, error)
- func (o *TransactionBaseInstrument) UnmarshalJSON(data []byte) (err error)
- type TransactionCashEquivalent
- func (o *TransactionCashEquivalent) GetAssetType() string
- func (o *TransactionCashEquivalent) GetAssetTypeOk() (*string, bool)
- func (o *TransactionCashEquivalent) GetCusip() string
- func (o *TransactionCashEquivalent) GetCusipOk() (*string, bool)
- func (o *TransactionCashEquivalent) GetDescription() string
- func (o *TransactionCashEquivalent) GetDescriptionOk() (*string, bool)
- func (o *TransactionCashEquivalent) GetInstrumentId() int64
- func (o *TransactionCashEquivalent) GetInstrumentIdOk() (*int64, bool)
- func (o *TransactionCashEquivalent) GetNetChange() float64
- func (o *TransactionCashEquivalent) GetNetChangeOk() (*float64, bool)
- func (o *TransactionCashEquivalent) GetSymbol() string
- func (o *TransactionCashEquivalent) GetSymbolOk() (*string, bool)
- func (o *TransactionCashEquivalent) GetType() string
- func (o *TransactionCashEquivalent) GetTypeOk() (*string, bool)
- func (o *TransactionCashEquivalent) HasCusip() bool
- func (o *TransactionCashEquivalent) HasDescription() bool
- func (o *TransactionCashEquivalent) HasInstrumentId() bool
- func (o *TransactionCashEquivalent) HasNetChange() bool
- func (o *TransactionCashEquivalent) HasSymbol() bool
- func (o *TransactionCashEquivalent) HasType() bool
- func (o TransactionCashEquivalent) MarshalJSON() ([]byte, error)
- func (o *TransactionCashEquivalent) SetAssetType(v string)
- func (o *TransactionCashEquivalent) SetCusip(v string)
- func (o *TransactionCashEquivalent) SetDescription(v string)
- func (o *TransactionCashEquivalent) SetInstrumentId(v int64)
- func (o *TransactionCashEquivalent) SetNetChange(v float64)
- func (o *TransactionCashEquivalent) SetSymbol(v string)
- func (o *TransactionCashEquivalent) SetType(v string)
- func (o TransactionCashEquivalent) ToMap() (map[string]interface{}, error)
- func (o *TransactionCashEquivalent) UnmarshalJSON(data []byte) (err error)
- type TransactionEquity
- func (o *TransactionEquity) GetAssetType() string
- func (o *TransactionEquity) GetAssetTypeOk() (*string, bool)
- func (o *TransactionEquity) GetCusip() string
- func (o *TransactionEquity) GetCusipOk() (*string, bool)
- func (o *TransactionEquity) GetDescription() string
- func (o *TransactionEquity) GetDescriptionOk() (*string, bool)
- func (o *TransactionEquity) GetInstrumentId() int64
- func (o *TransactionEquity) GetInstrumentIdOk() (*int64, bool)
- func (o *TransactionEquity) GetNetChange() float64
- func (o *TransactionEquity) GetNetChangeOk() (*float64, bool)
- func (o *TransactionEquity) GetSymbol() string
- func (o *TransactionEquity) GetSymbolOk() (*string, bool)
- func (o *TransactionEquity) GetType() string
- func (o *TransactionEquity) GetTypeOk() (*string, bool)
- func (o *TransactionEquity) HasCusip() bool
- func (o *TransactionEquity) HasDescription() bool
- func (o *TransactionEquity) HasInstrumentId() bool
- func (o *TransactionEquity) HasNetChange() bool
- func (o *TransactionEquity) HasSymbol() bool
- func (o *TransactionEquity) HasType() bool
- func (o TransactionEquity) MarshalJSON() ([]byte, error)
- func (o *TransactionEquity) SetAssetType(v string)
- func (o *TransactionEquity) SetCusip(v string)
- func (o *TransactionEquity) SetDescription(v string)
- func (o *TransactionEquity) SetInstrumentId(v int64)
- func (o *TransactionEquity) SetNetChange(v float64)
- func (o *TransactionEquity) SetSymbol(v string)
- func (o *TransactionEquity) SetType(v string)
- func (o TransactionEquity) ToMap() (map[string]interface{}, error)
- func (o *TransactionEquity) UnmarshalJSON(data []byte) (err error)
- type TransactionFixedIncome
- func (o *TransactionFixedIncome) GetAssetType() string
- func (o *TransactionFixedIncome) GetAssetTypeOk() (*string, bool)
- func (o *TransactionFixedIncome) GetCusip() string
- func (o *TransactionFixedIncome) GetCusipOk() (*string, bool)
- func (o *TransactionFixedIncome) GetDescription() string
- func (o *TransactionFixedIncome) GetDescriptionOk() (*string, bool)
- func (o *TransactionFixedIncome) GetFactor() float64
- func (o *TransactionFixedIncome) GetFactorOk() (*float64, bool)
- func (o *TransactionFixedIncome) GetInstrumentId() int64
- func (o *TransactionFixedIncome) GetInstrumentIdOk() (*int64, bool)
- func (o *TransactionFixedIncome) GetMaturityDate() time.Time
- func (o *TransactionFixedIncome) GetMaturityDateOk() (*time.Time, bool)
- func (o *TransactionFixedIncome) GetMultiplier() float64
- func (o *TransactionFixedIncome) GetMultiplierOk() (*float64, bool)
- func (o *TransactionFixedIncome) GetNetChange() float64
- func (o *TransactionFixedIncome) GetNetChangeOk() (*float64, bool)
- func (o *TransactionFixedIncome) GetSymbol() string
- func (o *TransactionFixedIncome) GetSymbolOk() (*string, bool)
- func (o *TransactionFixedIncome) GetType() string
- func (o *TransactionFixedIncome) GetTypeOk() (*string, bool)
- func (o *TransactionFixedIncome) GetVariableRate() float64
- func (o *TransactionFixedIncome) GetVariableRateOk() (*float64, bool)
- func (o *TransactionFixedIncome) HasCusip() bool
- func (o *TransactionFixedIncome) HasDescription() bool
- func (o *TransactionFixedIncome) HasFactor() bool
- func (o *TransactionFixedIncome) HasInstrumentId() bool
- func (o *TransactionFixedIncome) HasMaturityDate() bool
- func (o *TransactionFixedIncome) HasMultiplier() bool
- func (o *TransactionFixedIncome) HasNetChange() bool
- func (o *TransactionFixedIncome) HasSymbol() bool
- func (o *TransactionFixedIncome) HasType() bool
- func (o *TransactionFixedIncome) HasVariableRate() bool
- func (o TransactionFixedIncome) MarshalJSON() ([]byte, error)
- func (o *TransactionFixedIncome) SetAssetType(v string)
- func (o *TransactionFixedIncome) SetCusip(v string)
- func (o *TransactionFixedIncome) SetDescription(v string)
- func (o *TransactionFixedIncome) SetFactor(v float64)
- func (o *TransactionFixedIncome) SetInstrumentId(v int64)
- func (o *TransactionFixedIncome) SetMaturityDate(v time.Time)
- func (o *TransactionFixedIncome) SetMultiplier(v float64)
- func (o *TransactionFixedIncome) SetNetChange(v float64)
- func (o *TransactionFixedIncome) SetSymbol(v string)
- func (o *TransactionFixedIncome) SetType(v string)
- func (o *TransactionFixedIncome) SetVariableRate(v float64)
- func (o TransactionFixedIncome) ToMap() (map[string]interface{}, error)
- func (o *TransactionFixedIncome) UnmarshalJSON(data []byte) (err error)
- type TransactionInstrument
- func CollectiveInvestmentAsTransactionInstrument(v *CollectiveInvestment) TransactionInstrument
- func CurrencyAsTransactionInstrument(v *Currency) TransactionInstrument
- func ForexAsTransactionInstrument(v *Forex) TransactionInstrument
- func FutureAsTransactionInstrument(v *Future) TransactionInstrument
- func IndexAsTransactionInstrument(v *Index) TransactionInstrument
- func ProductAsTransactionInstrument(v *Product) TransactionInstrument
- func TransactionCashEquivalentAsTransactionInstrument(v *TransactionCashEquivalent) TransactionInstrument
- func TransactionEquityAsTransactionInstrument(v *TransactionEquity) TransactionInstrument
- func TransactionFixedIncomeAsTransactionInstrument(v *TransactionFixedIncome) TransactionInstrument
- func TransactionMutualFundAsTransactionInstrument(v *TransactionMutualFund) TransactionInstrument
- func TransactionOptionAsTransactionInstrument(v *TransactionOption) TransactionInstrument
- type TransactionMutualFund
- func (o *TransactionMutualFund) GetAssetType() string
- func (o *TransactionMutualFund) GetAssetTypeOk() (*string, bool)
- func (o *TransactionMutualFund) GetCusip() string
- func (o *TransactionMutualFund) GetCusipOk() (*string, bool)
- func (o *TransactionMutualFund) GetDescription() string
- func (o *TransactionMutualFund) GetDescriptionOk() (*string, bool)
- func (o *TransactionMutualFund) GetExchangeCutoffTime() time.Time
- func (o *TransactionMutualFund) GetExchangeCutoffTimeOk() (*time.Time, bool)
- func (o *TransactionMutualFund) GetFundFamilyName() string
- func (o *TransactionMutualFund) GetFundFamilyNameOk() (*string, bool)
- func (o *TransactionMutualFund) GetFundFamilySymbol() string
- func (o *TransactionMutualFund) GetFundFamilySymbolOk() (*string, bool)
- func (o *TransactionMutualFund) GetFundGroup() string
- func (o *TransactionMutualFund) GetFundGroupOk() (*string, bool)
- func (o *TransactionMutualFund) GetInstrumentId() int64
- func (o *TransactionMutualFund) GetInstrumentIdOk() (*int64, bool)
- func (o *TransactionMutualFund) GetNetChange() float64
- func (o *TransactionMutualFund) GetNetChangeOk() (*float64, bool)
- func (o *TransactionMutualFund) GetPurchaseCutoffTime() time.Time
- func (o *TransactionMutualFund) GetPurchaseCutoffTimeOk() (*time.Time, bool)
- func (o *TransactionMutualFund) GetRedemptionCutoffTime() time.Time
- func (o *TransactionMutualFund) GetRedemptionCutoffTimeOk() (*time.Time, bool)
- func (o *TransactionMutualFund) GetSymbol() string
- func (o *TransactionMutualFund) GetSymbolOk() (*string, bool)
- func (o *TransactionMutualFund) GetType() string
- func (o *TransactionMutualFund) GetTypeOk() (*string, bool)
- func (o *TransactionMutualFund) HasCusip() bool
- func (o *TransactionMutualFund) HasDescription() bool
- func (o *TransactionMutualFund) HasExchangeCutoffTime() bool
- func (o *TransactionMutualFund) HasFundFamilyName() bool
- func (o *TransactionMutualFund) HasFundFamilySymbol() bool
- func (o *TransactionMutualFund) HasFundGroup() bool
- func (o *TransactionMutualFund) HasInstrumentId() bool
- func (o *TransactionMutualFund) HasNetChange() bool
- func (o *TransactionMutualFund) HasPurchaseCutoffTime() bool
- func (o *TransactionMutualFund) HasRedemptionCutoffTime() bool
- func (o *TransactionMutualFund) HasSymbol() bool
- func (o *TransactionMutualFund) HasType() bool
- func (o TransactionMutualFund) MarshalJSON() ([]byte, error)
- func (o *TransactionMutualFund) SetAssetType(v string)
- func (o *TransactionMutualFund) SetCusip(v string)
- func (o *TransactionMutualFund) SetDescription(v string)
- func (o *TransactionMutualFund) SetExchangeCutoffTime(v time.Time)
- func (o *TransactionMutualFund) SetFundFamilyName(v string)
- func (o *TransactionMutualFund) SetFundFamilySymbol(v string)
- func (o *TransactionMutualFund) SetFundGroup(v string)
- func (o *TransactionMutualFund) SetInstrumentId(v int64)
- func (o *TransactionMutualFund) SetNetChange(v float64)
- func (o *TransactionMutualFund) SetPurchaseCutoffTime(v time.Time)
- func (o *TransactionMutualFund) SetRedemptionCutoffTime(v time.Time)
- func (o *TransactionMutualFund) SetSymbol(v string)
- func (o *TransactionMutualFund) SetType(v string)
- func (o TransactionMutualFund) ToMap() (map[string]interface{}, error)
- func (o *TransactionMutualFund) UnmarshalJSON(data []byte) (err error)
- type TransactionOption
- func (o *TransactionOption) GetAssetType() string
- func (o *TransactionOption) GetAssetTypeOk() (*string, bool)
- func (o *TransactionOption) GetCusip() string
- func (o *TransactionOption) GetCusipOk() (*string, bool)
- func (o *TransactionOption) GetDeliverable() TransactionInstrument
- func (o *TransactionOption) GetDeliverableOk() (*TransactionInstrument, bool)
- func (o *TransactionOption) GetDescription() string
- func (o *TransactionOption) GetDescriptionOk() (*string, bool)
- func (o *TransactionOption) GetExpirationDate() time.Time
- func (o *TransactionOption) GetExpirationDateOk() (*time.Time, bool)
- func (o *TransactionOption) GetInstrumentId() int64
- func (o *TransactionOption) GetInstrumentIdOk() (*int64, bool)
- func (o *TransactionOption) GetNetChange() float64
- func (o *TransactionOption) GetNetChangeOk() (*float64, bool)
- func (o *TransactionOption) GetOptionDeliverables() []TransactionAPIOptionDeliverable
- func (o *TransactionOption) GetOptionDeliverablesOk() ([]TransactionAPIOptionDeliverable, bool)
- func (o *TransactionOption) GetOptionPremiumMultiplier() int64
- func (o *TransactionOption) GetOptionPremiumMultiplierOk() (*int64, bool)
- func (o *TransactionOption) GetPutCall() string
- func (o *TransactionOption) GetPutCallOk() (*string, bool)
- func (o *TransactionOption) GetStrikePrice() float64
- func (o *TransactionOption) GetStrikePriceOk() (*float64, bool)
- func (o *TransactionOption) GetSymbol() string
- func (o *TransactionOption) GetSymbolOk() (*string, bool)
- func (o *TransactionOption) GetType() string
- func (o *TransactionOption) GetTypeOk() (*string, bool)
- func (o *TransactionOption) GetUnderlyingCusip() string
- func (o *TransactionOption) GetUnderlyingCusipOk() (*string, bool)
- func (o *TransactionOption) GetUnderlyingSymbol() string
- func (o *TransactionOption) GetUnderlyingSymbolOk() (*string, bool)
- func (o *TransactionOption) HasCusip() bool
- func (o *TransactionOption) HasDeliverable() bool
- func (o *TransactionOption) HasDescription() bool
- func (o *TransactionOption) HasExpirationDate() bool
- func (o *TransactionOption) HasInstrumentId() bool
- func (o *TransactionOption) HasNetChange() bool
- func (o *TransactionOption) HasOptionDeliverables() bool
- func (o *TransactionOption) HasOptionPremiumMultiplier() bool
- func (o *TransactionOption) HasPutCall() bool
- func (o *TransactionOption) HasStrikePrice() bool
- func (o *TransactionOption) HasSymbol() bool
- func (o *TransactionOption) HasType() bool
- func (o *TransactionOption) HasUnderlyingCusip() bool
- func (o *TransactionOption) HasUnderlyingSymbol() bool
- func (o TransactionOption) MarshalJSON() ([]byte, error)
- func (o *TransactionOption) SetAssetType(v string)
- func (o *TransactionOption) SetCusip(v string)
- func (o *TransactionOption) SetDeliverable(v TransactionInstrument)
- func (o *TransactionOption) SetDescription(v string)
- func (o *TransactionOption) SetExpirationDate(v time.Time)
- func (o *TransactionOption) SetInstrumentId(v int64)
- func (o *TransactionOption) SetNetChange(v float64)
- func (o *TransactionOption) SetOptionDeliverables(v []TransactionAPIOptionDeliverable)
- func (o *TransactionOption) SetOptionPremiumMultiplier(v int64)
- func (o *TransactionOption) SetPutCall(v string)
- func (o *TransactionOption) SetStrikePrice(v float64)
- func (o *TransactionOption) SetSymbol(v string)
- func (o *TransactionOption) SetType(v string)
- func (o *TransactionOption) SetUnderlyingCusip(v string)
- func (o *TransactionOption) SetUnderlyingSymbol(v string)
- func (o TransactionOption) ToMap() (map[string]interface{}, error)
- func (o *TransactionOption) UnmarshalJSON(data []byte) (err error)
- type TransactionType
- type TransactionsAPIService
- func (a *TransactionsAPIService) GetTransactionsById(ctx context.Context, accountNumber string, transactionId int64) ApiGetTransactionsByIdRequest
- func (a *TransactionsAPIService) GetTransactionsByIdExecute(r ApiGetTransactionsByIdRequest) ([]Transaction, *http.Response, error)
- func (a *TransactionsAPIService) GetTransactionsByPathParam(ctx context.Context, accountNumber string) ApiGetTransactionsByPathParamRequest
- func (a *TransactionsAPIService) GetTransactionsByPathParamExecute(r ApiGetTransactionsByPathParamRequest) ([]Transaction, *http.Response, error)
- type TransferItem
- func (o *TransferItem) GetAmount() float64
- func (o *TransferItem) GetAmountOk() (*float64, bool)
- func (o *TransferItem) GetCost() float64
- func (o *TransferItem) GetCostOk() (*float64, bool)
- func (o *TransferItem) GetFeeType() string
- func (o *TransferItem) GetFeeTypeOk() (*string, bool)
- func (o *TransferItem) GetInstrument() TransactionInstrument
- func (o *TransferItem) GetInstrumentOk() (*TransactionInstrument, bool)
- func (o *TransferItem) GetPositionEffect() string
- func (o *TransferItem) GetPositionEffectOk() (*string, bool)
- func (o *TransferItem) GetPrice() float64
- func (o *TransferItem) GetPriceOk() (*float64, bool)
- func (o *TransferItem) HasAmount() bool
- func (o *TransferItem) HasCost() bool
- func (o *TransferItem) HasFeeType() bool
- func (o *TransferItem) HasInstrument() bool
- func (o *TransferItem) HasPositionEffect() bool
- func (o *TransferItem) HasPrice() bool
- func (o TransferItem) MarshalJSON() ([]byte, error)
- func (o *TransferItem) SetAmount(v float64)
- func (o *TransferItem) SetCost(v float64)
- func (o *TransferItem) SetFeeType(v string)
- func (o *TransferItem) SetInstrument(v TransactionInstrument)
- func (o *TransferItem) SetPositionEffect(v string)
- func (o *TransferItem) SetPrice(v float64)
- func (o TransferItem) ToMap() (map[string]interface{}, error)
- type UserDetails
- func (o *UserDetails) GetBrokerRepCode() string
- func (o *UserDetails) GetBrokerRepCodeOk() (*string, bool)
- func (o *UserDetails) GetCdDomainId() string
- func (o *UserDetails) GetCdDomainIdOk() (*string, bool)
- func (o *UserDetails) GetFirstName() string
- func (o *UserDetails) GetFirstNameOk() (*string, bool)
- func (o *UserDetails) GetLastName() string
- func (o *UserDetails) GetLastNameOk() (*string, bool)
- func (o *UserDetails) GetLogin() string
- func (o *UserDetails) GetLoginOk() (*string, bool)
- func (o *UserDetails) GetSystemUserName() string
- func (o *UserDetails) GetSystemUserNameOk() (*string, bool)
- func (o *UserDetails) GetType() string
- func (o *UserDetails) GetTypeOk() (*string, bool)
- func (o *UserDetails) GetUserId() int64
- func (o *UserDetails) GetUserIdOk() (*int64, bool)
- func (o *UserDetails) HasBrokerRepCode() bool
- func (o *UserDetails) HasCdDomainId() bool
- func (o *UserDetails) HasFirstName() bool
- func (o *UserDetails) HasLastName() bool
- func (o *UserDetails) HasLogin() bool
- func (o *UserDetails) HasSystemUserName() bool
- func (o *UserDetails) HasType() bool
- func (o *UserDetails) HasUserId() bool
- func (o UserDetails) MarshalJSON() ([]byte, error)
- func (o *UserDetails) SetBrokerRepCode(v string)
- func (o *UserDetails) SetCdDomainId(v string)
- func (o *UserDetails) SetFirstName(v string)
- func (o *UserDetails) SetLastName(v string)
- func (o *UserDetails) SetLogin(v string)
- func (o *UserDetails) SetSystemUserName(v string)
- func (o *UserDetails) SetType(v string)
- func (o *UserDetails) SetUserId(v int64)
- func (o UserDetails) ToMap() (map[string]interface{}, error)
- type UserPreference
- func (o *UserPreference) GetAccounts() []UserProferenceAccount
- func (o *UserPreference) GetAccountsOk() ([]UserProferenceAccount, bool)
- func (o *UserPreference) GetOffers() []Offer
- func (o *UserPreference) GetOffersOk() ([]Offer, bool)
- func (o *UserPreference) GetStreamerInfo() []StreamerInfo
- func (o *UserPreference) GetStreamerInfoOk() ([]StreamerInfo, bool)
- func (o *UserPreference) HasAccounts() bool
- func (o *UserPreference) HasOffers() bool
- func (o *UserPreference) HasStreamerInfo() bool
- func (o UserPreference) MarshalJSON() ([]byte, error)
- func (o *UserPreference) SetAccounts(v []UserProferenceAccount)
- func (o *UserPreference) SetOffers(v []Offer)
- func (o *UserPreference) SetStreamerInfo(v []StreamerInfo)
- func (o UserPreference) ToMap() (map[string]interface{}, error)
- type UserPreferenceAPIService
- type UserProferenceAccount
- func (o *UserProferenceAccount) GetAccountColor() string
- func (o *UserProferenceAccount) GetAccountColorOk() (*string, bool)
- func (o *UserProferenceAccount) GetAccountNumber() string
- func (o *UserProferenceAccount) GetAccountNumberOk() (*string, bool)
- func (o *UserProferenceAccount) GetAutoPositionEffect() bool
- func (o *UserProferenceAccount) GetAutoPositionEffectOk() (*bool, bool)
- func (o *UserProferenceAccount) GetDisplayAcctId() string
- func (o *UserProferenceAccount) GetDisplayAcctIdOk() (*string, bool)
- func (o *UserProferenceAccount) GetNickName() string
- func (o *UserProferenceAccount) GetNickNameOk() (*string, bool)
- func (o *UserProferenceAccount) GetPrimaryAccount() bool
- func (o *UserProferenceAccount) GetPrimaryAccountOk() (*bool, bool)
- func (o *UserProferenceAccount) GetType() string
- func (o *UserProferenceAccount) GetTypeOk() (*string, bool)
- func (o *UserProferenceAccount) HasAccountColor() bool
- func (o *UserProferenceAccount) HasAccountNumber() bool
- func (o *UserProferenceAccount) HasAutoPositionEffect() bool
- func (o *UserProferenceAccount) HasDisplayAcctId() bool
- func (o *UserProferenceAccount) HasNickName() bool
- func (o *UserProferenceAccount) HasPrimaryAccount() bool
- func (o *UserProferenceAccount) HasType() bool
- func (o UserProferenceAccount) MarshalJSON() ([]byte, error)
- func (o *UserProferenceAccount) SetAccountColor(v string)
- func (o *UserProferenceAccount) SetAccountNumber(v string)
- func (o *UserProferenceAccount) SetAutoPositionEffect(v bool)
- func (o *UserProferenceAccount) SetDisplayAcctId(v string)
- func (o *UserProferenceAccount) SetNickName(v string)
- func (o *UserProferenceAccount) SetPrimaryAccount(v bool)
- func (o *UserProferenceAccount) SetType(v string)
- func (o UserProferenceAccount) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // 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 AllowedAPIRuleActionEnumValues = []APIRuleAction{
"ACCEPT",
"ALERT",
"REJECT",
"REVIEW",
"UNKNOWN",
}
All allowed values of APIRuleAction enum
var AllowedAmountIndicatorEnumValues = []AmountIndicator{
"DOLLARS",
"SHARES",
"ALL_SHARES",
"PERCENTAGE",
"UNKNOWN",
}
All allowed values of AmountIndicator enum
var AllowedApiOrderStatusEnumValues = []ApiOrderStatus{
"AWAITING_PARENT_ORDER",
"AWAITING_CONDITION",
"AWAITING_STOP_CONDITION",
"AWAITING_MANUAL_REVIEW",
"ACCEPTED",
"AWAITING_UR_OUT",
"PENDING_ACTIVATION",
"QUEUED",
"WORKING",
"REJECTED",
"PENDING_CANCEL",
"CANCELED",
"PENDING_REPLACE",
"REPLACED",
"FILLED",
"EXPIRED",
"NEW",
"AWAITING_RELEASE_TIME",
"PENDING_ACKNOWLEDGEMENT",
"PENDING_RECALL",
"UNKNOWN",
}
All allowed values of ApiOrderStatus enum
var AllowedAssetTypeEnumValues = []AssetType{
"EQUITY",
"MUTUAL_FUND",
"OPTION",
"FUTURE",
"FOREX",
"INDEX",
"CASH_EQUIVALENT",
"FIXED_INCOME",
"PRODUCT",
"CURRENCY",
"COLLECTIVE_INVESTMENT",
}
All allowed values of AssetType enum
var AllowedComplexOrderStrategyTypeEnumValues = []ComplexOrderStrategyType{
"NONE",
"COVERED",
"VERTICAL",
"BACK_RATIO",
"CALENDAR",
"DIAGONAL",
"STRADDLE",
"STRANGLE",
"COLLAR_SYNTHETIC",
"BUTTERFLY",
"CONDOR",
"IRON_CONDOR",
"VERTICAL_ROLL",
"COLLAR_WITH_STOCK",
"DOUBLE_DIAGONAL",
"UNBALANCED_BUTTERFLY",
"UNBALANCED_CONDOR",
"UNBALANCED_IRON_CONDOR",
"UNBALANCED_VERTICAL_ROLL",
"MUTUAL_FUND_SWAP",
"CUSTOM",
}
All allowed values of ComplexOrderStrategyType enum
var AllowedDurationEnumValues = []Duration{
"DAY",
"GOOD_TILL_CANCEL",
"FILL_OR_KILL",
"IMMEDIATE_OR_CANCEL",
"END_OF_WEEK",
"END_OF_MONTH",
"NEXT_END_OF_MONTH",
"UNKNOWN",
}
All allowed values of Duration enum
var AllowedFeeTypeEnumValues = []FeeType{
"COMMISSION",
"SEC_FEE",
"STR_FEE",
"R_FEE",
"CDSC_FEE",
"OPT_REG_FEE",
"ADDITIONAL_FEE",
"MISCELLANEOUS_FEE",
"FTT",
"FUTURES_CLEARING_FEE",
"FUTURES_DESK_OFFICE_FEE",
"FUTURES_EXCHANGE_FEE",
"FUTURES_GLOBEX_FEE",
"FUTURES_NFA_FEE",
"FUTURES_PIT_BROKERAGE_FEE",
"FUTURES_TRANSACTION_FEE",
"LOW_PROCEEDS_COMMISSION",
"BASE_CHARGE",
"GENERAL_CHARGE",
"GST_FEE",
"TAF_FEE",
"INDEX_OPTION_FEE",
"TEFRA_TAX",
"STATE_TAX",
"UNKNOWN",
}
All allowed values of FeeType enum
var AllowedInstructionEnumValues = []Instruction{
"BUY",
"SELL",
"BUY_TO_COVER",
"SELL_SHORT",
"BUY_TO_OPEN",
"BUY_TO_CLOSE",
"SELL_TO_OPEN",
"SELL_TO_CLOSE",
"EXCHANGE",
"SELL_SHORT_EXEMPT",
}
All allowed values of Instruction enum
var AllowedOrderStrategyTypeEnumValues = []OrderStrategyType{
"SINGLE",
"CANCEL",
"RECALL",
"PAIR",
"FLATTEN",
"TWO_DAY_SWAP",
"BLAST_ALL",
"OCO",
"TRIGGER",
}
All allowed values of OrderStrategyType enum
var AllowedOrderTypeEnumValues = []OrderType{
"MARKET",
"LIMIT",
"STOP",
"STOP_LIMIT",
"TRAILING_STOP",
"CABINET",
"NON_MARKETABLE",
"MARKET_ON_CLOSE",
"EXERCISE",
"TRAILING_STOP_LIMIT",
"NET_DEBIT",
"NET_CREDIT",
"NET_ZERO",
"LIMIT_ON_CLOSE",
"UNKNOWN",
}
All allowed values of OrderType enum
var AllowedOrderTypeRequestEnumValues = []OrderTypeRequest{
"MARKET",
"LIMIT",
"STOP",
"STOP_LIMIT",
"TRAILING_STOP",
"CABINET",
"NON_MARKETABLE",
"MARKET_ON_CLOSE",
"EXERCISE",
"TRAILING_STOP_LIMIT",
"NET_DEBIT",
"NET_CREDIT",
"NET_ZERO",
"LIMIT_ON_CLOSE",
}
All allowed values of OrderTypeRequest enum
var AllowedPriceLinkBasisEnumValues = []PriceLinkBasis{
"MANUAL",
"BASE",
"TRIGGER",
"LAST",
"BID",
"ASK",
"ASK_BID",
"MARK",
"AVERAGE",
}
All allowed values of PriceLinkBasis enum
var AllowedPriceLinkTypeEnumValues = []PriceLinkType{
"VALUE",
"PERCENT",
"TICK",
}
All allowed values of PriceLinkType enum
var AllowedRequestedDestinationEnumValues = []RequestedDestination{
"INET",
"ECN_ARCA",
"CBOE",
"AMEX",
"PHLX",
"ISE",
"BOX",
"NYSE",
"NASDAQ",
"BATS",
"C2",
"AUTO",
}
All allowed values of RequestedDestination enum
var AllowedSessionEnumValues = []Session{
"NORMAL",
"AM",
"PM",
"SEAMLESS",
}
All allowed values of Session enum
var AllowedSettlementInstructionEnumValues = []SettlementInstruction{
"REGULAR",
"CASH",
"NEXT_DAY",
"UNKNOWN",
}
All allowed values of SettlementInstruction enum
var AllowedSpecialInstructionEnumValues = []SpecialInstruction{
"ALL_OR_NONE",
"DO_NOT_REDUCE",
"ALL_OR_NONE_DO_NOT_REDUCE",
}
All allowed values of SpecialInstruction enum
var AllowedStatusEnumValues = []Status{
"AWAITING_PARENT_ORDER",
"AWAITING_CONDITION",
"AWAITING_STOP_CONDITION",
"AWAITING_MANUAL_REVIEW",
"ACCEPTED",
"AWAITING_UR_OUT",
"PENDING_ACTIVATION",
"QUEUED",
"WORKING",
"REJECTED",
"PENDING_CANCEL",
"CANCELED",
"PENDING_REPLACE",
"REPLACED",
"FILLED",
"EXPIRED",
"NEW",
"AWAITING_RELEASE_TIME",
"PENDING_ACKNOWLEDGEMENT",
"PENDING_RECALL",
"UNKNOWN",
}
All allowed values of Status enum
var AllowedStopPriceLinkBasisEnumValues = []StopPriceLinkBasis{
"MANUAL",
"BASE",
"TRIGGER",
"LAST",
"BID",
"ASK",
"ASK_BID",
"MARK",
"AVERAGE",
}
All allowed values of StopPriceLinkBasis enum
var AllowedStopPriceLinkTypeEnumValues = []StopPriceLinkType{
"VALUE",
"PERCENT",
"TICK",
}
All allowed values of StopPriceLinkType enum
var AllowedStopTypeEnumValues = []StopType{
"STANDARD",
"BID",
"ASK",
"LAST",
"MARK",
}
All allowed values of StopType enum
var AllowedTaxLotMethodEnumValues = []TaxLotMethod{
"FIFO",
"LIFO",
"HIGH_COST",
"LOW_COST",
"AVERAGE_COST",
"SPECIFIC_LOT",
"LOSS_HARVESTER",
}
All allowed values of TaxLotMethod enum
var AllowedTransactionTypeEnumValues = []TransactionType{
"TRADE",
"RECEIVE_AND_DELIVER",
"DIVIDEND_OR_INTEREST",
"ACH_RECEIPT",
"ACH_DISBURSEMENT",
"CASH_RECEIPT",
"CASH_DISBURSEMENT",
"ELECTRONIC_FUND",
"WIRE_OUT",
"WIRE_IN",
"JOURNAL",
"MEMORANDUM",
"MARGIN_CALL",
"MONEY_MARKET",
"SMA_ADJUSTMENT",
}
All allowed values of TransactionType 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 { AccountsAPI *AccountsAPIService OrdersAPI *OrdersAPIService TransactionsAPI *TransactionsAPIService UserPreferenceAPI *UserPreferenceAPIService // contains filtered or unexported fields }
APIClient manages communication with the Trader API - Account Access and User Preferences 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 APIRuleAction ¶
type APIRuleAction string
APIRuleAction the model 'APIRuleAction'
const ( APIRULEACTION_ACCEPT APIRuleAction = "ACCEPT" APIRULEACTION_ALERT APIRuleAction = "ALERT" APIRULEACTION_REJECT APIRuleAction = "REJECT" APIRULEACTION_REVIEW APIRuleAction = "REVIEW" APIRULEACTION_UNKNOWN APIRuleAction = "UNKNOWN" )
List of APIRuleAction
func NewAPIRuleActionFromValue ¶
func NewAPIRuleActionFromValue(v string) (*APIRuleAction, error)
NewAPIRuleActionFromValue returns a pointer to a valid APIRuleAction for the value passed as argument, or an error if the value passed is not allowed by the enum
func (APIRuleAction) IsValid ¶
func (v APIRuleAction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (APIRuleAction) Ptr ¶
func (v APIRuleAction) Ptr() *APIRuleAction
Ptr returns reference to APIRuleAction value
func (*APIRuleAction) UnmarshalJSON ¶
func (v *APIRuleAction) UnmarshalJSON(src []byte) error
type Account ¶
type Account struct {
SecuritiesAccount *SecuritiesAccount `json:"securitiesAccount,omitempty"`
}
Account struct for Account
func NewAccount ¶
func NewAccount() *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) GetSecuritiesAccount ¶
func (o *Account) GetSecuritiesAccount() SecuritiesAccount
GetSecuritiesAccount returns the SecuritiesAccount field value if set, zero value otherwise.
func (*Account) GetSecuritiesAccountOk ¶
func (o *Account) GetSecuritiesAccountOk() (*SecuritiesAccount, bool)
GetSecuritiesAccountOk returns a tuple with the SecuritiesAccount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Account) HasSecuritiesAccount ¶
HasSecuritiesAccount returns a boolean if a field has been set.
func (Account) MarshalJSON ¶
func (*Account) SetSecuritiesAccount ¶
func (o *Account) SetSecuritiesAccount(v SecuritiesAccount)
SetSecuritiesAccount gets a reference to the given SecuritiesAccount and assigns it to the SecuritiesAccount field.
type AccountAPIOptionDeliverable ¶
type AccountAPIOptionDeliverable struct { Symbol *string `json:"symbol,omitempty"` DeliverableUnits *float64 `json:"deliverableUnits,omitempty"` ApiCurrencyType *string `json:"apiCurrencyType,omitempty"` AssetType *AssetType `json:"assetType,omitempty"` }
AccountAPIOptionDeliverable struct for AccountAPIOptionDeliverable
func NewAccountAPIOptionDeliverable ¶
func NewAccountAPIOptionDeliverable() *AccountAPIOptionDeliverable
NewAccountAPIOptionDeliverable instantiates a new AccountAPIOptionDeliverable 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 NewAccountAPIOptionDeliverableWithDefaults ¶
func NewAccountAPIOptionDeliverableWithDefaults() *AccountAPIOptionDeliverable
NewAccountAPIOptionDeliverableWithDefaults instantiates a new AccountAPIOptionDeliverable 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 (*AccountAPIOptionDeliverable) GetApiCurrencyType ¶
func (o *AccountAPIOptionDeliverable) GetApiCurrencyType() string
GetApiCurrencyType returns the ApiCurrencyType field value if set, zero value otherwise.
func (*AccountAPIOptionDeliverable) GetApiCurrencyTypeOk ¶
func (o *AccountAPIOptionDeliverable) GetApiCurrencyTypeOk() (*string, bool)
GetApiCurrencyTypeOk returns a tuple with the ApiCurrencyType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountAPIOptionDeliverable) GetAssetType ¶
func (o *AccountAPIOptionDeliverable) GetAssetType() AssetType
GetAssetType returns the AssetType field value if set, zero value otherwise.
func (*AccountAPIOptionDeliverable) GetAssetTypeOk ¶
func (o *AccountAPIOptionDeliverable) GetAssetTypeOk() (*AssetType, 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 (*AccountAPIOptionDeliverable) GetDeliverableUnits ¶
func (o *AccountAPIOptionDeliverable) GetDeliverableUnits() float64
GetDeliverableUnits returns the DeliverableUnits field value if set, zero value otherwise.
func (*AccountAPIOptionDeliverable) GetDeliverableUnitsOk ¶
func (o *AccountAPIOptionDeliverable) GetDeliverableUnitsOk() (*float64, bool)
GetDeliverableUnitsOk returns a tuple with the DeliverableUnits field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountAPIOptionDeliverable) GetSymbol ¶
func (o *AccountAPIOptionDeliverable) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*AccountAPIOptionDeliverable) GetSymbolOk ¶
func (o *AccountAPIOptionDeliverable) 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 (*AccountAPIOptionDeliverable) HasApiCurrencyType ¶
func (o *AccountAPIOptionDeliverable) HasApiCurrencyType() bool
HasApiCurrencyType returns a boolean if a field has been set.
func (*AccountAPIOptionDeliverable) HasAssetType ¶
func (o *AccountAPIOptionDeliverable) HasAssetType() bool
HasAssetType returns a boolean if a field has been set.
func (*AccountAPIOptionDeliverable) HasDeliverableUnits ¶
func (o *AccountAPIOptionDeliverable) HasDeliverableUnits() bool
HasDeliverableUnits returns a boolean if a field has been set.
func (*AccountAPIOptionDeliverable) HasSymbol ¶
func (o *AccountAPIOptionDeliverable) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (AccountAPIOptionDeliverable) MarshalJSON ¶
func (o AccountAPIOptionDeliverable) MarshalJSON() ([]byte, error)
func (*AccountAPIOptionDeliverable) SetApiCurrencyType ¶
func (o *AccountAPIOptionDeliverable) SetApiCurrencyType(v string)
SetApiCurrencyType gets a reference to the given string and assigns it to the ApiCurrencyType field.
func (*AccountAPIOptionDeliverable) SetAssetType ¶
func (o *AccountAPIOptionDeliverable) SetAssetType(v AssetType)
SetAssetType gets a reference to the given AssetType and assigns it to the AssetType field.
func (*AccountAPIOptionDeliverable) SetDeliverableUnits ¶
func (o *AccountAPIOptionDeliverable) SetDeliverableUnits(v float64)
SetDeliverableUnits gets a reference to the given float64 and assigns it to the DeliverableUnits field.
func (*AccountAPIOptionDeliverable) SetSymbol ¶
func (o *AccountAPIOptionDeliverable) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (AccountAPIOptionDeliverable) ToMap ¶
func (o AccountAPIOptionDeliverable) ToMap() (map[string]interface{}, error)
type AccountCashEquivalent ¶
type AccountCashEquivalent struct { Type *string `json:"type,omitempty"` AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
AccountCashEquivalent struct for AccountCashEquivalent
func NewAccountCashEquivalent ¶
func NewAccountCashEquivalent(assetType string) *AccountCashEquivalent
NewAccountCashEquivalent instantiates a new AccountCashEquivalent 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 NewAccountCashEquivalentWithDefaults ¶
func NewAccountCashEquivalentWithDefaults() *AccountCashEquivalent
NewAccountCashEquivalentWithDefaults instantiates a new AccountCashEquivalent 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 (*AccountCashEquivalent) GetAssetType ¶
func (o *AccountCashEquivalent) GetAssetType() string
GetAssetType returns the AssetType field value
func (*AccountCashEquivalent) GetAssetTypeOk ¶
func (o *AccountCashEquivalent) GetAssetTypeOk() (*string, bool)
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*AccountCashEquivalent) GetCusip ¶
func (o *AccountCashEquivalent) GetCusip() string
GetCusip returns the Cusip field value if set, zero value otherwise.
func (*AccountCashEquivalent) GetCusipOk ¶
func (o *AccountCashEquivalent) GetCusipOk() (*string, bool)
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountCashEquivalent) GetDescription ¶
func (o *AccountCashEquivalent) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*AccountCashEquivalent) GetDescriptionOk ¶
func (o *AccountCashEquivalent) 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 (*AccountCashEquivalent) GetInstrumentId ¶
func (o *AccountCashEquivalent) GetInstrumentId() int64
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*AccountCashEquivalent) GetInstrumentIdOk ¶
func (o *AccountCashEquivalent) GetInstrumentIdOk() (*int64, bool)
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountCashEquivalent) GetNetChange ¶
func (o *AccountCashEquivalent) GetNetChange() float64
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*AccountCashEquivalent) GetNetChangeOk ¶
func (o *AccountCashEquivalent) GetNetChangeOk() (*float64, bool)
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountCashEquivalent) GetSymbol ¶
func (o *AccountCashEquivalent) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*AccountCashEquivalent) GetSymbolOk ¶
func (o *AccountCashEquivalent) 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 (*AccountCashEquivalent) GetType ¶
func (o *AccountCashEquivalent) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*AccountCashEquivalent) GetTypeOk ¶
func (o *AccountCashEquivalent) 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 (*AccountCashEquivalent) HasCusip ¶
func (o *AccountCashEquivalent) HasCusip() bool
HasCusip returns a boolean if a field has been set.
func (*AccountCashEquivalent) HasDescription ¶
func (o *AccountCashEquivalent) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AccountCashEquivalent) HasInstrumentId ¶
func (o *AccountCashEquivalent) HasInstrumentId() bool
HasInstrumentId returns a boolean if a field has been set.
func (*AccountCashEquivalent) HasNetChange ¶
func (o *AccountCashEquivalent) HasNetChange() bool
HasNetChange returns a boolean if a field has been set.
func (*AccountCashEquivalent) HasSymbol ¶
func (o *AccountCashEquivalent) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (*AccountCashEquivalent) HasType ¶
func (o *AccountCashEquivalent) HasType() bool
HasType returns a boolean if a field has been set.
func (AccountCashEquivalent) MarshalJSON ¶
func (o AccountCashEquivalent) MarshalJSON() ([]byte, error)
func (*AccountCashEquivalent) SetAssetType ¶
func (o *AccountCashEquivalent) SetAssetType(v string)
SetAssetType sets field value
func (*AccountCashEquivalent) SetCusip ¶
func (o *AccountCashEquivalent) SetCusip(v string)
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*AccountCashEquivalent) SetDescription ¶
func (o *AccountCashEquivalent) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*AccountCashEquivalent) SetInstrumentId ¶
func (o *AccountCashEquivalent) SetInstrumentId(v int64)
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*AccountCashEquivalent) SetNetChange ¶
func (o *AccountCashEquivalent) SetNetChange(v float64)
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*AccountCashEquivalent) SetSymbol ¶
func (o *AccountCashEquivalent) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*AccountCashEquivalent) SetType ¶
func (o *AccountCashEquivalent) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (AccountCashEquivalent) ToMap ¶
func (o AccountCashEquivalent) ToMap() (map[string]interface{}, error)
func (*AccountCashEquivalent) UnmarshalJSON ¶
func (o *AccountCashEquivalent) UnmarshalJSON(data []byte) (err error)
type AccountEquity ¶
type AccountEquity struct { AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
AccountEquity struct for AccountEquity
func NewAccountEquity ¶
func NewAccountEquity(assetType string) *AccountEquity
NewAccountEquity instantiates a new AccountEquity 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 NewAccountEquityWithDefaults ¶
func NewAccountEquityWithDefaults() *AccountEquity
NewAccountEquityWithDefaults instantiates a new AccountEquity 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 (*AccountEquity) GetAssetType ¶
func (o *AccountEquity) GetAssetType() string
GetAssetType returns the AssetType field value
func (*AccountEquity) GetAssetTypeOk ¶
func (o *AccountEquity) GetAssetTypeOk() (*string, bool)
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*AccountEquity) GetCusip ¶
func (o *AccountEquity) GetCusip() string
GetCusip returns the Cusip field value if set, zero value otherwise.
func (*AccountEquity) GetCusipOk ¶
func (o *AccountEquity) GetCusipOk() (*string, bool)
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountEquity) GetDescription ¶
func (o *AccountEquity) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*AccountEquity) GetDescriptionOk ¶
func (o *AccountEquity) 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 (*AccountEquity) GetInstrumentId ¶
func (o *AccountEquity) GetInstrumentId() int64
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*AccountEquity) GetInstrumentIdOk ¶
func (o *AccountEquity) GetInstrumentIdOk() (*int64, bool)
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountEquity) GetNetChange ¶
func (o *AccountEquity) GetNetChange() float64
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*AccountEquity) GetNetChangeOk ¶
func (o *AccountEquity) GetNetChangeOk() (*float64, bool)
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountEquity) GetSymbol ¶
func (o *AccountEquity) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*AccountEquity) GetSymbolOk ¶
func (o *AccountEquity) 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 (*AccountEquity) HasCusip ¶
func (o *AccountEquity) HasCusip() bool
HasCusip returns a boolean if a field has been set.
func (*AccountEquity) HasDescription ¶
func (o *AccountEquity) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AccountEquity) HasInstrumentId ¶
func (o *AccountEquity) HasInstrumentId() bool
HasInstrumentId returns a boolean if a field has been set.
func (*AccountEquity) HasNetChange ¶
func (o *AccountEquity) HasNetChange() bool
HasNetChange returns a boolean if a field has been set.
func (*AccountEquity) HasSymbol ¶
func (o *AccountEquity) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (AccountEquity) MarshalJSON ¶
func (o AccountEquity) MarshalJSON() ([]byte, error)
func (*AccountEquity) SetAssetType ¶
func (o *AccountEquity) SetAssetType(v string)
SetAssetType sets field value
func (*AccountEquity) SetCusip ¶
func (o *AccountEquity) SetCusip(v string)
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*AccountEquity) SetDescription ¶
func (o *AccountEquity) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*AccountEquity) SetInstrumentId ¶
func (o *AccountEquity) SetInstrumentId(v int64)
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*AccountEquity) SetNetChange ¶
func (o *AccountEquity) SetNetChange(v float64)
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*AccountEquity) SetSymbol ¶
func (o *AccountEquity) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (AccountEquity) ToMap ¶
func (o AccountEquity) ToMap() (map[string]interface{}, error)
func (*AccountEquity) UnmarshalJSON ¶
func (o *AccountEquity) UnmarshalJSON(data []byte) (err error)
type AccountFixedIncome ¶
type AccountFixedIncome struct { MaturityDate *time.Time `json:"maturityDate,omitempty"` Factor *float64 `json:"factor,omitempty"` VariableRate *float64 `json:"variableRate,omitempty"` AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
AccountFixedIncome struct for AccountFixedIncome
func NewAccountFixedIncome ¶
func NewAccountFixedIncome(assetType string) *AccountFixedIncome
NewAccountFixedIncome instantiates a new AccountFixedIncome 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 NewAccountFixedIncomeWithDefaults ¶
func NewAccountFixedIncomeWithDefaults() *AccountFixedIncome
NewAccountFixedIncomeWithDefaults instantiates a new AccountFixedIncome 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 (*AccountFixedIncome) GetAssetType ¶
func (o *AccountFixedIncome) GetAssetType() string
GetAssetType returns the AssetType field value
func (*AccountFixedIncome) GetAssetTypeOk ¶
func (o *AccountFixedIncome) GetAssetTypeOk() (*string, bool)
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*AccountFixedIncome) GetCusip ¶
func (o *AccountFixedIncome) GetCusip() string
GetCusip returns the Cusip field value if set, zero value otherwise.
func (*AccountFixedIncome) GetCusipOk ¶
func (o *AccountFixedIncome) GetCusipOk() (*string, bool)
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountFixedIncome) GetDescription ¶
func (o *AccountFixedIncome) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*AccountFixedIncome) GetDescriptionOk ¶
func (o *AccountFixedIncome) 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 (*AccountFixedIncome) GetFactor ¶
func (o *AccountFixedIncome) GetFactor() float64
GetFactor returns the Factor field value if set, zero value otherwise.
func (*AccountFixedIncome) GetFactorOk ¶
func (o *AccountFixedIncome) GetFactorOk() (*float64, bool)
GetFactorOk returns a tuple with the Factor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountFixedIncome) GetInstrumentId ¶
func (o *AccountFixedIncome) GetInstrumentId() int64
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*AccountFixedIncome) GetInstrumentIdOk ¶
func (o *AccountFixedIncome) GetInstrumentIdOk() (*int64, bool)
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountFixedIncome) GetMaturityDate ¶
func (o *AccountFixedIncome) GetMaturityDate() time.Time
GetMaturityDate returns the MaturityDate field value if set, zero value otherwise.
func (*AccountFixedIncome) GetMaturityDateOk ¶
func (o *AccountFixedIncome) GetMaturityDateOk() (*time.Time, bool)
GetMaturityDateOk returns a tuple with the MaturityDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountFixedIncome) GetNetChange ¶
func (o *AccountFixedIncome) GetNetChange() float64
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*AccountFixedIncome) GetNetChangeOk ¶
func (o *AccountFixedIncome) GetNetChangeOk() (*float64, bool)
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountFixedIncome) GetSymbol ¶
func (o *AccountFixedIncome) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*AccountFixedIncome) GetSymbolOk ¶
func (o *AccountFixedIncome) 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 (*AccountFixedIncome) GetVariableRate ¶
func (o *AccountFixedIncome) GetVariableRate() float64
GetVariableRate returns the VariableRate field value if set, zero value otherwise.
func (*AccountFixedIncome) GetVariableRateOk ¶
func (o *AccountFixedIncome) GetVariableRateOk() (*float64, bool)
GetVariableRateOk returns a tuple with the VariableRate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountFixedIncome) HasCusip ¶
func (o *AccountFixedIncome) HasCusip() bool
HasCusip returns a boolean if a field has been set.
func (*AccountFixedIncome) HasDescription ¶
func (o *AccountFixedIncome) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AccountFixedIncome) HasFactor ¶
func (o *AccountFixedIncome) HasFactor() bool
HasFactor returns a boolean if a field has been set.
func (*AccountFixedIncome) HasInstrumentId ¶
func (o *AccountFixedIncome) HasInstrumentId() bool
HasInstrumentId returns a boolean if a field has been set.
func (*AccountFixedIncome) HasMaturityDate ¶
func (o *AccountFixedIncome) HasMaturityDate() bool
HasMaturityDate returns a boolean if a field has been set.
func (*AccountFixedIncome) HasNetChange ¶
func (o *AccountFixedIncome) HasNetChange() bool
HasNetChange returns a boolean if a field has been set.
func (*AccountFixedIncome) HasSymbol ¶
func (o *AccountFixedIncome) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (*AccountFixedIncome) HasVariableRate ¶
func (o *AccountFixedIncome) HasVariableRate() bool
HasVariableRate returns a boolean if a field has been set.
func (AccountFixedIncome) MarshalJSON ¶
func (o AccountFixedIncome) MarshalJSON() ([]byte, error)
func (*AccountFixedIncome) SetAssetType ¶
func (o *AccountFixedIncome) SetAssetType(v string)
SetAssetType sets field value
func (*AccountFixedIncome) SetCusip ¶
func (o *AccountFixedIncome) SetCusip(v string)
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*AccountFixedIncome) SetDescription ¶
func (o *AccountFixedIncome) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*AccountFixedIncome) SetFactor ¶
func (o *AccountFixedIncome) SetFactor(v float64)
SetFactor gets a reference to the given float64 and assigns it to the Factor field.
func (*AccountFixedIncome) SetInstrumentId ¶
func (o *AccountFixedIncome) SetInstrumentId(v int64)
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*AccountFixedIncome) SetMaturityDate ¶
func (o *AccountFixedIncome) SetMaturityDate(v time.Time)
SetMaturityDate gets a reference to the given time.Time and assigns it to the MaturityDate field.
func (*AccountFixedIncome) SetNetChange ¶
func (o *AccountFixedIncome) SetNetChange(v float64)
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*AccountFixedIncome) SetSymbol ¶
func (o *AccountFixedIncome) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*AccountFixedIncome) SetVariableRate ¶
func (o *AccountFixedIncome) SetVariableRate(v float64)
SetVariableRate gets a reference to the given float64 and assigns it to the VariableRate field.
func (AccountFixedIncome) ToMap ¶
func (o AccountFixedIncome) ToMap() (map[string]interface{}, error)
func (*AccountFixedIncome) UnmarshalJSON ¶
func (o *AccountFixedIncome) UnmarshalJSON(data []byte) (err error)
type AccountMutualFund ¶
type AccountMutualFund struct { AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
AccountMutualFund struct for AccountMutualFund
func NewAccountMutualFund ¶
func NewAccountMutualFund(assetType string) *AccountMutualFund
NewAccountMutualFund instantiates a new AccountMutualFund 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 NewAccountMutualFundWithDefaults ¶
func NewAccountMutualFundWithDefaults() *AccountMutualFund
NewAccountMutualFundWithDefaults instantiates a new AccountMutualFund 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 (*AccountMutualFund) GetAssetType ¶
func (o *AccountMutualFund) GetAssetType() string
GetAssetType returns the AssetType field value
func (*AccountMutualFund) GetAssetTypeOk ¶
func (o *AccountMutualFund) GetAssetTypeOk() (*string, bool)
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*AccountMutualFund) GetCusip ¶
func (o *AccountMutualFund) GetCusip() string
GetCusip returns the Cusip field value if set, zero value otherwise.
func (*AccountMutualFund) GetCusipOk ¶
func (o *AccountMutualFund) GetCusipOk() (*string, bool)
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountMutualFund) GetDescription ¶
func (o *AccountMutualFund) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*AccountMutualFund) GetDescriptionOk ¶
func (o *AccountMutualFund) 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 (*AccountMutualFund) GetInstrumentId ¶
func (o *AccountMutualFund) GetInstrumentId() int64
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*AccountMutualFund) GetInstrumentIdOk ¶
func (o *AccountMutualFund) GetInstrumentIdOk() (*int64, bool)
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountMutualFund) GetNetChange ¶
func (o *AccountMutualFund) GetNetChange() float64
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*AccountMutualFund) GetNetChangeOk ¶
func (o *AccountMutualFund) GetNetChangeOk() (*float64, bool)
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountMutualFund) GetSymbol ¶
func (o *AccountMutualFund) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*AccountMutualFund) GetSymbolOk ¶
func (o *AccountMutualFund) 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 (*AccountMutualFund) HasCusip ¶
func (o *AccountMutualFund) HasCusip() bool
HasCusip returns a boolean if a field has been set.
func (*AccountMutualFund) HasDescription ¶
func (o *AccountMutualFund) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AccountMutualFund) HasInstrumentId ¶
func (o *AccountMutualFund) HasInstrumentId() bool
HasInstrumentId returns a boolean if a field has been set.
func (*AccountMutualFund) HasNetChange ¶
func (o *AccountMutualFund) HasNetChange() bool
HasNetChange returns a boolean if a field has been set.
func (*AccountMutualFund) HasSymbol ¶
func (o *AccountMutualFund) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (AccountMutualFund) MarshalJSON ¶
func (o AccountMutualFund) MarshalJSON() ([]byte, error)
func (*AccountMutualFund) SetAssetType ¶
func (o *AccountMutualFund) SetAssetType(v string)
SetAssetType sets field value
func (*AccountMutualFund) SetCusip ¶
func (o *AccountMutualFund) SetCusip(v string)
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*AccountMutualFund) SetDescription ¶
func (o *AccountMutualFund) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*AccountMutualFund) SetInstrumentId ¶
func (o *AccountMutualFund) SetInstrumentId(v int64)
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*AccountMutualFund) SetNetChange ¶
func (o *AccountMutualFund) SetNetChange(v float64)
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*AccountMutualFund) SetSymbol ¶
func (o *AccountMutualFund) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (AccountMutualFund) ToMap ¶
func (o AccountMutualFund) ToMap() (map[string]interface{}, error)
func (*AccountMutualFund) UnmarshalJSON ¶
func (o *AccountMutualFund) UnmarshalJSON(data []byte) (err error)
type AccountNumberHash ¶
type AccountNumberHash struct { AccountNumber *string `json:"accountNumber,omitempty"` HashValue *string `json:"hashValue,omitempty"` }
AccountNumberHash struct for AccountNumberHash
func NewAccountNumberHash ¶
func NewAccountNumberHash() *AccountNumberHash
NewAccountNumberHash instantiates a new AccountNumberHash 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 NewAccountNumberHashWithDefaults ¶
func NewAccountNumberHashWithDefaults() *AccountNumberHash
NewAccountNumberHashWithDefaults instantiates a new AccountNumberHash 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 (*AccountNumberHash) GetAccountNumber ¶
func (o *AccountNumberHash) GetAccountNumber() string
GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.
func (*AccountNumberHash) GetAccountNumberOk ¶
func (o *AccountNumberHash) GetAccountNumberOk() (*string, bool)
GetAccountNumberOk returns a tuple with the AccountNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountNumberHash) GetHashValue ¶
func (o *AccountNumberHash) GetHashValue() string
GetHashValue returns the HashValue field value if set, zero value otherwise.
func (*AccountNumberHash) GetHashValueOk ¶
func (o *AccountNumberHash) GetHashValueOk() (*string, bool)
GetHashValueOk returns a tuple with the HashValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountNumberHash) HasAccountNumber ¶
func (o *AccountNumberHash) HasAccountNumber() bool
HasAccountNumber returns a boolean if a field has been set.
func (*AccountNumberHash) HasHashValue ¶
func (o *AccountNumberHash) HasHashValue() bool
HasHashValue returns a boolean if a field has been set.
func (AccountNumberHash) MarshalJSON ¶
func (o AccountNumberHash) MarshalJSON() ([]byte, error)
func (*AccountNumberHash) SetAccountNumber ¶
func (o *AccountNumberHash) SetAccountNumber(v string)
SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.
func (*AccountNumberHash) SetHashValue ¶
func (o *AccountNumberHash) SetHashValue(v string)
SetHashValue gets a reference to the given string and assigns it to the HashValue field.
func (AccountNumberHash) ToMap ¶
func (o AccountNumberHash) ToMap() (map[string]interface{}, error)
type AccountOption ¶
type AccountOption struct { OptionDeliverables []AccountAPIOptionDeliverable `json:"optionDeliverables,omitempty"` PutCall *string `json:"putCall,omitempty"` OptionMultiplier *int32 `json:"optionMultiplier,omitempty"` Type *string `json:"type,omitempty"` UnderlyingSymbol *string `json:"underlyingSymbol,omitempty"` AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
AccountOption struct for AccountOption
func NewAccountOption ¶
func NewAccountOption(assetType string) *AccountOption
NewAccountOption instantiates a new AccountOption 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 NewAccountOptionWithDefaults ¶
func NewAccountOptionWithDefaults() *AccountOption
NewAccountOptionWithDefaults instantiates a new AccountOption 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 (*AccountOption) GetAssetType ¶
func (o *AccountOption) GetAssetType() string
GetAssetType returns the AssetType field value
func (*AccountOption) GetAssetTypeOk ¶
func (o *AccountOption) GetAssetTypeOk() (*string, bool)
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*AccountOption) GetCusip ¶
func (o *AccountOption) GetCusip() string
GetCusip returns the Cusip field value if set, zero value otherwise.
func (*AccountOption) GetCusipOk ¶
func (o *AccountOption) GetCusipOk() (*string, bool)
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOption) GetDescription ¶
func (o *AccountOption) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*AccountOption) GetDescriptionOk ¶
func (o *AccountOption) 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 (*AccountOption) GetInstrumentId ¶
func (o *AccountOption) GetInstrumentId() int64
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*AccountOption) GetInstrumentIdOk ¶
func (o *AccountOption) GetInstrumentIdOk() (*int64, bool)
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOption) GetNetChange ¶
func (o *AccountOption) GetNetChange() float64
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*AccountOption) GetNetChangeOk ¶
func (o *AccountOption) GetNetChangeOk() (*float64, bool)
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOption) GetOptionDeliverables ¶
func (o *AccountOption) GetOptionDeliverables() []AccountAPIOptionDeliverable
GetOptionDeliverables returns the OptionDeliverables field value if set, zero value otherwise.
func (*AccountOption) GetOptionDeliverablesOk ¶
func (o *AccountOption) GetOptionDeliverablesOk() ([]AccountAPIOptionDeliverable, bool)
GetOptionDeliverablesOk returns a tuple with the OptionDeliverables field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOption) GetOptionMultiplier ¶
func (o *AccountOption) GetOptionMultiplier() int32
GetOptionMultiplier returns the OptionMultiplier field value if set, zero value otherwise.
func (*AccountOption) GetOptionMultiplierOk ¶
func (o *AccountOption) GetOptionMultiplierOk() (*int32, bool)
GetOptionMultiplierOk returns a tuple with the OptionMultiplier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOption) GetPutCall ¶
func (o *AccountOption) GetPutCall() string
GetPutCall returns the PutCall field value if set, zero value otherwise.
func (*AccountOption) GetPutCallOk ¶
func (o *AccountOption) GetPutCallOk() (*string, bool)
GetPutCallOk returns a tuple with the PutCall field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOption) GetSymbol ¶
func (o *AccountOption) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*AccountOption) GetSymbolOk ¶
func (o *AccountOption) 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 (*AccountOption) GetType ¶
func (o *AccountOption) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*AccountOption) GetTypeOk ¶
func (o *AccountOption) 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 (*AccountOption) GetUnderlyingSymbol ¶
func (o *AccountOption) GetUnderlyingSymbol() string
GetUnderlyingSymbol returns the UnderlyingSymbol field value if set, zero value otherwise.
func (*AccountOption) GetUnderlyingSymbolOk ¶
func (o *AccountOption) GetUnderlyingSymbolOk() (*string, bool)
GetUnderlyingSymbolOk returns a tuple with the UnderlyingSymbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountOption) HasCusip ¶
func (o *AccountOption) HasCusip() bool
HasCusip returns a boolean if a field has been set.
func (*AccountOption) HasDescription ¶
func (o *AccountOption) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AccountOption) HasInstrumentId ¶
func (o *AccountOption) HasInstrumentId() bool
HasInstrumentId returns a boolean if a field has been set.
func (*AccountOption) HasNetChange ¶
func (o *AccountOption) HasNetChange() bool
HasNetChange returns a boolean if a field has been set.
func (*AccountOption) HasOptionDeliverables ¶
func (o *AccountOption) HasOptionDeliverables() bool
HasOptionDeliverables returns a boolean if a field has been set.
func (*AccountOption) HasOptionMultiplier ¶
func (o *AccountOption) HasOptionMultiplier() bool
HasOptionMultiplier returns a boolean if a field has been set.
func (*AccountOption) HasPutCall ¶
func (o *AccountOption) HasPutCall() bool
HasPutCall returns a boolean if a field has been set.
func (*AccountOption) HasSymbol ¶
func (o *AccountOption) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (*AccountOption) HasType ¶
func (o *AccountOption) HasType() bool
HasType returns a boolean if a field has been set.
func (*AccountOption) HasUnderlyingSymbol ¶
func (o *AccountOption) HasUnderlyingSymbol() bool
HasUnderlyingSymbol returns a boolean if a field has been set.
func (AccountOption) MarshalJSON ¶
func (o AccountOption) MarshalJSON() ([]byte, error)
func (*AccountOption) SetAssetType ¶
func (o *AccountOption) SetAssetType(v string)
SetAssetType sets field value
func (*AccountOption) SetCusip ¶
func (o *AccountOption) SetCusip(v string)
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*AccountOption) SetDescription ¶
func (o *AccountOption) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*AccountOption) SetInstrumentId ¶
func (o *AccountOption) SetInstrumentId(v int64)
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*AccountOption) SetNetChange ¶
func (o *AccountOption) SetNetChange(v float64)
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*AccountOption) SetOptionDeliverables ¶
func (o *AccountOption) SetOptionDeliverables(v []AccountAPIOptionDeliverable)
SetOptionDeliverables gets a reference to the given []AccountAPIOptionDeliverable and assigns it to the OptionDeliverables field.
func (*AccountOption) SetOptionMultiplier ¶
func (o *AccountOption) SetOptionMultiplier(v int32)
SetOptionMultiplier gets a reference to the given int32 and assigns it to the OptionMultiplier field.
func (*AccountOption) SetPutCall ¶
func (o *AccountOption) SetPutCall(v string)
SetPutCall gets a reference to the given string and assigns it to the PutCall field.
func (*AccountOption) SetSymbol ¶
func (o *AccountOption) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*AccountOption) SetType ¶
func (o *AccountOption) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*AccountOption) SetUnderlyingSymbol ¶
func (o *AccountOption) SetUnderlyingSymbol(v string)
SetUnderlyingSymbol gets a reference to the given string and assigns it to the UnderlyingSymbol field.
func (AccountOption) ToMap ¶
func (o AccountOption) ToMap() (map[string]interface{}, error)
func (*AccountOption) UnmarshalJSON ¶
func (o *AccountOption) UnmarshalJSON(data []byte) (err error)
type AccountsAPIService ¶
type AccountsAPIService service
AccountsAPIService AccountsAPI service
func (*AccountsAPIService) GetAccount ¶
func (a *AccountsAPIService) GetAccount(ctx context.Context, accountNumber string) ApiGetAccountRequest
GetAccount Get a specific account balance and positions for the logged in user.
Specific account information with balances and positions. The balance information on these accounts is displayed by default but Positions will be returned based on the "positions" flag.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountNumber The encrypted ID of the account @return ApiGetAccountRequest
func (*AccountsAPIService) GetAccountExecute ¶
func (a *AccountsAPIService) GetAccountExecute(r ApiGetAccountRequest) (*Account, *http.Response, error)
Execute executes the request
@return Account
func (*AccountsAPIService) GetAccountNumbers ¶
func (a *AccountsAPIService) GetAccountNumbers(ctx context.Context) ApiGetAccountNumbersRequest
GetAccountNumbers Get list of account numbers and their encrypted values
Account numbers in plain text cannot be used outside of headers or request/response bodies. As the first step consumers must invoke this service to retrieve the list of plain text/encrypted value pairs, and use encrypted account values for all subsequent calls for any accountNumber request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAccountNumbersRequest
func (*AccountsAPIService) GetAccountNumbersExecute ¶
func (a *AccountsAPIService) GetAccountNumbersExecute(r ApiGetAccountNumbersRequest) ([]AccountNumberHash, *http.Response, error)
Execute executes the request
@return []AccountNumberHash
func (*AccountsAPIService) GetAccounts ¶
func (a *AccountsAPIService) GetAccounts(ctx context.Context) ApiGetAccountsRequest
GetAccounts Get linked account(s) balances and positions for the logged in user.
All the linked account information for the user logged in. The balances on these accounts are displayed by default however the positions on these accounts will be displayed based on the "positions" flag.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetAccountsRequest
func (*AccountsAPIService) GetAccountsExecute ¶
func (a *AccountsAPIService) GetAccountsExecute(r ApiGetAccountsRequest) ([]Account, *http.Response, error)
Execute executes the request
@return []Account
type AccountsBaseInstrument ¶
type AccountsBaseInstrument struct { AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
AccountsBaseInstrument struct for AccountsBaseInstrument
func NewAccountsBaseInstrument ¶
func NewAccountsBaseInstrument(assetType string) *AccountsBaseInstrument
NewAccountsBaseInstrument instantiates a new AccountsBaseInstrument 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 NewAccountsBaseInstrumentWithDefaults ¶
func NewAccountsBaseInstrumentWithDefaults() *AccountsBaseInstrument
NewAccountsBaseInstrumentWithDefaults instantiates a new AccountsBaseInstrument 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 (*AccountsBaseInstrument) GetAssetType ¶
func (o *AccountsBaseInstrument) GetAssetType() string
GetAssetType returns the AssetType field value
func (*AccountsBaseInstrument) GetAssetTypeOk ¶
func (o *AccountsBaseInstrument) GetAssetTypeOk() (*string, bool)
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*AccountsBaseInstrument) GetCusip ¶
func (o *AccountsBaseInstrument) GetCusip() string
GetCusip returns the Cusip field value if set, zero value otherwise.
func (*AccountsBaseInstrument) GetCusipOk ¶
func (o *AccountsBaseInstrument) GetCusipOk() (*string, bool)
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountsBaseInstrument) GetDescription ¶
func (o *AccountsBaseInstrument) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*AccountsBaseInstrument) GetDescriptionOk ¶
func (o *AccountsBaseInstrument) 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 (*AccountsBaseInstrument) GetInstrumentId ¶
func (o *AccountsBaseInstrument) GetInstrumentId() int64
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*AccountsBaseInstrument) GetInstrumentIdOk ¶
func (o *AccountsBaseInstrument) GetInstrumentIdOk() (*int64, bool)
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountsBaseInstrument) GetNetChange ¶
func (o *AccountsBaseInstrument) GetNetChange() float64
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*AccountsBaseInstrument) GetNetChangeOk ¶
func (o *AccountsBaseInstrument) GetNetChangeOk() (*float64, bool)
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountsBaseInstrument) GetSymbol ¶
func (o *AccountsBaseInstrument) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*AccountsBaseInstrument) GetSymbolOk ¶
func (o *AccountsBaseInstrument) 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 (*AccountsBaseInstrument) HasCusip ¶
func (o *AccountsBaseInstrument) HasCusip() bool
HasCusip returns a boolean if a field has been set.
func (*AccountsBaseInstrument) HasDescription ¶
func (o *AccountsBaseInstrument) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AccountsBaseInstrument) HasInstrumentId ¶
func (o *AccountsBaseInstrument) HasInstrumentId() bool
HasInstrumentId returns a boolean if a field has been set.
func (*AccountsBaseInstrument) HasNetChange ¶
func (o *AccountsBaseInstrument) HasNetChange() bool
HasNetChange returns a boolean if a field has been set.
func (*AccountsBaseInstrument) HasSymbol ¶
func (o *AccountsBaseInstrument) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (AccountsBaseInstrument) MarshalJSON ¶
func (o AccountsBaseInstrument) MarshalJSON() ([]byte, error)
func (*AccountsBaseInstrument) SetAssetType ¶
func (o *AccountsBaseInstrument) SetAssetType(v string)
SetAssetType sets field value
func (*AccountsBaseInstrument) SetCusip ¶
func (o *AccountsBaseInstrument) SetCusip(v string)
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*AccountsBaseInstrument) SetDescription ¶
func (o *AccountsBaseInstrument) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*AccountsBaseInstrument) SetInstrumentId ¶
func (o *AccountsBaseInstrument) SetInstrumentId(v int64)
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*AccountsBaseInstrument) SetNetChange ¶
func (o *AccountsBaseInstrument) SetNetChange(v float64)
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*AccountsBaseInstrument) SetSymbol ¶
func (o *AccountsBaseInstrument) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (AccountsBaseInstrument) ToMap ¶
func (o AccountsBaseInstrument) ToMap() (map[string]interface{}, error)
func (*AccountsBaseInstrument) UnmarshalJSON ¶
func (o *AccountsBaseInstrument) UnmarshalJSON(data []byte) (err error)
type AccountsInstrument ¶
type AccountsInstrument struct { AccountCashEquivalent *AccountCashEquivalent AccountEquity *AccountEquity AccountFixedIncome *AccountFixedIncome AccountMutualFund *AccountMutualFund AccountOption *AccountOption }
AccountsInstrument - struct for AccountsInstrument
func AccountCashEquivalentAsAccountsInstrument ¶
func AccountCashEquivalentAsAccountsInstrument(v *AccountCashEquivalent) AccountsInstrument
AccountCashEquivalentAsAccountsInstrument is a convenience function that returns AccountCashEquivalent wrapped in AccountsInstrument
func AccountEquityAsAccountsInstrument ¶
func AccountEquityAsAccountsInstrument(v *AccountEquity) AccountsInstrument
AccountEquityAsAccountsInstrument is a convenience function that returns AccountEquity wrapped in AccountsInstrument
func AccountFixedIncomeAsAccountsInstrument ¶
func AccountFixedIncomeAsAccountsInstrument(v *AccountFixedIncome) AccountsInstrument
AccountFixedIncomeAsAccountsInstrument is a convenience function that returns AccountFixedIncome wrapped in AccountsInstrument
func AccountMutualFundAsAccountsInstrument ¶
func AccountMutualFundAsAccountsInstrument(v *AccountMutualFund) AccountsInstrument
AccountMutualFundAsAccountsInstrument is a convenience function that returns AccountMutualFund wrapped in AccountsInstrument
func AccountOptionAsAccountsInstrument ¶
func AccountOptionAsAccountsInstrument(v *AccountOption) AccountsInstrument
AccountOptionAsAccountsInstrument is a convenience function that returns AccountOption wrapped in AccountsInstrument
func (*AccountsInstrument) GetActualInstance ¶
func (obj *AccountsInstrument) GetActualInstance() interface{}
Get the actual instance
func (AccountsInstrument) MarshalJSON ¶
func (src AccountsInstrument) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*AccountsInstrument) UnmarshalJSON ¶
func (dst *AccountsInstrument) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type AmountIndicator ¶
type AmountIndicator string
AmountIndicator the model 'AmountIndicator'
const ( AMOUNTINDICATOR_DOLLARS AmountIndicator = "DOLLARS" AMOUNTINDICATOR_SHARES AmountIndicator = "SHARES" AMOUNTINDICATOR_ALL_SHARES AmountIndicator = "ALL_SHARES" AMOUNTINDICATOR_PERCENTAGE AmountIndicator = "PERCENTAGE" AMOUNTINDICATOR_UNKNOWN AmountIndicator = "UNKNOWN" )
List of amountIndicator
func NewAmountIndicatorFromValue ¶
func NewAmountIndicatorFromValue(v string) (*AmountIndicator, error)
NewAmountIndicatorFromValue returns a pointer to a valid AmountIndicator for the value passed as argument, or an error if the value passed is not allowed by the enum
func (AmountIndicator) IsValid ¶
func (v AmountIndicator) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (AmountIndicator) Ptr ¶
func (v AmountIndicator) Ptr() *AmountIndicator
Ptr returns reference to amountIndicator value
func (*AmountIndicator) UnmarshalJSON ¶
func (v *AmountIndicator) UnmarshalJSON(src []byte) error
type ApiCancelOrderRequest ¶
type ApiCancelOrderRequest struct { ApiService *OrdersAPIService // contains filtered or unexported fields }
type ApiGetAccountNumbersRequest ¶
type ApiGetAccountNumbersRequest struct { ApiService *AccountsAPIService // contains filtered or unexported fields }
func (ApiGetAccountNumbersRequest) Execute ¶
func (r ApiGetAccountNumbersRequest) Execute() ([]AccountNumberHash, *http.Response, error)
type ApiGetAccountRequest ¶
type ApiGetAccountRequest struct { ApiService *AccountsAPIService // contains filtered or unexported fields }
func (ApiGetAccountRequest) Execute ¶
func (r ApiGetAccountRequest) Execute() (*Account, *http.Response, error)
func (ApiGetAccountRequest) Fields ¶
func (r ApiGetAccountRequest) Fields(fields string) ApiGetAccountRequest
This allows one to determine which fields they want returned. Possible values in this String can be: <br><code>positions</code><br> Example:<br><code>fields=positions</code>
type ApiGetAccountsRequest ¶
type ApiGetAccountsRequest struct { ApiService *AccountsAPIService // contains filtered or unexported fields }
func (ApiGetAccountsRequest) Execute ¶
func (r ApiGetAccountsRequest) Execute() ([]Account, *http.Response, error)
func (ApiGetAccountsRequest) Fields ¶
func (r ApiGetAccountsRequest) Fields(fields string) ApiGetAccountsRequest
This allows one to determine which fields they want returned. Possible value in this String can be: <br><code>positions</code><br> Example:<br><code>fields=positions</code>
type ApiGetOrderRequest ¶
type ApiGetOrderRequest struct { ApiService *OrdersAPIService // contains filtered or unexported fields }
type ApiGetOrdersByPathParamRequest ¶
type ApiGetOrdersByPathParamRequest struct { ApiService *OrdersAPIService // contains filtered or unexported fields }
func (ApiGetOrdersByPathParamRequest) Execute ¶
func (r ApiGetOrdersByPathParamRequest) Execute() ([]Order, *http.Response, error)
func (ApiGetOrdersByPathParamRequest) FromEnteredTime ¶
func (r ApiGetOrdersByPathParamRequest) FromEnteredTime(fromEnteredTime string) ApiGetOrdersByPathParamRequest
Specifies that no orders entered before this time should be returned. Valid ISO-8601 formats are :<br> <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code> Date must be within 60 days from today's date. 'toEnteredTime' must also be set.
func (ApiGetOrdersByPathParamRequest) MaxResults ¶
func (r ApiGetOrdersByPathParamRequest) MaxResults(maxResults int64) ApiGetOrdersByPathParamRequest
The max number of orders to retrieve. Default is 3000.
func (ApiGetOrdersByPathParamRequest) Status ¶
func (r ApiGetOrdersByPathParamRequest) Status(status ApiOrderStatus) ApiGetOrdersByPathParamRequest
Specifies that only orders of this status should be returned.
func (ApiGetOrdersByPathParamRequest) ToEnteredTime ¶
func (r ApiGetOrdersByPathParamRequest) ToEnteredTime(toEnteredTime string) ApiGetOrdersByPathParamRequest
Specifies that no orders entered after this time should be returned.Valid ISO-8601 formats are :<br> <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code>. 'fromEnteredTime' must also be set.
type ApiGetOrdersByQueryParamRequest ¶
type ApiGetOrdersByQueryParamRequest struct { ApiService *OrdersAPIService // contains filtered or unexported fields }
func (ApiGetOrdersByQueryParamRequest) Execute ¶
func (r ApiGetOrdersByQueryParamRequest) Execute() ([]Order, *http.Response, error)
func (ApiGetOrdersByQueryParamRequest) FromEnteredTime ¶
func (r ApiGetOrdersByQueryParamRequest) FromEnteredTime(fromEnteredTime string) ApiGetOrdersByQueryParamRequest
Specifies that no orders entered before this time should be returned. Valid ISO-8601 formats are- yyyy-MM-dd'T'HH:mm:ss.SSSZ Date must be within 60 days from today's date. 'toEnteredTime' must also be set.
func (ApiGetOrdersByQueryParamRequest) MaxResults ¶
func (r ApiGetOrdersByQueryParamRequest) MaxResults(maxResults int64) ApiGetOrdersByQueryParamRequest
The max number of orders to retrieve. Default is 3000.
func (ApiGetOrdersByQueryParamRequest) Status ¶
func (r ApiGetOrdersByQueryParamRequest) Status(status ApiOrderStatus) ApiGetOrdersByQueryParamRequest
Specifies that only orders of this status should be returned.
func (ApiGetOrdersByQueryParamRequest) ToEnteredTime ¶
func (r ApiGetOrdersByQueryParamRequest) ToEnteredTime(toEnteredTime string) ApiGetOrdersByQueryParamRequest
Specifies that no orders entered after this time should be returned.Valid ISO-8601 formats are - yyyy-MM-dd'T'HH:mm:ss.SSSZ. 'fromEnteredTime' must also be set.
type ApiGetTransactionsByIdRequest ¶
type ApiGetTransactionsByIdRequest struct { ApiService *TransactionsAPIService // contains filtered or unexported fields }
func (ApiGetTransactionsByIdRequest) Execute ¶
func (r ApiGetTransactionsByIdRequest) Execute() ([]Transaction, *http.Response, error)
type ApiGetTransactionsByPathParamRequest ¶
type ApiGetTransactionsByPathParamRequest struct { ApiService *TransactionsAPIService // contains filtered or unexported fields }
func (ApiGetTransactionsByPathParamRequest) EndDate ¶
func (r ApiGetTransactionsByPathParamRequest) EndDate(endDate string) ApiGetTransactionsByPathParamRequest
Specifies that no transactions entered after this time should be returned.Valid ISO-8601 formats are :<br> <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code>. 'fromEnteredTime' must also be set.
func (ApiGetTransactionsByPathParamRequest) Execute ¶
func (r ApiGetTransactionsByPathParamRequest) Execute() ([]Transaction, *http.Response, error)
func (ApiGetTransactionsByPathParamRequest) StartDate ¶
func (r ApiGetTransactionsByPathParamRequest) StartDate(startDate string) ApiGetTransactionsByPathParamRequest
Specifies that no transactions entered before this time should be returned. Valid ISO-8601 formats are :<br> <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code> Date must be within 60 days from today's date. 'toEnteredTime' must also be set.
func (ApiGetTransactionsByPathParamRequest) Symbol ¶
func (r ApiGetTransactionsByPathParamRequest) Symbol(symbol string) ApiGetTransactionsByPathParamRequest
It filters all the transaction activities based on the symbol specified. <u>NOTE:</u> If there is any special character in the symbol, please send th encoded value.
func (ApiGetTransactionsByPathParamRequest) Types ¶
func (r ApiGetTransactionsByPathParamRequest) Types(types TransactionType) ApiGetTransactionsByPathParamRequest
Specifies that only transactions of this status should be returned.
type ApiGetUserPreferenceRequest ¶
type ApiGetUserPreferenceRequest struct { ApiService *UserPreferenceAPIService // contains filtered or unexported fields }
func (ApiGetUserPreferenceRequest) Execute ¶
func (r ApiGetUserPreferenceRequest) Execute() ([]UserPreference, *http.Response, error)
type ApiOrderStatus ¶
type ApiOrderStatus string
ApiOrderStatus the model 'ApiOrderStatus'
const ( APIORDERSTATUS_AWAITING_PARENT_ORDER ApiOrderStatus = "AWAITING_PARENT_ORDER" APIORDERSTATUS_AWAITING_CONDITION ApiOrderStatus = "AWAITING_CONDITION" APIORDERSTATUS_AWAITING_STOP_CONDITION ApiOrderStatus = "AWAITING_STOP_CONDITION" APIORDERSTATUS_AWAITING_MANUAL_REVIEW ApiOrderStatus = "AWAITING_MANUAL_REVIEW" APIORDERSTATUS_ACCEPTED ApiOrderStatus = "ACCEPTED" APIORDERSTATUS_AWAITING_UR_OUT ApiOrderStatus = "AWAITING_UR_OUT" APIORDERSTATUS_PENDING_ACTIVATION ApiOrderStatus = "PENDING_ACTIVATION" APIORDERSTATUS_QUEUED ApiOrderStatus = "QUEUED" APIORDERSTATUS_WORKING ApiOrderStatus = "WORKING" APIORDERSTATUS_REJECTED ApiOrderStatus = "REJECTED" APIORDERSTATUS_PENDING_CANCEL ApiOrderStatus = "PENDING_CANCEL" APIORDERSTATUS_CANCELED ApiOrderStatus = "CANCELED" APIORDERSTATUS_PENDING_REPLACE ApiOrderStatus = "PENDING_REPLACE" APIORDERSTATUS_REPLACED ApiOrderStatus = "REPLACED" APIORDERSTATUS_FILLED ApiOrderStatus = "FILLED" APIORDERSTATUS_EXPIRED ApiOrderStatus = "EXPIRED" APIORDERSTATUS_NEW ApiOrderStatus = "NEW" APIORDERSTATUS_AWAITING_RELEASE_TIME ApiOrderStatus = "AWAITING_RELEASE_TIME" APIORDERSTATUS_PENDING_ACKNOWLEDGEMENT ApiOrderStatus = "PENDING_ACKNOWLEDGEMENT" APIORDERSTATUS_PENDING_RECALL ApiOrderStatus = "PENDING_RECALL" APIORDERSTATUS_UNKNOWN ApiOrderStatus = "UNKNOWN" )
List of apiOrderStatus
func NewApiOrderStatusFromValue ¶
func NewApiOrderStatusFromValue(v string) (*ApiOrderStatus, error)
NewApiOrderStatusFromValue returns a pointer to a valid ApiOrderStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ApiOrderStatus) IsValid ¶
func (v ApiOrderStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ApiOrderStatus) Ptr ¶
func (v ApiOrderStatus) Ptr() *ApiOrderStatus
Ptr returns reference to apiOrderStatus value
func (*ApiOrderStatus) UnmarshalJSON ¶
func (v *ApiOrderStatus) UnmarshalJSON(src []byte) error
type ApiPlaceOrderRequest ¶
type ApiPlaceOrderRequest struct { ApiService *OrdersAPIService // contains filtered or unexported fields }
func (ApiPlaceOrderRequest) Body ¶
func (r ApiPlaceOrderRequest) Body(body OrderRequest) ApiPlaceOrderRequest
The new Order Object.
type ApiPreviewOrderRequest ¶
type ApiPreviewOrderRequest struct { ApiService *OrdersAPIService // contains filtered or unexported fields }
func (ApiPreviewOrderRequest) Execute ¶
func (r ApiPreviewOrderRequest) Execute() (*PreviewOrder, *http.Response, error)
func (ApiPreviewOrderRequest) PreviewOrder ¶
func (r ApiPreviewOrderRequest) PreviewOrder(previewOrder PreviewOrder) ApiPreviewOrderRequest
The Order Object.
type ApiReplaceOrderRequest ¶
type ApiReplaceOrderRequest struct { ApiService *OrdersAPIService // contains filtered or unexported fields }
func (ApiReplaceOrderRequest) Body ¶
func (r ApiReplaceOrderRequest) Body(body OrderRequest) ApiReplaceOrderRequest
The Order Object.
type AssetType ¶
type AssetType string
AssetType the model 'AssetType'
const ( ASSETTYPE_EQUITY AssetType = "EQUITY" ASSETTYPE_MUTUAL_FUND AssetType = "MUTUAL_FUND" ASSETTYPE_OPTION AssetType = "OPTION" ASSETTYPE_FUTURE AssetType = "FUTURE" ASSETTYPE_FOREX AssetType = "FOREX" ASSETTYPE_INDEX AssetType = "INDEX" ASSETTYPE_CASH_EQUIVALENT AssetType = "CASH_EQUIVALENT" ASSETTYPE_FIXED_INCOME AssetType = "FIXED_INCOME" ASSETTYPE_PRODUCT AssetType = "PRODUCT" ASSETTYPE_CURRENCY AssetType = "CURRENCY" ASSETTYPE_COLLECTIVE_INVESTMENT AssetType = "COLLECTIVE_INVESTMENT" )
List of assetType
func NewAssetTypeFromValue ¶
NewAssetTypeFromValue returns a pointer to a valid AssetType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*AssetType) UnmarshalJSON ¶
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 CollectiveInvestment ¶
type CollectiveInvestment struct { Type *string `json:"type,omitempty"` AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
CollectiveInvestment struct for CollectiveInvestment
func NewCollectiveInvestment ¶
func NewCollectiveInvestment(assetType string) *CollectiveInvestment
NewCollectiveInvestment instantiates a new CollectiveInvestment 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 NewCollectiveInvestmentWithDefaults ¶
func NewCollectiveInvestmentWithDefaults() *CollectiveInvestment
NewCollectiveInvestmentWithDefaults instantiates a new CollectiveInvestment 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 (*CollectiveInvestment) GetAssetType ¶
func (o *CollectiveInvestment) GetAssetType() string
GetAssetType returns the AssetType field value
func (*CollectiveInvestment) GetAssetTypeOk ¶
func (o *CollectiveInvestment) GetAssetTypeOk() (*string, bool)
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*CollectiveInvestment) GetCusip ¶
func (o *CollectiveInvestment) GetCusip() string
GetCusip returns the Cusip field value if set, zero value otherwise.
func (*CollectiveInvestment) GetCusipOk ¶
func (o *CollectiveInvestment) GetCusipOk() (*string, bool)
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectiveInvestment) GetDescription ¶
func (o *CollectiveInvestment) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CollectiveInvestment) GetDescriptionOk ¶
func (o *CollectiveInvestment) 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 (*CollectiveInvestment) GetInstrumentId ¶
func (o *CollectiveInvestment) GetInstrumentId() int64
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*CollectiveInvestment) GetInstrumentIdOk ¶
func (o *CollectiveInvestment) GetInstrumentIdOk() (*int64, bool)
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectiveInvestment) GetNetChange ¶
func (o *CollectiveInvestment) GetNetChange() float64
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*CollectiveInvestment) GetNetChangeOk ¶
func (o *CollectiveInvestment) GetNetChangeOk() (*float64, bool)
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CollectiveInvestment) GetSymbol ¶
func (o *CollectiveInvestment) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*CollectiveInvestment) GetSymbolOk ¶
func (o *CollectiveInvestment) 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 (*CollectiveInvestment) GetType ¶
func (o *CollectiveInvestment) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*CollectiveInvestment) GetTypeOk ¶
func (o *CollectiveInvestment) 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 (*CollectiveInvestment) HasCusip ¶
func (o *CollectiveInvestment) HasCusip() bool
HasCusip returns a boolean if a field has been set.
func (*CollectiveInvestment) HasDescription ¶
func (o *CollectiveInvestment) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CollectiveInvestment) HasInstrumentId ¶
func (o *CollectiveInvestment) HasInstrumentId() bool
HasInstrumentId returns a boolean if a field has been set.
func (*CollectiveInvestment) HasNetChange ¶
func (o *CollectiveInvestment) HasNetChange() bool
HasNetChange returns a boolean if a field has been set.
func (*CollectiveInvestment) HasSymbol ¶
func (o *CollectiveInvestment) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (*CollectiveInvestment) HasType ¶
func (o *CollectiveInvestment) HasType() bool
HasType returns a boolean if a field has been set.
func (CollectiveInvestment) MarshalJSON ¶
func (o CollectiveInvestment) MarshalJSON() ([]byte, error)
func (*CollectiveInvestment) SetAssetType ¶
func (o *CollectiveInvestment) SetAssetType(v string)
SetAssetType sets field value
func (*CollectiveInvestment) SetCusip ¶
func (o *CollectiveInvestment) SetCusip(v string)
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*CollectiveInvestment) SetDescription ¶
func (o *CollectiveInvestment) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CollectiveInvestment) SetInstrumentId ¶
func (o *CollectiveInvestment) SetInstrumentId(v int64)
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*CollectiveInvestment) SetNetChange ¶
func (o *CollectiveInvestment) SetNetChange(v float64)
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*CollectiveInvestment) SetSymbol ¶
func (o *CollectiveInvestment) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*CollectiveInvestment) SetType ¶
func (o *CollectiveInvestment) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (CollectiveInvestment) ToMap ¶
func (o CollectiveInvestment) ToMap() (map[string]interface{}, error)
func (*CollectiveInvestment) UnmarshalJSON ¶
func (o *CollectiveInvestment) UnmarshalJSON(data []byte) (err error)
type Commission ¶
type Commission struct {
CommissionLegs []CommissionLeg `json:"commissionLegs,omitempty"`
}
Commission struct for Commission
func NewCommission ¶
func NewCommission() *Commission
NewCommission instantiates a new Commission 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 NewCommissionWithDefaults ¶
func NewCommissionWithDefaults() *Commission
NewCommissionWithDefaults instantiates a new Commission 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 (*Commission) GetCommissionLegs ¶
func (o *Commission) GetCommissionLegs() []CommissionLeg
GetCommissionLegs returns the CommissionLegs field value if set, zero value otherwise.
func (*Commission) GetCommissionLegsOk ¶
func (o *Commission) GetCommissionLegsOk() ([]CommissionLeg, bool)
GetCommissionLegsOk returns a tuple with the CommissionLegs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Commission) HasCommissionLegs ¶
func (o *Commission) HasCommissionLegs() bool
HasCommissionLegs returns a boolean if a field has been set.
func (Commission) MarshalJSON ¶
func (o Commission) MarshalJSON() ([]byte, error)
func (*Commission) SetCommissionLegs ¶
func (o *Commission) SetCommissionLegs(v []CommissionLeg)
SetCommissionLegs gets a reference to the given []CommissionLeg and assigns it to the CommissionLegs field.
func (Commission) ToMap ¶
func (o Commission) ToMap() (map[string]interface{}, error)
type CommissionAndFee ¶
type CommissionAndFee struct { Commission *Commission `json:"commission,omitempty"` Fee *Fees `json:"fee,omitempty"` TrueCommission *Commission `json:"trueCommission,omitempty"` }
CommissionAndFee struct for CommissionAndFee
func NewCommissionAndFee ¶
func NewCommissionAndFee() *CommissionAndFee
NewCommissionAndFee instantiates a new CommissionAndFee 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 NewCommissionAndFeeWithDefaults ¶
func NewCommissionAndFeeWithDefaults() *CommissionAndFee
NewCommissionAndFeeWithDefaults instantiates a new CommissionAndFee 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 (*CommissionAndFee) GetCommission ¶
func (o *CommissionAndFee) GetCommission() Commission
GetCommission returns the Commission field value if set, zero value otherwise.
func (*CommissionAndFee) GetCommissionOk ¶
func (o *CommissionAndFee) GetCommissionOk() (*Commission, bool)
GetCommissionOk returns a tuple with the Commission field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CommissionAndFee) GetFee ¶
func (o *CommissionAndFee) GetFee() Fees
GetFee returns the Fee field value if set, zero value otherwise.
func (*CommissionAndFee) GetFeeOk ¶
func (o *CommissionAndFee) GetFeeOk() (*Fees, 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 (*CommissionAndFee) GetTrueCommission ¶
func (o *CommissionAndFee) GetTrueCommission() Commission
GetTrueCommission returns the TrueCommission field value if set, zero value otherwise.
func (*CommissionAndFee) GetTrueCommissionOk ¶
func (o *CommissionAndFee) GetTrueCommissionOk() (*Commission, bool)
GetTrueCommissionOk returns a tuple with the TrueCommission field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CommissionAndFee) HasCommission ¶
func (o *CommissionAndFee) HasCommission() bool
HasCommission returns a boolean if a field has been set.
func (*CommissionAndFee) HasFee ¶
func (o *CommissionAndFee) HasFee() bool
HasFee returns a boolean if a field has been set.
func (*CommissionAndFee) HasTrueCommission ¶
func (o *CommissionAndFee) HasTrueCommission() bool
HasTrueCommission returns a boolean if a field has been set.
func (CommissionAndFee) MarshalJSON ¶
func (o CommissionAndFee) MarshalJSON() ([]byte, error)
func (*CommissionAndFee) SetCommission ¶
func (o *CommissionAndFee) SetCommission(v Commission)
SetCommission gets a reference to the given Commission and assigns it to the Commission field.
func (*CommissionAndFee) SetFee ¶
func (o *CommissionAndFee) SetFee(v Fees)
SetFee gets a reference to the given Fees and assigns it to the Fee field.
func (*CommissionAndFee) SetTrueCommission ¶
func (o *CommissionAndFee) SetTrueCommission(v Commission)
SetTrueCommission gets a reference to the given Commission and assigns it to the TrueCommission field.
func (CommissionAndFee) ToMap ¶
func (o CommissionAndFee) ToMap() (map[string]interface{}, error)
type CommissionLeg ¶
type CommissionLeg struct {
CommissionValues []CommissionValue `json:"commissionValues,omitempty"`
}
CommissionLeg struct for CommissionLeg
func NewCommissionLeg ¶
func NewCommissionLeg() *CommissionLeg
NewCommissionLeg instantiates a new CommissionLeg 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 NewCommissionLegWithDefaults ¶
func NewCommissionLegWithDefaults() *CommissionLeg
NewCommissionLegWithDefaults instantiates a new CommissionLeg 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 (*CommissionLeg) GetCommissionValues ¶
func (o *CommissionLeg) GetCommissionValues() []CommissionValue
GetCommissionValues returns the CommissionValues field value if set, zero value otherwise.
func (*CommissionLeg) GetCommissionValuesOk ¶
func (o *CommissionLeg) GetCommissionValuesOk() ([]CommissionValue, bool)
GetCommissionValuesOk returns a tuple with the CommissionValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CommissionLeg) HasCommissionValues ¶
func (o *CommissionLeg) HasCommissionValues() bool
HasCommissionValues returns a boolean if a field has been set.
func (CommissionLeg) MarshalJSON ¶
func (o CommissionLeg) MarshalJSON() ([]byte, error)
func (*CommissionLeg) SetCommissionValues ¶
func (o *CommissionLeg) SetCommissionValues(v []CommissionValue)
SetCommissionValues gets a reference to the given []CommissionValue and assigns it to the CommissionValues field.
func (CommissionLeg) ToMap ¶
func (o CommissionLeg) ToMap() (map[string]interface{}, error)
type CommissionValue ¶
type CommissionValue struct { Value *float64 `json:"value,omitempty"` Type *FeeType `json:"type,omitempty"` }
CommissionValue struct for CommissionValue
func NewCommissionValue ¶
func NewCommissionValue() *CommissionValue
NewCommissionValue instantiates a new CommissionValue 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 NewCommissionValueWithDefaults ¶
func NewCommissionValueWithDefaults() *CommissionValue
NewCommissionValueWithDefaults instantiates a new CommissionValue 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 (*CommissionValue) GetType ¶
func (o *CommissionValue) GetType() FeeType
GetType returns the Type field value if set, zero value otherwise.
func (*CommissionValue) GetTypeOk ¶
func (o *CommissionValue) GetTypeOk() (*FeeType, 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 (*CommissionValue) GetValue ¶
func (o *CommissionValue) GetValue() float64
GetValue returns the Value field value if set, zero value otherwise.
func (*CommissionValue) GetValueOk ¶
func (o *CommissionValue) GetValueOk() (*float64, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CommissionValue) HasType ¶
func (o *CommissionValue) HasType() bool
HasType returns a boolean if a field has been set.
func (*CommissionValue) HasValue ¶
func (o *CommissionValue) HasValue() bool
HasValue returns a boolean if a field has been set.
func (CommissionValue) MarshalJSON ¶
func (o CommissionValue) MarshalJSON() ([]byte, error)
func (*CommissionValue) SetType ¶
func (o *CommissionValue) SetType(v FeeType)
SetType gets a reference to the given FeeType and assigns it to the Type field.
func (*CommissionValue) SetValue ¶
func (o *CommissionValue) SetValue(v float64)
SetValue gets a reference to the given float64 and assigns it to the Value field.
func (CommissionValue) ToMap ¶
func (o CommissionValue) ToMap() (map[string]interface{}, error)
type ComplexOrderStrategyType ¶
type ComplexOrderStrategyType string
ComplexOrderStrategyType the model 'ComplexOrderStrategyType'
const ( COMPLEXORDERSTRATEGYTYPE_NONE ComplexOrderStrategyType = "NONE" COMPLEXORDERSTRATEGYTYPE_COVERED ComplexOrderStrategyType = "COVERED" COMPLEXORDERSTRATEGYTYPE_VERTICAL ComplexOrderStrategyType = "VERTICAL" COMPLEXORDERSTRATEGYTYPE_BACK_RATIO ComplexOrderStrategyType = "BACK_RATIO" COMPLEXORDERSTRATEGYTYPE_CALENDAR ComplexOrderStrategyType = "CALENDAR" COMPLEXORDERSTRATEGYTYPE_DIAGONAL ComplexOrderStrategyType = "DIAGONAL" COMPLEXORDERSTRATEGYTYPE_STRADDLE ComplexOrderStrategyType = "STRADDLE" COMPLEXORDERSTRATEGYTYPE_STRANGLE ComplexOrderStrategyType = "STRANGLE" COMPLEXORDERSTRATEGYTYPE_COLLAR_SYNTHETIC ComplexOrderStrategyType = "COLLAR_SYNTHETIC" COMPLEXORDERSTRATEGYTYPE_BUTTERFLY ComplexOrderStrategyType = "BUTTERFLY" COMPLEXORDERSTRATEGYTYPE_CONDOR ComplexOrderStrategyType = "CONDOR" COMPLEXORDERSTRATEGYTYPE_IRON_CONDOR ComplexOrderStrategyType = "IRON_CONDOR" COMPLEXORDERSTRATEGYTYPE_VERTICAL_ROLL ComplexOrderStrategyType = "VERTICAL_ROLL" COMPLEXORDERSTRATEGYTYPE_COLLAR_WITH_STOCK ComplexOrderStrategyType = "COLLAR_WITH_STOCK" COMPLEXORDERSTRATEGYTYPE_DOUBLE_DIAGONAL ComplexOrderStrategyType = "DOUBLE_DIAGONAL" COMPLEXORDERSTRATEGYTYPE_UNBALANCED_BUTTERFLY ComplexOrderStrategyType = "UNBALANCED_BUTTERFLY" COMPLEXORDERSTRATEGYTYPE_UNBALANCED_CONDOR ComplexOrderStrategyType = "UNBALANCED_CONDOR" COMPLEXORDERSTRATEGYTYPE_UNBALANCED_IRON_CONDOR ComplexOrderStrategyType = "UNBALANCED_IRON_CONDOR" COMPLEXORDERSTRATEGYTYPE_UNBALANCED_VERTICAL_ROLL ComplexOrderStrategyType = "UNBALANCED_VERTICAL_ROLL" COMPLEXORDERSTRATEGYTYPE_MUTUAL_FUND_SWAP ComplexOrderStrategyType = "MUTUAL_FUND_SWAP" COMPLEXORDERSTRATEGYTYPE_CUSTOM ComplexOrderStrategyType = "CUSTOM" )
List of complexOrderStrategyType
func NewComplexOrderStrategyTypeFromValue ¶
func NewComplexOrderStrategyTypeFromValue(v string) (*ComplexOrderStrategyType, error)
NewComplexOrderStrategyTypeFromValue returns a pointer to a valid ComplexOrderStrategyType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ComplexOrderStrategyType) IsValid ¶
func (v ComplexOrderStrategyType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ComplexOrderStrategyType) Ptr ¶
func (v ComplexOrderStrategyType) Ptr() *ComplexOrderStrategyType
Ptr returns reference to complexOrderStrategyType value
func (*ComplexOrderStrategyType) UnmarshalJSON ¶
func (v *ComplexOrderStrategyType) UnmarshalJSON(src []byte) error
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,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 }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
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
type Currency ¶
type Currency struct { AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
Currency struct for Currency
func NewCurrency ¶
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) GetAssetType ¶
GetAssetType returns the AssetType field value
func (*Currency) GetAssetTypeOk ¶
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*Currency) GetCusipOk ¶
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Currency) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Currency) 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 (*Currency) GetInstrumentId ¶
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*Currency) GetInstrumentIdOk ¶
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Currency) GetNetChange ¶
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*Currency) GetNetChangeOk ¶
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Currency) GetSymbolOk ¶
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 (*Currency) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Currency) HasInstrumentId ¶
HasInstrumentId returns a boolean if a field has been set.
func (*Currency) HasNetChange ¶
HasNetChange returns a boolean if a field has been set.
func (Currency) MarshalJSON ¶
func (*Currency) SetAssetType ¶
SetAssetType sets field value
func (*Currency) SetCusip ¶
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*Currency) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Currency) SetInstrumentId ¶
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*Currency) SetNetChange ¶
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*Currency) SetSymbol ¶
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*Currency) UnmarshalJSON ¶
type DateParam ¶
type DateParam struct { // Valid ISO-8601 format is :<br> <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code> Date *string `json:"date,omitempty"` }
DateParam struct for DateParam
func NewDateParam ¶
func NewDateParam() *DateParam
NewDateParam instantiates a new DateParam 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 NewDateParamWithDefaults ¶
func NewDateParamWithDefaults() *DateParam
NewDateParamWithDefaults instantiates a new DateParam 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 (*DateParam) GetDateOk ¶
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 (DateParam) MarshalJSON ¶
type Duration ¶
type Duration string
Duration the model 'Duration'
const ( DURATION_DAY Duration = "DAY" DURATION_GOOD_TILL_CANCEL Duration = "GOOD_TILL_CANCEL" DURATION_FILL_OR_KILL Duration = "FILL_OR_KILL" DURATION_IMMEDIATE_OR_CANCEL Duration = "IMMEDIATE_OR_CANCEL" DURATION_END_OF_WEEK Duration = "END_OF_WEEK" DURATION_END_OF_MONTH Duration = "END_OF_MONTH" DURATION_NEXT_END_OF_MONTH Duration = "NEXT_END_OF_MONTH" DURATION_UNKNOWN Duration = "UNKNOWN" )
List of duration
func NewDurationFromValue ¶
NewDurationFromValue returns a pointer to a valid Duration for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Duration) UnmarshalJSON ¶
type ExecutionLeg ¶
type ExecutionLeg struct { LegId *int64 `json:"legId,omitempty"` Price *float64 `json:"price,omitempty"` Quantity *float64 `json:"quantity,omitempty"` MismarkedQuantity *float64 `json:"mismarkedQuantity,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` Time *time.Time `json:"time,omitempty"` }
ExecutionLeg struct for ExecutionLeg
func NewExecutionLeg ¶
func NewExecutionLeg() *ExecutionLeg
NewExecutionLeg instantiates a new ExecutionLeg 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 NewExecutionLegWithDefaults ¶
func NewExecutionLegWithDefaults() *ExecutionLeg
NewExecutionLegWithDefaults instantiates a new ExecutionLeg 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 (*ExecutionLeg) GetInstrumentId ¶
func (o *ExecutionLeg) GetInstrumentId() int64
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*ExecutionLeg) GetInstrumentIdOk ¶
func (o *ExecutionLeg) GetInstrumentIdOk() (*int64, bool)
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExecutionLeg) GetLegId ¶
func (o *ExecutionLeg) GetLegId() int64
GetLegId returns the LegId field value if set, zero value otherwise.
func (*ExecutionLeg) GetLegIdOk ¶
func (o *ExecutionLeg) GetLegIdOk() (*int64, 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.
func (*ExecutionLeg) GetMismarkedQuantity ¶
func (o *ExecutionLeg) GetMismarkedQuantity() float64
GetMismarkedQuantity returns the MismarkedQuantity field value if set, zero value otherwise.
func (*ExecutionLeg) GetMismarkedQuantityOk ¶
func (o *ExecutionLeg) GetMismarkedQuantityOk() (*float64, bool)
GetMismarkedQuantityOk returns a tuple with the MismarkedQuantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExecutionLeg) GetPrice ¶
func (o *ExecutionLeg) GetPrice() float64
GetPrice returns the Price field value if set, zero value otherwise.
func (*ExecutionLeg) GetPriceOk ¶
func (o *ExecutionLeg) GetPriceOk() (*float64, 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 (*ExecutionLeg) GetQuantity ¶
func (o *ExecutionLeg) GetQuantity() float64
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*ExecutionLeg) GetQuantityOk ¶
func (o *ExecutionLeg) GetQuantityOk() (*float64, bool)
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExecutionLeg) GetTime ¶
func (o *ExecutionLeg) GetTime() time.Time
GetTime returns the Time field value if set, zero value otherwise.
func (*ExecutionLeg) GetTimeOk ¶
func (o *ExecutionLeg) GetTimeOk() (*time.Time, bool)
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExecutionLeg) HasInstrumentId ¶
func (o *ExecutionLeg) HasInstrumentId() bool
HasInstrumentId returns a boolean if a field has been set.
func (*ExecutionLeg) HasLegId ¶
func (o *ExecutionLeg) HasLegId() bool
HasLegId returns a boolean if a field has been set.
func (*ExecutionLeg) HasMismarkedQuantity ¶
func (o *ExecutionLeg) HasMismarkedQuantity() bool
HasMismarkedQuantity returns a boolean if a field has been set.
func (*ExecutionLeg) HasPrice ¶
func (o *ExecutionLeg) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*ExecutionLeg) HasQuantity ¶
func (o *ExecutionLeg) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (*ExecutionLeg) HasTime ¶
func (o *ExecutionLeg) HasTime() bool
HasTime returns a boolean if a field has been set.
func (ExecutionLeg) MarshalJSON ¶
func (o ExecutionLeg) MarshalJSON() ([]byte, error)
func (*ExecutionLeg) SetInstrumentId ¶
func (o *ExecutionLeg) SetInstrumentId(v int64)
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*ExecutionLeg) SetLegId ¶
func (o *ExecutionLeg) SetLegId(v int64)
SetLegId gets a reference to the given int64 and assigns it to the LegId field.
func (*ExecutionLeg) SetMismarkedQuantity ¶
func (o *ExecutionLeg) SetMismarkedQuantity(v float64)
SetMismarkedQuantity gets a reference to the given float64 and assigns it to the MismarkedQuantity field.
func (*ExecutionLeg) SetPrice ¶
func (o *ExecutionLeg) SetPrice(v float64)
SetPrice gets a reference to the given float64 and assigns it to the Price field.
func (*ExecutionLeg) SetQuantity ¶
func (o *ExecutionLeg) SetQuantity(v float64)
SetQuantity gets a reference to the given float64 and assigns it to the Quantity field.
func (*ExecutionLeg) SetTime ¶
func (o *ExecutionLeg) SetTime(v time.Time)
SetTime gets a reference to the given time.Time and assigns it to the Time field.
func (ExecutionLeg) ToMap ¶
func (o ExecutionLeg) ToMap() (map[string]interface{}, error)
type FeeLeg ¶
type FeeLeg struct {
FeeValues []FeeValue `json:"feeValues,omitempty"`
}
FeeLeg struct for FeeLeg
func NewFeeLeg ¶
func NewFeeLeg() *FeeLeg
NewFeeLeg instantiates a new FeeLeg 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 NewFeeLegWithDefaults ¶
func NewFeeLegWithDefaults() *FeeLeg
NewFeeLegWithDefaults instantiates a new FeeLeg 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 (*FeeLeg) GetFeeValues ¶
GetFeeValues returns the FeeValues field value if set, zero value otherwise.
func (*FeeLeg) GetFeeValuesOk ¶
GetFeeValuesOk returns a tuple with the FeeValues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FeeLeg) HasFeeValues ¶
HasFeeValues returns a boolean if a field has been set.
func (FeeLeg) MarshalJSON ¶
func (*FeeLeg) SetFeeValues ¶
SetFeeValues gets a reference to the given []FeeValue and assigns it to the FeeValues field.
type FeeType ¶
type FeeType string
FeeType the model 'FeeType'
const ( FEETYPE_COMMISSION FeeType = "COMMISSION" FEETYPE_SEC_FEE FeeType = "SEC_FEE" FEETYPE_STR_FEE FeeType = "STR_FEE" FEETYPE_R_FEE FeeType = "R_FEE" FEETYPE_CDSC_FEE FeeType = "CDSC_FEE" FEETYPE_OPT_REG_FEE FeeType = "OPT_REG_FEE" FEETYPE_ADDITIONAL_FEE FeeType = "ADDITIONAL_FEE" FEETYPE_MISCELLANEOUS_FEE FeeType = "MISCELLANEOUS_FEE" FEETYPE_FTT FeeType = "FTT" FEETYPE_FUTURES_CLEARING_FEE FeeType = "FUTURES_CLEARING_FEE" FEETYPE_FUTURES_DESK_OFFICE_FEE FeeType = "FUTURES_DESK_OFFICE_FEE" FEETYPE_FUTURES_EXCHANGE_FEE FeeType = "FUTURES_EXCHANGE_FEE" FEETYPE_FUTURES_GLOBEX_FEE FeeType = "FUTURES_GLOBEX_FEE" FEETYPE_FUTURES_NFA_FEE FeeType = "FUTURES_NFA_FEE" FEETYPE_FUTURES_PIT_BROKERAGE_FEE FeeType = "FUTURES_PIT_BROKERAGE_FEE" FEETYPE_FUTURES_TRANSACTION_FEE FeeType = "FUTURES_TRANSACTION_FEE" FEETYPE_LOW_PROCEEDS_COMMISSION FeeType = "LOW_PROCEEDS_COMMISSION" FEETYPE_BASE_CHARGE FeeType = "BASE_CHARGE" FEETYPE_GENERAL_CHARGE FeeType = "GENERAL_CHARGE" FEETYPE_GST_FEE FeeType = "GST_FEE" FEETYPE_TAF_FEE FeeType = "TAF_FEE" FEETYPE_INDEX_OPTION_FEE FeeType = "INDEX_OPTION_FEE" FEETYPE_TEFRA_TAX FeeType = "TEFRA_TAX" FEETYPE_STATE_TAX FeeType = "STATE_TAX" FEETYPE_UNKNOWN FeeType = "UNKNOWN" )
List of FeeType
func NewFeeTypeFromValue ¶
NewFeeTypeFromValue returns a pointer to a valid FeeType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*FeeType) UnmarshalJSON ¶
type FeeValue ¶
type FeeValue struct { Value *float64 `json:"value,omitempty"` Type *FeeType `json:"type,omitempty"` }
FeeValue struct for FeeValue
func NewFeeValue ¶
func NewFeeValue() *FeeValue
NewFeeValue instantiates a new FeeValue 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 NewFeeValueWithDefaults ¶
func NewFeeValueWithDefaults() *FeeValue
NewFeeValueWithDefaults instantiates a new FeeValue 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 (*FeeValue) GetTypeOk ¶
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 (*FeeValue) GetValueOk ¶
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (FeeValue) MarshalJSON ¶
func (*FeeValue) SetType ¶
SetType gets a reference to the given FeeType and assigns it to the Type field.
type Fees ¶
type Fees struct {
FeeLegs []FeeLeg `json:"feeLegs,omitempty"`
}
Fees struct for Fees
func NewFees ¶
func NewFees() *Fees
NewFees instantiates a new Fees 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 NewFeesWithDefaults ¶
func NewFeesWithDefaults() *Fees
NewFeesWithDefaults instantiates a new Fees 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 (*Fees) GetFeeLegs ¶
GetFeeLegs returns the FeeLegs field value if set, zero value otherwise.
func (*Fees) GetFeeLegsOk ¶
GetFeeLegsOk returns a tuple with the FeeLegs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Fees) HasFeeLegs ¶
HasFeeLegs returns a boolean if a field has been set.
func (Fees) MarshalJSON ¶
func (*Fees) SetFeeLegs ¶
SetFeeLegs gets a reference to the given []FeeLeg and assigns it to the FeeLegs field.
type Forex ¶
type Forex struct { Type *string `json:"type,omitempty"` BaseCurrency *Currency `json:"baseCurrency,omitempty"` CounterCurrency *Currency `json:"counterCurrency,omitempty"` AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
Forex struct for Forex
func NewForex ¶
NewForex instantiates a new Forex 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 NewForexWithDefaults ¶
func NewForexWithDefaults() *Forex
NewForexWithDefaults instantiates a new Forex 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 (*Forex) GetAssetType ¶
GetAssetType returns the AssetType field value
func (*Forex) GetAssetTypeOk ¶
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*Forex) GetBaseCurrency ¶
GetBaseCurrency returns the BaseCurrency field value if set, zero value otherwise.
func (*Forex) GetBaseCurrencyOk ¶
GetBaseCurrencyOk returns a tuple with the BaseCurrency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Forex) GetCounterCurrency ¶
GetCounterCurrency returns the CounterCurrency field value if set, zero value otherwise.
func (*Forex) GetCounterCurrencyOk ¶
GetCounterCurrencyOk returns a tuple with the CounterCurrency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Forex) GetCusipOk ¶
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Forex) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Forex) 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 (*Forex) GetInstrumentId ¶
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*Forex) GetInstrumentIdOk ¶
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Forex) GetNetChange ¶
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*Forex) GetNetChangeOk ¶
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Forex) GetSymbolOk ¶
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 (*Forex) GetTypeOk ¶
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 (*Forex) HasBaseCurrency ¶
HasBaseCurrency returns a boolean if a field has been set.
func (*Forex) HasCounterCurrency ¶
HasCounterCurrency returns a boolean if a field has been set.
func (*Forex) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Forex) HasInstrumentId ¶
HasInstrumentId returns a boolean if a field has been set.
func (*Forex) HasNetChange ¶
HasNetChange returns a boolean if a field has been set.
func (Forex) MarshalJSON ¶
func (*Forex) SetBaseCurrency ¶
SetBaseCurrency gets a reference to the given Currency and assigns it to the BaseCurrency field.
func (*Forex) SetCounterCurrency ¶
SetCounterCurrency gets a reference to the given Currency and assigns it to the CounterCurrency field.
func (*Forex) SetCusip ¶
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*Forex) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Forex) SetInstrumentId ¶
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*Forex) SetNetChange ¶
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*Forex) SetSymbol ¶
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*Forex) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*Forex) UnmarshalJSON ¶
type Future ¶
type Future struct { TransactionInstrument ActiveContract *bool `json:"activeContract,omitempty"` Type *string `json:"type,omitempty"` ExpirationDate *time.Time `json:"expirationDate,omitempty"` LastTradingDate *time.Time `json:"lastTradingDate,omitempty"` FirstNoticeDate *time.Time `json:"firstNoticeDate,omitempty"` Multiplier *float64 `json:"multiplier,omitempty"` AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
Future struct for Future
func NewFuture ¶
NewFuture instantiates a new Future 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 NewFutureWithDefaults ¶
func NewFutureWithDefaults() *Future
NewFutureWithDefaults instantiates a new Future 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 (*Future) GetActiveContract ¶
GetActiveContract returns the ActiveContract field value if set, zero value otherwise.
func (*Future) GetActiveContractOk ¶
GetActiveContractOk returns a tuple with the ActiveContract field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Future) GetAssetType ¶
GetAssetType returns the AssetType field value
func (*Future) GetAssetTypeOk ¶
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*Future) GetCusipOk ¶
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Future) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Future) 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 (*Future) GetExpirationDate ¶
GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise.
func (*Future) GetExpirationDateOk ¶
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 (*Future) GetFirstNoticeDate ¶
GetFirstNoticeDate returns the FirstNoticeDate field value if set, zero value otherwise.
func (*Future) GetFirstNoticeDateOk ¶
GetFirstNoticeDateOk returns a tuple with the FirstNoticeDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Future) GetInstrumentId ¶
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*Future) GetInstrumentIdOk ¶
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Future) GetLastTradingDate ¶
GetLastTradingDate returns the LastTradingDate field value if set, zero value otherwise.
func (*Future) GetLastTradingDateOk ¶
GetLastTradingDateOk returns a tuple with the LastTradingDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Future) GetMultiplier ¶
GetMultiplier returns the Multiplier field value if set, zero value otherwise.
func (*Future) GetMultiplierOk ¶
GetMultiplierOk returns a tuple with the Multiplier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Future) GetNetChange ¶
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*Future) GetNetChangeOk ¶
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Future) GetSymbolOk ¶
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 (*Future) GetTypeOk ¶
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 (*Future) HasActiveContract ¶
HasActiveContract returns a boolean if a field has been set.
func (*Future) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Future) HasExpirationDate ¶
HasExpirationDate returns a boolean if a field has been set.
func (*Future) HasFirstNoticeDate ¶
HasFirstNoticeDate returns a boolean if a field has been set.
func (*Future) HasInstrumentId ¶
HasInstrumentId returns a boolean if a field has been set.
func (*Future) HasLastTradingDate ¶
HasLastTradingDate returns a boolean if a field has been set.
func (*Future) HasMultiplier ¶
HasMultiplier returns a boolean if a field has been set.
func (*Future) HasNetChange ¶
HasNetChange returns a boolean if a field has been set.
func (Future) MarshalJSON ¶
func (*Future) SetActiveContract ¶
SetActiveContract gets a reference to the given bool and assigns it to the ActiveContract field.
func (*Future) SetCusip ¶
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*Future) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Future) SetExpirationDate ¶
SetExpirationDate gets a reference to the given time.Time and assigns it to the ExpirationDate field.
func (*Future) SetFirstNoticeDate ¶
SetFirstNoticeDate gets a reference to the given time.Time and assigns it to the FirstNoticeDate field.
func (*Future) SetInstrumentId ¶
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*Future) SetLastTradingDate ¶
SetLastTradingDate gets a reference to the given time.Time and assigns it to the LastTradingDate field.
func (*Future) SetMultiplier ¶
SetMultiplier gets a reference to the given float64 and assigns it to the Multiplier field.
func (*Future) SetNetChange ¶
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*Future) SetSymbol ¶
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*Future) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*Future) UnmarshalJSON ¶
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 Index ¶
type Index struct { TransactionInstrument ActiveContract *bool `json:"activeContract,omitempty"` Type *string `json:"type,omitempty"` AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
Index struct for Index
func NewIndex ¶
NewIndex instantiates a new Index 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 NewIndexWithDefaults ¶
func NewIndexWithDefaults() *Index
NewIndexWithDefaults instantiates a new Index 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 (*Index) GetActiveContract ¶
GetActiveContract returns the ActiveContract field value if set, zero value otherwise.
func (*Index) GetActiveContractOk ¶
GetActiveContractOk returns a tuple with the ActiveContract field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Index) GetAssetType ¶
GetAssetType returns the AssetType field value
func (*Index) GetAssetTypeOk ¶
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*Index) GetCusipOk ¶
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Index) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Index) 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 (*Index) GetInstrumentId ¶
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*Index) GetInstrumentIdOk ¶
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Index) GetNetChange ¶
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*Index) GetNetChangeOk ¶
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Index) GetSymbolOk ¶
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 (*Index) GetTypeOk ¶
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 (*Index) HasActiveContract ¶
HasActiveContract returns a boolean if a field has been set.
func (*Index) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Index) HasInstrumentId ¶
HasInstrumentId returns a boolean if a field has been set.
func (*Index) HasNetChange ¶
HasNetChange returns a boolean if a field has been set.
func (Index) MarshalJSON ¶
func (*Index) SetActiveContract ¶
SetActiveContract gets a reference to the given bool and assigns it to the ActiveContract field.
func (*Index) SetCusip ¶
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*Index) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Index) SetInstrumentId ¶
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*Index) SetNetChange ¶
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*Index) SetSymbol ¶
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*Index) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*Index) UnmarshalJSON ¶
type Instruction ¶
type Instruction string
Instruction the model 'Instruction'
const ( INSTRUCTION_BUY Instruction = "BUY" INSTRUCTION_SELL Instruction = "SELL" INSTRUCTION_BUY_TO_COVER Instruction = "BUY_TO_COVER" INSTRUCTION_SELL_SHORT Instruction = "SELL_SHORT" INSTRUCTION_BUY_TO_OPEN Instruction = "BUY_TO_OPEN" INSTRUCTION_BUY_TO_CLOSE Instruction = "BUY_TO_CLOSE" INSTRUCTION_SELL_TO_OPEN Instruction = "SELL_TO_OPEN" INSTRUCTION_SELL_TO_CLOSE Instruction = "SELL_TO_CLOSE" INSTRUCTION_EXCHANGE Instruction = "EXCHANGE" INSTRUCTION_SELL_SHORT_EXEMPT Instruction = "SELL_SHORT_EXEMPT" )
List of instruction
func NewInstructionFromValue ¶
func NewInstructionFromValue(v string) (*Instruction, error)
NewInstructionFromValue returns a pointer to a valid Instruction for the value passed as argument, or an error if the value passed is not allowed by the enum
func (Instruction) IsValid ¶
func (v Instruction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (Instruction) Ptr ¶
func (v Instruction) Ptr() *Instruction
Ptr returns reference to instruction value
func (*Instruction) UnmarshalJSON ¶
func (v *Instruction) UnmarshalJSON(src []byte) error
type MappedNullable ¶
type NullableAPIRuleAction ¶
type NullableAPIRuleAction struct {
// contains filtered or unexported fields
}
func NewNullableAPIRuleAction ¶
func NewNullableAPIRuleAction(val *APIRuleAction) *NullableAPIRuleAction
func (NullableAPIRuleAction) Get ¶
func (v NullableAPIRuleAction) Get() *APIRuleAction
func (NullableAPIRuleAction) IsSet ¶
func (v NullableAPIRuleAction) IsSet() bool
func (NullableAPIRuleAction) MarshalJSON ¶
func (v NullableAPIRuleAction) MarshalJSON() ([]byte, error)
func (*NullableAPIRuleAction) Set ¶
func (v *NullableAPIRuleAction) Set(val *APIRuleAction)
func (*NullableAPIRuleAction) UnmarshalJSON ¶
func (v *NullableAPIRuleAction) UnmarshalJSON(src []byte) error
func (*NullableAPIRuleAction) Unset ¶
func (v *NullableAPIRuleAction) Unset()
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 NullableAccountAPIOptionDeliverable ¶
type NullableAccountAPIOptionDeliverable struct {
// contains filtered or unexported fields
}
func NewNullableAccountAPIOptionDeliverable ¶
func NewNullableAccountAPIOptionDeliverable(val *AccountAPIOptionDeliverable) *NullableAccountAPIOptionDeliverable
func (NullableAccountAPIOptionDeliverable) Get ¶
func (v NullableAccountAPIOptionDeliverable) Get() *AccountAPIOptionDeliverable
func (NullableAccountAPIOptionDeliverable) IsSet ¶
func (v NullableAccountAPIOptionDeliverable) IsSet() bool
func (NullableAccountAPIOptionDeliverable) MarshalJSON ¶
func (v NullableAccountAPIOptionDeliverable) MarshalJSON() ([]byte, error)
func (*NullableAccountAPIOptionDeliverable) Set ¶
func (v *NullableAccountAPIOptionDeliverable) Set(val *AccountAPIOptionDeliverable)
func (*NullableAccountAPIOptionDeliverable) UnmarshalJSON ¶
func (v *NullableAccountAPIOptionDeliverable) UnmarshalJSON(src []byte) error
func (*NullableAccountAPIOptionDeliverable) Unset ¶
func (v *NullableAccountAPIOptionDeliverable) Unset()
type NullableAccountCashEquivalent ¶
type NullableAccountCashEquivalent struct {
// contains filtered or unexported fields
}
func NewNullableAccountCashEquivalent ¶
func NewNullableAccountCashEquivalent(val *AccountCashEquivalent) *NullableAccountCashEquivalent
func (NullableAccountCashEquivalent) Get ¶
func (v NullableAccountCashEquivalent) Get() *AccountCashEquivalent
func (NullableAccountCashEquivalent) IsSet ¶
func (v NullableAccountCashEquivalent) IsSet() bool
func (NullableAccountCashEquivalent) MarshalJSON ¶
func (v NullableAccountCashEquivalent) MarshalJSON() ([]byte, error)
func (*NullableAccountCashEquivalent) Set ¶
func (v *NullableAccountCashEquivalent) Set(val *AccountCashEquivalent)
func (*NullableAccountCashEquivalent) UnmarshalJSON ¶
func (v *NullableAccountCashEquivalent) UnmarshalJSON(src []byte) error
func (*NullableAccountCashEquivalent) Unset ¶
func (v *NullableAccountCashEquivalent) Unset()
type NullableAccountEquity ¶
type NullableAccountEquity struct {
// contains filtered or unexported fields
}
func NewNullableAccountEquity ¶
func NewNullableAccountEquity(val *AccountEquity) *NullableAccountEquity
func (NullableAccountEquity) Get ¶
func (v NullableAccountEquity) Get() *AccountEquity
func (NullableAccountEquity) IsSet ¶
func (v NullableAccountEquity) IsSet() bool
func (NullableAccountEquity) MarshalJSON ¶
func (v NullableAccountEquity) MarshalJSON() ([]byte, error)
func (*NullableAccountEquity) Set ¶
func (v *NullableAccountEquity) Set(val *AccountEquity)
func (*NullableAccountEquity) UnmarshalJSON ¶
func (v *NullableAccountEquity) UnmarshalJSON(src []byte) error
func (*NullableAccountEquity) Unset ¶
func (v *NullableAccountEquity) Unset()
type NullableAccountFixedIncome ¶
type NullableAccountFixedIncome struct {
// contains filtered or unexported fields
}
func NewNullableAccountFixedIncome ¶
func NewNullableAccountFixedIncome(val *AccountFixedIncome) *NullableAccountFixedIncome
func (NullableAccountFixedIncome) Get ¶
func (v NullableAccountFixedIncome) Get() *AccountFixedIncome
func (NullableAccountFixedIncome) IsSet ¶
func (v NullableAccountFixedIncome) IsSet() bool
func (NullableAccountFixedIncome) MarshalJSON ¶
func (v NullableAccountFixedIncome) MarshalJSON() ([]byte, error)
func (*NullableAccountFixedIncome) Set ¶
func (v *NullableAccountFixedIncome) Set(val *AccountFixedIncome)
func (*NullableAccountFixedIncome) UnmarshalJSON ¶
func (v *NullableAccountFixedIncome) UnmarshalJSON(src []byte) error
func (*NullableAccountFixedIncome) Unset ¶
func (v *NullableAccountFixedIncome) Unset()
type NullableAccountMutualFund ¶
type NullableAccountMutualFund struct {
// contains filtered or unexported fields
}
func NewNullableAccountMutualFund ¶
func NewNullableAccountMutualFund(val *AccountMutualFund) *NullableAccountMutualFund
func (NullableAccountMutualFund) Get ¶
func (v NullableAccountMutualFund) Get() *AccountMutualFund
func (NullableAccountMutualFund) IsSet ¶
func (v NullableAccountMutualFund) IsSet() bool
func (NullableAccountMutualFund) MarshalJSON ¶
func (v NullableAccountMutualFund) MarshalJSON() ([]byte, error)
func (*NullableAccountMutualFund) Set ¶
func (v *NullableAccountMutualFund) Set(val *AccountMutualFund)
func (*NullableAccountMutualFund) UnmarshalJSON ¶
func (v *NullableAccountMutualFund) UnmarshalJSON(src []byte) error
func (*NullableAccountMutualFund) Unset ¶
func (v *NullableAccountMutualFund) Unset()
type NullableAccountNumberHash ¶
type NullableAccountNumberHash struct {
// contains filtered or unexported fields
}
func NewNullableAccountNumberHash ¶
func NewNullableAccountNumberHash(val *AccountNumberHash) *NullableAccountNumberHash
func (NullableAccountNumberHash) Get ¶
func (v NullableAccountNumberHash) Get() *AccountNumberHash
func (NullableAccountNumberHash) IsSet ¶
func (v NullableAccountNumberHash) IsSet() bool
func (NullableAccountNumberHash) MarshalJSON ¶
func (v NullableAccountNumberHash) MarshalJSON() ([]byte, error)
func (*NullableAccountNumberHash) Set ¶
func (v *NullableAccountNumberHash) Set(val *AccountNumberHash)
func (*NullableAccountNumberHash) UnmarshalJSON ¶
func (v *NullableAccountNumberHash) UnmarshalJSON(src []byte) error
func (*NullableAccountNumberHash) Unset ¶
func (v *NullableAccountNumberHash) Unset()
type NullableAccountOption ¶
type NullableAccountOption struct {
// contains filtered or unexported fields
}
func NewNullableAccountOption ¶
func NewNullableAccountOption(val *AccountOption) *NullableAccountOption
func (NullableAccountOption) Get ¶
func (v NullableAccountOption) Get() *AccountOption
func (NullableAccountOption) IsSet ¶
func (v NullableAccountOption) IsSet() bool
func (NullableAccountOption) MarshalJSON ¶
func (v NullableAccountOption) MarshalJSON() ([]byte, error)
func (*NullableAccountOption) Set ¶
func (v *NullableAccountOption) Set(val *AccountOption)
func (*NullableAccountOption) UnmarshalJSON ¶
func (v *NullableAccountOption) UnmarshalJSON(src []byte) error
func (*NullableAccountOption) Unset ¶
func (v *NullableAccountOption) Unset()
type NullableAccountsBaseInstrument ¶
type NullableAccountsBaseInstrument struct {
// contains filtered or unexported fields
}
func NewNullableAccountsBaseInstrument ¶
func NewNullableAccountsBaseInstrument(val *AccountsBaseInstrument) *NullableAccountsBaseInstrument
func (NullableAccountsBaseInstrument) Get ¶
func (v NullableAccountsBaseInstrument) Get() *AccountsBaseInstrument
func (NullableAccountsBaseInstrument) IsSet ¶
func (v NullableAccountsBaseInstrument) IsSet() bool
func (NullableAccountsBaseInstrument) MarshalJSON ¶
func (v NullableAccountsBaseInstrument) MarshalJSON() ([]byte, error)
func (*NullableAccountsBaseInstrument) Set ¶
func (v *NullableAccountsBaseInstrument) Set(val *AccountsBaseInstrument)
func (*NullableAccountsBaseInstrument) UnmarshalJSON ¶
func (v *NullableAccountsBaseInstrument) UnmarshalJSON(src []byte) error
func (*NullableAccountsBaseInstrument) Unset ¶
func (v *NullableAccountsBaseInstrument) Unset()
type NullableAccountsInstrument ¶
type NullableAccountsInstrument struct {
// contains filtered or unexported fields
}
func NewNullableAccountsInstrument ¶
func NewNullableAccountsInstrument(val *AccountsInstrument) *NullableAccountsInstrument
func (NullableAccountsInstrument) Get ¶
func (v NullableAccountsInstrument) Get() *AccountsInstrument
func (NullableAccountsInstrument) IsSet ¶
func (v NullableAccountsInstrument) IsSet() bool
func (NullableAccountsInstrument) MarshalJSON ¶
func (v NullableAccountsInstrument) MarshalJSON() ([]byte, error)
func (*NullableAccountsInstrument) Set ¶
func (v *NullableAccountsInstrument) Set(val *AccountsInstrument)
func (*NullableAccountsInstrument) UnmarshalJSON ¶
func (v *NullableAccountsInstrument) UnmarshalJSON(src []byte) error
func (*NullableAccountsInstrument) Unset ¶
func (v *NullableAccountsInstrument) Unset()
type NullableAmountIndicator ¶
type NullableAmountIndicator struct {
// contains filtered or unexported fields
}
func NewNullableAmountIndicator ¶
func NewNullableAmountIndicator(val *AmountIndicator) *NullableAmountIndicator
func (NullableAmountIndicator) Get ¶
func (v NullableAmountIndicator) Get() *AmountIndicator
func (NullableAmountIndicator) IsSet ¶
func (v NullableAmountIndicator) IsSet() bool
func (NullableAmountIndicator) MarshalJSON ¶
func (v NullableAmountIndicator) MarshalJSON() ([]byte, error)
func (*NullableAmountIndicator) Set ¶
func (v *NullableAmountIndicator) Set(val *AmountIndicator)
func (*NullableAmountIndicator) UnmarshalJSON ¶
func (v *NullableAmountIndicator) UnmarshalJSON(src []byte) error
func (*NullableAmountIndicator) Unset ¶
func (v *NullableAmountIndicator) Unset()
type NullableApiOrderStatus ¶
type NullableApiOrderStatus struct {
// contains filtered or unexported fields
}
func NewNullableApiOrderStatus ¶
func NewNullableApiOrderStatus(val *ApiOrderStatus) *NullableApiOrderStatus
func (NullableApiOrderStatus) Get ¶
func (v NullableApiOrderStatus) Get() *ApiOrderStatus
func (NullableApiOrderStatus) IsSet ¶
func (v NullableApiOrderStatus) IsSet() bool
func (NullableApiOrderStatus) MarshalJSON ¶
func (v NullableApiOrderStatus) MarshalJSON() ([]byte, error)
func (*NullableApiOrderStatus) Set ¶
func (v *NullableApiOrderStatus) Set(val *ApiOrderStatus)
func (*NullableApiOrderStatus) UnmarshalJSON ¶
func (v *NullableApiOrderStatus) UnmarshalJSON(src []byte) error
func (*NullableApiOrderStatus) Unset ¶
func (v *NullableApiOrderStatus) Unset()
type NullableAssetType ¶
type NullableAssetType struct {
// contains filtered or unexported fields
}
func NewNullableAssetType ¶
func NewNullableAssetType(val *AssetType) *NullableAssetType
func (NullableAssetType) Get ¶
func (v NullableAssetType) Get() *AssetType
func (NullableAssetType) IsSet ¶
func (v NullableAssetType) IsSet() bool
func (NullableAssetType) MarshalJSON ¶
func (v NullableAssetType) MarshalJSON() ([]byte, error)
func (*NullableAssetType) Set ¶
func (v *NullableAssetType) Set(val *AssetType)
func (*NullableAssetType) UnmarshalJSON ¶
func (v *NullableAssetType) UnmarshalJSON(src []byte) error
func (*NullableAssetType) Unset ¶
func (v *NullableAssetType) 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 NullableCollectiveInvestment ¶
type NullableCollectiveInvestment struct {
// contains filtered or unexported fields
}
func NewNullableCollectiveInvestment ¶
func NewNullableCollectiveInvestment(val *CollectiveInvestment) *NullableCollectiveInvestment
func (NullableCollectiveInvestment) Get ¶
func (v NullableCollectiveInvestment) Get() *CollectiveInvestment
func (NullableCollectiveInvestment) IsSet ¶
func (v NullableCollectiveInvestment) IsSet() bool
func (NullableCollectiveInvestment) MarshalJSON ¶
func (v NullableCollectiveInvestment) MarshalJSON() ([]byte, error)
func (*NullableCollectiveInvestment) Set ¶
func (v *NullableCollectiveInvestment) Set(val *CollectiveInvestment)
func (*NullableCollectiveInvestment) UnmarshalJSON ¶
func (v *NullableCollectiveInvestment) UnmarshalJSON(src []byte) error
func (*NullableCollectiveInvestment) Unset ¶
func (v *NullableCollectiveInvestment) Unset()
type NullableCommission ¶
type NullableCommission struct {
// contains filtered or unexported fields
}
func NewNullableCommission ¶
func NewNullableCommission(val *Commission) *NullableCommission
func (NullableCommission) Get ¶
func (v NullableCommission) Get() *Commission
func (NullableCommission) IsSet ¶
func (v NullableCommission) IsSet() bool
func (NullableCommission) MarshalJSON ¶
func (v NullableCommission) MarshalJSON() ([]byte, error)
func (*NullableCommission) Set ¶
func (v *NullableCommission) Set(val *Commission)
func (*NullableCommission) UnmarshalJSON ¶
func (v *NullableCommission) UnmarshalJSON(src []byte) error
func (*NullableCommission) Unset ¶
func (v *NullableCommission) Unset()
type NullableCommissionAndFee ¶
type NullableCommissionAndFee struct {
// contains filtered or unexported fields
}
func NewNullableCommissionAndFee ¶
func NewNullableCommissionAndFee(val *CommissionAndFee) *NullableCommissionAndFee
func (NullableCommissionAndFee) Get ¶
func (v NullableCommissionAndFee) Get() *CommissionAndFee
func (NullableCommissionAndFee) IsSet ¶
func (v NullableCommissionAndFee) IsSet() bool
func (NullableCommissionAndFee) MarshalJSON ¶
func (v NullableCommissionAndFee) MarshalJSON() ([]byte, error)
func (*NullableCommissionAndFee) Set ¶
func (v *NullableCommissionAndFee) Set(val *CommissionAndFee)
func (*NullableCommissionAndFee) UnmarshalJSON ¶
func (v *NullableCommissionAndFee) UnmarshalJSON(src []byte) error
func (*NullableCommissionAndFee) Unset ¶
func (v *NullableCommissionAndFee) Unset()
type NullableCommissionLeg ¶
type NullableCommissionLeg struct {
// contains filtered or unexported fields
}
func NewNullableCommissionLeg ¶
func NewNullableCommissionLeg(val *CommissionLeg) *NullableCommissionLeg
func (NullableCommissionLeg) Get ¶
func (v NullableCommissionLeg) Get() *CommissionLeg
func (NullableCommissionLeg) IsSet ¶
func (v NullableCommissionLeg) IsSet() bool
func (NullableCommissionLeg) MarshalJSON ¶
func (v NullableCommissionLeg) MarshalJSON() ([]byte, error)
func (*NullableCommissionLeg) Set ¶
func (v *NullableCommissionLeg) Set(val *CommissionLeg)
func (*NullableCommissionLeg) UnmarshalJSON ¶
func (v *NullableCommissionLeg) UnmarshalJSON(src []byte) error
func (*NullableCommissionLeg) Unset ¶
func (v *NullableCommissionLeg) Unset()
type NullableCommissionValue ¶
type NullableCommissionValue struct {
// contains filtered or unexported fields
}
func NewNullableCommissionValue ¶
func NewNullableCommissionValue(val *CommissionValue) *NullableCommissionValue
func (NullableCommissionValue) Get ¶
func (v NullableCommissionValue) Get() *CommissionValue
func (NullableCommissionValue) IsSet ¶
func (v NullableCommissionValue) IsSet() bool
func (NullableCommissionValue) MarshalJSON ¶
func (v NullableCommissionValue) MarshalJSON() ([]byte, error)
func (*NullableCommissionValue) Set ¶
func (v *NullableCommissionValue) Set(val *CommissionValue)
func (*NullableCommissionValue) UnmarshalJSON ¶
func (v *NullableCommissionValue) UnmarshalJSON(src []byte) error
func (*NullableCommissionValue) Unset ¶
func (v *NullableCommissionValue) Unset()
type NullableComplexOrderStrategyType ¶
type NullableComplexOrderStrategyType struct {
// contains filtered or unexported fields
}
func NewNullableComplexOrderStrategyType ¶
func NewNullableComplexOrderStrategyType(val *ComplexOrderStrategyType) *NullableComplexOrderStrategyType
func (NullableComplexOrderStrategyType) Get ¶
func (v NullableComplexOrderStrategyType) Get() *ComplexOrderStrategyType
func (NullableComplexOrderStrategyType) IsSet ¶
func (v NullableComplexOrderStrategyType) IsSet() bool
func (NullableComplexOrderStrategyType) MarshalJSON ¶
func (v NullableComplexOrderStrategyType) MarshalJSON() ([]byte, error)
func (*NullableComplexOrderStrategyType) Set ¶
func (v *NullableComplexOrderStrategyType) Set(val *ComplexOrderStrategyType)
func (*NullableComplexOrderStrategyType) UnmarshalJSON ¶
func (v *NullableComplexOrderStrategyType) UnmarshalJSON(src []byte) error
func (*NullableComplexOrderStrategyType) Unset ¶
func (v *NullableComplexOrderStrategyType) 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 NullableDateParam ¶
type NullableDateParam struct {
// contains filtered or unexported fields
}
func NewNullableDateParam ¶
func NewNullableDateParam(val *DateParam) *NullableDateParam
func (NullableDateParam) Get ¶
func (v NullableDateParam) Get() *DateParam
func (NullableDateParam) IsSet ¶
func (v NullableDateParam) IsSet() bool
func (NullableDateParam) MarshalJSON ¶
func (v NullableDateParam) MarshalJSON() ([]byte, error)
func (*NullableDateParam) Set ¶
func (v *NullableDateParam) Set(val *DateParam)
func (*NullableDateParam) UnmarshalJSON ¶
func (v *NullableDateParam) UnmarshalJSON(src []byte) error
func (*NullableDateParam) Unset ¶
func (v *NullableDateParam) Unset()
type NullableDuration ¶
type NullableDuration struct {
// contains filtered or unexported fields
}
func NewNullableDuration ¶
func NewNullableDuration(val *Duration) *NullableDuration
func (NullableDuration) Get ¶
func (v NullableDuration) Get() *Duration
func (NullableDuration) IsSet ¶
func (v NullableDuration) IsSet() bool
func (NullableDuration) MarshalJSON ¶
func (v NullableDuration) MarshalJSON() ([]byte, error)
func (*NullableDuration) Set ¶
func (v *NullableDuration) Set(val *Duration)
func (*NullableDuration) UnmarshalJSON ¶
func (v *NullableDuration) UnmarshalJSON(src []byte) error
func (*NullableDuration) Unset ¶
func (v *NullableDuration) Unset()
type NullableExecutionLeg ¶
type NullableExecutionLeg struct {
// contains filtered or unexported fields
}
func NewNullableExecutionLeg ¶
func NewNullableExecutionLeg(val *ExecutionLeg) *NullableExecutionLeg
func (NullableExecutionLeg) Get ¶
func (v NullableExecutionLeg) Get() *ExecutionLeg
func (NullableExecutionLeg) IsSet ¶
func (v NullableExecutionLeg) IsSet() bool
func (NullableExecutionLeg) MarshalJSON ¶
func (v NullableExecutionLeg) MarshalJSON() ([]byte, error)
func (*NullableExecutionLeg) Set ¶
func (v *NullableExecutionLeg) Set(val *ExecutionLeg)
func (*NullableExecutionLeg) UnmarshalJSON ¶
func (v *NullableExecutionLeg) UnmarshalJSON(src []byte) error
func (*NullableExecutionLeg) Unset ¶
func (v *NullableExecutionLeg) Unset()
type NullableFeeLeg ¶
type NullableFeeLeg struct {
// contains filtered or unexported fields
}
func NewNullableFeeLeg ¶
func NewNullableFeeLeg(val *FeeLeg) *NullableFeeLeg
func (NullableFeeLeg) Get ¶
func (v NullableFeeLeg) Get() *FeeLeg
func (NullableFeeLeg) IsSet ¶
func (v NullableFeeLeg) IsSet() bool
func (NullableFeeLeg) MarshalJSON ¶
func (v NullableFeeLeg) MarshalJSON() ([]byte, error)
func (*NullableFeeLeg) Set ¶
func (v *NullableFeeLeg) Set(val *FeeLeg)
func (*NullableFeeLeg) UnmarshalJSON ¶
func (v *NullableFeeLeg) UnmarshalJSON(src []byte) error
func (*NullableFeeLeg) Unset ¶
func (v *NullableFeeLeg) Unset()
type NullableFeeType ¶
type NullableFeeType struct {
// contains filtered or unexported fields
}
func NewNullableFeeType ¶
func NewNullableFeeType(val *FeeType) *NullableFeeType
func (NullableFeeType) Get ¶
func (v NullableFeeType) Get() *FeeType
func (NullableFeeType) IsSet ¶
func (v NullableFeeType) IsSet() bool
func (NullableFeeType) MarshalJSON ¶
func (v NullableFeeType) MarshalJSON() ([]byte, error)
func (*NullableFeeType) Set ¶
func (v *NullableFeeType) Set(val *FeeType)
func (*NullableFeeType) UnmarshalJSON ¶
func (v *NullableFeeType) UnmarshalJSON(src []byte) error
func (*NullableFeeType) Unset ¶
func (v *NullableFeeType) Unset()
type NullableFeeValue ¶
type NullableFeeValue struct {
// contains filtered or unexported fields
}
func NewNullableFeeValue ¶
func NewNullableFeeValue(val *FeeValue) *NullableFeeValue
func (NullableFeeValue) Get ¶
func (v NullableFeeValue) Get() *FeeValue
func (NullableFeeValue) IsSet ¶
func (v NullableFeeValue) IsSet() bool
func (NullableFeeValue) MarshalJSON ¶
func (v NullableFeeValue) MarshalJSON() ([]byte, error)
func (*NullableFeeValue) Set ¶
func (v *NullableFeeValue) Set(val *FeeValue)
func (*NullableFeeValue) UnmarshalJSON ¶
func (v *NullableFeeValue) UnmarshalJSON(src []byte) error
func (*NullableFeeValue) Unset ¶
func (v *NullableFeeValue) Unset()
type NullableFees ¶
type NullableFees struct {
// contains filtered or unexported fields
}
func NewNullableFees ¶
func NewNullableFees(val *Fees) *NullableFees
func (NullableFees) Get ¶
func (v NullableFees) Get() *Fees
func (NullableFees) IsSet ¶
func (v NullableFees) IsSet() bool
func (NullableFees) MarshalJSON ¶
func (v NullableFees) MarshalJSON() ([]byte, error)
func (*NullableFees) Set ¶
func (v *NullableFees) Set(val *Fees)
func (*NullableFees) UnmarshalJSON ¶
func (v *NullableFees) UnmarshalJSON(src []byte) error
func (*NullableFees) Unset ¶
func (v *NullableFees) 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 NullableForex ¶
type NullableForex struct {
// contains filtered or unexported fields
}
func NewNullableForex ¶
func NewNullableForex(val *Forex) *NullableForex
func (NullableForex) Get ¶
func (v NullableForex) Get() *Forex
func (NullableForex) IsSet ¶
func (v NullableForex) IsSet() bool
func (NullableForex) MarshalJSON ¶
func (v NullableForex) MarshalJSON() ([]byte, error)
func (*NullableForex) Set ¶
func (v *NullableForex) Set(val *Forex)
func (*NullableForex) UnmarshalJSON ¶
func (v *NullableForex) UnmarshalJSON(src []byte) error
func (*NullableForex) Unset ¶
func (v *NullableForex) Unset()
type NullableFuture ¶
type NullableFuture struct {
// contains filtered or unexported fields
}
func NewNullableFuture ¶
func NewNullableFuture(val *Future) *NullableFuture
func (NullableFuture) Get ¶
func (v NullableFuture) Get() *Future
func (NullableFuture) IsSet ¶
func (v NullableFuture) IsSet() bool
func (NullableFuture) MarshalJSON ¶
func (v NullableFuture) MarshalJSON() ([]byte, error)
func (*NullableFuture) Set ¶
func (v *NullableFuture) Set(val *Future)
func (*NullableFuture) UnmarshalJSON ¶
func (v *NullableFuture) UnmarshalJSON(src []byte) error
func (*NullableFuture) Unset ¶
func (v *NullableFuture) Unset()
type NullableIndex ¶
type NullableIndex struct {
// contains filtered or unexported fields
}
func NewNullableIndex ¶
func NewNullableIndex(val *Index) *NullableIndex
func (NullableIndex) Get ¶
func (v NullableIndex) Get() *Index
func (NullableIndex) IsSet ¶
func (v NullableIndex) IsSet() bool
func (NullableIndex) MarshalJSON ¶
func (v NullableIndex) MarshalJSON() ([]byte, error)
func (*NullableIndex) Set ¶
func (v *NullableIndex) Set(val *Index)
func (*NullableIndex) UnmarshalJSON ¶
func (v *NullableIndex) UnmarshalJSON(src []byte) error
func (*NullableIndex) Unset ¶
func (v *NullableIndex) Unset()
type NullableInstruction ¶
type NullableInstruction struct {
// contains filtered or unexported fields
}
func NewNullableInstruction ¶
func NewNullableInstruction(val *Instruction) *NullableInstruction
func (NullableInstruction) Get ¶
func (v NullableInstruction) Get() *Instruction
func (NullableInstruction) IsSet ¶
func (v NullableInstruction) IsSet() bool
func (NullableInstruction) MarshalJSON ¶
func (v NullableInstruction) MarshalJSON() ([]byte, error)
func (*NullableInstruction) Set ¶
func (v *NullableInstruction) Set(val *Instruction)
func (*NullableInstruction) UnmarshalJSON ¶
func (v *NullableInstruction) UnmarshalJSON(src []byte) error
func (*NullableInstruction) Unset ¶
func (v *NullableInstruction) 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 NullableOffer ¶
type NullableOffer struct {
// contains filtered or unexported fields
}
func NewNullableOffer ¶
func NewNullableOffer(val *Offer) *NullableOffer
func (NullableOffer) Get ¶
func (v NullableOffer) Get() *Offer
func (NullableOffer) IsSet ¶
func (v NullableOffer) IsSet() bool
func (NullableOffer) MarshalJSON ¶
func (v NullableOffer) MarshalJSON() ([]byte, error)
func (*NullableOffer) Set ¶
func (v *NullableOffer) Set(val *Offer)
func (*NullableOffer) UnmarshalJSON ¶
func (v *NullableOffer) UnmarshalJSON(src []byte) error
func (*NullableOffer) Unset ¶
func (v *NullableOffer) Unset()
type NullableOrder ¶
type NullableOrder struct {
// contains filtered or unexported fields
}
func NewNullableOrder ¶
func NewNullableOrder(val *Order) *NullableOrder
func (NullableOrder) Get ¶
func (v NullableOrder) Get() *Order
func (NullableOrder) IsSet ¶
func (v NullableOrder) IsSet() bool
func (NullableOrder) MarshalJSON ¶
func (v NullableOrder) MarshalJSON() ([]byte, error)
func (*NullableOrder) Set ¶
func (v *NullableOrder) Set(val *Order)
func (*NullableOrder) UnmarshalJSON ¶
func (v *NullableOrder) UnmarshalJSON(src []byte) error
func (*NullableOrder) Unset ¶
func (v *NullableOrder) Unset()
type NullableOrderActivity ¶
type NullableOrderActivity struct {
// contains filtered or unexported fields
}
func NewNullableOrderActivity ¶
func NewNullableOrderActivity(val *OrderActivity) *NullableOrderActivity
func (NullableOrderActivity) Get ¶
func (v NullableOrderActivity) Get() *OrderActivity
func (NullableOrderActivity) IsSet ¶
func (v NullableOrderActivity) IsSet() bool
func (NullableOrderActivity) MarshalJSON ¶
func (v NullableOrderActivity) MarshalJSON() ([]byte, error)
func (*NullableOrderActivity) Set ¶
func (v *NullableOrderActivity) Set(val *OrderActivity)
func (*NullableOrderActivity) UnmarshalJSON ¶
func (v *NullableOrderActivity) UnmarshalJSON(src []byte) error
func (*NullableOrderActivity) Unset ¶
func (v *NullableOrderActivity) Unset()
type NullableOrderBalance ¶
type NullableOrderBalance struct {
// contains filtered or unexported fields
}
func NewNullableOrderBalance ¶
func NewNullableOrderBalance(val *OrderBalance) *NullableOrderBalance
func (NullableOrderBalance) Get ¶
func (v NullableOrderBalance) Get() *OrderBalance
func (NullableOrderBalance) IsSet ¶
func (v NullableOrderBalance) IsSet() bool
func (NullableOrderBalance) MarshalJSON ¶
func (v NullableOrderBalance) MarshalJSON() ([]byte, error)
func (*NullableOrderBalance) Set ¶
func (v *NullableOrderBalance) Set(val *OrderBalance)
func (*NullableOrderBalance) UnmarshalJSON ¶
func (v *NullableOrderBalance) UnmarshalJSON(src []byte) error
func (*NullableOrderBalance) Unset ¶
func (v *NullableOrderBalance) Unset()
type NullableOrderLeg ¶
type NullableOrderLeg struct {
// contains filtered or unexported fields
}
func NewNullableOrderLeg ¶
func NewNullableOrderLeg(val *OrderLeg) *NullableOrderLeg
func (NullableOrderLeg) Get ¶
func (v NullableOrderLeg) Get() *OrderLeg
func (NullableOrderLeg) IsSet ¶
func (v NullableOrderLeg) IsSet() bool
func (NullableOrderLeg) MarshalJSON ¶
func (v NullableOrderLeg) MarshalJSON() ([]byte, error)
func (*NullableOrderLeg) Set ¶
func (v *NullableOrderLeg) Set(val *OrderLeg)
func (*NullableOrderLeg) UnmarshalJSON ¶
func (v *NullableOrderLeg) UnmarshalJSON(src []byte) error
func (*NullableOrderLeg) Unset ¶
func (v *NullableOrderLeg) Unset()
type NullableOrderLegCollection ¶
type NullableOrderLegCollection struct {
// contains filtered or unexported fields
}
func NewNullableOrderLegCollection ¶
func NewNullableOrderLegCollection(val *OrderLegCollection) *NullableOrderLegCollection
func (NullableOrderLegCollection) Get ¶
func (v NullableOrderLegCollection) Get() *OrderLegCollection
func (NullableOrderLegCollection) IsSet ¶
func (v NullableOrderLegCollection) IsSet() bool
func (NullableOrderLegCollection) MarshalJSON ¶
func (v NullableOrderLegCollection) MarshalJSON() ([]byte, error)
func (*NullableOrderLegCollection) Set ¶
func (v *NullableOrderLegCollection) Set(val *OrderLegCollection)
func (*NullableOrderLegCollection) UnmarshalJSON ¶
func (v *NullableOrderLegCollection) UnmarshalJSON(src []byte) error
func (*NullableOrderLegCollection) Unset ¶
func (v *NullableOrderLegCollection) Unset()
type NullableOrderRequest ¶
type NullableOrderRequest struct {
// contains filtered or unexported fields
}
func NewNullableOrderRequest ¶
func NewNullableOrderRequest(val *OrderRequest) *NullableOrderRequest
func (NullableOrderRequest) Get ¶
func (v NullableOrderRequest) Get() *OrderRequest
func (NullableOrderRequest) IsSet ¶
func (v NullableOrderRequest) IsSet() bool
func (NullableOrderRequest) MarshalJSON ¶
func (v NullableOrderRequest) MarshalJSON() ([]byte, error)
func (*NullableOrderRequest) Set ¶
func (v *NullableOrderRequest) Set(val *OrderRequest)
func (*NullableOrderRequest) UnmarshalJSON ¶
func (v *NullableOrderRequest) UnmarshalJSON(src []byte) error
func (*NullableOrderRequest) Unset ¶
func (v *NullableOrderRequest) Unset()
type NullableOrderStrategy ¶
type NullableOrderStrategy struct {
// contains filtered or unexported fields
}
func NewNullableOrderStrategy ¶
func NewNullableOrderStrategy(val *OrderStrategy) *NullableOrderStrategy
func (NullableOrderStrategy) Get ¶
func (v NullableOrderStrategy) Get() *OrderStrategy
func (NullableOrderStrategy) IsSet ¶
func (v NullableOrderStrategy) IsSet() bool
func (NullableOrderStrategy) MarshalJSON ¶
func (v NullableOrderStrategy) MarshalJSON() ([]byte, error)
func (*NullableOrderStrategy) Set ¶
func (v *NullableOrderStrategy) Set(val *OrderStrategy)
func (*NullableOrderStrategy) UnmarshalJSON ¶
func (v *NullableOrderStrategy) UnmarshalJSON(src []byte) error
func (*NullableOrderStrategy) Unset ¶
func (v *NullableOrderStrategy) Unset()
type NullableOrderStrategyType ¶
type NullableOrderStrategyType struct {
// contains filtered or unexported fields
}
func NewNullableOrderStrategyType ¶
func NewNullableOrderStrategyType(val *OrderStrategyType) *NullableOrderStrategyType
func (NullableOrderStrategyType) Get ¶
func (v NullableOrderStrategyType) Get() *OrderStrategyType
func (NullableOrderStrategyType) IsSet ¶
func (v NullableOrderStrategyType) IsSet() bool
func (NullableOrderStrategyType) MarshalJSON ¶
func (v NullableOrderStrategyType) MarshalJSON() ([]byte, error)
func (*NullableOrderStrategyType) Set ¶
func (v *NullableOrderStrategyType) Set(val *OrderStrategyType)
func (*NullableOrderStrategyType) UnmarshalJSON ¶
func (v *NullableOrderStrategyType) UnmarshalJSON(src []byte) error
func (*NullableOrderStrategyType) Unset ¶
func (v *NullableOrderStrategyType) Unset()
type NullableOrderType ¶
type NullableOrderType struct {
// contains filtered or unexported fields
}
func NewNullableOrderType ¶
func NewNullableOrderType(val *OrderType) *NullableOrderType
func (NullableOrderType) Get ¶
func (v NullableOrderType) Get() *OrderType
func (NullableOrderType) IsSet ¶
func (v NullableOrderType) IsSet() bool
func (NullableOrderType) MarshalJSON ¶
func (v NullableOrderType) MarshalJSON() ([]byte, error)
func (*NullableOrderType) Set ¶
func (v *NullableOrderType) Set(val *OrderType)
func (*NullableOrderType) UnmarshalJSON ¶
func (v *NullableOrderType) UnmarshalJSON(src []byte) error
func (*NullableOrderType) Unset ¶
func (v *NullableOrderType) Unset()
type NullableOrderTypeRequest ¶
type NullableOrderTypeRequest struct {
// contains filtered or unexported fields
}
func NewNullableOrderTypeRequest ¶
func NewNullableOrderTypeRequest(val *OrderTypeRequest) *NullableOrderTypeRequest
func (NullableOrderTypeRequest) Get ¶
func (v NullableOrderTypeRequest) Get() *OrderTypeRequest
func (NullableOrderTypeRequest) IsSet ¶
func (v NullableOrderTypeRequest) IsSet() bool
func (NullableOrderTypeRequest) MarshalJSON ¶
func (v NullableOrderTypeRequest) MarshalJSON() ([]byte, error)
func (*NullableOrderTypeRequest) Set ¶
func (v *NullableOrderTypeRequest) Set(val *OrderTypeRequest)
func (*NullableOrderTypeRequest) UnmarshalJSON ¶
func (v *NullableOrderTypeRequest) UnmarshalJSON(src []byte) error
func (*NullableOrderTypeRequest) Unset ¶
func (v *NullableOrderTypeRequest) Unset()
type NullableOrderValidationDetail ¶
type NullableOrderValidationDetail struct {
// contains filtered or unexported fields
}
func NewNullableOrderValidationDetail ¶
func NewNullableOrderValidationDetail(val *OrderValidationDetail) *NullableOrderValidationDetail
func (NullableOrderValidationDetail) Get ¶
func (v NullableOrderValidationDetail) Get() *OrderValidationDetail
func (NullableOrderValidationDetail) IsSet ¶
func (v NullableOrderValidationDetail) IsSet() bool
func (NullableOrderValidationDetail) MarshalJSON ¶
func (v NullableOrderValidationDetail) MarshalJSON() ([]byte, error)
func (*NullableOrderValidationDetail) Set ¶
func (v *NullableOrderValidationDetail) Set(val *OrderValidationDetail)
func (*NullableOrderValidationDetail) UnmarshalJSON ¶
func (v *NullableOrderValidationDetail) UnmarshalJSON(src []byte) error
func (*NullableOrderValidationDetail) Unset ¶
func (v *NullableOrderValidationDetail) Unset()
type NullableOrderValidationResult ¶
type NullableOrderValidationResult struct {
// contains filtered or unexported fields
}
func NewNullableOrderValidationResult ¶
func NewNullableOrderValidationResult(val *OrderValidationResult) *NullableOrderValidationResult
func (NullableOrderValidationResult) Get ¶
func (v NullableOrderValidationResult) Get() *OrderValidationResult
func (NullableOrderValidationResult) IsSet ¶
func (v NullableOrderValidationResult) IsSet() bool
func (NullableOrderValidationResult) MarshalJSON ¶
func (v NullableOrderValidationResult) MarshalJSON() ([]byte, error)
func (*NullableOrderValidationResult) Set ¶
func (v *NullableOrderValidationResult) Set(val *OrderValidationResult)
func (*NullableOrderValidationResult) UnmarshalJSON ¶
func (v *NullableOrderValidationResult) UnmarshalJSON(src []byte) error
func (*NullableOrderValidationResult) Unset ¶
func (v *NullableOrderValidationResult) Unset()
type NullablePosition ¶
type NullablePosition struct {
// contains filtered or unexported fields
}
func NewNullablePosition ¶
func NewNullablePosition(val *Position) *NullablePosition
func (NullablePosition) Get ¶
func (v NullablePosition) Get() *Position
func (NullablePosition) IsSet ¶
func (v NullablePosition) IsSet() bool
func (NullablePosition) MarshalJSON ¶
func (v NullablePosition) MarshalJSON() ([]byte, error)
func (*NullablePosition) Set ¶
func (v *NullablePosition) Set(val *Position)
func (*NullablePosition) UnmarshalJSON ¶
func (v *NullablePosition) UnmarshalJSON(src []byte) error
func (*NullablePosition) Unset ¶
func (v *NullablePosition) Unset()
type NullablePreviewOrder ¶
type NullablePreviewOrder struct {
// contains filtered or unexported fields
}
func NewNullablePreviewOrder ¶
func NewNullablePreviewOrder(val *PreviewOrder) *NullablePreviewOrder
func (NullablePreviewOrder) Get ¶
func (v NullablePreviewOrder) Get() *PreviewOrder
func (NullablePreviewOrder) IsSet ¶
func (v NullablePreviewOrder) IsSet() bool
func (NullablePreviewOrder) MarshalJSON ¶
func (v NullablePreviewOrder) MarshalJSON() ([]byte, error)
func (*NullablePreviewOrder) Set ¶
func (v *NullablePreviewOrder) Set(val *PreviewOrder)
func (*NullablePreviewOrder) UnmarshalJSON ¶
func (v *NullablePreviewOrder) UnmarshalJSON(src []byte) error
func (*NullablePreviewOrder) Unset ¶
func (v *NullablePreviewOrder) Unset()
type NullablePriceLinkBasis ¶
type NullablePriceLinkBasis struct {
// contains filtered or unexported fields
}
func NewNullablePriceLinkBasis ¶
func NewNullablePriceLinkBasis(val *PriceLinkBasis) *NullablePriceLinkBasis
func (NullablePriceLinkBasis) Get ¶
func (v NullablePriceLinkBasis) Get() *PriceLinkBasis
func (NullablePriceLinkBasis) IsSet ¶
func (v NullablePriceLinkBasis) IsSet() bool
func (NullablePriceLinkBasis) MarshalJSON ¶
func (v NullablePriceLinkBasis) MarshalJSON() ([]byte, error)
func (*NullablePriceLinkBasis) Set ¶
func (v *NullablePriceLinkBasis) Set(val *PriceLinkBasis)
func (*NullablePriceLinkBasis) UnmarshalJSON ¶
func (v *NullablePriceLinkBasis) UnmarshalJSON(src []byte) error
func (*NullablePriceLinkBasis) Unset ¶
func (v *NullablePriceLinkBasis) Unset()
type NullablePriceLinkType ¶
type NullablePriceLinkType struct {
// contains filtered or unexported fields
}
func NewNullablePriceLinkType ¶
func NewNullablePriceLinkType(val *PriceLinkType) *NullablePriceLinkType
func (NullablePriceLinkType) Get ¶
func (v NullablePriceLinkType) Get() *PriceLinkType
func (NullablePriceLinkType) IsSet ¶
func (v NullablePriceLinkType) IsSet() bool
func (NullablePriceLinkType) MarshalJSON ¶
func (v NullablePriceLinkType) MarshalJSON() ([]byte, error)
func (*NullablePriceLinkType) Set ¶
func (v *NullablePriceLinkType) Set(val *PriceLinkType)
func (*NullablePriceLinkType) UnmarshalJSON ¶
func (v *NullablePriceLinkType) UnmarshalJSON(src []byte) error
func (*NullablePriceLinkType) Unset ¶
func (v *NullablePriceLinkType) Unset()
type NullableProduct ¶
type NullableProduct struct {
// contains filtered or unexported fields
}
func NewNullableProduct ¶
func NewNullableProduct(val *Product) *NullableProduct
func (NullableProduct) Get ¶
func (v NullableProduct) Get() *Product
func (NullableProduct) IsSet ¶
func (v NullableProduct) IsSet() bool
func (NullableProduct) MarshalJSON ¶
func (v NullableProduct) MarshalJSON() ([]byte, error)
func (*NullableProduct) Set ¶
func (v *NullableProduct) Set(val *Product)
func (*NullableProduct) UnmarshalJSON ¶
func (v *NullableProduct) UnmarshalJSON(src []byte) error
func (*NullableProduct) Unset ¶
func (v *NullableProduct) Unset()
type NullableRequestedDestination ¶
type NullableRequestedDestination struct {
// contains filtered or unexported fields
}
func NewNullableRequestedDestination ¶
func NewNullableRequestedDestination(val *RequestedDestination) *NullableRequestedDestination
func (NullableRequestedDestination) Get ¶
func (v NullableRequestedDestination) Get() *RequestedDestination
func (NullableRequestedDestination) IsSet ¶
func (v NullableRequestedDestination) IsSet() bool
func (NullableRequestedDestination) MarshalJSON ¶
func (v NullableRequestedDestination) MarshalJSON() ([]byte, error)
func (*NullableRequestedDestination) Set ¶
func (v *NullableRequestedDestination) Set(val *RequestedDestination)
func (*NullableRequestedDestination) UnmarshalJSON ¶
func (v *NullableRequestedDestination) UnmarshalJSON(src []byte) error
func (*NullableRequestedDestination) Unset ¶
func (v *NullableRequestedDestination) Unset()
type NullableSecuritiesAccount ¶
type NullableSecuritiesAccount struct {
// contains filtered or unexported fields
}
func NewNullableSecuritiesAccount ¶
func NewNullableSecuritiesAccount(val *SecuritiesAccount) *NullableSecuritiesAccount
func (NullableSecuritiesAccount) Get ¶
func (v NullableSecuritiesAccount) Get() *SecuritiesAccount
func (NullableSecuritiesAccount) IsSet ¶
func (v NullableSecuritiesAccount) IsSet() bool
func (NullableSecuritiesAccount) MarshalJSON ¶
func (v NullableSecuritiesAccount) MarshalJSON() ([]byte, error)
func (*NullableSecuritiesAccount) Set ¶
func (v *NullableSecuritiesAccount) Set(val *SecuritiesAccount)
func (*NullableSecuritiesAccount) UnmarshalJSON ¶
func (v *NullableSecuritiesAccount) UnmarshalJSON(src []byte) error
func (*NullableSecuritiesAccount) Unset ¶
func (v *NullableSecuritiesAccount) Unset()
type NullableServiceError ¶
type NullableServiceError struct {
// contains filtered or unexported fields
}
func NewNullableServiceError ¶
func NewNullableServiceError(val *ServiceError) *NullableServiceError
func (NullableServiceError) Get ¶
func (v NullableServiceError) Get() *ServiceError
func (NullableServiceError) IsSet ¶
func (v NullableServiceError) IsSet() bool
func (NullableServiceError) MarshalJSON ¶
func (v NullableServiceError) MarshalJSON() ([]byte, error)
func (*NullableServiceError) Set ¶
func (v *NullableServiceError) Set(val *ServiceError)
func (*NullableServiceError) UnmarshalJSON ¶
func (v *NullableServiceError) UnmarshalJSON(src []byte) error
func (*NullableServiceError) Unset ¶
func (v *NullableServiceError) Unset()
type NullableSession ¶
type NullableSession struct {
// contains filtered or unexported fields
}
func NewNullableSession ¶
func NewNullableSession(val *Session) *NullableSession
func (NullableSession) Get ¶
func (v NullableSession) Get() *Session
func (NullableSession) IsSet ¶
func (v NullableSession) IsSet() bool
func (NullableSession) MarshalJSON ¶
func (v NullableSession) MarshalJSON() ([]byte, error)
func (*NullableSession) Set ¶
func (v *NullableSession) Set(val *Session)
func (*NullableSession) UnmarshalJSON ¶
func (v *NullableSession) UnmarshalJSON(src []byte) error
func (*NullableSession) Unset ¶
func (v *NullableSession) Unset()
type NullableSettlementInstruction ¶
type NullableSettlementInstruction struct {
// contains filtered or unexported fields
}
func NewNullableSettlementInstruction ¶
func NewNullableSettlementInstruction(val *SettlementInstruction) *NullableSettlementInstruction
func (NullableSettlementInstruction) Get ¶
func (v NullableSettlementInstruction) Get() *SettlementInstruction
func (NullableSettlementInstruction) IsSet ¶
func (v NullableSettlementInstruction) IsSet() bool
func (NullableSettlementInstruction) MarshalJSON ¶
func (v NullableSettlementInstruction) MarshalJSON() ([]byte, error)
func (*NullableSettlementInstruction) Set ¶
func (v *NullableSettlementInstruction) Set(val *SettlementInstruction)
func (*NullableSettlementInstruction) UnmarshalJSON ¶
func (v *NullableSettlementInstruction) UnmarshalJSON(src []byte) error
func (*NullableSettlementInstruction) Unset ¶
func (v *NullableSettlementInstruction) Unset()
type NullableSpecialInstruction ¶
type NullableSpecialInstruction struct {
// contains filtered or unexported fields
}
func NewNullableSpecialInstruction ¶
func NewNullableSpecialInstruction(val *SpecialInstruction) *NullableSpecialInstruction
func (NullableSpecialInstruction) Get ¶
func (v NullableSpecialInstruction) Get() *SpecialInstruction
func (NullableSpecialInstruction) IsSet ¶
func (v NullableSpecialInstruction) IsSet() bool
func (NullableSpecialInstruction) MarshalJSON ¶
func (v NullableSpecialInstruction) MarshalJSON() ([]byte, error)
func (*NullableSpecialInstruction) Set ¶
func (v *NullableSpecialInstruction) Set(val *SpecialInstruction)
func (*NullableSpecialInstruction) UnmarshalJSON ¶
func (v *NullableSpecialInstruction) UnmarshalJSON(src []byte) error
func (*NullableSpecialInstruction) Unset ¶
func (v *NullableSpecialInstruction) Unset()
type NullableStatus ¶
type NullableStatus struct {
// contains filtered or unexported fields
}
func NewNullableStatus ¶
func NewNullableStatus(val *Status) *NullableStatus
func (NullableStatus) Get ¶
func (v NullableStatus) Get() *Status
func (NullableStatus) IsSet ¶
func (v NullableStatus) IsSet() bool
func (NullableStatus) MarshalJSON ¶
func (v NullableStatus) MarshalJSON() ([]byte, error)
func (*NullableStatus) Set ¶
func (v *NullableStatus) Set(val *Status)
func (*NullableStatus) UnmarshalJSON ¶
func (v *NullableStatus) UnmarshalJSON(src []byte) error
func (*NullableStatus) Unset ¶
func (v *NullableStatus) Unset()
type NullableStopPriceLinkBasis ¶
type NullableStopPriceLinkBasis struct {
// contains filtered or unexported fields
}
func NewNullableStopPriceLinkBasis ¶
func NewNullableStopPriceLinkBasis(val *StopPriceLinkBasis) *NullableStopPriceLinkBasis
func (NullableStopPriceLinkBasis) Get ¶
func (v NullableStopPriceLinkBasis) Get() *StopPriceLinkBasis
func (NullableStopPriceLinkBasis) IsSet ¶
func (v NullableStopPriceLinkBasis) IsSet() bool
func (NullableStopPriceLinkBasis) MarshalJSON ¶
func (v NullableStopPriceLinkBasis) MarshalJSON() ([]byte, error)
func (*NullableStopPriceLinkBasis) Set ¶
func (v *NullableStopPriceLinkBasis) Set(val *StopPriceLinkBasis)
func (*NullableStopPriceLinkBasis) UnmarshalJSON ¶
func (v *NullableStopPriceLinkBasis) UnmarshalJSON(src []byte) error
func (*NullableStopPriceLinkBasis) Unset ¶
func (v *NullableStopPriceLinkBasis) Unset()
type NullableStopPriceLinkType ¶
type NullableStopPriceLinkType struct {
// contains filtered or unexported fields
}
func NewNullableStopPriceLinkType ¶
func NewNullableStopPriceLinkType(val *StopPriceLinkType) *NullableStopPriceLinkType
func (NullableStopPriceLinkType) Get ¶
func (v NullableStopPriceLinkType) Get() *StopPriceLinkType
func (NullableStopPriceLinkType) IsSet ¶
func (v NullableStopPriceLinkType) IsSet() bool
func (NullableStopPriceLinkType) MarshalJSON ¶
func (v NullableStopPriceLinkType) MarshalJSON() ([]byte, error)
func (*NullableStopPriceLinkType) Set ¶
func (v *NullableStopPriceLinkType) Set(val *StopPriceLinkType)
func (*NullableStopPriceLinkType) UnmarshalJSON ¶
func (v *NullableStopPriceLinkType) UnmarshalJSON(src []byte) error
func (*NullableStopPriceLinkType) Unset ¶
func (v *NullableStopPriceLinkType) Unset()
type NullableStopType ¶
type NullableStopType struct {
// contains filtered or unexported fields
}
func NewNullableStopType ¶
func NewNullableStopType(val *StopType) *NullableStopType
func (NullableStopType) Get ¶
func (v NullableStopType) Get() *StopType
func (NullableStopType) IsSet ¶
func (v NullableStopType) IsSet() bool
func (NullableStopType) MarshalJSON ¶
func (v NullableStopType) MarshalJSON() ([]byte, error)
func (*NullableStopType) Set ¶
func (v *NullableStopType) Set(val *StopType)
func (*NullableStopType) UnmarshalJSON ¶
func (v *NullableStopType) UnmarshalJSON(src []byte) error
func (*NullableStopType) Unset ¶
func (v *NullableStopType) Unset()
type NullableStreamerInfo ¶
type NullableStreamerInfo struct {
// contains filtered or unexported fields
}
func NewNullableStreamerInfo ¶
func NewNullableStreamerInfo(val *StreamerInfo) *NullableStreamerInfo
func (NullableStreamerInfo) Get ¶
func (v NullableStreamerInfo) Get() *StreamerInfo
func (NullableStreamerInfo) IsSet ¶
func (v NullableStreamerInfo) IsSet() bool
func (NullableStreamerInfo) MarshalJSON ¶
func (v NullableStreamerInfo) MarshalJSON() ([]byte, error)
func (*NullableStreamerInfo) Set ¶
func (v *NullableStreamerInfo) Set(val *StreamerInfo)
func (*NullableStreamerInfo) UnmarshalJSON ¶
func (v *NullableStreamerInfo) UnmarshalJSON(src []byte) error
func (*NullableStreamerInfo) Unset ¶
func (v *NullableStreamerInfo) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTaxLotMethod ¶
type NullableTaxLotMethod struct {
// contains filtered or unexported fields
}
func NewNullableTaxLotMethod ¶
func NewNullableTaxLotMethod(val *TaxLotMethod) *NullableTaxLotMethod
func (NullableTaxLotMethod) Get ¶
func (v NullableTaxLotMethod) Get() *TaxLotMethod
func (NullableTaxLotMethod) IsSet ¶
func (v NullableTaxLotMethod) IsSet() bool
func (NullableTaxLotMethod) MarshalJSON ¶
func (v NullableTaxLotMethod) MarshalJSON() ([]byte, error)
func (*NullableTaxLotMethod) Set ¶
func (v *NullableTaxLotMethod) Set(val *TaxLotMethod)
func (*NullableTaxLotMethod) UnmarshalJSON ¶
func (v *NullableTaxLotMethod) UnmarshalJSON(src []byte) error
func (*NullableTaxLotMethod) Unset ¶
func (v *NullableTaxLotMethod) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTransaction ¶
type NullableTransaction struct {
// contains filtered or unexported fields
}
func NewNullableTransaction ¶
func NewNullableTransaction(val *Transaction) *NullableTransaction
func (NullableTransaction) Get ¶
func (v NullableTransaction) Get() *Transaction
func (NullableTransaction) IsSet ¶
func (v NullableTransaction) IsSet() bool
func (NullableTransaction) MarshalJSON ¶
func (v NullableTransaction) MarshalJSON() ([]byte, error)
func (*NullableTransaction) Set ¶
func (v *NullableTransaction) Set(val *Transaction)
func (*NullableTransaction) UnmarshalJSON ¶
func (v *NullableTransaction) UnmarshalJSON(src []byte) error
func (*NullableTransaction) Unset ¶
func (v *NullableTransaction) Unset()
type NullableTransactionAPIOptionDeliverable ¶
type NullableTransactionAPIOptionDeliverable struct {
// contains filtered or unexported fields
}
func NewNullableTransactionAPIOptionDeliverable ¶
func NewNullableTransactionAPIOptionDeliverable(val *TransactionAPIOptionDeliverable) *NullableTransactionAPIOptionDeliverable
func (NullableTransactionAPIOptionDeliverable) IsSet ¶
func (v NullableTransactionAPIOptionDeliverable) IsSet() bool
func (NullableTransactionAPIOptionDeliverable) MarshalJSON ¶
func (v NullableTransactionAPIOptionDeliverable) MarshalJSON() ([]byte, error)
func (*NullableTransactionAPIOptionDeliverable) Set ¶
func (v *NullableTransactionAPIOptionDeliverable) Set(val *TransactionAPIOptionDeliverable)
func (*NullableTransactionAPIOptionDeliverable) UnmarshalJSON ¶
func (v *NullableTransactionAPIOptionDeliverable) UnmarshalJSON(src []byte) error
func (*NullableTransactionAPIOptionDeliverable) Unset ¶
func (v *NullableTransactionAPIOptionDeliverable) Unset()
type NullableTransactionBaseInstrument ¶
type NullableTransactionBaseInstrument struct {
// contains filtered or unexported fields
}
func NewNullableTransactionBaseInstrument ¶
func NewNullableTransactionBaseInstrument(val *TransactionBaseInstrument) *NullableTransactionBaseInstrument
func (NullableTransactionBaseInstrument) Get ¶
func (v NullableTransactionBaseInstrument) Get() *TransactionBaseInstrument
func (NullableTransactionBaseInstrument) IsSet ¶
func (v NullableTransactionBaseInstrument) IsSet() bool
func (NullableTransactionBaseInstrument) MarshalJSON ¶
func (v NullableTransactionBaseInstrument) MarshalJSON() ([]byte, error)
func (*NullableTransactionBaseInstrument) Set ¶
func (v *NullableTransactionBaseInstrument) Set(val *TransactionBaseInstrument)
func (*NullableTransactionBaseInstrument) UnmarshalJSON ¶
func (v *NullableTransactionBaseInstrument) UnmarshalJSON(src []byte) error
func (*NullableTransactionBaseInstrument) Unset ¶
func (v *NullableTransactionBaseInstrument) Unset()
type NullableTransactionCashEquivalent ¶
type NullableTransactionCashEquivalent struct {
// contains filtered or unexported fields
}
func NewNullableTransactionCashEquivalent ¶
func NewNullableTransactionCashEquivalent(val *TransactionCashEquivalent) *NullableTransactionCashEquivalent
func (NullableTransactionCashEquivalent) Get ¶
func (v NullableTransactionCashEquivalent) Get() *TransactionCashEquivalent
func (NullableTransactionCashEquivalent) IsSet ¶
func (v NullableTransactionCashEquivalent) IsSet() bool
func (NullableTransactionCashEquivalent) MarshalJSON ¶
func (v NullableTransactionCashEquivalent) MarshalJSON() ([]byte, error)
func (*NullableTransactionCashEquivalent) Set ¶
func (v *NullableTransactionCashEquivalent) Set(val *TransactionCashEquivalent)
func (*NullableTransactionCashEquivalent) UnmarshalJSON ¶
func (v *NullableTransactionCashEquivalent) UnmarshalJSON(src []byte) error
func (*NullableTransactionCashEquivalent) Unset ¶
func (v *NullableTransactionCashEquivalent) Unset()
type NullableTransactionEquity ¶
type NullableTransactionEquity struct {
// contains filtered or unexported fields
}
func NewNullableTransactionEquity ¶
func NewNullableTransactionEquity(val *TransactionEquity) *NullableTransactionEquity
func (NullableTransactionEquity) Get ¶
func (v NullableTransactionEquity) Get() *TransactionEquity
func (NullableTransactionEquity) IsSet ¶
func (v NullableTransactionEquity) IsSet() bool
func (NullableTransactionEquity) MarshalJSON ¶
func (v NullableTransactionEquity) MarshalJSON() ([]byte, error)
func (*NullableTransactionEquity) Set ¶
func (v *NullableTransactionEquity) Set(val *TransactionEquity)
func (*NullableTransactionEquity) UnmarshalJSON ¶
func (v *NullableTransactionEquity) UnmarshalJSON(src []byte) error
func (*NullableTransactionEquity) Unset ¶
func (v *NullableTransactionEquity) Unset()
type NullableTransactionFixedIncome ¶
type NullableTransactionFixedIncome struct {
// contains filtered or unexported fields
}
func NewNullableTransactionFixedIncome ¶
func NewNullableTransactionFixedIncome(val *TransactionFixedIncome) *NullableTransactionFixedIncome
func (NullableTransactionFixedIncome) Get ¶
func (v NullableTransactionFixedIncome) Get() *TransactionFixedIncome
func (NullableTransactionFixedIncome) IsSet ¶
func (v NullableTransactionFixedIncome) IsSet() bool
func (NullableTransactionFixedIncome) MarshalJSON ¶
func (v NullableTransactionFixedIncome) MarshalJSON() ([]byte, error)
func (*NullableTransactionFixedIncome) Set ¶
func (v *NullableTransactionFixedIncome) Set(val *TransactionFixedIncome)
func (*NullableTransactionFixedIncome) UnmarshalJSON ¶
func (v *NullableTransactionFixedIncome) UnmarshalJSON(src []byte) error
func (*NullableTransactionFixedIncome) Unset ¶
func (v *NullableTransactionFixedIncome) Unset()
type NullableTransactionInstrument ¶
type NullableTransactionInstrument struct {
// contains filtered or unexported fields
}
func NewNullableTransactionInstrument ¶
func NewNullableTransactionInstrument(val *TransactionInstrument) *NullableTransactionInstrument
func (NullableTransactionInstrument) Get ¶
func (v NullableTransactionInstrument) Get() *TransactionInstrument
func (NullableTransactionInstrument) IsSet ¶
func (v NullableTransactionInstrument) IsSet() bool
func (NullableTransactionInstrument) MarshalJSON ¶
func (v NullableTransactionInstrument) MarshalJSON() ([]byte, error)
func (*NullableTransactionInstrument) Set ¶
func (v *NullableTransactionInstrument) Set(val *TransactionInstrument)
func (*NullableTransactionInstrument) UnmarshalJSON ¶
func (v *NullableTransactionInstrument) UnmarshalJSON(src []byte) error
func (*NullableTransactionInstrument) Unset ¶
func (v *NullableTransactionInstrument) Unset()
type NullableTransactionMutualFund ¶
type NullableTransactionMutualFund struct {
// contains filtered or unexported fields
}
func NewNullableTransactionMutualFund ¶
func NewNullableTransactionMutualFund(val *TransactionMutualFund) *NullableTransactionMutualFund
func (NullableTransactionMutualFund) Get ¶
func (v NullableTransactionMutualFund) Get() *TransactionMutualFund
func (NullableTransactionMutualFund) IsSet ¶
func (v NullableTransactionMutualFund) IsSet() bool
func (NullableTransactionMutualFund) MarshalJSON ¶
func (v NullableTransactionMutualFund) MarshalJSON() ([]byte, error)
func (*NullableTransactionMutualFund) Set ¶
func (v *NullableTransactionMutualFund) Set(val *TransactionMutualFund)
func (*NullableTransactionMutualFund) UnmarshalJSON ¶
func (v *NullableTransactionMutualFund) UnmarshalJSON(src []byte) error
func (*NullableTransactionMutualFund) Unset ¶
func (v *NullableTransactionMutualFund) Unset()
type NullableTransactionOption ¶
type NullableTransactionOption struct {
// contains filtered or unexported fields
}
func NewNullableTransactionOption ¶
func NewNullableTransactionOption(val *TransactionOption) *NullableTransactionOption
func (NullableTransactionOption) Get ¶
func (v NullableTransactionOption) Get() *TransactionOption
func (NullableTransactionOption) IsSet ¶
func (v NullableTransactionOption) IsSet() bool
func (NullableTransactionOption) MarshalJSON ¶
func (v NullableTransactionOption) MarshalJSON() ([]byte, error)
func (*NullableTransactionOption) Set ¶
func (v *NullableTransactionOption) Set(val *TransactionOption)
func (*NullableTransactionOption) UnmarshalJSON ¶
func (v *NullableTransactionOption) UnmarshalJSON(src []byte) error
func (*NullableTransactionOption) Unset ¶
func (v *NullableTransactionOption) Unset()
type NullableTransactionType ¶
type NullableTransactionType struct {
// contains filtered or unexported fields
}
func NewNullableTransactionType ¶
func NewNullableTransactionType(val *TransactionType) *NullableTransactionType
func (NullableTransactionType) Get ¶
func (v NullableTransactionType) Get() *TransactionType
func (NullableTransactionType) IsSet ¶
func (v NullableTransactionType) IsSet() bool
func (NullableTransactionType) MarshalJSON ¶
func (v NullableTransactionType) MarshalJSON() ([]byte, error)
func (*NullableTransactionType) Set ¶
func (v *NullableTransactionType) Set(val *TransactionType)
func (*NullableTransactionType) UnmarshalJSON ¶
func (v *NullableTransactionType) UnmarshalJSON(src []byte) error
func (*NullableTransactionType) Unset ¶
func (v *NullableTransactionType) Unset()
type NullableTransferItem ¶
type NullableTransferItem struct {
// contains filtered or unexported fields
}
func NewNullableTransferItem ¶
func NewNullableTransferItem(val *TransferItem) *NullableTransferItem
func (NullableTransferItem) Get ¶
func (v NullableTransferItem) Get() *TransferItem
func (NullableTransferItem) IsSet ¶
func (v NullableTransferItem) IsSet() bool
func (NullableTransferItem) MarshalJSON ¶
func (v NullableTransferItem) MarshalJSON() ([]byte, error)
func (*NullableTransferItem) Set ¶
func (v *NullableTransferItem) Set(val *TransferItem)
func (*NullableTransferItem) UnmarshalJSON ¶
func (v *NullableTransferItem) UnmarshalJSON(src []byte) error
func (*NullableTransferItem) Unset ¶
func (v *NullableTransferItem) Unset()
type NullableUserDetails ¶
type NullableUserDetails struct {
// contains filtered or unexported fields
}
func NewNullableUserDetails ¶
func NewNullableUserDetails(val *UserDetails) *NullableUserDetails
func (NullableUserDetails) Get ¶
func (v NullableUserDetails) Get() *UserDetails
func (NullableUserDetails) IsSet ¶
func (v NullableUserDetails) IsSet() bool
func (NullableUserDetails) MarshalJSON ¶
func (v NullableUserDetails) MarshalJSON() ([]byte, error)
func (*NullableUserDetails) Set ¶
func (v *NullableUserDetails) Set(val *UserDetails)
func (*NullableUserDetails) UnmarshalJSON ¶
func (v *NullableUserDetails) UnmarshalJSON(src []byte) error
func (*NullableUserDetails) Unset ¶
func (v *NullableUserDetails) Unset()
type NullableUserPreference ¶
type NullableUserPreference struct {
// contains filtered or unexported fields
}
func NewNullableUserPreference ¶
func NewNullableUserPreference(val *UserPreference) *NullableUserPreference
func (NullableUserPreference) Get ¶
func (v NullableUserPreference) Get() *UserPreference
func (NullableUserPreference) IsSet ¶
func (v NullableUserPreference) IsSet() bool
func (NullableUserPreference) MarshalJSON ¶
func (v NullableUserPreference) MarshalJSON() ([]byte, error)
func (*NullableUserPreference) Set ¶
func (v *NullableUserPreference) Set(val *UserPreference)
func (*NullableUserPreference) UnmarshalJSON ¶
func (v *NullableUserPreference) UnmarshalJSON(src []byte) error
func (*NullableUserPreference) Unset ¶
func (v *NullableUserPreference) Unset()
type NullableUserProferenceAccount ¶
type NullableUserProferenceAccount struct {
// contains filtered or unexported fields
}
func NewNullableUserProferenceAccount ¶
func NewNullableUserProferenceAccount(val *UserProferenceAccount) *NullableUserProferenceAccount
func (NullableUserProferenceAccount) Get ¶
func (v NullableUserProferenceAccount) Get() *UserProferenceAccount
func (NullableUserProferenceAccount) IsSet ¶
func (v NullableUserProferenceAccount) IsSet() bool
func (NullableUserProferenceAccount) MarshalJSON ¶
func (v NullableUserProferenceAccount) MarshalJSON() ([]byte, error)
func (*NullableUserProferenceAccount) Set ¶
func (v *NullableUserProferenceAccount) Set(val *UserProferenceAccount)
func (*NullableUserProferenceAccount) UnmarshalJSON ¶
func (v *NullableUserProferenceAccount) UnmarshalJSON(src []byte) error
func (*NullableUserProferenceAccount) Unset ¶
func (v *NullableUserProferenceAccount) Unset()
type Offer ¶
type Offer struct {
Level2Permissions *bool `json:"level2Permissions,omitempty"`
}
Offer struct for Offer
func NewOffer ¶
func NewOffer() *Offer
NewOffer instantiates a new Offer 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 NewOfferWithDefaults ¶
func NewOfferWithDefaults() *Offer
NewOfferWithDefaults instantiates a new Offer 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 (*Offer) GetLevel2Permissions ¶
GetLevel2Permissions returns the Level2Permissions field value if set, zero value otherwise.
func (*Offer) GetLevel2PermissionsOk ¶
GetLevel2PermissionsOk returns a tuple with the Level2Permissions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Offer) HasLevel2Permissions ¶
HasLevel2Permissions returns a boolean if a field has been set.
func (Offer) MarshalJSON ¶
func (*Offer) SetLevel2Permissions ¶
SetLevel2Permissions gets a reference to the given bool and assigns it to the Level2Permissions field.
type Order ¶
type Order struct { Session *Session `json:"session,omitempty"` Duration *Duration `json:"duration,omitempty"` OrderType *OrderType `json:"orderType,omitempty"` CancelTime *time.Time `json:"cancelTime,omitempty"` ComplexOrderStrategyType *ComplexOrderStrategyType `json:"complexOrderStrategyType,omitempty"` Quantity *float64 `json:"quantity,omitempty"` FilledQuantity *float64 `json:"filledQuantity,omitempty"` RemainingQuantity *float64 `json:"remainingQuantity,omitempty"` RequestedDestination *RequestedDestination `json:"requestedDestination,omitempty"` DestinationLinkName *string `json:"destinationLinkName,omitempty"` ReleaseTime *time.Time `json:"releaseTime,omitempty"` StopPrice *float64 `json:"stopPrice,omitempty"` StopPriceLinkBasis *StopPriceLinkBasis `json:"stopPriceLinkBasis,omitempty"` StopPriceLinkType *StopPriceLinkType `json:"stopPriceLinkType,omitempty"` StopPriceOffset *float64 `json:"stopPriceOffset,omitempty"` StopType *StopType `json:"stopType,omitempty"` PriceLinkBasis *PriceLinkBasis `json:"priceLinkBasis,omitempty"` PriceLinkType *PriceLinkType `json:"priceLinkType,omitempty"` Price *float64 `json:"price,omitempty"` TaxLotMethod *TaxLotMethod `json:"taxLotMethod,omitempty"` OrderLegCollection []OrderLegCollection `json:"orderLegCollection,omitempty"` ActivationPrice *float64 `json:"activationPrice,omitempty"` SpecialInstruction *SpecialInstruction `json:"specialInstruction,omitempty"` OrderStrategyType *OrderStrategyType `json:"orderStrategyType,omitempty"` OrderId *int64 `json:"orderId,omitempty"` Cancelable *bool `json:"cancelable,omitempty"` Editable *bool `json:"editable,omitempty"` Status *Status `json:"status,omitempty"` EnteredTime *time.Time `json:"enteredTime,omitempty"` CloseTime *time.Time `json:"closeTime,omitempty"` Tag *string `json:"tag,omitempty"` AccountNumber *int64 `json:"accountNumber,omitempty"` OrderActivityCollection []OrderActivity `json:"orderActivityCollection,omitempty"` ReplacingOrderCollection []Order `json:"replacingOrderCollection,omitempty"` ChildOrderStrategies []Order `json:"childOrderStrategies,omitempty"` StatusDescription *string `json:"statusDescription,omitempty"` }
Order struct for Order
func NewOrder ¶
func NewOrder() *Order
NewOrder instantiates a new Order 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 NewOrderWithDefaults ¶
func NewOrderWithDefaults() *Order
NewOrderWithDefaults instantiates a new Order 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 (*Order) GetAccountNumber ¶
GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.
func (*Order) GetAccountNumberOk ¶
GetAccountNumberOk returns a tuple with the AccountNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetActivationPrice ¶
GetActivationPrice returns the ActivationPrice field value if set, zero value otherwise.
func (*Order) GetActivationPriceOk ¶
GetActivationPriceOk returns a tuple with the ActivationPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetCancelTime ¶
GetCancelTime returns the CancelTime field value if set, zero value otherwise.
func (*Order) GetCancelTimeOk ¶
GetCancelTimeOk returns a tuple with the CancelTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetCancelable ¶
GetCancelable returns the Cancelable field value if set, zero value otherwise.
func (*Order) GetCancelableOk ¶
GetCancelableOk returns a tuple with the Cancelable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetChildOrderStrategies ¶
GetChildOrderStrategies returns the ChildOrderStrategies field value if set, zero value otherwise.
func (*Order) GetChildOrderStrategiesOk ¶
GetChildOrderStrategiesOk returns a tuple with the ChildOrderStrategies field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetCloseTime ¶
GetCloseTime returns the CloseTime field value if set, zero value otherwise.
func (*Order) 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 (*Order) GetComplexOrderStrategyType ¶
func (o *Order) GetComplexOrderStrategyType() ComplexOrderStrategyType
GetComplexOrderStrategyType returns the ComplexOrderStrategyType field value if set, zero value otherwise.
func (*Order) GetComplexOrderStrategyTypeOk ¶
func (o *Order) GetComplexOrderStrategyTypeOk() (*ComplexOrderStrategyType, bool)
GetComplexOrderStrategyTypeOk returns a tuple with the ComplexOrderStrategyType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetDestinationLinkName ¶
GetDestinationLinkName returns the DestinationLinkName field value if set, zero value otherwise.
func (*Order) GetDestinationLinkNameOk ¶
GetDestinationLinkNameOk returns a tuple with the DestinationLinkName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetDuration ¶
GetDuration returns the Duration field value if set, zero value otherwise.
func (*Order) GetDurationOk ¶
GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetEditable ¶
GetEditable returns the Editable field value if set, zero value otherwise.
func (*Order) GetEditableOk ¶
GetEditableOk returns a tuple with the Editable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetEnteredTime ¶
GetEnteredTime returns the EnteredTime field value if set, zero value otherwise.
func (*Order) GetEnteredTimeOk ¶
GetEnteredTimeOk returns a tuple with the EnteredTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetFilledQuantity ¶
GetFilledQuantity returns the FilledQuantity field value if set, zero value otherwise.
func (*Order) GetFilledQuantityOk ¶
GetFilledQuantityOk returns a tuple with the FilledQuantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetOrderActivityCollection ¶
func (o *Order) GetOrderActivityCollection() []OrderActivity
GetOrderActivityCollection returns the OrderActivityCollection field value if set, zero value otherwise.
func (*Order) GetOrderActivityCollectionOk ¶
func (o *Order) GetOrderActivityCollectionOk() ([]OrderActivity, bool)
GetOrderActivityCollectionOk returns a tuple with the OrderActivityCollection field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetOrderId ¶
GetOrderId returns the OrderId field value if set, zero value otherwise.
func (*Order) GetOrderIdOk ¶
GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetOrderLegCollection ¶
func (o *Order) GetOrderLegCollection() []OrderLegCollection
GetOrderLegCollection returns the OrderLegCollection field value if set, zero value otherwise.
func (*Order) GetOrderLegCollectionOk ¶
func (o *Order) GetOrderLegCollectionOk() ([]OrderLegCollection, bool)
GetOrderLegCollectionOk returns a tuple with the OrderLegCollection field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetOrderStrategyType ¶
func (o *Order) GetOrderStrategyType() OrderStrategyType
GetOrderStrategyType returns the OrderStrategyType field value if set, zero value otherwise.
func (*Order) GetOrderStrategyTypeOk ¶
func (o *Order) GetOrderStrategyTypeOk() (*OrderStrategyType, bool)
GetOrderStrategyTypeOk returns a tuple with the OrderStrategyType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetOrderType ¶
GetOrderType returns the OrderType field value if set, zero value otherwise.
func (*Order) GetOrderTypeOk ¶
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 (*Order) GetPriceLinkBasis ¶
func (o *Order) GetPriceLinkBasis() PriceLinkBasis
GetPriceLinkBasis returns the PriceLinkBasis field value if set, zero value otherwise.
func (*Order) GetPriceLinkBasisOk ¶
func (o *Order) GetPriceLinkBasisOk() (*PriceLinkBasis, bool)
GetPriceLinkBasisOk returns a tuple with the PriceLinkBasis field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetPriceLinkType ¶
func (o *Order) GetPriceLinkType() PriceLinkType
GetPriceLinkType returns the PriceLinkType field value if set, zero value otherwise.
func (*Order) GetPriceLinkTypeOk ¶
func (o *Order) GetPriceLinkTypeOk() (*PriceLinkType, bool)
GetPriceLinkTypeOk returns a tuple with the PriceLinkType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetPriceOk ¶
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 (*Order) GetQuantity ¶
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*Order) GetQuantityOk ¶
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetReleaseTime ¶
GetReleaseTime returns the ReleaseTime field value if set, zero value otherwise.
func (*Order) GetReleaseTimeOk ¶
GetReleaseTimeOk returns a tuple with the ReleaseTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetRemainingQuantity ¶
GetRemainingQuantity returns the RemainingQuantity field value if set, zero value otherwise.
func (*Order) GetRemainingQuantityOk ¶
GetRemainingQuantityOk returns a tuple with the RemainingQuantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetReplacingOrderCollection ¶
GetReplacingOrderCollection returns the ReplacingOrderCollection field value if set, zero value otherwise.
func (*Order) GetReplacingOrderCollectionOk ¶
GetReplacingOrderCollectionOk returns a tuple with the ReplacingOrderCollection field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetRequestedDestination ¶
func (o *Order) GetRequestedDestination() RequestedDestination
GetRequestedDestination returns the RequestedDestination field value if set, zero value otherwise.
func (*Order) GetRequestedDestinationOk ¶
func (o *Order) GetRequestedDestinationOk() (*RequestedDestination, bool)
GetRequestedDestinationOk returns a tuple with the RequestedDestination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetSession ¶
GetSession returns the Session field value if set, zero value otherwise.
func (*Order) GetSessionOk ¶
GetSessionOk returns a tuple with the Session field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetSpecialInstruction ¶
func (o *Order) GetSpecialInstruction() SpecialInstruction
GetSpecialInstruction returns the SpecialInstruction field value if set, zero value otherwise.
func (*Order) GetSpecialInstructionOk ¶
func (o *Order) GetSpecialInstructionOk() (*SpecialInstruction, bool)
GetSpecialInstructionOk returns a tuple with the SpecialInstruction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetStatusDescription ¶
GetStatusDescription returns the StatusDescription field value if set, zero value otherwise.
func (*Order) GetStatusDescriptionOk ¶
GetStatusDescriptionOk returns a tuple with the StatusDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetStatusOk ¶
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 (*Order) GetStopPrice ¶
GetStopPrice returns the StopPrice field value if set, zero value otherwise.
func (*Order) GetStopPriceLinkBasis ¶
func (o *Order) GetStopPriceLinkBasis() StopPriceLinkBasis
GetStopPriceLinkBasis returns the StopPriceLinkBasis field value if set, zero value otherwise.
func (*Order) GetStopPriceLinkBasisOk ¶
func (o *Order) GetStopPriceLinkBasisOk() (*StopPriceLinkBasis, bool)
GetStopPriceLinkBasisOk returns a tuple with the StopPriceLinkBasis field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetStopPriceLinkType ¶
func (o *Order) GetStopPriceLinkType() StopPriceLinkType
GetStopPriceLinkType returns the StopPriceLinkType field value if set, zero value otherwise.
func (*Order) GetStopPriceLinkTypeOk ¶
func (o *Order) GetStopPriceLinkTypeOk() (*StopPriceLinkType, bool)
GetStopPriceLinkTypeOk returns a tuple with the StopPriceLinkType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetStopPriceOffset ¶
GetStopPriceOffset returns the StopPriceOffset field value if set, zero value otherwise.
func (*Order) GetStopPriceOffsetOk ¶
GetStopPriceOffsetOk returns a tuple with the StopPriceOffset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetStopPriceOk ¶
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 (*Order) GetStopType ¶
GetStopType returns the StopType field value if set, zero value otherwise.
func (*Order) GetStopTypeOk ¶
GetStopTypeOk returns a tuple with the StopType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) GetTagOk ¶
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 (*Order) GetTaxLotMethod ¶
func (o *Order) GetTaxLotMethod() TaxLotMethod
GetTaxLotMethod returns the TaxLotMethod field value if set, zero value otherwise.
func (*Order) GetTaxLotMethodOk ¶
func (o *Order) GetTaxLotMethodOk() (*TaxLotMethod, bool)
GetTaxLotMethodOk returns a tuple with the TaxLotMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Order) HasAccountNumber ¶
HasAccountNumber returns a boolean if a field has been set.
func (*Order) HasActivationPrice ¶
HasActivationPrice returns a boolean if a field has been set.
func (*Order) HasCancelTime ¶
HasCancelTime returns a boolean if a field has been set.
func (*Order) HasCancelable ¶
HasCancelable returns a boolean if a field has been set.
func (*Order) HasChildOrderStrategies ¶
HasChildOrderStrategies returns a boolean if a field has been set.
func (*Order) HasCloseTime ¶
HasCloseTime returns a boolean if a field has been set.
func (*Order) HasComplexOrderStrategyType ¶
HasComplexOrderStrategyType returns a boolean if a field has been set.
func (*Order) HasDestinationLinkName ¶
HasDestinationLinkName returns a boolean if a field has been set.
func (*Order) HasDuration ¶
HasDuration returns a boolean if a field has been set.
func (*Order) HasEditable ¶
HasEditable returns a boolean if a field has been set.
func (*Order) HasEnteredTime ¶
HasEnteredTime returns a boolean if a field has been set.
func (*Order) HasFilledQuantity ¶
HasFilledQuantity returns a boolean if a field has been set.
func (*Order) HasOrderActivityCollection ¶
HasOrderActivityCollection returns a boolean if a field has been set.
func (*Order) HasOrderId ¶
HasOrderId returns a boolean if a field has been set.
func (*Order) HasOrderLegCollection ¶
HasOrderLegCollection returns a boolean if a field has been set.
func (*Order) HasOrderStrategyType ¶
HasOrderStrategyType returns a boolean if a field has been set.
func (*Order) HasOrderType ¶
HasOrderType returns a boolean if a field has been set.
func (*Order) HasPriceLinkBasis ¶
HasPriceLinkBasis returns a boolean if a field has been set.
func (*Order) HasPriceLinkType ¶
HasPriceLinkType returns a boolean if a field has been set.
func (*Order) HasQuantity ¶
HasQuantity returns a boolean if a field has been set.
func (*Order) HasReleaseTime ¶
HasReleaseTime returns a boolean if a field has been set.
func (*Order) HasRemainingQuantity ¶
HasRemainingQuantity returns a boolean if a field has been set.
func (*Order) HasReplacingOrderCollection ¶
HasReplacingOrderCollection returns a boolean if a field has been set.
func (*Order) HasRequestedDestination ¶
HasRequestedDestination returns a boolean if a field has been set.
func (*Order) HasSession ¶
HasSession returns a boolean if a field has been set.
func (*Order) HasSpecialInstruction ¶
HasSpecialInstruction returns a boolean if a field has been set.
func (*Order) HasStatusDescription ¶
HasStatusDescription returns a boolean if a field has been set.
func (*Order) HasStopPrice ¶
HasStopPrice returns a boolean if a field has been set.
func (*Order) HasStopPriceLinkBasis ¶
HasStopPriceLinkBasis returns a boolean if a field has been set.
func (*Order) HasStopPriceLinkType ¶
HasStopPriceLinkType returns a boolean if a field has been set.
func (*Order) HasStopPriceOffset ¶
HasStopPriceOffset returns a boolean if a field has been set.
func (*Order) HasStopType ¶
HasStopType returns a boolean if a field has been set.
func (*Order) HasTaxLotMethod ¶
HasTaxLotMethod returns a boolean if a field has been set.
func (Order) MarshalJSON ¶
func (*Order) SetAccountNumber ¶
SetAccountNumber gets a reference to the given int64 and assigns it to the AccountNumber field.
func (*Order) SetActivationPrice ¶
SetActivationPrice gets a reference to the given float64 and assigns it to the ActivationPrice field.
func (*Order) SetCancelTime ¶
SetCancelTime gets a reference to the given time.Time and assigns it to the CancelTime field.
func (*Order) SetCancelable ¶
SetCancelable gets a reference to the given bool and assigns it to the Cancelable field.
func (*Order) SetChildOrderStrategies ¶
SetChildOrderStrategies gets a reference to the given []Order and assigns it to the ChildOrderStrategies field.
func (*Order) SetCloseTime ¶
SetCloseTime gets a reference to the given time.Time and assigns it to the CloseTime field.
func (*Order) SetComplexOrderStrategyType ¶
func (o *Order) SetComplexOrderStrategyType(v ComplexOrderStrategyType)
SetComplexOrderStrategyType gets a reference to the given ComplexOrderStrategyType and assigns it to the ComplexOrderStrategyType field.
func (*Order) SetDestinationLinkName ¶
SetDestinationLinkName gets a reference to the given string and assigns it to the DestinationLinkName field.
func (*Order) SetDuration ¶
SetDuration gets a reference to the given Duration and assigns it to the Duration field.
func (*Order) SetEditable ¶
SetEditable gets a reference to the given bool and assigns it to the Editable field.
func (*Order) SetEnteredTime ¶
SetEnteredTime gets a reference to the given time.Time and assigns it to the EnteredTime field.
func (*Order) SetFilledQuantity ¶
SetFilledQuantity gets a reference to the given float64 and assigns it to the FilledQuantity field.
func (*Order) SetOrderActivityCollection ¶
func (o *Order) SetOrderActivityCollection(v []OrderActivity)
SetOrderActivityCollection gets a reference to the given []OrderActivity and assigns it to the OrderActivityCollection field.
func (*Order) SetOrderId ¶
SetOrderId gets a reference to the given int64 and assigns it to the OrderId field.
func (*Order) SetOrderLegCollection ¶
func (o *Order) SetOrderLegCollection(v []OrderLegCollection)
SetOrderLegCollection gets a reference to the given []OrderLegCollection and assigns it to the OrderLegCollection field.
func (*Order) SetOrderStrategyType ¶
func (o *Order) SetOrderStrategyType(v OrderStrategyType)
SetOrderStrategyType gets a reference to the given OrderStrategyType and assigns it to the OrderStrategyType field.
func (*Order) SetOrderType ¶
SetOrderType gets a reference to the given OrderType and assigns it to the OrderType field.
func (*Order) SetPrice ¶
SetPrice gets a reference to the given float64 and assigns it to the Price field.
func (*Order) SetPriceLinkBasis ¶
func (o *Order) SetPriceLinkBasis(v PriceLinkBasis)
SetPriceLinkBasis gets a reference to the given PriceLinkBasis and assigns it to the PriceLinkBasis field.
func (*Order) SetPriceLinkType ¶
func (o *Order) SetPriceLinkType(v PriceLinkType)
SetPriceLinkType gets a reference to the given PriceLinkType and assigns it to the PriceLinkType field.
func (*Order) SetQuantity ¶
SetQuantity gets a reference to the given float64 and assigns it to the Quantity field.
func (*Order) SetReleaseTime ¶
SetReleaseTime gets a reference to the given time.Time and assigns it to the ReleaseTime field.
func (*Order) SetRemainingQuantity ¶
SetRemainingQuantity gets a reference to the given float64 and assigns it to the RemainingQuantity field.
func (*Order) SetReplacingOrderCollection ¶
SetReplacingOrderCollection gets a reference to the given []Order and assigns it to the ReplacingOrderCollection field.
func (*Order) SetRequestedDestination ¶
func (o *Order) SetRequestedDestination(v RequestedDestination)
SetRequestedDestination gets a reference to the given RequestedDestination and assigns it to the RequestedDestination field.
func (*Order) SetSession ¶
SetSession gets a reference to the given Session and assigns it to the Session field.
func (*Order) SetSpecialInstruction ¶
func (o *Order) SetSpecialInstruction(v SpecialInstruction)
SetSpecialInstruction gets a reference to the given SpecialInstruction and assigns it to the SpecialInstruction field.
func (*Order) SetStatus ¶
SetStatus gets a reference to the given Status and assigns it to the Status field.
func (*Order) SetStatusDescription ¶
SetStatusDescription gets a reference to the given string and assigns it to the StatusDescription field.
func (*Order) SetStopPrice ¶
SetStopPrice gets a reference to the given float64 and assigns it to the StopPrice field.
func (*Order) SetStopPriceLinkBasis ¶
func (o *Order) SetStopPriceLinkBasis(v StopPriceLinkBasis)
SetStopPriceLinkBasis gets a reference to the given StopPriceLinkBasis and assigns it to the StopPriceLinkBasis field.
func (*Order) SetStopPriceLinkType ¶
func (o *Order) SetStopPriceLinkType(v StopPriceLinkType)
SetStopPriceLinkType gets a reference to the given StopPriceLinkType and assigns it to the StopPriceLinkType field.
func (*Order) SetStopPriceOffset ¶
SetStopPriceOffset gets a reference to the given float64 and assigns it to the StopPriceOffset field.
func (*Order) SetStopType ¶
SetStopType gets a reference to the given StopType and assigns it to the StopType field.
func (*Order) SetTaxLotMethod ¶
func (o *Order) SetTaxLotMethod(v TaxLotMethod)
SetTaxLotMethod gets a reference to the given TaxLotMethod and assigns it to the TaxLotMethod field.
type OrderActivity ¶
type OrderActivity struct { ActivityType *string `json:"activityType,omitempty"` ExecutionType *string `json:"executionType,omitempty"` Quantity *float64 `json:"quantity,omitempty"` OrderRemainingQuantity *float64 `json:"orderRemainingQuantity,omitempty"` ExecutionLegs []ExecutionLeg `json:"executionLegs,omitempty"` }
OrderActivity struct for OrderActivity
func NewOrderActivity ¶
func NewOrderActivity() *OrderActivity
NewOrderActivity instantiates a new OrderActivity 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 NewOrderActivityWithDefaults ¶
func NewOrderActivityWithDefaults() *OrderActivity
NewOrderActivityWithDefaults instantiates a new OrderActivity 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 (*OrderActivity) GetActivityType ¶
func (o *OrderActivity) GetActivityType() string
GetActivityType returns the ActivityType field value if set, zero value otherwise.
func (*OrderActivity) GetActivityTypeOk ¶
func (o *OrderActivity) GetActivityTypeOk() (*string, bool)
GetActivityTypeOk returns a tuple with the ActivityType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderActivity) GetExecutionLegs ¶
func (o *OrderActivity) GetExecutionLegs() []ExecutionLeg
GetExecutionLegs returns the ExecutionLegs field value if set, zero value otherwise.
func (*OrderActivity) GetExecutionLegsOk ¶
func (o *OrderActivity) GetExecutionLegsOk() ([]ExecutionLeg, bool)
GetExecutionLegsOk returns a tuple with the ExecutionLegs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderActivity) GetExecutionType ¶
func (o *OrderActivity) GetExecutionType() string
GetExecutionType returns the ExecutionType field value if set, zero value otherwise.
func (*OrderActivity) GetExecutionTypeOk ¶
func (o *OrderActivity) GetExecutionTypeOk() (*string, bool)
GetExecutionTypeOk returns a tuple with the ExecutionType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderActivity) GetOrderRemainingQuantity ¶
func (o *OrderActivity) GetOrderRemainingQuantity() float64
GetOrderRemainingQuantity returns the OrderRemainingQuantity field value if set, zero value otherwise.
func (*OrderActivity) GetOrderRemainingQuantityOk ¶
func (o *OrderActivity) GetOrderRemainingQuantityOk() (*float64, bool)
GetOrderRemainingQuantityOk returns a tuple with the OrderRemainingQuantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderActivity) GetQuantity ¶
func (o *OrderActivity) GetQuantity() float64
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*OrderActivity) GetQuantityOk ¶
func (o *OrderActivity) GetQuantityOk() (*float64, bool)
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderActivity) HasActivityType ¶
func (o *OrderActivity) HasActivityType() bool
HasActivityType returns a boolean if a field has been set.
func (*OrderActivity) HasExecutionLegs ¶
func (o *OrderActivity) HasExecutionLegs() bool
HasExecutionLegs returns a boolean if a field has been set.
func (*OrderActivity) HasExecutionType ¶
func (o *OrderActivity) HasExecutionType() bool
HasExecutionType returns a boolean if a field has been set.
func (*OrderActivity) HasOrderRemainingQuantity ¶
func (o *OrderActivity) HasOrderRemainingQuantity() bool
HasOrderRemainingQuantity returns a boolean if a field has been set.
func (*OrderActivity) HasQuantity ¶
func (o *OrderActivity) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (OrderActivity) MarshalJSON ¶
func (o OrderActivity) MarshalJSON() ([]byte, error)
func (*OrderActivity) SetActivityType ¶
func (o *OrderActivity) SetActivityType(v string)
SetActivityType gets a reference to the given string and assigns it to the ActivityType field.
func (*OrderActivity) SetExecutionLegs ¶
func (o *OrderActivity) SetExecutionLegs(v []ExecutionLeg)
SetExecutionLegs gets a reference to the given []ExecutionLeg and assigns it to the ExecutionLegs field.
func (*OrderActivity) SetExecutionType ¶
func (o *OrderActivity) SetExecutionType(v string)
SetExecutionType gets a reference to the given string and assigns it to the ExecutionType field.
func (*OrderActivity) SetOrderRemainingQuantity ¶
func (o *OrderActivity) SetOrderRemainingQuantity(v float64)
SetOrderRemainingQuantity gets a reference to the given float64 and assigns it to the OrderRemainingQuantity field.
func (*OrderActivity) SetQuantity ¶
func (o *OrderActivity) SetQuantity(v float64)
SetQuantity gets a reference to the given float64 and assigns it to the Quantity field.
func (OrderActivity) ToMap ¶
func (o OrderActivity) ToMap() (map[string]interface{}, error)
type OrderBalance ¶
type OrderBalance struct { OrderValue *float64 `json:"orderValue,omitempty"` ProjectedAvailableFund *float64 `json:"projectedAvailableFund,omitempty"` ProjectedBuyingPower *float64 `json:"projectedBuyingPower,omitempty"` ProjectedCommission *float64 `json:"projectedCommission,omitempty"` }
OrderBalance struct for OrderBalance
func NewOrderBalance ¶
func NewOrderBalance() *OrderBalance
NewOrderBalance instantiates a new OrderBalance 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 NewOrderBalanceWithDefaults ¶
func NewOrderBalanceWithDefaults() *OrderBalance
NewOrderBalanceWithDefaults instantiates a new OrderBalance 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 (*OrderBalance) GetOrderValue ¶
func (o *OrderBalance) GetOrderValue() float64
GetOrderValue returns the OrderValue field value if set, zero value otherwise.
func (*OrderBalance) GetOrderValueOk ¶
func (o *OrderBalance) GetOrderValueOk() (*float64, bool)
GetOrderValueOk returns a tuple with the OrderValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderBalance) GetProjectedAvailableFund ¶
func (o *OrderBalance) GetProjectedAvailableFund() float64
GetProjectedAvailableFund returns the ProjectedAvailableFund field value if set, zero value otherwise.
func (*OrderBalance) GetProjectedAvailableFundOk ¶
func (o *OrderBalance) GetProjectedAvailableFundOk() (*float64, bool)
GetProjectedAvailableFundOk returns a tuple with the ProjectedAvailableFund field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderBalance) GetProjectedBuyingPower ¶
func (o *OrderBalance) GetProjectedBuyingPower() float64
GetProjectedBuyingPower returns the ProjectedBuyingPower field value if set, zero value otherwise.
func (*OrderBalance) GetProjectedBuyingPowerOk ¶
func (o *OrderBalance) GetProjectedBuyingPowerOk() (*float64, bool)
GetProjectedBuyingPowerOk returns a tuple with the ProjectedBuyingPower field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderBalance) GetProjectedCommission ¶
func (o *OrderBalance) GetProjectedCommission() float64
GetProjectedCommission returns the ProjectedCommission field value if set, zero value otherwise.
func (*OrderBalance) GetProjectedCommissionOk ¶
func (o *OrderBalance) GetProjectedCommissionOk() (*float64, bool)
GetProjectedCommissionOk returns a tuple with the ProjectedCommission field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderBalance) HasOrderValue ¶
func (o *OrderBalance) HasOrderValue() bool
HasOrderValue returns a boolean if a field has been set.
func (*OrderBalance) HasProjectedAvailableFund ¶
func (o *OrderBalance) HasProjectedAvailableFund() bool
HasProjectedAvailableFund returns a boolean if a field has been set.
func (*OrderBalance) HasProjectedBuyingPower ¶
func (o *OrderBalance) HasProjectedBuyingPower() bool
HasProjectedBuyingPower returns a boolean if a field has been set.
func (*OrderBalance) HasProjectedCommission ¶
func (o *OrderBalance) HasProjectedCommission() bool
HasProjectedCommission returns a boolean if a field has been set.
func (OrderBalance) MarshalJSON ¶
func (o OrderBalance) MarshalJSON() ([]byte, error)
func (*OrderBalance) SetOrderValue ¶
func (o *OrderBalance) SetOrderValue(v float64)
SetOrderValue gets a reference to the given float64 and assigns it to the OrderValue field.
func (*OrderBalance) SetProjectedAvailableFund ¶
func (o *OrderBalance) SetProjectedAvailableFund(v float64)
SetProjectedAvailableFund gets a reference to the given float64 and assigns it to the ProjectedAvailableFund field.
func (*OrderBalance) SetProjectedBuyingPower ¶
func (o *OrderBalance) SetProjectedBuyingPower(v float64)
SetProjectedBuyingPower gets a reference to the given float64 and assigns it to the ProjectedBuyingPower field.
func (*OrderBalance) SetProjectedCommission ¶
func (o *OrderBalance) SetProjectedCommission(v float64)
SetProjectedCommission gets a reference to the given float64 and assigns it to the ProjectedCommission field.
func (OrderBalance) ToMap ¶
func (o OrderBalance) ToMap() (map[string]interface{}, error)
type OrderLeg ¶
type OrderLeg struct { AskPrice *float64 `json:"askPrice,omitempty"` BidPrice *float64 `json:"bidPrice,omitempty"` LastPrice *float64 `json:"lastPrice,omitempty"` MarkPrice *float64 `json:"markPrice,omitempty"` ProjectedCommission *float64 `json:"projectedCommission,omitempty"` Quantity *float64 `json:"quantity,omitempty"` FinalSymbol *string `json:"finalSymbol,omitempty"` LegId *float32 `json:"legId,omitempty"` AssetType *AssetType `json:"assetType,omitempty"` Instruction *Instruction `json:"instruction,omitempty"` }
OrderLeg struct for OrderLeg
func NewOrderLeg ¶
func NewOrderLeg() *OrderLeg
NewOrderLeg instantiates a new OrderLeg 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 NewOrderLegWithDefaults ¶
func NewOrderLegWithDefaults() *OrderLeg
NewOrderLegWithDefaults instantiates a new OrderLeg 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 (*OrderLeg) GetAskPrice ¶
GetAskPrice returns the AskPrice field value if set, zero value otherwise.
func (*OrderLeg) GetAskPriceOk ¶
GetAskPriceOk returns a tuple with the AskPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderLeg) GetAssetType ¶
GetAssetType returns the AssetType field value if set, zero value otherwise.
func (*OrderLeg) GetAssetTypeOk ¶
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 (*OrderLeg) GetBidPrice ¶
GetBidPrice returns the BidPrice field value if set, zero value otherwise.
func (*OrderLeg) GetBidPriceOk ¶
GetBidPriceOk returns a tuple with the BidPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderLeg) GetFinalSymbol ¶
GetFinalSymbol returns the FinalSymbol field value if set, zero value otherwise.
func (*OrderLeg) GetFinalSymbolOk ¶
GetFinalSymbolOk returns a tuple with the FinalSymbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderLeg) GetInstruction ¶
func (o *OrderLeg) GetInstruction() Instruction
GetInstruction returns the Instruction field value if set, zero value otherwise.
func (*OrderLeg) GetInstructionOk ¶
func (o *OrderLeg) GetInstructionOk() (*Instruction, bool)
GetInstructionOk returns a tuple with the Instruction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderLeg) GetLastPrice ¶
GetLastPrice returns the LastPrice field value if set, zero value otherwise.
func (*OrderLeg) GetLastPriceOk ¶
GetLastPriceOk returns a tuple with the LastPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderLeg) GetLegIdOk ¶
GetLegIdOk returns a tuple with the LegId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderLeg) GetMarkPrice ¶
GetMarkPrice returns the MarkPrice field value if set, zero value otherwise.
func (*OrderLeg) GetMarkPriceOk ¶
GetMarkPriceOk returns a tuple with the MarkPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderLeg) GetProjectedCommission ¶
GetProjectedCommission returns the ProjectedCommission field value if set, zero value otherwise.
func (*OrderLeg) GetProjectedCommissionOk ¶
GetProjectedCommissionOk returns a tuple with the ProjectedCommission field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderLeg) GetQuantity ¶
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*OrderLeg) GetQuantityOk ¶
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderLeg) HasAskPrice ¶
HasAskPrice returns a boolean if a field has been set.
func (*OrderLeg) HasAssetType ¶
HasAssetType returns a boolean if a field has been set.
func (*OrderLeg) HasBidPrice ¶
HasBidPrice returns a boolean if a field has been set.
func (*OrderLeg) HasFinalSymbol ¶
HasFinalSymbol returns a boolean if a field has been set.
func (*OrderLeg) HasInstruction ¶
HasInstruction returns a boolean if a field has been set.
func (*OrderLeg) HasLastPrice ¶
HasLastPrice returns a boolean if a field has been set.
func (*OrderLeg) HasMarkPrice ¶
HasMarkPrice returns a boolean if a field has been set.
func (*OrderLeg) HasProjectedCommission ¶
HasProjectedCommission returns a boolean if a field has been set.
func (*OrderLeg) HasQuantity ¶
HasQuantity returns a boolean if a field has been set.
func (OrderLeg) MarshalJSON ¶
func (*OrderLeg) SetAskPrice ¶
SetAskPrice gets a reference to the given float64 and assigns it to the AskPrice field.
func (*OrderLeg) SetAssetType ¶
SetAssetType gets a reference to the given AssetType and assigns it to the AssetType field.
func (*OrderLeg) SetBidPrice ¶
SetBidPrice gets a reference to the given float64 and assigns it to the BidPrice field.
func (*OrderLeg) SetFinalSymbol ¶
SetFinalSymbol gets a reference to the given string and assigns it to the FinalSymbol field.
func (*OrderLeg) SetInstruction ¶
func (o *OrderLeg) SetInstruction(v Instruction)
SetInstruction gets a reference to the given Instruction and assigns it to the Instruction field.
func (*OrderLeg) SetLastPrice ¶
SetLastPrice gets a reference to the given float64 and assigns it to the LastPrice field.
func (*OrderLeg) SetLegId ¶
SetLegId gets a reference to the given float32 and assigns it to the LegId field.
func (*OrderLeg) SetMarkPrice ¶
SetMarkPrice gets a reference to the given float64 and assigns it to the MarkPrice field.
func (*OrderLeg) SetProjectedCommission ¶
SetProjectedCommission gets a reference to the given float64 and assigns it to the ProjectedCommission field.
func (*OrderLeg) SetQuantity ¶
SetQuantity gets a reference to the given float64 and assigns it to the Quantity field.
type OrderLegCollection ¶
type OrderLegCollection struct { OrderLegType *string `json:"orderLegType,omitempty"` LegId *int64 `json:"legId,omitempty"` Instrument *AccountsInstrument `json:"instrument,omitempty"` Instruction *Instruction `json:"instruction,omitempty"` PositionEffect *string `json:"positionEffect,omitempty"` Quantity *float64 `json:"quantity,omitempty"` QuantityType *string `json:"quantityType,omitempty"` DivCapGains *string `json:"divCapGains,omitempty"` ToSymbol *string `json:"toSymbol,omitempty"` }
OrderLegCollection struct for OrderLegCollection
func NewOrderLegCollection ¶
func NewOrderLegCollection() *OrderLegCollection
NewOrderLegCollection instantiates a new OrderLegCollection 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 NewOrderLegCollectionWithDefaults ¶
func NewOrderLegCollectionWithDefaults() *OrderLegCollection
NewOrderLegCollectionWithDefaults instantiates a new OrderLegCollection 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 (*OrderLegCollection) GetDivCapGains ¶
func (o *OrderLegCollection) GetDivCapGains() string
GetDivCapGains returns the DivCapGains field value if set, zero value otherwise.
func (*OrderLegCollection) GetDivCapGainsOk ¶
func (o *OrderLegCollection) GetDivCapGainsOk() (*string, bool)
GetDivCapGainsOk returns a tuple with the DivCapGains field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderLegCollection) GetInstruction ¶
func (o *OrderLegCollection) GetInstruction() Instruction
GetInstruction returns the Instruction field value if set, zero value otherwise.
func (*OrderLegCollection) GetInstructionOk ¶
func (o *OrderLegCollection) GetInstructionOk() (*Instruction, bool)
GetInstructionOk returns a tuple with the Instruction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderLegCollection) GetInstrument ¶
func (o *OrderLegCollection) GetInstrument() AccountsInstrument
GetInstrument returns the Instrument field value if set, zero value otherwise.
func (*OrderLegCollection) GetInstrumentOk ¶
func (o *OrderLegCollection) GetInstrumentOk() (*AccountsInstrument, 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 (*OrderLegCollection) GetLegId ¶
func (o *OrderLegCollection) GetLegId() int64
GetLegId returns the LegId field value if set, zero value otherwise.
func (*OrderLegCollection) GetLegIdOk ¶
func (o *OrderLegCollection) GetLegIdOk() (*int64, 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.
func (*OrderLegCollection) GetOrderLegType ¶
func (o *OrderLegCollection) GetOrderLegType() string
GetOrderLegType returns the OrderLegType field value if set, zero value otherwise.
func (*OrderLegCollection) GetOrderLegTypeOk ¶
func (o *OrderLegCollection) GetOrderLegTypeOk() (*string, bool)
GetOrderLegTypeOk returns a tuple with the OrderLegType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderLegCollection) GetPositionEffect ¶
func (o *OrderLegCollection) GetPositionEffect() string
GetPositionEffect returns the PositionEffect field value if set, zero value otherwise.
func (*OrderLegCollection) GetPositionEffectOk ¶
func (o *OrderLegCollection) GetPositionEffectOk() (*string, bool)
GetPositionEffectOk returns a tuple with the PositionEffect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderLegCollection) GetQuantity ¶
func (o *OrderLegCollection) GetQuantity() float64
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*OrderLegCollection) GetQuantityOk ¶
func (o *OrderLegCollection) GetQuantityOk() (*float64, bool)
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderLegCollection) GetQuantityType ¶
func (o *OrderLegCollection) GetQuantityType() string
GetQuantityType returns the QuantityType field value if set, zero value otherwise.
func (*OrderLegCollection) GetQuantityTypeOk ¶
func (o *OrderLegCollection) GetQuantityTypeOk() (*string, bool)
GetQuantityTypeOk returns a tuple with the QuantityType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderLegCollection) GetToSymbol ¶
func (o *OrderLegCollection) GetToSymbol() string
GetToSymbol returns the ToSymbol field value if set, zero value otherwise.
func (*OrderLegCollection) GetToSymbolOk ¶
func (o *OrderLegCollection) GetToSymbolOk() (*string, bool)
GetToSymbolOk returns a tuple with the ToSymbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderLegCollection) HasDivCapGains ¶
func (o *OrderLegCollection) HasDivCapGains() bool
HasDivCapGains returns a boolean if a field has been set.
func (*OrderLegCollection) HasInstruction ¶
func (o *OrderLegCollection) HasInstruction() bool
HasInstruction returns a boolean if a field has been set.
func (*OrderLegCollection) HasInstrument ¶
func (o *OrderLegCollection) HasInstrument() bool
HasInstrument returns a boolean if a field has been set.
func (*OrderLegCollection) HasLegId ¶
func (o *OrderLegCollection) HasLegId() bool
HasLegId returns a boolean if a field has been set.
func (*OrderLegCollection) HasOrderLegType ¶
func (o *OrderLegCollection) HasOrderLegType() bool
HasOrderLegType returns a boolean if a field has been set.
func (*OrderLegCollection) HasPositionEffect ¶
func (o *OrderLegCollection) HasPositionEffect() bool
HasPositionEffect returns a boolean if a field has been set.
func (*OrderLegCollection) HasQuantity ¶
func (o *OrderLegCollection) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (*OrderLegCollection) HasQuantityType ¶
func (o *OrderLegCollection) HasQuantityType() bool
HasQuantityType returns a boolean if a field has been set.
func (*OrderLegCollection) HasToSymbol ¶
func (o *OrderLegCollection) HasToSymbol() bool
HasToSymbol returns a boolean if a field has been set.
func (OrderLegCollection) MarshalJSON ¶
func (o OrderLegCollection) MarshalJSON() ([]byte, error)
func (*OrderLegCollection) SetDivCapGains ¶
func (o *OrderLegCollection) SetDivCapGains(v string)
SetDivCapGains gets a reference to the given string and assigns it to the DivCapGains field.
func (*OrderLegCollection) SetInstruction ¶
func (o *OrderLegCollection) SetInstruction(v Instruction)
SetInstruction gets a reference to the given Instruction and assigns it to the Instruction field.
func (*OrderLegCollection) SetInstrument ¶
func (o *OrderLegCollection) SetInstrument(v AccountsInstrument)
SetInstrument gets a reference to the given AccountsInstrument and assigns it to the Instrument field.
func (*OrderLegCollection) SetLegId ¶
func (o *OrderLegCollection) SetLegId(v int64)
SetLegId gets a reference to the given int64 and assigns it to the LegId field.
func (*OrderLegCollection) SetOrderLegType ¶
func (o *OrderLegCollection) SetOrderLegType(v string)
SetOrderLegType gets a reference to the given string and assigns it to the OrderLegType field.
func (*OrderLegCollection) SetPositionEffect ¶
func (o *OrderLegCollection) SetPositionEffect(v string)
SetPositionEffect gets a reference to the given string and assigns it to the PositionEffect field.
func (*OrderLegCollection) SetQuantity ¶
func (o *OrderLegCollection) SetQuantity(v float64)
SetQuantity gets a reference to the given float64 and assigns it to the Quantity field.
func (*OrderLegCollection) SetQuantityType ¶
func (o *OrderLegCollection) SetQuantityType(v string)
SetQuantityType gets a reference to the given string and assigns it to the QuantityType field.
func (*OrderLegCollection) SetToSymbol ¶
func (o *OrderLegCollection) SetToSymbol(v string)
SetToSymbol gets a reference to the given string and assigns it to the ToSymbol field.
func (OrderLegCollection) ToMap ¶
func (o OrderLegCollection) ToMap() (map[string]interface{}, error)
type OrderRequest ¶
type OrderRequest struct { Session *Session `json:"session,omitempty"` Duration *Duration `json:"duration,omitempty"` OrderType *OrderTypeRequest `json:"orderType,omitempty"` CancelTime *time.Time `json:"cancelTime,omitempty"` ComplexOrderStrategyType *ComplexOrderStrategyType `json:"complexOrderStrategyType,omitempty"` Quantity *float64 `json:"quantity,omitempty"` FilledQuantity *float64 `json:"filledQuantity,omitempty"` RemainingQuantity *float64 `json:"remainingQuantity,omitempty"` DestinationLinkName *string `json:"destinationLinkName,omitempty"` ReleaseTime *time.Time `json:"releaseTime,omitempty"` StopPrice *float64 `json:"stopPrice,omitempty"` StopPriceLinkBasis *StopPriceLinkBasis `json:"stopPriceLinkBasis,omitempty"` StopPriceLinkType *StopPriceLinkType `json:"stopPriceLinkType,omitempty"` StopPriceOffset *float64 `json:"stopPriceOffset,omitempty"` StopType *StopType `json:"stopType,omitempty"` PriceLinkBasis *PriceLinkBasis `json:"priceLinkBasis,omitempty"` PriceLinkType *PriceLinkType `json:"priceLinkType,omitempty"` Price *float64 `json:"price,omitempty"` TaxLotMethod *TaxLotMethod `json:"taxLotMethod,omitempty"` OrderLegCollection []OrderLegCollection `json:"orderLegCollection,omitempty"` ActivationPrice *float64 `json:"activationPrice,omitempty"` SpecialInstruction *SpecialInstruction `json:"specialInstruction,omitempty"` OrderStrategyType *OrderStrategyType `json:"orderStrategyType,omitempty"` OrderId *int64 `json:"orderId,omitempty"` Cancelable *bool `json:"cancelable,omitempty"` Editable *bool `json:"editable,omitempty"` Status *Status `json:"status,omitempty"` EnteredTime *time.Time `json:"enteredTime,omitempty"` CloseTime *time.Time `json:"closeTime,omitempty"` AccountNumber *int64 `json:"accountNumber,omitempty"` OrderActivityCollection []OrderActivity `json:"orderActivityCollection,omitempty"` ReplacingOrderCollection []OrderRequest `json:"replacingOrderCollection,omitempty"` ChildOrderStrategies []OrderRequest `json:"childOrderStrategies,omitempty"` StatusDescription *string `json:"statusDescription,omitempty"` }
OrderRequest struct for OrderRequest
func NewOrderRequest ¶
func NewOrderRequest() *OrderRequest
NewOrderRequest instantiates a new OrderRequest 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 NewOrderRequestWithDefaults ¶
func NewOrderRequestWithDefaults() *OrderRequest
NewOrderRequestWithDefaults instantiates a new OrderRequest 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 (*OrderRequest) GetAccountNumber ¶
func (o *OrderRequest) GetAccountNumber() int64
GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.
func (*OrderRequest) GetAccountNumberOk ¶
func (o *OrderRequest) GetAccountNumberOk() (*int64, bool)
GetAccountNumberOk returns a tuple with the AccountNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetActivationPrice ¶
func (o *OrderRequest) GetActivationPrice() float64
GetActivationPrice returns the ActivationPrice field value if set, zero value otherwise.
func (*OrderRequest) GetActivationPriceOk ¶
func (o *OrderRequest) GetActivationPriceOk() (*float64, bool)
GetActivationPriceOk returns a tuple with the ActivationPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetCancelTime ¶
func (o *OrderRequest) GetCancelTime() time.Time
GetCancelTime returns the CancelTime field value if set, zero value otherwise.
func (*OrderRequest) GetCancelTimeOk ¶
func (o *OrderRequest) GetCancelTimeOk() (*time.Time, bool)
GetCancelTimeOk returns a tuple with the CancelTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetCancelable ¶
func (o *OrderRequest) GetCancelable() bool
GetCancelable returns the Cancelable field value if set, zero value otherwise.
func (*OrderRequest) GetCancelableOk ¶
func (o *OrderRequest) GetCancelableOk() (*bool, bool)
GetCancelableOk returns a tuple with the Cancelable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetChildOrderStrategies ¶
func (o *OrderRequest) GetChildOrderStrategies() []OrderRequest
GetChildOrderStrategies returns the ChildOrderStrategies field value if set, zero value otherwise.
func (*OrderRequest) GetChildOrderStrategiesOk ¶
func (o *OrderRequest) GetChildOrderStrategiesOk() ([]OrderRequest, bool)
GetChildOrderStrategiesOk returns a tuple with the ChildOrderStrategies field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetCloseTime ¶
func (o *OrderRequest) GetCloseTime() time.Time
GetCloseTime returns the CloseTime field value if set, zero value otherwise.
func (*OrderRequest) GetCloseTimeOk ¶
func (o *OrderRequest) GetCloseTimeOk() (*time.Time, bool)
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 (*OrderRequest) GetComplexOrderStrategyType ¶
func (o *OrderRequest) GetComplexOrderStrategyType() ComplexOrderStrategyType
GetComplexOrderStrategyType returns the ComplexOrderStrategyType field value if set, zero value otherwise.
func (*OrderRequest) GetComplexOrderStrategyTypeOk ¶
func (o *OrderRequest) GetComplexOrderStrategyTypeOk() (*ComplexOrderStrategyType, bool)
GetComplexOrderStrategyTypeOk returns a tuple with the ComplexOrderStrategyType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetDestinationLinkName ¶
func (o *OrderRequest) GetDestinationLinkName() string
GetDestinationLinkName returns the DestinationLinkName field value if set, zero value otherwise.
func (*OrderRequest) GetDestinationLinkNameOk ¶
func (o *OrderRequest) GetDestinationLinkNameOk() (*string, bool)
GetDestinationLinkNameOk returns a tuple with the DestinationLinkName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetDuration ¶
func (o *OrderRequest) GetDuration() Duration
GetDuration returns the Duration field value if set, zero value otherwise.
func (*OrderRequest) GetDurationOk ¶
func (o *OrderRequest) GetDurationOk() (*Duration, bool)
GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetEditable ¶
func (o *OrderRequest) GetEditable() bool
GetEditable returns the Editable field value if set, zero value otherwise.
func (*OrderRequest) GetEditableOk ¶
func (o *OrderRequest) GetEditableOk() (*bool, bool)
GetEditableOk returns a tuple with the Editable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetEnteredTime ¶
func (o *OrderRequest) GetEnteredTime() time.Time
GetEnteredTime returns the EnteredTime field value if set, zero value otherwise.
func (*OrderRequest) GetEnteredTimeOk ¶
func (o *OrderRequest) GetEnteredTimeOk() (*time.Time, bool)
GetEnteredTimeOk returns a tuple with the EnteredTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetFilledQuantity ¶
func (o *OrderRequest) GetFilledQuantity() float64
GetFilledQuantity returns the FilledQuantity field value if set, zero value otherwise.
func (*OrderRequest) GetFilledQuantityOk ¶
func (o *OrderRequest) GetFilledQuantityOk() (*float64, 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.
func (*OrderRequest) GetOrderActivityCollection ¶
func (o *OrderRequest) GetOrderActivityCollection() []OrderActivity
GetOrderActivityCollection returns the OrderActivityCollection field value if set, zero value otherwise.
func (*OrderRequest) GetOrderActivityCollectionOk ¶
func (o *OrderRequest) GetOrderActivityCollectionOk() ([]OrderActivity, bool)
GetOrderActivityCollectionOk returns a tuple with the OrderActivityCollection field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetOrderId ¶
func (o *OrderRequest) GetOrderId() int64
GetOrderId returns the OrderId field value if set, zero value otherwise.
func (*OrderRequest) GetOrderIdOk ¶
func (o *OrderRequest) GetOrderIdOk() (*int64, bool)
GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetOrderLegCollection ¶
func (o *OrderRequest) GetOrderLegCollection() []OrderLegCollection
GetOrderLegCollection returns the OrderLegCollection field value if set, zero value otherwise.
func (*OrderRequest) GetOrderLegCollectionOk ¶
func (o *OrderRequest) GetOrderLegCollectionOk() ([]OrderLegCollection, bool)
GetOrderLegCollectionOk returns a tuple with the OrderLegCollection field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetOrderStrategyType ¶
func (o *OrderRequest) GetOrderStrategyType() OrderStrategyType
GetOrderStrategyType returns the OrderStrategyType field value if set, zero value otherwise.
func (*OrderRequest) GetOrderStrategyTypeOk ¶
func (o *OrderRequest) GetOrderStrategyTypeOk() (*OrderStrategyType, bool)
GetOrderStrategyTypeOk returns a tuple with the OrderStrategyType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetOrderType ¶
func (o *OrderRequest) GetOrderType() OrderTypeRequest
GetOrderType returns the OrderType field value if set, zero value otherwise.
func (*OrderRequest) GetOrderTypeOk ¶
func (o *OrderRequest) GetOrderTypeOk() (*OrderTypeRequest, 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 (*OrderRequest) GetPrice ¶
func (o *OrderRequest) GetPrice() float64
GetPrice returns the Price field value if set, zero value otherwise.
func (*OrderRequest) GetPriceLinkBasis ¶
func (o *OrderRequest) GetPriceLinkBasis() PriceLinkBasis
GetPriceLinkBasis returns the PriceLinkBasis field value if set, zero value otherwise.
func (*OrderRequest) GetPriceLinkBasisOk ¶
func (o *OrderRequest) GetPriceLinkBasisOk() (*PriceLinkBasis, bool)
GetPriceLinkBasisOk returns a tuple with the PriceLinkBasis field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetPriceLinkType ¶
func (o *OrderRequest) GetPriceLinkType() PriceLinkType
GetPriceLinkType returns the PriceLinkType field value if set, zero value otherwise.
func (*OrderRequest) GetPriceLinkTypeOk ¶
func (o *OrderRequest) GetPriceLinkTypeOk() (*PriceLinkType, bool)
GetPriceLinkTypeOk returns a tuple with the PriceLinkType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetPriceOk ¶
func (o *OrderRequest) GetPriceOk() (*float64, 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 (*OrderRequest) GetQuantity ¶
func (o *OrderRequest) GetQuantity() float64
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*OrderRequest) GetQuantityOk ¶
func (o *OrderRequest) GetQuantityOk() (*float64, bool)
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetReleaseTime ¶
func (o *OrderRequest) GetReleaseTime() time.Time
GetReleaseTime returns the ReleaseTime field value if set, zero value otherwise.
func (*OrderRequest) GetReleaseTimeOk ¶
func (o *OrderRequest) GetReleaseTimeOk() (*time.Time, bool)
GetReleaseTimeOk returns a tuple with the ReleaseTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetRemainingQuantity ¶
func (o *OrderRequest) GetRemainingQuantity() float64
GetRemainingQuantity returns the RemainingQuantity field value if set, zero value otherwise.
func (*OrderRequest) GetRemainingQuantityOk ¶
func (o *OrderRequest) GetRemainingQuantityOk() (*float64, bool)
GetRemainingQuantityOk returns a tuple with the RemainingQuantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetReplacingOrderCollection ¶
func (o *OrderRequest) GetReplacingOrderCollection() []OrderRequest
GetReplacingOrderCollection returns the ReplacingOrderCollection field value if set, zero value otherwise.
func (*OrderRequest) GetReplacingOrderCollectionOk ¶
func (o *OrderRequest) GetReplacingOrderCollectionOk() ([]OrderRequest, bool)
GetReplacingOrderCollectionOk returns a tuple with the ReplacingOrderCollection field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetSession ¶
func (o *OrderRequest) GetSession() Session
GetSession returns the Session field value if set, zero value otherwise.
func (*OrderRequest) GetSessionOk ¶
func (o *OrderRequest) GetSessionOk() (*Session, bool)
GetSessionOk returns a tuple with the Session field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetSpecialInstruction ¶
func (o *OrderRequest) GetSpecialInstruction() SpecialInstruction
GetSpecialInstruction returns the SpecialInstruction field value if set, zero value otherwise.
func (*OrderRequest) GetSpecialInstructionOk ¶
func (o *OrderRequest) GetSpecialInstructionOk() (*SpecialInstruction, bool)
GetSpecialInstructionOk returns a tuple with the SpecialInstruction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetStatus ¶
func (o *OrderRequest) GetStatus() Status
GetStatus returns the Status field value if set, zero value otherwise.
func (*OrderRequest) GetStatusDescription ¶
func (o *OrderRequest) GetStatusDescription() string
GetStatusDescription returns the StatusDescription field value if set, zero value otherwise.
func (*OrderRequest) GetStatusDescriptionOk ¶
func (o *OrderRequest) GetStatusDescriptionOk() (*string, bool)
GetStatusDescriptionOk returns a tuple with the StatusDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetStatusOk ¶
func (o *OrderRequest) GetStatusOk() (*Status, 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 (*OrderRequest) GetStopPrice ¶
func (o *OrderRequest) GetStopPrice() float64
GetStopPrice returns the StopPrice field value if set, zero value otherwise.
func (*OrderRequest) GetStopPriceLinkBasis ¶
func (o *OrderRequest) GetStopPriceLinkBasis() StopPriceLinkBasis
GetStopPriceLinkBasis returns the StopPriceLinkBasis field value if set, zero value otherwise.
func (*OrderRequest) GetStopPriceLinkBasisOk ¶
func (o *OrderRequest) GetStopPriceLinkBasisOk() (*StopPriceLinkBasis, bool)
GetStopPriceLinkBasisOk returns a tuple with the StopPriceLinkBasis field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetStopPriceLinkType ¶
func (o *OrderRequest) GetStopPriceLinkType() StopPriceLinkType
GetStopPriceLinkType returns the StopPriceLinkType field value if set, zero value otherwise.
func (*OrderRequest) GetStopPriceLinkTypeOk ¶
func (o *OrderRequest) GetStopPriceLinkTypeOk() (*StopPriceLinkType, bool)
GetStopPriceLinkTypeOk returns a tuple with the StopPriceLinkType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetStopPriceOffset ¶
func (o *OrderRequest) GetStopPriceOffset() float64
GetStopPriceOffset returns the StopPriceOffset field value if set, zero value otherwise.
func (*OrderRequest) GetStopPriceOffsetOk ¶
func (o *OrderRequest) GetStopPriceOffsetOk() (*float64, bool)
GetStopPriceOffsetOk returns a tuple with the StopPriceOffset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetStopPriceOk ¶
func (o *OrderRequest) 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 (*OrderRequest) GetStopType ¶
func (o *OrderRequest) GetStopType() StopType
GetStopType returns the StopType field value if set, zero value otherwise.
func (*OrderRequest) GetStopTypeOk ¶
func (o *OrderRequest) GetStopTypeOk() (*StopType, bool)
GetStopTypeOk returns a tuple with the StopType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) GetTaxLotMethod ¶
func (o *OrderRequest) GetTaxLotMethod() TaxLotMethod
GetTaxLotMethod returns the TaxLotMethod field value if set, zero value otherwise.
func (*OrderRequest) GetTaxLotMethodOk ¶
func (o *OrderRequest) GetTaxLotMethodOk() (*TaxLotMethod, bool)
GetTaxLotMethodOk returns a tuple with the TaxLotMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderRequest) HasAccountNumber ¶
func (o *OrderRequest) HasAccountNumber() bool
HasAccountNumber returns a boolean if a field has been set.
func (*OrderRequest) HasActivationPrice ¶
func (o *OrderRequest) HasActivationPrice() bool
HasActivationPrice returns a boolean if a field has been set.
func (*OrderRequest) HasCancelTime ¶
func (o *OrderRequest) HasCancelTime() bool
HasCancelTime returns a boolean if a field has been set.
func (*OrderRequest) HasCancelable ¶
func (o *OrderRequest) HasCancelable() bool
HasCancelable returns a boolean if a field has been set.
func (*OrderRequest) HasChildOrderStrategies ¶
func (o *OrderRequest) HasChildOrderStrategies() bool
HasChildOrderStrategies returns a boolean if a field has been set.
func (*OrderRequest) HasCloseTime ¶
func (o *OrderRequest) HasCloseTime() bool
HasCloseTime returns a boolean if a field has been set.
func (*OrderRequest) HasComplexOrderStrategyType ¶
func (o *OrderRequest) HasComplexOrderStrategyType() bool
HasComplexOrderStrategyType returns a boolean if a field has been set.
func (*OrderRequest) HasDestinationLinkName ¶
func (o *OrderRequest) HasDestinationLinkName() bool
HasDestinationLinkName returns a boolean if a field has been set.
func (*OrderRequest) HasDuration ¶
func (o *OrderRequest) HasDuration() bool
HasDuration returns a boolean if a field has been set.
func (*OrderRequest) HasEditable ¶
func (o *OrderRequest) HasEditable() bool
HasEditable returns a boolean if a field has been set.
func (*OrderRequest) HasEnteredTime ¶
func (o *OrderRequest) HasEnteredTime() bool
HasEnteredTime returns a boolean if a field has been set.
func (*OrderRequest) HasFilledQuantity ¶
func (o *OrderRequest) HasFilledQuantity() bool
HasFilledQuantity returns a boolean if a field has been set.
func (*OrderRequest) HasOrderActivityCollection ¶
func (o *OrderRequest) HasOrderActivityCollection() bool
HasOrderActivityCollection returns a boolean if a field has been set.
func (*OrderRequest) HasOrderId ¶
func (o *OrderRequest) HasOrderId() bool
HasOrderId returns a boolean if a field has been set.
func (*OrderRequest) HasOrderLegCollection ¶
func (o *OrderRequest) HasOrderLegCollection() bool
HasOrderLegCollection returns a boolean if a field has been set.
func (*OrderRequest) HasOrderStrategyType ¶
func (o *OrderRequest) HasOrderStrategyType() bool
HasOrderStrategyType returns a boolean if a field has been set.
func (*OrderRequest) HasOrderType ¶
func (o *OrderRequest) HasOrderType() bool
HasOrderType returns a boolean if a field has been set.
func (*OrderRequest) HasPrice ¶
func (o *OrderRequest) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*OrderRequest) HasPriceLinkBasis ¶
func (o *OrderRequest) HasPriceLinkBasis() bool
HasPriceLinkBasis returns a boolean if a field has been set.
func (*OrderRequest) HasPriceLinkType ¶
func (o *OrderRequest) HasPriceLinkType() bool
HasPriceLinkType returns a boolean if a field has been set.
func (*OrderRequest) HasQuantity ¶
func (o *OrderRequest) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (*OrderRequest) HasReleaseTime ¶
func (o *OrderRequest) HasReleaseTime() bool
HasReleaseTime returns a boolean if a field has been set.
func (*OrderRequest) HasRemainingQuantity ¶
func (o *OrderRequest) HasRemainingQuantity() bool
HasRemainingQuantity returns a boolean if a field has been set.
func (*OrderRequest) HasReplacingOrderCollection ¶
func (o *OrderRequest) HasReplacingOrderCollection() bool
HasReplacingOrderCollection returns a boolean if a field has been set.
func (*OrderRequest) HasSession ¶
func (o *OrderRequest) HasSession() bool
HasSession returns a boolean if a field has been set.
func (*OrderRequest) HasSpecialInstruction ¶
func (o *OrderRequest) HasSpecialInstruction() bool
HasSpecialInstruction returns a boolean if a field has been set.
func (*OrderRequest) HasStatus ¶
func (o *OrderRequest) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*OrderRequest) HasStatusDescription ¶
func (o *OrderRequest) HasStatusDescription() bool
HasStatusDescription returns a boolean if a field has been set.
func (*OrderRequest) HasStopPrice ¶
func (o *OrderRequest) HasStopPrice() bool
HasStopPrice returns a boolean if a field has been set.
func (*OrderRequest) HasStopPriceLinkBasis ¶
func (o *OrderRequest) HasStopPriceLinkBasis() bool
HasStopPriceLinkBasis returns a boolean if a field has been set.
func (*OrderRequest) HasStopPriceLinkType ¶
func (o *OrderRequest) HasStopPriceLinkType() bool
HasStopPriceLinkType returns a boolean if a field has been set.
func (*OrderRequest) HasStopPriceOffset ¶
func (o *OrderRequest) HasStopPriceOffset() bool
HasStopPriceOffset returns a boolean if a field has been set.
func (*OrderRequest) HasStopType ¶
func (o *OrderRequest) HasStopType() bool
HasStopType returns a boolean if a field has been set.
func (*OrderRequest) HasTaxLotMethod ¶
func (o *OrderRequest) HasTaxLotMethod() bool
HasTaxLotMethod returns a boolean if a field has been set.
func (OrderRequest) MarshalJSON ¶
func (o OrderRequest) MarshalJSON() ([]byte, error)
func (*OrderRequest) SetAccountNumber ¶
func (o *OrderRequest) SetAccountNumber(v int64)
SetAccountNumber gets a reference to the given int64 and assigns it to the AccountNumber field.
func (*OrderRequest) SetActivationPrice ¶
func (o *OrderRequest) SetActivationPrice(v float64)
SetActivationPrice gets a reference to the given float64 and assigns it to the ActivationPrice field.
func (*OrderRequest) SetCancelTime ¶
func (o *OrderRequest) SetCancelTime(v time.Time)
SetCancelTime gets a reference to the given time.Time and assigns it to the CancelTime field.
func (*OrderRequest) SetCancelable ¶
func (o *OrderRequest) SetCancelable(v bool)
SetCancelable gets a reference to the given bool and assigns it to the Cancelable field.
func (*OrderRequest) SetChildOrderStrategies ¶
func (o *OrderRequest) SetChildOrderStrategies(v []OrderRequest)
SetChildOrderStrategies gets a reference to the given []OrderRequest and assigns it to the ChildOrderStrategies field.
func (*OrderRequest) SetCloseTime ¶
func (o *OrderRequest) SetCloseTime(v time.Time)
SetCloseTime gets a reference to the given time.Time and assigns it to the CloseTime field.
func (*OrderRequest) SetComplexOrderStrategyType ¶
func (o *OrderRequest) SetComplexOrderStrategyType(v ComplexOrderStrategyType)
SetComplexOrderStrategyType gets a reference to the given ComplexOrderStrategyType and assigns it to the ComplexOrderStrategyType field.
func (*OrderRequest) SetDestinationLinkName ¶
func (o *OrderRequest) SetDestinationLinkName(v string)
SetDestinationLinkName gets a reference to the given string and assigns it to the DestinationLinkName field.
func (*OrderRequest) SetDuration ¶
func (o *OrderRequest) SetDuration(v Duration)
SetDuration gets a reference to the given Duration and assigns it to the Duration field.
func (*OrderRequest) SetEditable ¶
func (o *OrderRequest) SetEditable(v bool)
SetEditable gets a reference to the given bool and assigns it to the Editable field.
func (*OrderRequest) SetEnteredTime ¶
func (o *OrderRequest) SetEnteredTime(v time.Time)
SetEnteredTime gets a reference to the given time.Time and assigns it to the EnteredTime field.
func (*OrderRequest) SetFilledQuantity ¶
func (o *OrderRequest) SetFilledQuantity(v float64)
SetFilledQuantity gets a reference to the given float64 and assigns it to the FilledQuantity field.
func (*OrderRequest) SetOrderActivityCollection ¶
func (o *OrderRequest) SetOrderActivityCollection(v []OrderActivity)
SetOrderActivityCollection gets a reference to the given []OrderActivity and assigns it to the OrderActivityCollection field.
func (*OrderRequest) SetOrderId ¶
func (o *OrderRequest) SetOrderId(v int64)
SetOrderId gets a reference to the given int64 and assigns it to the OrderId field.
func (*OrderRequest) SetOrderLegCollection ¶
func (o *OrderRequest) SetOrderLegCollection(v []OrderLegCollection)
SetOrderLegCollection gets a reference to the given []OrderLegCollection and assigns it to the OrderLegCollection field.
func (*OrderRequest) SetOrderStrategyType ¶
func (o *OrderRequest) SetOrderStrategyType(v OrderStrategyType)
SetOrderStrategyType gets a reference to the given OrderStrategyType and assigns it to the OrderStrategyType field.
func (*OrderRequest) SetOrderType ¶
func (o *OrderRequest) SetOrderType(v OrderTypeRequest)
SetOrderType gets a reference to the given OrderTypeRequest and assigns it to the OrderType field.
func (*OrderRequest) SetPrice ¶
func (o *OrderRequest) SetPrice(v float64)
SetPrice gets a reference to the given float64 and assigns it to the Price field.
func (*OrderRequest) SetPriceLinkBasis ¶
func (o *OrderRequest) SetPriceLinkBasis(v PriceLinkBasis)
SetPriceLinkBasis gets a reference to the given PriceLinkBasis and assigns it to the PriceLinkBasis field.
func (*OrderRequest) SetPriceLinkType ¶
func (o *OrderRequest) SetPriceLinkType(v PriceLinkType)
SetPriceLinkType gets a reference to the given PriceLinkType and assigns it to the PriceLinkType field.
func (*OrderRequest) SetQuantity ¶
func (o *OrderRequest) SetQuantity(v float64)
SetQuantity gets a reference to the given float64 and assigns it to the Quantity field.
func (*OrderRequest) SetReleaseTime ¶
func (o *OrderRequest) SetReleaseTime(v time.Time)
SetReleaseTime gets a reference to the given time.Time and assigns it to the ReleaseTime field.
func (*OrderRequest) SetRemainingQuantity ¶
func (o *OrderRequest) SetRemainingQuantity(v float64)
SetRemainingQuantity gets a reference to the given float64 and assigns it to the RemainingQuantity field.
func (*OrderRequest) SetReplacingOrderCollection ¶
func (o *OrderRequest) SetReplacingOrderCollection(v []OrderRequest)
SetReplacingOrderCollection gets a reference to the given []OrderRequest and assigns it to the ReplacingOrderCollection field.
func (*OrderRequest) SetSession ¶
func (o *OrderRequest) SetSession(v Session)
SetSession gets a reference to the given Session and assigns it to the Session field.
func (*OrderRequest) SetSpecialInstruction ¶
func (o *OrderRequest) SetSpecialInstruction(v SpecialInstruction)
SetSpecialInstruction gets a reference to the given SpecialInstruction and assigns it to the SpecialInstruction field.
func (*OrderRequest) SetStatus ¶
func (o *OrderRequest) SetStatus(v Status)
SetStatus gets a reference to the given Status and assigns it to the Status field.
func (*OrderRequest) SetStatusDescription ¶
func (o *OrderRequest) SetStatusDescription(v string)
SetStatusDescription gets a reference to the given string and assigns it to the StatusDescription field.
func (*OrderRequest) SetStopPrice ¶
func (o *OrderRequest) SetStopPrice(v float64)
SetStopPrice gets a reference to the given float64 and assigns it to the StopPrice field.
func (*OrderRequest) SetStopPriceLinkBasis ¶
func (o *OrderRequest) SetStopPriceLinkBasis(v StopPriceLinkBasis)
SetStopPriceLinkBasis gets a reference to the given StopPriceLinkBasis and assigns it to the StopPriceLinkBasis field.
func (*OrderRequest) SetStopPriceLinkType ¶
func (o *OrderRequest) SetStopPriceLinkType(v StopPriceLinkType)
SetStopPriceLinkType gets a reference to the given StopPriceLinkType and assigns it to the StopPriceLinkType field.
func (*OrderRequest) SetStopPriceOffset ¶
func (o *OrderRequest) SetStopPriceOffset(v float64)
SetStopPriceOffset gets a reference to the given float64 and assigns it to the StopPriceOffset field.
func (*OrderRequest) SetStopType ¶
func (o *OrderRequest) SetStopType(v StopType)
SetStopType gets a reference to the given StopType and assigns it to the StopType field.
func (*OrderRequest) SetTaxLotMethod ¶
func (o *OrderRequest) SetTaxLotMethod(v TaxLotMethod)
SetTaxLotMethod gets a reference to the given TaxLotMethod and assigns it to the TaxLotMethod field.
func (OrderRequest) ToMap ¶
func (o OrderRequest) ToMap() (map[string]interface{}, error)
type OrderStrategy ¶
type OrderStrategy struct { AccountNumber *string `json:"accountNumber,omitempty"` AdvancedOrderType *string `json:"advancedOrderType,omitempty"` CloseTime *time.Time `json:"closeTime,omitempty"` EnteredTime *time.Time `json:"enteredTime,omitempty"` OrderBalance *OrderBalance `json:"orderBalance,omitempty"` OrderStrategyType *OrderStrategyType `json:"orderStrategyType,omitempty"` OrderVersion *float32 `json:"orderVersion,omitempty"` Session *Session `json:"session,omitempty"` Status *ApiOrderStatus `json:"status,omitempty"` AllOrNone *bool `json:"allOrNone,omitempty"` Discretionary *bool `json:"discretionary,omitempty"` Duration *Duration `json:"duration,omitempty"` FilledQuantity *float64 `json:"filledQuantity,omitempty"` OrderType *OrderType `json:"orderType,omitempty"` OrderValue *float64 `json:"orderValue,omitempty"` Price *float64 `json:"price,omitempty"` Quantity *float64 `json:"quantity,omitempty"` RemainingQuantity *float64 `json:"remainingQuantity,omitempty"` SellNonMarginableFirst *bool `json:"sellNonMarginableFirst,omitempty"` SettlementInstruction *SettlementInstruction `json:"settlementInstruction,omitempty"` Strategy *ComplexOrderStrategyType `json:"strategy,omitempty"` AmountIndicator *AmountIndicator `json:"amountIndicator,omitempty"` OrderLegs []OrderLeg `json:"orderLegs,omitempty"` }
OrderStrategy struct for OrderStrategy
func NewOrderStrategy ¶
func NewOrderStrategy() *OrderStrategy
NewOrderStrategy instantiates a new OrderStrategy 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 NewOrderStrategyWithDefaults ¶
func NewOrderStrategyWithDefaults() *OrderStrategy
NewOrderStrategyWithDefaults instantiates a new OrderStrategy 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 (*OrderStrategy) GetAccountNumber ¶
func (o *OrderStrategy) GetAccountNumber() string
GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.
func (*OrderStrategy) GetAccountNumberOk ¶
func (o *OrderStrategy) GetAccountNumberOk() (*string, bool)
GetAccountNumberOk returns a tuple with the AccountNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) GetAdvancedOrderType ¶
func (o *OrderStrategy) GetAdvancedOrderType() string
GetAdvancedOrderType returns the AdvancedOrderType field value if set, zero value otherwise.
func (*OrderStrategy) GetAdvancedOrderTypeOk ¶
func (o *OrderStrategy) GetAdvancedOrderTypeOk() (*string, bool)
GetAdvancedOrderTypeOk returns a tuple with the AdvancedOrderType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) GetAllOrNone ¶
func (o *OrderStrategy) GetAllOrNone() bool
GetAllOrNone returns the AllOrNone field value if set, zero value otherwise.
func (*OrderStrategy) GetAllOrNoneOk ¶
func (o *OrderStrategy) GetAllOrNoneOk() (*bool, bool)
GetAllOrNoneOk returns a tuple with the AllOrNone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) GetAmountIndicator ¶
func (o *OrderStrategy) GetAmountIndicator() AmountIndicator
GetAmountIndicator returns the AmountIndicator field value if set, zero value otherwise.
func (*OrderStrategy) GetAmountIndicatorOk ¶
func (o *OrderStrategy) GetAmountIndicatorOk() (*AmountIndicator, bool)
GetAmountIndicatorOk returns a tuple with the AmountIndicator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) GetCloseTime ¶
func (o *OrderStrategy) GetCloseTime() time.Time
GetCloseTime returns the CloseTime field value if set, zero value otherwise.
func (*OrderStrategy) GetCloseTimeOk ¶
func (o *OrderStrategy) GetCloseTimeOk() (*time.Time, bool)
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 (*OrderStrategy) GetDiscretionary ¶
func (o *OrderStrategy) GetDiscretionary() bool
GetDiscretionary returns the Discretionary field value if set, zero value otherwise.
func (*OrderStrategy) GetDiscretionaryOk ¶
func (o *OrderStrategy) GetDiscretionaryOk() (*bool, bool)
GetDiscretionaryOk returns a tuple with the Discretionary field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) GetDuration ¶
func (o *OrderStrategy) GetDuration() Duration
GetDuration returns the Duration field value if set, zero value otherwise.
func (*OrderStrategy) GetDurationOk ¶
func (o *OrderStrategy) GetDurationOk() (*Duration, bool)
GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) GetEnteredTime ¶
func (o *OrderStrategy) GetEnteredTime() time.Time
GetEnteredTime returns the EnteredTime field value if set, zero value otherwise.
func (*OrderStrategy) GetEnteredTimeOk ¶
func (o *OrderStrategy) GetEnteredTimeOk() (*time.Time, bool)
GetEnteredTimeOk returns a tuple with the EnteredTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) GetFilledQuantity ¶
func (o *OrderStrategy) GetFilledQuantity() float64
GetFilledQuantity returns the FilledQuantity field value if set, zero value otherwise.
func (*OrderStrategy) GetFilledQuantityOk ¶
func (o *OrderStrategy) GetFilledQuantityOk() (*float64, 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.
func (*OrderStrategy) GetOrderBalance ¶
func (o *OrderStrategy) GetOrderBalance() OrderBalance
GetOrderBalance returns the OrderBalance field value if set, zero value otherwise.
func (*OrderStrategy) GetOrderBalanceOk ¶
func (o *OrderStrategy) GetOrderBalanceOk() (*OrderBalance, bool)
GetOrderBalanceOk returns a tuple with the OrderBalance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) GetOrderLegs ¶
func (o *OrderStrategy) GetOrderLegs() []OrderLeg
GetOrderLegs returns the OrderLegs field value if set, zero value otherwise.
func (*OrderStrategy) GetOrderLegsOk ¶
func (o *OrderStrategy) GetOrderLegsOk() ([]OrderLeg, bool)
GetOrderLegsOk returns a tuple with the OrderLegs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) GetOrderStrategyType ¶
func (o *OrderStrategy) GetOrderStrategyType() OrderStrategyType
GetOrderStrategyType returns the OrderStrategyType field value if set, zero value otherwise.
func (*OrderStrategy) GetOrderStrategyTypeOk ¶
func (o *OrderStrategy) GetOrderStrategyTypeOk() (*OrderStrategyType, bool)
GetOrderStrategyTypeOk returns a tuple with the OrderStrategyType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) GetOrderType ¶
func (o *OrderStrategy) GetOrderType() OrderType
GetOrderType returns the OrderType field value if set, zero value otherwise.
func (*OrderStrategy) GetOrderTypeOk ¶
func (o *OrderStrategy) GetOrderTypeOk() (*OrderType, 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 (*OrderStrategy) GetOrderValue ¶
func (o *OrderStrategy) GetOrderValue() float64
GetOrderValue returns the OrderValue field value if set, zero value otherwise.
func (*OrderStrategy) GetOrderValueOk ¶
func (o *OrderStrategy) GetOrderValueOk() (*float64, bool)
GetOrderValueOk returns a tuple with the OrderValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) GetOrderVersion ¶
func (o *OrderStrategy) GetOrderVersion() float32
GetOrderVersion returns the OrderVersion field value if set, zero value otherwise.
func (*OrderStrategy) GetOrderVersionOk ¶
func (o *OrderStrategy) GetOrderVersionOk() (*float32, bool)
GetOrderVersionOk returns a tuple with the OrderVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) GetPrice ¶
func (o *OrderStrategy) GetPrice() float64
GetPrice returns the Price field value if set, zero value otherwise.
func (*OrderStrategy) GetPriceOk ¶
func (o *OrderStrategy) GetPriceOk() (*float64, 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 (*OrderStrategy) GetQuantity ¶
func (o *OrderStrategy) GetQuantity() float64
GetQuantity returns the Quantity field value if set, zero value otherwise.
func (*OrderStrategy) GetQuantityOk ¶
func (o *OrderStrategy) GetQuantityOk() (*float64, bool)
GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) GetRemainingQuantity ¶
func (o *OrderStrategy) GetRemainingQuantity() float64
GetRemainingQuantity returns the RemainingQuantity field value if set, zero value otherwise.
func (*OrderStrategy) GetRemainingQuantityOk ¶
func (o *OrderStrategy) GetRemainingQuantityOk() (*float64, bool)
GetRemainingQuantityOk returns a tuple with the RemainingQuantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) GetSellNonMarginableFirst ¶
func (o *OrderStrategy) GetSellNonMarginableFirst() bool
GetSellNonMarginableFirst returns the SellNonMarginableFirst field value if set, zero value otherwise.
func (*OrderStrategy) GetSellNonMarginableFirstOk ¶
func (o *OrderStrategy) GetSellNonMarginableFirstOk() (*bool, bool)
GetSellNonMarginableFirstOk returns a tuple with the SellNonMarginableFirst field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) GetSession ¶
func (o *OrderStrategy) GetSession() Session
GetSession returns the Session field value if set, zero value otherwise.
func (*OrderStrategy) GetSessionOk ¶
func (o *OrderStrategy) GetSessionOk() (*Session, bool)
GetSessionOk returns a tuple with the Session field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) GetSettlementInstruction ¶
func (o *OrderStrategy) GetSettlementInstruction() SettlementInstruction
GetSettlementInstruction returns the SettlementInstruction field value if set, zero value otherwise.
func (*OrderStrategy) GetSettlementInstructionOk ¶
func (o *OrderStrategy) GetSettlementInstructionOk() (*SettlementInstruction, bool)
GetSettlementInstructionOk returns a tuple with the SettlementInstruction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) GetStatus ¶
func (o *OrderStrategy) GetStatus() ApiOrderStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*OrderStrategy) GetStatusOk ¶
func (o *OrderStrategy) GetStatusOk() (*ApiOrderStatus, 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 (*OrderStrategy) GetStrategy ¶
func (o *OrderStrategy) GetStrategy() ComplexOrderStrategyType
GetStrategy returns the Strategy field value if set, zero value otherwise.
func (*OrderStrategy) GetStrategyOk ¶
func (o *OrderStrategy) GetStrategyOk() (*ComplexOrderStrategyType, bool)
GetStrategyOk returns a tuple with the Strategy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderStrategy) HasAccountNumber ¶
func (o *OrderStrategy) HasAccountNumber() bool
HasAccountNumber returns a boolean if a field has been set.
func (*OrderStrategy) HasAdvancedOrderType ¶
func (o *OrderStrategy) HasAdvancedOrderType() bool
HasAdvancedOrderType returns a boolean if a field has been set.
func (*OrderStrategy) HasAllOrNone ¶
func (o *OrderStrategy) HasAllOrNone() bool
HasAllOrNone returns a boolean if a field has been set.
func (*OrderStrategy) HasAmountIndicator ¶
func (o *OrderStrategy) HasAmountIndicator() bool
HasAmountIndicator returns a boolean if a field has been set.
func (*OrderStrategy) HasCloseTime ¶
func (o *OrderStrategy) HasCloseTime() bool
HasCloseTime returns a boolean if a field has been set.
func (*OrderStrategy) HasDiscretionary ¶
func (o *OrderStrategy) HasDiscretionary() bool
HasDiscretionary returns a boolean if a field has been set.
func (*OrderStrategy) HasDuration ¶
func (o *OrderStrategy) HasDuration() bool
HasDuration returns a boolean if a field has been set.
func (*OrderStrategy) HasEnteredTime ¶
func (o *OrderStrategy) HasEnteredTime() bool
HasEnteredTime returns a boolean if a field has been set.
func (*OrderStrategy) HasFilledQuantity ¶
func (o *OrderStrategy) HasFilledQuantity() bool
HasFilledQuantity returns a boolean if a field has been set.
func (*OrderStrategy) HasOrderBalance ¶
func (o *OrderStrategy) HasOrderBalance() bool
HasOrderBalance returns a boolean if a field has been set.
func (*OrderStrategy) HasOrderLegs ¶
func (o *OrderStrategy) HasOrderLegs() bool
HasOrderLegs returns a boolean if a field has been set.
func (*OrderStrategy) HasOrderStrategyType ¶
func (o *OrderStrategy) HasOrderStrategyType() bool
HasOrderStrategyType returns a boolean if a field has been set.
func (*OrderStrategy) HasOrderType ¶
func (o *OrderStrategy) HasOrderType() bool
HasOrderType returns a boolean if a field has been set.
func (*OrderStrategy) HasOrderValue ¶
func (o *OrderStrategy) HasOrderValue() bool
HasOrderValue returns a boolean if a field has been set.
func (*OrderStrategy) HasOrderVersion ¶
func (o *OrderStrategy) HasOrderVersion() bool
HasOrderVersion returns a boolean if a field has been set.
func (*OrderStrategy) HasPrice ¶
func (o *OrderStrategy) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*OrderStrategy) HasQuantity ¶
func (o *OrderStrategy) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (*OrderStrategy) HasRemainingQuantity ¶
func (o *OrderStrategy) HasRemainingQuantity() bool
HasRemainingQuantity returns a boolean if a field has been set.
func (*OrderStrategy) HasSellNonMarginableFirst ¶
func (o *OrderStrategy) HasSellNonMarginableFirst() bool
HasSellNonMarginableFirst returns a boolean if a field has been set.
func (*OrderStrategy) HasSession ¶
func (o *OrderStrategy) HasSession() bool
HasSession returns a boolean if a field has been set.
func (*OrderStrategy) HasSettlementInstruction ¶
func (o *OrderStrategy) HasSettlementInstruction() bool
HasSettlementInstruction returns a boolean if a field has been set.
func (*OrderStrategy) HasStatus ¶
func (o *OrderStrategy) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*OrderStrategy) HasStrategy ¶
func (o *OrderStrategy) HasStrategy() bool
HasStrategy returns a boolean if a field has been set.
func (OrderStrategy) MarshalJSON ¶
func (o OrderStrategy) MarshalJSON() ([]byte, error)
func (*OrderStrategy) SetAccountNumber ¶
func (o *OrderStrategy) SetAccountNumber(v string)
SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.
func (*OrderStrategy) SetAdvancedOrderType ¶
func (o *OrderStrategy) SetAdvancedOrderType(v string)
SetAdvancedOrderType gets a reference to the given string and assigns it to the AdvancedOrderType field.
func (*OrderStrategy) SetAllOrNone ¶
func (o *OrderStrategy) SetAllOrNone(v bool)
SetAllOrNone gets a reference to the given bool and assigns it to the AllOrNone field.
func (*OrderStrategy) SetAmountIndicator ¶
func (o *OrderStrategy) SetAmountIndicator(v AmountIndicator)
SetAmountIndicator gets a reference to the given AmountIndicator and assigns it to the AmountIndicator field.
func (*OrderStrategy) SetCloseTime ¶
func (o *OrderStrategy) SetCloseTime(v time.Time)
SetCloseTime gets a reference to the given time.Time and assigns it to the CloseTime field.
func (*OrderStrategy) SetDiscretionary ¶
func (o *OrderStrategy) SetDiscretionary(v bool)
SetDiscretionary gets a reference to the given bool and assigns it to the Discretionary field.
func (*OrderStrategy) SetDuration ¶
func (o *OrderStrategy) SetDuration(v Duration)
SetDuration gets a reference to the given Duration and assigns it to the Duration field.
func (*OrderStrategy) SetEnteredTime ¶
func (o *OrderStrategy) SetEnteredTime(v time.Time)
SetEnteredTime gets a reference to the given time.Time and assigns it to the EnteredTime field.
func (*OrderStrategy) SetFilledQuantity ¶
func (o *OrderStrategy) SetFilledQuantity(v float64)
SetFilledQuantity gets a reference to the given float64 and assigns it to the FilledQuantity field.
func (*OrderStrategy) SetOrderBalance ¶
func (o *OrderStrategy) SetOrderBalance(v OrderBalance)
SetOrderBalance gets a reference to the given OrderBalance and assigns it to the OrderBalance field.
func (*OrderStrategy) SetOrderLegs ¶
func (o *OrderStrategy) SetOrderLegs(v []OrderLeg)
SetOrderLegs gets a reference to the given []OrderLeg and assigns it to the OrderLegs field.
func (*OrderStrategy) SetOrderStrategyType ¶
func (o *OrderStrategy) SetOrderStrategyType(v OrderStrategyType)
SetOrderStrategyType gets a reference to the given OrderStrategyType and assigns it to the OrderStrategyType field.
func (*OrderStrategy) SetOrderType ¶
func (o *OrderStrategy) SetOrderType(v OrderType)
SetOrderType gets a reference to the given OrderType and assigns it to the OrderType field.
func (*OrderStrategy) SetOrderValue ¶
func (o *OrderStrategy) SetOrderValue(v float64)
SetOrderValue gets a reference to the given float64 and assigns it to the OrderValue field.
func (*OrderStrategy) SetOrderVersion ¶
func (o *OrderStrategy) SetOrderVersion(v float32)
SetOrderVersion gets a reference to the given float32 and assigns it to the OrderVersion field.
func (*OrderStrategy) SetPrice ¶
func (o *OrderStrategy) SetPrice(v float64)
SetPrice gets a reference to the given float64 and assigns it to the Price field.
func (*OrderStrategy) SetQuantity ¶
func (o *OrderStrategy) SetQuantity(v float64)
SetQuantity gets a reference to the given float64 and assigns it to the Quantity field.
func (*OrderStrategy) SetRemainingQuantity ¶
func (o *OrderStrategy) SetRemainingQuantity(v float64)
SetRemainingQuantity gets a reference to the given float64 and assigns it to the RemainingQuantity field.
func (*OrderStrategy) SetSellNonMarginableFirst ¶
func (o *OrderStrategy) SetSellNonMarginableFirst(v bool)
SetSellNonMarginableFirst gets a reference to the given bool and assigns it to the SellNonMarginableFirst field.
func (*OrderStrategy) SetSession ¶
func (o *OrderStrategy) SetSession(v Session)
SetSession gets a reference to the given Session and assigns it to the Session field.
func (*OrderStrategy) SetSettlementInstruction ¶
func (o *OrderStrategy) SetSettlementInstruction(v SettlementInstruction)
SetSettlementInstruction gets a reference to the given SettlementInstruction and assigns it to the SettlementInstruction field.
func (*OrderStrategy) SetStatus ¶
func (o *OrderStrategy) SetStatus(v ApiOrderStatus)
SetStatus gets a reference to the given ApiOrderStatus and assigns it to the Status field.
func (*OrderStrategy) SetStrategy ¶
func (o *OrderStrategy) SetStrategy(v ComplexOrderStrategyType)
SetStrategy gets a reference to the given ComplexOrderStrategyType and assigns it to the Strategy field.
func (OrderStrategy) ToMap ¶
func (o OrderStrategy) ToMap() (map[string]interface{}, error)
type OrderStrategyType ¶
type OrderStrategyType string
OrderStrategyType the model 'OrderStrategyType'
const ( ORDERSTRATEGYTYPE_SINGLE OrderStrategyType = "SINGLE" ORDERSTRATEGYTYPE_CANCEL OrderStrategyType = "CANCEL" ORDERSTRATEGYTYPE_RECALL OrderStrategyType = "RECALL" ORDERSTRATEGYTYPE_PAIR OrderStrategyType = "PAIR" ORDERSTRATEGYTYPE_FLATTEN OrderStrategyType = "FLATTEN" ORDERSTRATEGYTYPE_TWO_DAY_SWAP OrderStrategyType = "TWO_DAY_SWAP" ORDERSTRATEGYTYPE_BLAST_ALL OrderStrategyType = "BLAST_ALL" ORDERSTRATEGYTYPE_OCO OrderStrategyType = "OCO" ORDERSTRATEGYTYPE_TRIGGER OrderStrategyType = "TRIGGER" )
List of orderStrategyType
func NewOrderStrategyTypeFromValue ¶
func NewOrderStrategyTypeFromValue(v string) (*OrderStrategyType, error)
NewOrderStrategyTypeFromValue returns a pointer to a valid OrderStrategyType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (OrderStrategyType) IsValid ¶
func (v OrderStrategyType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (OrderStrategyType) Ptr ¶
func (v OrderStrategyType) Ptr() *OrderStrategyType
Ptr returns reference to orderStrategyType value
func (*OrderStrategyType) UnmarshalJSON ¶
func (v *OrderStrategyType) UnmarshalJSON(src []byte) error
type OrderType ¶
type OrderType string
OrderType the model 'OrderType'
const ( ORDERTYPE_MARKET OrderType = "MARKET" ORDERTYPE_LIMIT OrderType = "LIMIT" ORDERTYPE_STOP OrderType = "STOP" ORDERTYPE_STOP_LIMIT OrderType = "STOP_LIMIT" ORDERTYPE_TRAILING_STOP OrderType = "TRAILING_STOP" ORDERTYPE_CABINET OrderType = "CABINET" ORDERTYPE_NON_MARKETABLE OrderType = "NON_MARKETABLE" ORDERTYPE_MARKET_ON_CLOSE OrderType = "MARKET_ON_CLOSE" ORDERTYPE_EXERCISE OrderType = "EXERCISE" ORDERTYPE_TRAILING_STOP_LIMIT OrderType = "TRAILING_STOP_LIMIT" ORDERTYPE_NET_DEBIT OrderType = "NET_DEBIT" ORDERTYPE_NET_CREDIT OrderType = "NET_CREDIT" ORDERTYPE_NET_ZERO OrderType = "NET_ZERO" ORDERTYPE_LIMIT_ON_CLOSE OrderType = "LIMIT_ON_CLOSE" ORDERTYPE_UNKNOWN OrderType = "UNKNOWN" )
List of orderType
func NewOrderTypeFromValue ¶
NewOrderTypeFromValue returns a pointer to a valid OrderType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*OrderType) UnmarshalJSON ¶
type OrderTypeRequest ¶
type OrderTypeRequest string
OrderTypeRequest Same as orderType, but does not have UNKNOWN since this type is not allowed as an input
const ( ORDERTYPEREQUEST_MARKET OrderTypeRequest = "MARKET" ORDERTYPEREQUEST_LIMIT OrderTypeRequest = "LIMIT" ORDERTYPEREQUEST_STOP OrderTypeRequest = "STOP" ORDERTYPEREQUEST_STOP_LIMIT OrderTypeRequest = "STOP_LIMIT" ORDERTYPEREQUEST_TRAILING_STOP OrderTypeRequest = "TRAILING_STOP" ORDERTYPEREQUEST_CABINET OrderTypeRequest = "CABINET" ORDERTYPEREQUEST_NON_MARKETABLE OrderTypeRequest = "NON_MARKETABLE" ORDERTYPEREQUEST_MARKET_ON_CLOSE OrderTypeRequest = "MARKET_ON_CLOSE" ORDERTYPEREQUEST_EXERCISE OrderTypeRequest = "EXERCISE" ORDERTYPEREQUEST_TRAILING_STOP_LIMIT OrderTypeRequest = "TRAILING_STOP_LIMIT" ORDERTYPEREQUEST_NET_DEBIT OrderTypeRequest = "NET_DEBIT" ORDERTYPEREQUEST_NET_CREDIT OrderTypeRequest = "NET_CREDIT" ORDERTYPEREQUEST_NET_ZERO OrderTypeRequest = "NET_ZERO" ORDERTYPEREQUEST_LIMIT_ON_CLOSE OrderTypeRequest = "LIMIT_ON_CLOSE" )
List of orderTypeRequest
func NewOrderTypeRequestFromValue ¶
func NewOrderTypeRequestFromValue(v string) (*OrderTypeRequest, error)
NewOrderTypeRequestFromValue returns a pointer to a valid OrderTypeRequest for the value passed as argument, or an error if the value passed is not allowed by the enum
func (OrderTypeRequest) IsValid ¶
func (v OrderTypeRequest) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (OrderTypeRequest) Ptr ¶
func (v OrderTypeRequest) Ptr() *OrderTypeRequest
Ptr returns reference to orderTypeRequest value
func (*OrderTypeRequest) UnmarshalJSON ¶
func (v *OrderTypeRequest) UnmarshalJSON(src []byte) error
type OrderValidationDetail ¶
type OrderValidationDetail struct { ValidationRuleName *string `json:"validationRuleName,omitempty"` Message *string `json:"message,omitempty"` ActivityMessage *string `json:"activityMessage,omitempty"` OriginalSeverity *APIRuleAction `json:"originalSeverity,omitempty"` OverrideName *string `json:"overrideName,omitempty"` OverrideSeverity *APIRuleAction `json:"overrideSeverity,omitempty"` }
OrderValidationDetail struct for OrderValidationDetail
func NewOrderValidationDetail ¶
func NewOrderValidationDetail() *OrderValidationDetail
NewOrderValidationDetail instantiates a new OrderValidationDetail 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 NewOrderValidationDetailWithDefaults ¶
func NewOrderValidationDetailWithDefaults() *OrderValidationDetail
NewOrderValidationDetailWithDefaults instantiates a new OrderValidationDetail 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 (*OrderValidationDetail) GetActivityMessage ¶
func (o *OrderValidationDetail) GetActivityMessage() string
GetActivityMessage returns the ActivityMessage field value if set, zero value otherwise.
func (*OrderValidationDetail) GetActivityMessageOk ¶
func (o *OrderValidationDetail) GetActivityMessageOk() (*string, bool)
GetActivityMessageOk returns a tuple with the ActivityMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderValidationDetail) GetMessage ¶
func (o *OrderValidationDetail) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*OrderValidationDetail) GetMessageOk ¶
func (o *OrderValidationDetail) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderValidationDetail) GetOriginalSeverity ¶
func (o *OrderValidationDetail) GetOriginalSeverity() APIRuleAction
GetOriginalSeverity returns the OriginalSeverity field value if set, zero value otherwise.
func (*OrderValidationDetail) GetOriginalSeverityOk ¶
func (o *OrderValidationDetail) GetOriginalSeverityOk() (*APIRuleAction, bool)
GetOriginalSeverityOk returns a tuple with the OriginalSeverity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderValidationDetail) GetOverrideName ¶
func (o *OrderValidationDetail) GetOverrideName() string
GetOverrideName returns the OverrideName field value if set, zero value otherwise.
func (*OrderValidationDetail) GetOverrideNameOk ¶
func (o *OrderValidationDetail) GetOverrideNameOk() (*string, bool)
GetOverrideNameOk returns a tuple with the OverrideName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderValidationDetail) GetOverrideSeverity ¶
func (o *OrderValidationDetail) GetOverrideSeverity() APIRuleAction
GetOverrideSeverity returns the OverrideSeverity field value if set, zero value otherwise.
func (*OrderValidationDetail) GetOverrideSeverityOk ¶
func (o *OrderValidationDetail) GetOverrideSeverityOk() (*APIRuleAction, bool)
GetOverrideSeverityOk returns a tuple with the OverrideSeverity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderValidationDetail) GetValidationRuleName ¶
func (o *OrderValidationDetail) GetValidationRuleName() string
GetValidationRuleName returns the ValidationRuleName field value if set, zero value otherwise.
func (*OrderValidationDetail) GetValidationRuleNameOk ¶
func (o *OrderValidationDetail) GetValidationRuleNameOk() (*string, bool)
GetValidationRuleNameOk returns a tuple with the ValidationRuleName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderValidationDetail) HasActivityMessage ¶
func (o *OrderValidationDetail) HasActivityMessage() bool
HasActivityMessage returns a boolean if a field has been set.
func (*OrderValidationDetail) HasMessage ¶
func (o *OrderValidationDetail) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*OrderValidationDetail) HasOriginalSeverity ¶
func (o *OrderValidationDetail) HasOriginalSeverity() bool
HasOriginalSeverity returns a boolean if a field has been set.
func (*OrderValidationDetail) HasOverrideName ¶
func (o *OrderValidationDetail) HasOverrideName() bool
HasOverrideName returns a boolean if a field has been set.
func (*OrderValidationDetail) HasOverrideSeverity ¶
func (o *OrderValidationDetail) HasOverrideSeverity() bool
HasOverrideSeverity returns a boolean if a field has been set.
func (*OrderValidationDetail) HasValidationRuleName ¶
func (o *OrderValidationDetail) HasValidationRuleName() bool
HasValidationRuleName returns a boolean if a field has been set.
func (OrderValidationDetail) MarshalJSON ¶
func (o OrderValidationDetail) MarshalJSON() ([]byte, error)
func (*OrderValidationDetail) SetActivityMessage ¶
func (o *OrderValidationDetail) SetActivityMessage(v string)
SetActivityMessage gets a reference to the given string and assigns it to the ActivityMessage field.
func (*OrderValidationDetail) SetMessage ¶
func (o *OrderValidationDetail) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*OrderValidationDetail) SetOriginalSeverity ¶
func (o *OrderValidationDetail) SetOriginalSeverity(v APIRuleAction)
SetOriginalSeverity gets a reference to the given APIRuleAction and assigns it to the OriginalSeverity field.
func (*OrderValidationDetail) SetOverrideName ¶
func (o *OrderValidationDetail) SetOverrideName(v string)
SetOverrideName gets a reference to the given string and assigns it to the OverrideName field.
func (*OrderValidationDetail) SetOverrideSeverity ¶
func (o *OrderValidationDetail) SetOverrideSeverity(v APIRuleAction)
SetOverrideSeverity gets a reference to the given APIRuleAction and assigns it to the OverrideSeverity field.
func (*OrderValidationDetail) SetValidationRuleName ¶
func (o *OrderValidationDetail) SetValidationRuleName(v string)
SetValidationRuleName gets a reference to the given string and assigns it to the ValidationRuleName field.
func (OrderValidationDetail) ToMap ¶
func (o OrderValidationDetail) ToMap() (map[string]interface{}, error)
type OrderValidationResult ¶
type OrderValidationResult struct { Alerts []OrderValidationDetail `json:"alerts,omitempty"` Accepts []OrderValidationDetail `json:"accepts,omitempty"` Rejects []OrderValidationDetail `json:"rejects,omitempty"` Reviews []OrderValidationDetail `json:"reviews,omitempty"` Warns []OrderValidationDetail `json:"warns,omitempty"` }
OrderValidationResult struct for OrderValidationResult
func NewOrderValidationResult ¶
func NewOrderValidationResult() *OrderValidationResult
NewOrderValidationResult instantiates a new OrderValidationResult 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 NewOrderValidationResultWithDefaults ¶
func NewOrderValidationResultWithDefaults() *OrderValidationResult
NewOrderValidationResultWithDefaults instantiates a new OrderValidationResult 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 (*OrderValidationResult) GetAccepts ¶
func (o *OrderValidationResult) GetAccepts() []OrderValidationDetail
GetAccepts returns the Accepts field value if set, zero value otherwise.
func (*OrderValidationResult) GetAcceptsOk ¶
func (o *OrderValidationResult) GetAcceptsOk() ([]OrderValidationDetail, bool)
GetAcceptsOk returns a tuple with the Accepts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderValidationResult) GetAlerts ¶
func (o *OrderValidationResult) GetAlerts() []OrderValidationDetail
GetAlerts returns the Alerts field value if set, zero value otherwise.
func (*OrderValidationResult) GetAlertsOk ¶
func (o *OrderValidationResult) GetAlertsOk() ([]OrderValidationDetail, bool)
GetAlertsOk returns a tuple with the Alerts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderValidationResult) GetRejects ¶
func (o *OrderValidationResult) GetRejects() []OrderValidationDetail
GetRejects returns the Rejects field value if set, zero value otherwise.
func (*OrderValidationResult) GetRejectsOk ¶
func (o *OrderValidationResult) GetRejectsOk() ([]OrderValidationDetail, bool)
GetRejectsOk returns a tuple with the Rejects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderValidationResult) GetReviews ¶
func (o *OrderValidationResult) GetReviews() []OrderValidationDetail
GetReviews returns the Reviews field value if set, zero value otherwise.
func (*OrderValidationResult) GetReviewsOk ¶
func (o *OrderValidationResult) GetReviewsOk() ([]OrderValidationDetail, bool)
GetReviewsOk returns a tuple with the Reviews field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderValidationResult) GetWarns ¶
func (o *OrderValidationResult) GetWarns() []OrderValidationDetail
GetWarns returns the Warns field value if set, zero value otherwise.
func (*OrderValidationResult) GetWarnsOk ¶
func (o *OrderValidationResult) GetWarnsOk() ([]OrderValidationDetail, bool)
GetWarnsOk returns a tuple with the Warns field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrderValidationResult) HasAccepts ¶
func (o *OrderValidationResult) HasAccepts() bool
HasAccepts returns a boolean if a field has been set.
func (*OrderValidationResult) HasAlerts ¶
func (o *OrderValidationResult) HasAlerts() bool
HasAlerts returns a boolean if a field has been set.
func (*OrderValidationResult) HasRejects ¶
func (o *OrderValidationResult) HasRejects() bool
HasRejects returns a boolean if a field has been set.
func (*OrderValidationResult) HasReviews ¶
func (o *OrderValidationResult) HasReviews() bool
HasReviews returns a boolean if a field has been set.
func (*OrderValidationResult) HasWarns ¶
func (o *OrderValidationResult) HasWarns() bool
HasWarns returns a boolean if a field has been set.
func (OrderValidationResult) MarshalJSON ¶
func (o OrderValidationResult) MarshalJSON() ([]byte, error)
func (*OrderValidationResult) SetAccepts ¶
func (o *OrderValidationResult) SetAccepts(v []OrderValidationDetail)
SetAccepts gets a reference to the given []OrderValidationDetail and assigns it to the Accepts field.
func (*OrderValidationResult) SetAlerts ¶
func (o *OrderValidationResult) SetAlerts(v []OrderValidationDetail)
SetAlerts gets a reference to the given []OrderValidationDetail and assigns it to the Alerts field.
func (*OrderValidationResult) SetRejects ¶
func (o *OrderValidationResult) SetRejects(v []OrderValidationDetail)
SetRejects gets a reference to the given []OrderValidationDetail and assigns it to the Rejects field.
func (*OrderValidationResult) SetReviews ¶
func (o *OrderValidationResult) SetReviews(v []OrderValidationDetail)
SetReviews gets a reference to the given []OrderValidationDetail and assigns it to the Reviews field.
func (*OrderValidationResult) SetWarns ¶
func (o *OrderValidationResult) SetWarns(v []OrderValidationDetail)
SetWarns gets a reference to the given []OrderValidationDetail and assigns it to the Warns field.
func (OrderValidationResult) ToMap ¶
func (o OrderValidationResult) ToMap() (map[string]interface{}, error)
type OrdersAPIService ¶
type OrdersAPIService service
OrdersAPIService OrdersAPI service
func (*OrdersAPIService) CancelOrder ¶
func (a *OrdersAPIService) CancelOrder(ctx context.Context, accountNumber string, orderId int64) ApiCancelOrderRequest
CancelOrder Cancel an order for a specific account
Cancel a specific order for a specific account<br>
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountNumber The encrypted ID of the account @param orderId The ID of the order being cancelled @return ApiCancelOrderRequest
func (*OrdersAPIService) CancelOrderExecute ¶
func (a *OrdersAPIService) CancelOrderExecute(r ApiCancelOrderRequest) (*http.Response, error)
Execute executes the request
func (*OrdersAPIService) GetOrder ¶
func (a *OrdersAPIService) GetOrder(ctx context.Context, accountNumber string, orderId int64) ApiGetOrderRequest
GetOrder Get a specific order by its ID, for a specific account
Get a specific order by its ID, for a specific account
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountNumber The encrypted ID of the account @param orderId The ID of the order being retrieved. @return ApiGetOrderRequest
func (*OrdersAPIService) GetOrderExecute ¶
func (a *OrdersAPIService) GetOrderExecute(r ApiGetOrderRequest) (*Order, *http.Response, error)
Execute executes the request
@return Order
func (*OrdersAPIService) GetOrdersByPathParam ¶
func (a *OrdersAPIService) GetOrdersByPathParam(ctx context.Context, accountNumber string) ApiGetOrdersByPathParamRequest
GetOrdersByPathParam Get all orders for a specific account.
All orders for a specific account. Orders retrieved can be filtered based on input parameters below.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountNumber The encrypted ID of the account @return ApiGetOrdersByPathParamRequest
func (*OrdersAPIService) GetOrdersByPathParamExecute ¶
func (a *OrdersAPIService) GetOrdersByPathParamExecute(r ApiGetOrdersByPathParamRequest) ([]Order, *http.Response, error)
Execute executes the request
@return []Order
func (*OrdersAPIService) GetOrdersByQueryParam ¶
func (a *OrdersAPIService) GetOrdersByQueryParam(ctx context.Context) ApiGetOrdersByQueryParamRequest
GetOrdersByQueryParam Get all orders for all accounts
Get all orders for all accounts<br>
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetOrdersByQueryParamRequest
func (*OrdersAPIService) GetOrdersByQueryParamExecute ¶
func (a *OrdersAPIService) GetOrdersByQueryParamExecute(r ApiGetOrdersByQueryParamRequest) ([]Order, *http.Response, error)
Execute executes the request
@return []Order
func (*OrdersAPIService) PlaceOrder ¶
func (a *OrdersAPIService) PlaceOrder(ctx context.Context, accountNumber string) ApiPlaceOrderRequest
PlaceOrder Place order for a specific account.
Place an order for a specific account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountNumber The encrypted ID of the account @return ApiPlaceOrderRequest
func (*OrdersAPIService) PlaceOrderExecute ¶
func (a *OrdersAPIService) PlaceOrderExecute(r ApiPlaceOrderRequest) (*http.Response, error)
Execute executes the request
func (*OrdersAPIService) PreviewOrder ¶
func (a *OrdersAPIService) PreviewOrder(ctx context.Context, accountNumber string) ApiPreviewOrderRequest
PreviewOrder Preview order for a specific account. **Coming Soon**.
Preview an order for a specific account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountNumber The encrypted ID of the account @return ApiPreviewOrderRequest
func (*OrdersAPIService) PreviewOrderExecute ¶
func (a *OrdersAPIService) PreviewOrderExecute(r ApiPreviewOrderRequest) (*PreviewOrder, *http.Response, error)
Execute executes the request
@return PreviewOrder
func (*OrdersAPIService) ReplaceOrder ¶
func (a *OrdersAPIService) ReplaceOrder(ctx context.Context, accountNumber string, orderId int64) ApiReplaceOrderRequest
ReplaceOrder Replace order for a specific account
Replace an existing order for an account. The existing order will be replaced by the new order. Once replaced, the old order will be canceled and a new order will be created.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountNumber The encrypted ID of the account @param orderId The ID of the order being retrieved. @return ApiReplaceOrderRequest
func (*OrdersAPIService) ReplaceOrderExecute ¶
func (a *OrdersAPIService) ReplaceOrderExecute(r ApiReplaceOrderRequest) (*http.Response, error)
Execute executes the request
type Position ¶
type Position struct { ShortQuantity *float64 `json:"shortQuantity,omitempty"` AveragePrice *float64 `json:"averagePrice,omitempty"` CurrentDayProfitLoss *float64 `json:"currentDayProfitLoss,omitempty"` CurrentDayProfitLossPercentage *float64 `json:"currentDayProfitLossPercentage,omitempty"` LongQuantity *float64 `json:"longQuantity,omitempty"` SettledLongQuantity *float64 `json:"settledLongQuantity,omitempty"` SettledShortQuantity *float64 `json:"settledShortQuantity,omitempty"` AgedQuantity *float64 `json:"agedQuantity,omitempty"` Instrument *AccountsInstrument `json:"instrument,omitempty"` MarketValue *float64 `json:"marketValue,omitempty"` MaintenanceRequirement *float64 `json:"maintenanceRequirement,omitempty"` AverageLongPrice *float64 `json:"averageLongPrice,omitempty"` AverageShortPrice *float64 `json:"averageShortPrice,omitempty"` TaxLotAverageLongPrice *float64 `json:"taxLotAverageLongPrice,omitempty"` TaxLotAverageShortPrice *float64 `json:"taxLotAverageShortPrice,omitempty"` LongOpenProfitLoss *float64 `json:"longOpenProfitLoss,omitempty"` ShortOpenProfitLoss *float64 `json:"shortOpenProfitLoss,omitempty"` PreviousSessionLongQuantity *float64 `json:"previousSessionLongQuantity,omitempty"` PreviousSessionShortQuantity *float64 `json:"previousSessionShortQuantity,omitempty"` CurrentDayCost *float64 `json:"currentDayCost,omitempty"` }
Position struct for Position
func NewPosition ¶
func NewPosition() *Position
NewPosition instantiates a new Position 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 NewPositionWithDefaults ¶
func NewPositionWithDefaults() *Position
NewPositionWithDefaults instantiates a new Position 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 (*Position) GetAgedQuantity ¶
GetAgedQuantity returns the AgedQuantity field value if set, zero value otherwise.
func (*Position) GetAgedQuantityOk ¶
GetAgedQuantityOk returns a tuple with the AgedQuantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetAverageLongPrice ¶
GetAverageLongPrice returns the AverageLongPrice field value if set, zero value otherwise.
func (*Position) GetAverageLongPriceOk ¶
GetAverageLongPriceOk returns a tuple with the AverageLongPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetAveragePrice ¶
GetAveragePrice returns the AveragePrice field value if set, zero value otherwise.
func (*Position) GetAveragePriceOk ¶
GetAveragePriceOk returns a tuple with the AveragePrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetAverageShortPrice ¶
GetAverageShortPrice returns the AverageShortPrice field value if set, zero value otherwise.
func (*Position) GetAverageShortPriceOk ¶
GetAverageShortPriceOk returns a tuple with the AverageShortPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetCurrentDayCost ¶
GetCurrentDayCost returns the CurrentDayCost field value if set, zero value otherwise.
func (*Position) GetCurrentDayCostOk ¶
GetCurrentDayCostOk returns a tuple with the CurrentDayCost field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetCurrentDayProfitLoss ¶
GetCurrentDayProfitLoss returns the CurrentDayProfitLoss field value if set, zero value otherwise.
func (*Position) GetCurrentDayProfitLossOk ¶
GetCurrentDayProfitLossOk returns a tuple with the CurrentDayProfitLoss field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetCurrentDayProfitLossPercentage ¶
GetCurrentDayProfitLossPercentage returns the CurrentDayProfitLossPercentage field value if set, zero value otherwise.
func (*Position) GetCurrentDayProfitLossPercentageOk ¶
GetCurrentDayProfitLossPercentageOk returns a tuple with the CurrentDayProfitLossPercentage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetInstrument ¶
func (o *Position) GetInstrument() AccountsInstrument
GetInstrument returns the Instrument field value if set, zero value otherwise.
func (*Position) GetInstrumentOk ¶
func (o *Position) GetInstrumentOk() (*AccountsInstrument, 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 (*Position) GetLongOpenProfitLoss ¶
GetLongOpenProfitLoss returns the LongOpenProfitLoss field value if set, zero value otherwise.
func (*Position) GetLongOpenProfitLossOk ¶
GetLongOpenProfitLossOk returns a tuple with the LongOpenProfitLoss field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetLongQuantity ¶
GetLongQuantity returns the LongQuantity field value if set, zero value otherwise.
func (*Position) GetLongQuantityOk ¶
GetLongQuantityOk returns a tuple with the LongQuantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetMaintenanceRequirement ¶
GetMaintenanceRequirement returns the MaintenanceRequirement field value if set, zero value otherwise.
func (*Position) GetMaintenanceRequirementOk ¶
GetMaintenanceRequirementOk returns a tuple with the MaintenanceRequirement field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetMarketValue ¶
GetMarketValue returns the MarketValue field value if set, zero value otherwise.
func (*Position) GetMarketValueOk ¶
GetMarketValueOk returns a tuple with the MarketValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetPreviousSessionLongQuantity ¶
GetPreviousSessionLongQuantity returns the PreviousSessionLongQuantity field value if set, zero value otherwise.
func (*Position) GetPreviousSessionLongQuantityOk ¶
GetPreviousSessionLongQuantityOk returns a tuple with the PreviousSessionLongQuantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetPreviousSessionShortQuantity ¶
GetPreviousSessionShortQuantity returns the PreviousSessionShortQuantity field value if set, zero value otherwise.
func (*Position) GetPreviousSessionShortQuantityOk ¶
GetPreviousSessionShortQuantityOk returns a tuple with the PreviousSessionShortQuantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetSettledLongQuantity ¶
GetSettledLongQuantity returns the SettledLongQuantity field value if set, zero value otherwise.
func (*Position) GetSettledLongQuantityOk ¶
GetSettledLongQuantityOk returns a tuple with the SettledLongQuantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetSettledShortQuantity ¶
GetSettledShortQuantity returns the SettledShortQuantity field value if set, zero value otherwise.
func (*Position) GetSettledShortQuantityOk ¶
GetSettledShortQuantityOk returns a tuple with the SettledShortQuantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetShortOpenProfitLoss ¶
GetShortOpenProfitLoss returns the ShortOpenProfitLoss field value if set, zero value otherwise.
func (*Position) GetShortOpenProfitLossOk ¶
GetShortOpenProfitLossOk returns a tuple with the ShortOpenProfitLoss field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetShortQuantity ¶
GetShortQuantity returns the ShortQuantity field value if set, zero value otherwise.
func (*Position) GetShortQuantityOk ¶
GetShortQuantityOk returns a tuple with the ShortQuantity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetTaxLotAverageLongPrice ¶
GetTaxLotAverageLongPrice returns the TaxLotAverageLongPrice field value if set, zero value otherwise.
func (*Position) GetTaxLotAverageLongPriceOk ¶
GetTaxLotAverageLongPriceOk returns a tuple with the TaxLotAverageLongPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) GetTaxLotAverageShortPrice ¶
GetTaxLotAverageShortPrice returns the TaxLotAverageShortPrice field value if set, zero value otherwise.
func (*Position) GetTaxLotAverageShortPriceOk ¶
GetTaxLotAverageShortPriceOk returns a tuple with the TaxLotAverageShortPrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Position) HasAgedQuantity ¶
HasAgedQuantity returns a boolean if a field has been set.
func (*Position) HasAverageLongPrice ¶
HasAverageLongPrice returns a boolean if a field has been set.
func (*Position) HasAveragePrice ¶
HasAveragePrice returns a boolean if a field has been set.
func (*Position) HasAverageShortPrice ¶
HasAverageShortPrice returns a boolean if a field has been set.
func (*Position) HasCurrentDayCost ¶
HasCurrentDayCost returns a boolean if a field has been set.
func (*Position) HasCurrentDayProfitLoss ¶
HasCurrentDayProfitLoss returns a boolean if a field has been set.
func (*Position) HasCurrentDayProfitLossPercentage ¶
HasCurrentDayProfitLossPercentage returns a boolean if a field has been set.
func (*Position) HasInstrument ¶
HasInstrument returns a boolean if a field has been set.
func (*Position) HasLongOpenProfitLoss ¶
HasLongOpenProfitLoss returns a boolean if a field has been set.
func (*Position) HasLongQuantity ¶
HasLongQuantity returns a boolean if a field has been set.
func (*Position) HasMaintenanceRequirement ¶
HasMaintenanceRequirement returns a boolean if a field has been set.
func (*Position) HasMarketValue ¶
HasMarketValue returns a boolean if a field has been set.
func (*Position) HasPreviousSessionLongQuantity ¶
HasPreviousSessionLongQuantity returns a boolean if a field has been set.
func (*Position) HasPreviousSessionShortQuantity ¶
HasPreviousSessionShortQuantity returns a boolean if a field has been set.
func (*Position) HasSettledLongQuantity ¶
HasSettledLongQuantity returns a boolean if a field has been set.
func (*Position) HasSettledShortQuantity ¶
HasSettledShortQuantity returns a boolean if a field has been set.
func (*Position) HasShortOpenProfitLoss ¶
HasShortOpenProfitLoss returns a boolean if a field has been set.
func (*Position) HasShortQuantity ¶
HasShortQuantity returns a boolean if a field has been set.
func (*Position) HasTaxLotAverageLongPrice ¶
HasTaxLotAverageLongPrice returns a boolean if a field has been set.
func (*Position) HasTaxLotAverageShortPrice ¶
HasTaxLotAverageShortPrice returns a boolean if a field has been set.
func (Position) MarshalJSON ¶
func (*Position) SetAgedQuantity ¶
SetAgedQuantity gets a reference to the given float64 and assigns it to the AgedQuantity field.
func (*Position) SetAverageLongPrice ¶
SetAverageLongPrice gets a reference to the given float64 and assigns it to the AverageLongPrice field.
func (*Position) SetAveragePrice ¶
SetAveragePrice gets a reference to the given float64 and assigns it to the AveragePrice field.
func (*Position) SetAverageShortPrice ¶
SetAverageShortPrice gets a reference to the given float64 and assigns it to the AverageShortPrice field.
func (*Position) SetCurrentDayCost ¶
SetCurrentDayCost gets a reference to the given float64 and assigns it to the CurrentDayCost field.
func (*Position) SetCurrentDayProfitLoss ¶
SetCurrentDayProfitLoss gets a reference to the given float64 and assigns it to the CurrentDayProfitLoss field.
func (*Position) SetCurrentDayProfitLossPercentage ¶
SetCurrentDayProfitLossPercentage gets a reference to the given float64 and assigns it to the CurrentDayProfitLossPercentage field.
func (*Position) SetInstrument ¶
func (o *Position) SetInstrument(v AccountsInstrument)
SetInstrument gets a reference to the given AccountsInstrument and assigns it to the Instrument field.
func (*Position) SetLongOpenProfitLoss ¶
SetLongOpenProfitLoss gets a reference to the given float64 and assigns it to the LongOpenProfitLoss field.
func (*Position) SetLongQuantity ¶
SetLongQuantity gets a reference to the given float64 and assigns it to the LongQuantity field.
func (*Position) SetMaintenanceRequirement ¶
SetMaintenanceRequirement gets a reference to the given float64 and assigns it to the MaintenanceRequirement field.
func (*Position) SetMarketValue ¶
SetMarketValue gets a reference to the given float64 and assigns it to the MarketValue field.
func (*Position) SetPreviousSessionLongQuantity ¶
SetPreviousSessionLongQuantity gets a reference to the given float64 and assigns it to the PreviousSessionLongQuantity field.
func (*Position) SetPreviousSessionShortQuantity ¶
SetPreviousSessionShortQuantity gets a reference to the given float64 and assigns it to the PreviousSessionShortQuantity field.
func (*Position) SetSettledLongQuantity ¶
SetSettledLongQuantity gets a reference to the given float64 and assigns it to the SettledLongQuantity field.
func (*Position) SetSettledShortQuantity ¶
SetSettledShortQuantity gets a reference to the given float64 and assigns it to the SettledShortQuantity field.
func (*Position) SetShortOpenProfitLoss ¶
SetShortOpenProfitLoss gets a reference to the given float64 and assigns it to the ShortOpenProfitLoss field.
func (*Position) SetShortQuantity ¶
SetShortQuantity gets a reference to the given float64 and assigns it to the ShortQuantity field.
func (*Position) SetTaxLotAverageLongPrice ¶
SetTaxLotAverageLongPrice gets a reference to the given float64 and assigns it to the TaxLotAverageLongPrice field.
func (*Position) SetTaxLotAverageShortPrice ¶
SetTaxLotAverageShortPrice gets a reference to the given float64 and assigns it to the TaxLotAverageShortPrice field.
type PreviewOrder ¶
type PreviewOrder struct { OrderId *int64 `json:"orderId,omitempty"` OrderStrategy *OrderStrategy `json:"orderStrategy,omitempty"` OrderValidationResult *OrderValidationResult `json:"orderValidationResult,omitempty"` CommissionAndFee *CommissionAndFee `json:"commissionAndFee,omitempty"` }
PreviewOrder struct for PreviewOrder
func NewPreviewOrder ¶
func NewPreviewOrder() *PreviewOrder
NewPreviewOrder instantiates a new PreviewOrder 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 NewPreviewOrderWithDefaults ¶
func NewPreviewOrderWithDefaults() *PreviewOrder
NewPreviewOrderWithDefaults instantiates a new PreviewOrder 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 (*PreviewOrder) GetCommissionAndFee ¶
func (o *PreviewOrder) GetCommissionAndFee() CommissionAndFee
GetCommissionAndFee returns the CommissionAndFee field value if set, zero value otherwise.
func (*PreviewOrder) GetCommissionAndFeeOk ¶
func (o *PreviewOrder) GetCommissionAndFeeOk() (*CommissionAndFee, bool)
GetCommissionAndFeeOk returns a tuple with the CommissionAndFee field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PreviewOrder) GetOrderId ¶
func (o *PreviewOrder) GetOrderId() int64
GetOrderId returns the OrderId field value if set, zero value otherwise.
func (*PreviewOrder) GetOrderIdOk ¶
func (o *PreviewOrder) GetOrderIdOk() (*int64, bool)
GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PreviewOrder) GetOrderStrategy ¶
func (o *PreviewOrder) GetOrderStrategy() OrderStrategy
GetOrderStrategy returns the OrderStrategy field value if set, zero value otherwise.
func (*PreviewOrder) GetOrderStrategyOk ¶
func (o *PreviewOrder) GetOrderStrategyOk() (*OrderStrategy, bool)
GetOrderStrategyOk returns a tuple with the OrderStrategy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PreviewOrder) GetOrderValidationResult ¶
func (o *PreviewOrder) GetOrderValidationResult() OrderValidationResult
GetOrderValidationResult returns the OrderValidationResult field value if set, zero value otherwise.
func (*PreviewOrder) GetOrderValidationResultOk ¶
func (o *PreviewOrder) GetOrderValidationResultOk() (*OrderValidationResult, bool)
GetOrderValidationResultOk returns a tuple with the OrderValidationResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PreviewOrder) HasCommissionAndFee ¶
func (o *PreviewOrder) HasCommissionAndFee() bool
HasCommissionAndFee returns a boolean if a field has been set.
func (*PreviewOrder) HasOrderId ¶
func (o *PreviewOrder) HasOrderId() bool
HasOrderId returns a boolean if a field has been set.
func (*PreviewOrder) HasOrderStrategy ¶
func (o *PreviewOrder) HasOrderStrategy() bool
HasOrderStrategy returns a boolean if a field has been set.
func (*PreviewOrder) HasOrderValidationResult ¶
func (o *PreviewOrder) HasOrderValidationResult() bool
HasOrderValidationResult returns a boolean if a field has been set.
func (PreviewOrder) MarshalJSON ¶
func (o PreviewOrder) MarshalJSON() ([]byte, error)
func (*PreviewOrder) SetCommissionAndFee ¶
func (o *PreviewOrder) SetCommissionAndFee(v CommissionAndFee)
SetCommissionAndFee gets a reference to the given CommissionAndFee and assigns it to the CommissionAndFee field.
func (*PreviewOrder) SetOrderId ¶
func (o *PreviewOrder) SetOrderId(v int64)
SetOrderId gets a reference to the given int64 and assigns it to the OrderId field.
func (*PreviewOrder) SetOrderStrategy ¶
func (o *PreviewOrder) SetOrderStrategy(v OrderStrategy)
SetOrderStrategy gets a reference to the given OrderStrategy and assigns it to the OrderStrategy field.
func (*PreviewOrder) SetOrderValidationResult ¶
func (o *PreviewOrder) SetOrderValidationResult(v OrderValidationResult)
SetOrderValidationResult gets a reference to the given OrderValidationResult and assigns it to the OrderValidationResult field.
func (PreviewOrder) ToMap ¶
func (o PreviewOrder) ToMap() (map[string]interface{}, error)
type PriceLinkBasis ¶
type PriceLinkBasis string
PriceLinkBasis the model 'PriceLinkBasis'
const ( PRICELINKBASIS_MANUAL PriceLinkBasis = "MANUAL" PRICELINKBASIS_BASE PriceLinkBasis = "BASE" PRICELINKBASIS_TRIGGER PriceLinkBasis = "TRIGGER" PRICELINKBASIS_LAST PriceLinkBasis = "LAST" PRICELINKBASIS_BID PriceLinkBasis = "BID" PRICELINKBASIS_ASK PriceLinkBasis = "ASK" PRICELINKBASIS_ASK_BID PriceLinkBasis = "ASK_BID" PRICELINKBASIS_MARK PriceLinkBasis = "MARK" PRICELINKBASIS_AVERAGE PriceLinkBasis = "AVERAGE" )
List of priceLinkBasis
func NewPriceLinkBasisFromValue ¶
func NewPriceLinkBasisFromValue(v string) (*PriceLinkBasis, error)
NewPriceLinkBasisFromValue returns a pointer to a valid PriceLinkBasis for the value passed as argument, or an error if the value passed is not allowed by the enum
func (PriceLinkBasis) IsValid ¶
func (v PriceLinkBasis) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (PriceLinkBasis) Ptr ¶
func (v PriceLinkBasis) Ptr() *PriceLinkBasis
Ptr returns reference to priceLinkBasis value
func (*PriceLinkBasis) UnmarshalJSON ¶
func (v *PriceLinkBasis) UnmarshalJSON(src []byte) error
type PriceLinkType ¶
type PriceLinkType string
PriceLinkType the model 'PriceLinkType'
const ( PRICELINKTYPE_VALUE PriceLinkType = "VALUE" PRICELINKTYPE_PERCENT PriceLinkType = "PERCENT" PRICELINKTYPE_TICK PriceLinkType = "TICK" )
List of priceLinkType
func NewPriceLinkTypeFromValue ¶
func NewPriceLinkTypeFromValue(v string) (*PriceLinkType, error)
NewPriceLinkTypeFromValue returns a pointer to a valid PriceLinkType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (PriceLinkType) IsValid ¶
func (v PriceLinkType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (PriceLinkType) Ptr ¶
func (v PriceLinkType) Ptr() *PriceLinkType
Ptr returns reference to priceLinkType value
func (*PriceLinkType) UnmarshalJSON ¶
func (v *PriceLinkType) UnmarshalJSON(src []byte) error
type Product ¶
type Product struct { Type *string `json:"type,omitempty"` AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
Product struct for Product
func NewProduct ¶
NewProduct instantiates a new Product 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 NewProductWithDefaults ¶
func NewProductWithDefaults() *Product
NewProductWithDefaults instantiates a new Product 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 (*Product) GetAssetType ¶
GetAssetType returns the AssetType field value
func (*Product) GetAssetTypeOk ¶
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*Product) GetCusipOk ¶
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Product) 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 (*Product) GetInstrumentId ¶
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*Product) GetInstrumentIdOk ¶
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetNetChange ¶
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*Product) GetNetChangeOk ¶
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Product) GetSymbolOk ¶
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 (*Product) GetTypeOk ¶
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 (*Product) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Product) HasInstrumentId ¶
HasInstrumentId returns a boolean if a field has been set.
func (*Product) HasNetChange ¶
HasNetChange returns a boolean if a field has been set.
func (Product) MarshalJSON ¶
func (*Product) SetAssetType ¶
SetAssetType sets field value
func (*Product) SetCusip ¶
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*Product) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Product) SetInstrumentId ¶
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*Product) SetNetChange ¶
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*Product) SetSymbol ¶
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*Product) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*Product) UnmarshalJSON ¶
type RequestedDestination ¶
type RequestedDestination string
RequestedDestination the model 'RequestedDestination'
const ( REQUESTEDDESTINATION_INET RequestedDestination = "INET" REQUESTEDDESTINATION_ECN_ARCA RequestedDestination = "ECN_ARCA" REQUESTEDDESTINATION_CBOE RequestedDestination = "CBOE" REQUESTEDDESTINATION_AMEX RequestedDestination = "AMEX" REQUESTEDDESTINATION_PHLX RequestedDestination = "PHLX" REQUESTEDDESTINATION_ISE RequestedDestination = "ISE" REQUESTEDDESTINATION_BOX RequestedDestination = "BOX" REQUESTEDDESTINATION_NYSE RequestedDestination = "NYSE" REQUESTEDDESTINATION_NASDAQ RequestedDestination = "NASDAQ" REQUESTEDDESTINATION_BATS RequestedDestination = "BATS" REQUESTEDDESTINATION_C2 RequestedDestination = "C2" REQUESTEDDESTINATION_AUTO RequestedDestination = "AUTO" )
List of requestedDestination
func NewRequestedDestinationFromValue ¶
func NewRequestedDestinationFromValue(v string) (*RequestedDestination, error)
NewRequestedDestinationFromValue returns a pointer to a valid RequestedDestination for the value passed as argument, or an error if the value passed is not allowed by the enum
func (RequestedDestination) IsValid ¶
func (v RequestedDestination) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (RequestedDestination) Ptr ¶
func (v RequestedDestination) Ptr() *RequestedDestination
Ptr returns reference to requestedDestination value
func (*RequestedDestination) UnmarshalJSON ¶
func (v *RequestedDestination) UnmarshalJSON(src []byte) error
type SecuritiesAccount ¶
type SecuritiesAccount struct { Type *string `json:"type,omitempty"` AccountNumber *string `json:"accountNumber,omitempty"` RoundTrips *int32 `json:"roundTrips,omitempty"` IsDayTrader *bool `json:"isDayTrader,omitempty"` IsClosingOnlyRestricted *bool `json:"isClosingOnlyRestricted,omitempty"` PfcbFlag *bool `json:"pfcbFlag,omitempty"` Positions []Position `json:"positions,omitempty"` }
SecuritiesAccount struct for SecuritiesAccount
func NewSecuritiesAccount ¶
func NewSecuritiesAccount() *SecuritiesAccount
NewSecuritiesAccount instantiates a new SecuritiesAccount 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 NewSecuritiesAccountWithDefaults ¶
func NewSecuritiesAccountWithDefaults() *SecuritiesAccount
NewSecuritiesAccountWithDefaults instantiates a new SecuritiesAccount 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 (*SecuritiesAccount) GetAccountNumber ¶
func (o *SecuritiesAccount) GetAccountNumber() string
GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.
func (*SecuritiesAccount) GetAccountNumberOk ¶
func (o *SecuritiesAccount) GetAccountNumberOk() (*string, bool)
GetAccountNumberOk returns a tuple with the AccountNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecuritiesAccount) GetIsClosingOnlyRestricted ¶
func (o *SecuritiesAccount) GetIsClosingOnlyRestricted() bool
GetIsClosingOnlyRestricted returns the IsClosingOnlyRestricted field value if set, zero value otherwise.
func (*SecuritiesAccount) GetIsClosingOnlyRestrictedOk ¶
func (o *SecuritiesAccount) GetIsClosingOnlyRestrictedOk() (*bool, bool)
GetIsClosingOnlyRestrictedOk returns a tuple with the IsClosingOnlyRestricted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecuritiesAccount) GetIsDayTrader ¶
func (o *SecuritiesAccount) GetIsDayTrader() bool
GetIsDayTrader returns the IsDayTrader field value if set, zero value otherwise.
func (*SecuritiesAccount) GetIsDayTraderOk ¶
func (o *SecuritiesAccount) GetIsDayTraderOk() (*bool, bool)
GetIsDayTraderOk returns a tuple with the IsDayTrader field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecuritiesAccount) GetPfcbFlag ¶
func (o *SecuritiesAccount) GetPfcbFlag() bool
GetPfcbFlag returns the PfcbFlag field value if set, zero value otherwise.
func (*SecuritiesAccount) GetPfcbFlagOk ¶
func (o *SecuritiesAccount) GetPfcbFlagOk() (*bool, bool)
GetPfcbFlagOk returns a tuple with the PfcbFlag field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecuritiesAccount) GetPositions ¶
func (o *SecuritiesAccount) GetPositions() []Position
GetPositions returns the Positions field value if set, zero value otherwise.
func (*SecuritiesAccount) GetPositionsOk ¶
func (o *SecuritiesAccount) 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.
func (*SecuritiesAccount) GetRoundTrips ¶
func (o *SecuritiesAccount) GetRoundTrips() int32
GetRoundTrips returns the RoundTrips field value if set, zero value otherwise.
func (*SecuritiesAccount) GetRoundTripsOk ¶
func (o *SecuritiesAccount) GetRoundTripsOk() (*int32, bool)
GetRoundTripsOk returns a tuple with the RoundTrips field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecuritiesAccount) GetType ¶
func (o *SecuritiesAccount) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*SecuritiesAccount) GetTypeOk ¶
func (o *SecuritiesAccount) 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 (*SecuritiesAccount) HasAccountNumber ¶
func (o *SecuritiesAccount) HasAccountNumber() bool
HasAccountNumber returns a boolean if a field has been set.
func (*SecuritiesAccount) HasIsClosingOnlyRestricted ¶
func (o *SecuritiesAccount) HasIsClosingOnlyRestricted() bool
HasIsClosingOnlyRestricted returns a boolean if a field has been set.
func (*SecuritiesAccount) HasIsDayTrader ¶
func (o *SecuritiesAccount) HasIsDayTrader() bool
HasIsDayTrader returns a boolean if a field has been set.
func (*SecuritiesAccount) HasPfcbFlag ¶
func (o *SecuritiesAccount) HasPfcbFlag() bool
HasPfcbFlag returns a boolean if a field has been set.
func (*SecuritiesAccount) HasPositions ¶
func (o *SecuritiesAccount) HasPositions() bool
HasPositions returns a boolean if a field has been set.
func (*SecuritiesAccount) HasRoundTrips ¶
func (o *SecuritiesAccount) HasRoundTrips() bool
HasRoundTrips returns a boolean if a field has been set.
func (*SecuritiesAccount) HasType ¶
func (o *SecuritiesAccount) HasType() bool
HasType returns a boolean if a field has been set.
func (SecuritiesAccount) MarshalJSON ¶
func (o SecuritiesAccount) MarshalJSON() ([]byte, error)
func (*SecuritiesAccount) SetAccountNumber ¶
func (o *SecuritiesAccount) SetAccountNumber(v string)
SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.
func (*SecuritiesAccount) SetIsClosingOnlyRestricted ¶
func (o *SecuritiesAccount) SetIsClosingOnlyRestricted(v bool)
SetIsClosingOnlyRestricted gets a reference to the given bool and assigns it to the IsClosingOnlyRestricted field.
func (*SecuritiesAccount) SetIsDayTrader ¶
func (o *SecuritiesAccount) SetIsDayTrader(v bool)
SetIsDayTrader gets a reference to the given bool and assigns it to the IsDayTrader field.
func (*SecuritiesAccount) SetPfcbFlag ¶
func (o *SecuritiesAccount) SetPfcbFlag(v bool)
SetPfcbFlag gets a reference to the given bool and assigns it to the PfcbFlag field.
func (*SecuritiesAccount) SetPositions ¶
func (o *SecuritiesAccount) SetPositions(v []Position)
SetPositions gets a reference to the given []Position and assigns it to the Positions field.
func (*SecuritiesAccount) SetRoundTrips ¶
func (o *SecuritiesAccount) SetRoundTrips(v int32)
SetRoundTrips gets a reference to the given int32 and assigns it to the RoundTrips field.
func (*SecuritiesAccount) SetType ¶
func (o *SecuritiesAccount) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (SecuritiesAccount) ToMap ¶
func (o SecuritiesAccount) ToMap() (map[string]interface{}, error)
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type ServiceError ¶
type ServiceError struct { Message *string `json:"message,omitempty"` Errors []string `json:"errors,omitempty"` }
ServiceError struct for ServiceError
func NewServiceError ¶
func NewServiceError() *ServiceError
NewServiceError instantiates a new ServiceError 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 NewServiceErrorWithDefaults ¶
func NewServiceErrorWithDefaults() *ServiceError
NewServiceErrorWithDefaults instantiates a new ServiceError 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 (*ServiceError) GetErrors ¶
func (o *ServiceError) GetErrors() []string
GetErrors returns the Errors field value if set, zero value otherwise.
func (*ServiceError) GetErrorsOk ¶
func (o *ServiceError) GetErrorsOk() ([]string, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceError) GetMessage ¶
func (o *ServiceError) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ServiceError) GetMessageOk ¶
func (o *ServiceError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceError) HasErrors ¶
func (o *ServiceError) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (*ServiceError) HasMessage ¶
func (o *ServiceError) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ServiceError) MarshalJSON ¶
func (o ServiceError) MarshalJSON() ([]byte, error)
func (*ServiceError) SetErrors ¶
func (o *ServiceError) SetErrors(v []string)
SetErrors gets a reference to the given []string and assigns it to the Errors field.
func (*ServiceError) SetMessage ¶
func (o *ServiceError) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (ServiceError) ToMap ¶
func (o ServiceError) ToMap() (map[string]interface{}, error)
type Session ¶
type Session string
Session the model 'Session'
const ( SESSION_NORMAL Session = "NORMAL" SESSION_AM Session = "AM" SESSION_PM Session = "PM" SESSION_SEAMLESS Session = "SEAMLESS" )
List of session
func NewSessionFromValue ¶
NewSessionFromValue returns a pointer to a valid Session for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Session) UnmarshalJSON ¶
type SettlementInstruction ¶
type SettlementInstruction string
SettlementInstruction the model 'SettlementInstruction'
const ( SETTLEMENTINSTRUCTION_REGULAR SettlementInstruction = "REGULAR" SETTLEMENTINSTRUCTION_CASH SettlementInstruction = "CASH" SETTLEMENTINSTRUCTION_NEXT_DAY SettlementInstruction = "NEXT_DAY" SETTLEMENTINSTRUCTION_UNKNOWN SettlementInstruction = "UNKNOWN" )
List of settlementInstruction
func NewSettlementInstructionFromValue ¶
func NewSettlementInstructionFromValue(v string) (*SettlementInstruction, error)
NewSettlementInstructionFromValue returns a pointer to a valid SettlementInstruction for the value passed as argument, or an error if the value passed is not allowed by the enum
func (SettlementInstruction) IsValid ¶
func (v SettlementInstruction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (SettlementInstruction) Ptr ¶
func (v SettlementInstruction) Ptr() *SettlementInstruction
Ptr returns reference to settlementInstruction value
func (*SettlementInstruction) UnmarshalJSON ¶
func (v *SettlementInstruction) UnmarshalJSON(src []byte) error
type SpecialInstruction ¶
type SpecialInstruction string
SpecialInstruction the model 'SpecialInstruction'
const ( SPECIALINSTRUCTION_ALL_OR_NONE SpecialInstruction = "ALL_OR_NONE" SPECIALINSTRUCTION_DO_NOT_REDUCE SpecialInstruction = "DO_NOT_REDUCE" SPECIALINSTRUCTION_ALL_OR_NONE_DO_NOT_REDUCE SpecialInstruction = "ALL_OR_NONE_DO_NOT_REDUCE" )
List of specialInstruction
func NewSpecialInstructionFromValue ¶
func NewSpecialInstructionFromValue(v string) (*SpecialInstruction, error)
NewSpecialInstructionFromValue returns a pointer to a valid SpecialInstruction for the value passed as argument, or an error if the value passed is not allowed by the enum
func (SpecialInstruction) IsValid ¶
func (v SpecialInstruction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (SpecialInstruction) Ptr ¶
func (v SpecialInstruction) Ptr() *SpecialInstruction
Ptr returns reference to specialInstruction value
func (*SpecialInstruction) UnmarshalJSON ¶
func (v *SpecialInstruction) UnmarshalJSON(src []byte) error
type Status ¶
type Status string
Status the model 'Status'
const ( STATUS_AWAITING_PARENT_ORDER Status = "AWAITING_PARENT_ORDER" STATUS_AWAITING_CONDITION Status = "AWAITING_CONDITION" STATUS_AWAITING_STOP_CONDITION Status = "AWAITING_STOP_CONDITION" STATUS_AWAITING_MANUAL_REVIEW Status = "AWAITING_MANUAL_REVIEW" STATUS_ACCEPTED Status = "ACCEPTED" STATUS_AWAITING_UR_OUT Status = "AWAITING_UR_OUT" STATUS_PENDING_ACTIVATION Status = "PENDING_ACTIVATION" STATUS_QUEUED Status = "QUEUED" STATUS_WORKING Status = "WORKING" STATUS_REJECTED Status = "REJECTED" STATUS_PENDING_CANCEL Status = "PENDING_CANCEL" STATUS_CANCELED Status = "CANCELED" STATUS_PENDING_REPLACE Status = "PENDING_REPLACE" STATUS_REPLACED Status = "REPLACED" STATUS_FILLED Status = "FILLED" STATUS_EXPIRED Status = "EXPIRED" STATUS_NEW Status = "NEW" STATUS_AWAITING_RELEASE_TIME Status = "AWAITING_RELEASE_TIME" STATUS_PENDING_ACKNOWLEDGEMENT Status = "PENDING_ACKNOWLEDGEMENT" STATUS_PENDING_RECALL Status = "PENDING_RECALL" STATUS_UNKNOWN Status = "UNKNOWN" )
List of status
func NewStatusFromValue ¶
NewStatusFromValue returns a pointer to a valid Status for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Status) UnmarshalJSON ¶
type StopPriceLinkBasis ¶
type StopPriceLinkBasis string
StopPriceLinkBasis the model 'StopPriceLinkBasis'
const ( STOPPRICELINKBASIS_MANUAL StopPriceLinkBasis = "MANUAL" STOPPRICELINKBASIS_BASE StopPriceLinkBasis = "BASE" STOPPRICELINKBASIS_TRIGGER StopPriceLinkBasis = "TRIGGER" STOPPRICELINKBASIS_LAST StopPriceLinkBasis = "LAST" STOPPRICELINKBASIS_BID StopPriceLinkBasis = "BID" STOPPRICELINKBASIS_ASK StopPriceLinkBasis = "ASK" STOPPRICELINKBASIS_ASK_BID StopPriceLinkBasis = "ASK_BID" STOPPRICELINKBASIS_MARK StopPriceLinkBasis = "MARK" STOPPRICELINKBASIS_AVERAGE StopPriceLinkBasis = "AVERAGE" )
List of stopPriceLinkBasis
func NewStopPriceLinkBasisFromValue ¶
func NewStopPriceLinkBasisFromValue(v string) (*StopPriceLinkBasis, error)
NewStopPriceLinkBasisFromValue returns a pointer to a valid StopPriceLinkBasis for the value passed as argument, or an error if the value passed is not allowed by the enum
func (StopPriceLinkBasis) IsValid ¶
func (v StopPriceLinkBasis) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (StopPriceLinkBasis) Ptr ¶
func (v StopPriceLinkBasis) Ptr() *StopPriceLinkBasis
Ptr returns reference to stopPriceLinkBasis value
func (*StopPriceLinkBasis) UnmarshalJSON ¶
func (v *StopPriceLinkBasis) UnmarshalJSON(src []byte) error
type StopPriceLinkType ¶
type StopPriceLinkType string
StopPriceLinkType the model 'StopPriceLinkType'
const ( STOPPRICELINKTYPE_VALUE StopPriceLinkType = "VALUE" STOPPRICELINKTYPE_PERCENT StopPriceLinkType = "PERCENT" STOPPRICELINKTYPE_TICK StopPriceLinkType = "TICK" )
List of stopPriceLinkType
func NewStopPriceLinkTypeFromValue ¶
func NewStopPriceLinkTypeFromValue(v string) (*StopPriceLinkType, error)
NewStopPriceLinkTypeFromValue returns a pointer to a valid StopPriceLinkType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (StopPriceLinkType) IsValid ¶
func (v StopPriceLinkType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (StopPriceLinkType) Ptr ¶
func (v StopPriceLinkType) Ptr() *StopPriceLinkType
Ptr returns reference to stopPriceLinkType value
func (*StopPriceLinkType) UnmarshalJSON ¶
func (v *StopPriceLinkType) UnmarshalJSON(src []byte) error
type StopType ¶
type StopType string
StopType the model 'StopType'
const ( STOPTYPE_STANDARD StopType = "STANDARD" STOPTYPE_BID StopType = "BID" STOPTYPE_ASK StopType = "ASK" STOPTYPE_LAST StopType = "LAST" STOPTYPE_MARK StopType = "MARK" )
List of stopType
func NewStopTypeFromValue ¶
NewStopTypeFromValue returns a pointer to a valid StopType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*StopType) UnmarshalJSON ¶
type StreamerInfo ¶
type StreamerInfo struct { StreamerSocketUrl *string `json:"streamerSocketUrl,omitempty"` SchwabClientCustomerId *string `json:"schwabClientCustomerId,omitempty"` SchwabClientCorrelId *string `json:"schwabClientCorrelId,omitempty"` SchwabClientChannel *string `json:"schwabClientChannel,omitempty"` SchwabClientFunctionId *string `json:"schwabClientFunctionId,omitempty"` }
StreamerInfo struct for StreamerInfo
func NewStreamerInfo ¶
func NewStreamerInfo() *StreamerInfo
NewStreamerInfo instantiates a new StreamerInfo 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 NewStreamerInfoWithDefaults ¶
func NewStreamerInfoWithDefaults() *StreamerInfo
NewStreamerInfoWithDefaults instantiates a new StreamerInfo 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 (*StreamerInfo) GetSchwabClientChannel ¶
func (o *StreamerInfo) GetSchwabClientChannel() string
GetSchwabClientChannel returns the SchwabClientChannel field value if set, zero value otherwise.
func (*StreamerInfo) GetSchwabClientChannelOk ¶
func (o *StreamerInfo) GetSchwabClientChannelOk() (*string, bool)
GetSchwabClientChannelOk returns a tuple with the SchwabClientChannel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamerInfo) GetSchwabClientCorrelId ¶
func (o *StreamerInfo) GetSchwabClientCorrelId() string
GetSchwabClientCorrelId returns the SchwabClientCorrelId field value if set, zero value otherwise.
func (*StreamerInfo) GetSchwabClientCorrelIdOk ¶
func (o *StreamerInfo) GetSchwabClientCorrelIdOk() (*string, bool)
GetSchwabClientCorrelIdOk returns a tuple with the SchwabClientCorrelId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamerInfo) GetSchwabClientCustomerId ¶
func (o *StreamerInfo) GetSchwabClientCustomerId() string
GetSchwabClientCustomerId returns the SchwabClientCustomerId field value if set, zero value otherwise.
func (*StreamerInfo) GetSchwabClientCustomerIdOk ¶
func (o *StreamerInfo) GetSchwabClientCustomerIdOk() (*string, bool)
GetSchwabClientCustomerIdOk returns a tuple with the SchwabClientCustomerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamerInfo) GetSchwabClientFunctionId ¶
func (o *StreamerInfo) GetSchwabClientFunctionId() string
GetSchwabClientFunctionId returns the SchwabClientFunctionId field value if set, zero value otherwise.
func (*StreamerInfo) GetSchwabClientFunctionIdOk ¶
func (o *StreamerInfo) GetSchwabClientFunctionIdOk() (*string, bool)
GetSchwabClientFunctionIdOk returns a tuple with the SchwabClientFunctionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamerInfo) GetStreamerSocketUrl ¶
func (o *StreamerInfo) GetStreamerSocketUrl() string
GetStreamerSocketUrl returns the StreamerSocketUrl field value if set, zero value otherwise.
func (*StreamerInfo) GetStreamerSocketUrlOk ¶
func (o *StreamerInfo) GetStreamerSocketUrlOk() (*string, bool)
GetStreamerSocketUrlOk returns a tuple with the StreamerSocketUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamerInfo) HasSchwabClientChannel ¶
func (o *StreamerInfo) HasSchwabClientChannel() bool
HasSchwabClientChannel returns a boolean if a field has been set.
func (*StreamerInfo) HasSchwabClientCorrelId ¶
func (o *StreamerInfo) HasSchwabClientCorrelId() bool
HasSchwabClientCorrelId returns a boolean if a field has been set.
func (*StreamerInfo) HasSchwabClientCustomerId ¶
func (o *StreamerInfo) HasSchwabClientCustomerId() bool
HasSchwabClientCustomerId returns a boolean if a field has been set.
func (*StreamerInfo) HasSchwabClientFunctionId ¶
func (o *StreamerInfo) HasSchwabClientFunctionId() bool
HasSchwabClientFunctionId returns a boolean if a field has been set.
func (*StreamerInfo) HasStreamerSocketUrl ¶
func (o *StreamerInfo) HasStreamerSocketUrl() bool
HasStreamerSocketUrl returns a boolean if a field has been set.
func (StreamerInfo) MarshalJSON ¶
func (o StreamerInfo) MarshalJSON() ([]byte, error)
func (*StreamerInfo) SetSchwabClientChannel ¶
func (o *StreamerInfo) SetSchwabClientChannel(v string)
SetSchwabClientChannel gets a reference to the given string and assigns it to the SchwabClientChannel field.
func (*StreamerInfo) SetSchwabClientCorrelId ¶
func (o *StreamerInfo) SetSchwabClientCorrelId(v string)
SetSchwabClientCorrelId gets a reference to the given string and assigns it to the SchwabClientCorrelId field.
func (*StreamerInfo) SetSchwabClientCustomerId ¶
func (o *StreamerInfo) SetSchwabClientCustomerId(v string)
SetSchwabClientCustomerId gets a reference to the given string and assigns it to the SchwabClientCustomerId field.
func (*StreamerInfo) SetSchwabClientFunctionId ¶
func (o *StreamerInfo) SetSchwabClientFunctionId(v string)
SetSchwabClientFunctionId gets a reference to the given string and assigns it to the SchwabClientFunctionId field.
func (*StreamerInfo) SetStreamerSocketUrl ¶
func (o *StreamerInfo) SetStreamerSocketUrl(v string)
SetStreamerSocketUrl gets a reference to the given string and assigns it to the StreamerSocketUrl field.
func (StreamerInfo) ToMap ¶
func (o StreamerInfo) ToMap() (map[string]interface{}, error)
type TaxLotMethod ¶
type TaxLotMethod string
TaxLotMethod the model 'TaxLotMethod'
const ( TAXLOTMETHOD_FIFO TaxLotMethod = "FIFO" TAXLOTMETHOD_LIFO TaxLotMethod = "LIFO" TAXLOTMETHOD_HIGH_COST TaxLotMethod = "HIGH_COST" TAXLOTMETHOD_LOW_COST TaxLotMethod = "LOW_COST" TAXLOTMETHOD_AVERAGE_COST TaxLotMethod = "AVERAGE_COST" TAXLOTMETHOD_SPECIFIC_LOT TaxLotMethod = "SPECIFIC_LOT" TAXLOTMETHOD_LOSS_HARVESTER TaxLotMethod = "LOSS_HARVESTER" )
List of taxLotMethod
func NewTaxLotMethodFromValue ¶
func NewTaxLotMethodFromValue(v string) (*TaxLotMethod, error)
NewTaxLotMethodFromValue returns a pointer to a valid TaxLotMethod for the value passed as argument, or an error if the value passed is not allowed by the enum
func (TaxLotMethod) IsValid ¶
func (v TaxLotMethod) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (TaxLotMethod) Ptr ¶
func (v TaxLotMethod) Ptr() *TaxLotMethod
Ptr returns reference to taxLotMethod value
func (*TaxLotMethod) UnmarshalJSON ¶
func (v *TaxLotMethod) UnmarshalJSON(src []byte) error
type Transaction ¶
type Transaction struct { ActivityId *int64 `json:"activityId,omitempty"` Time *time.Time `json:"time,omitempty"` User *UserDetails `json:"user,omitempty"` Description *string `json:"description,omitempty"` AccountNumber *string `json:"accountNumber,omitempty"` Type *TransactionType `json:"type,omitempty"` Status *string `json:"status,omitempty"` SubAccount *string `json:"subAccount,omitempty"` TradeDate *time.Time `json:"tradeDate,omitempty"` SettlementDate *time.Time `json:"settlementDate,omitempty"` PositionId *int64 `json:"positionId,omitempty"` OrderId *int64 `json:"orderId,omitempty"` NetAmount *float64 `json:"netAmount,omitempty"` ActivityType *string `json:"activityType,omitempty"` TransferItems []TransferItem `json:"transferItems,omitempty"` }
Transaction struct for Transaction
func NewTransaction ¶
func NewTransaction() *Transaction
NewTransaction instantiates a new Transaction 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 NewTransactionWithDefaults ¶
func NewTransactionWithDefaults() *Transaction
NewTransactionWithDefaults instantiates a new Transaction 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 (*Transaction) GetAccountNumber ¶
func (o *Transaction) GetAccountNumber() string
GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.
func (*Transaction) GetAccountNumberOk ¶
func (o *Transaction) GetAccountNumberOk() (*string, bool)
GetAccountNumberOk returns a tuple with the AccountNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetActivityId ¶
func (o *Transaction) GetActivityId() int64
GetActivityId returns the ActivityId field value if set, zero value otherwise.
func (*Transaction) GetActivityIdOk ¶
func (o *Transaction) GetActivityIdOk() (*int64, bool)
GetActivityIdOk returns a tuple with the ActivityId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetActivityType ¶
func (o *Transaction) GetActivityType() string
GetActivityType returns the ActivityType field value if set, zero value otherwise.
func (*Transaction) GetActivityTypeOk ¶
func (o *Transaction) GetActivityTypeOk() (*string, bool)
GetActivityTypeOk returns a tuple with the ActivityType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetDescription ¶
func (o *Transaction) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*Transaction) GetDescriptionOk ¶
func (o *Transaction) 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 (*Transaction) GetNetAmount ¶
func (o *Transaction) GetNetAmount() float64
GetNetAmount returns the NetAmount field value if set, zero value otherwise.
func (*Transaction) GetNetAmountOk ¶
func (o *Transaction) GetNetAmountOk() (*float64, bool)
GetNetAmountOk returns a tuple with the NetAmount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetOrderId ¶
func (o *Transaction) GetOrderId() int64
GetOrderId returns the OrderId field value if set, zero value otherwise.
func (*Transaction) GetOrderIdOk ¶
func (o *Transaction) GetOrderIdOk() (*int64, bool)
GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetPositionId ¶
func (o *Transaction) GetPositionId() int64
GetPositionId returns the PositionId field value if set, zero value otherwise.
func (*Transaction) GetPositionIdOk ¶
func (o *Transaction) GetPositionIdOk() (*int64, bool)
GetPositionIdOk returns a tuple with the PositionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetSettlementDate ¶
func (o *Transaction) GetSettlementDate() time.Time
GetSettlementDate returns the SettlementDate field value if set, zero value otherwise.
func (*Transaction) GetSettlementDateOk ¶
func (o *Transaction) 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 (*Transaction) GetStatus ¶
func (o *Transaction) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*Transaction) GetStatusOk ¶
func (o *Transaction) 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 (*Transaction) GetSubAccount ¶
func (o *Transaction) GetSubAccount() string
GetSubAccount returns the SubAccount field value if set, zero value otherwise.
func (*Transaction) GetSubAccountOk ¶
func (o *Transaction) GetSubAccountOk() (*string, bool)
GetSubAccountOk returns a tuple with the SubAccount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetTime ¶
func (o *Transaction) GetTime() time.Time
GetTime returns the Time field value if set, zero value otherwise.
func (*Transaction) GetTimeOk ¶
func (o *Transaction) GetTimeOk() (*time.Time, bool)
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetTradeDate ¶
func (o *Transaction) GetTradeDate() time.Time
GetTradeDate returns the TradeDate field value if set, zero value otherwise.
func (*Transaction) GetTradeDateOk ¶
func (o *Transaction) 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.
func (*Transaction) GetTransferItems ¶
func (o *Transaction) GetTransferItems() []TransferItem
GetTransferItems returns the TransferItems field value if set, zero value otherwise.
func (*Transaction) GetTransferItemsOk ¶
func (o *Transaction) GetTransferItemsOk() ([]TransferItem, bool)
GetTransferItemsOk returns a tuple with the TransferItems field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetType ¶
func (o *Transaction) GetType() TransactionType
GetType returns the Type field value if set, zero value otherwise.
func (*Transaction) GetTypeOk ¶
func (o *Transaction) GetTypeOk() (*TransactionType, 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 (*Transaction) GetUser ¶
func (o *Transaction) GetUser() UserDetails
GetUser returns the User field value if set, zero value otherwise.
func (*Transaction) GetUserOk ¶
func (o *Transaction) GetUserOk() (*UserDetails, bool)
GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) HasAccountNumber ¶
func (o *Transaction) HasAccountNumber() bool
HasAccountNumber returns a boolean if a field has been set.
func (*Transaction) HasActivityId ¶
func (o *Transaction) HasActivityId() bool
HasActivityId returns a boolean if a field has been set.
func (*Transaction) HasActivityType ¶
func (o *Transaction) HasActivityType() bool
HasActivityType returns a boolean if a field has been set.
func (*Transaction) HasDescription ¶
func (o *Transaction) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*Transaction) HasNetAmount ¶
func (o *Transaction) HasNetAmount() bool
HasNetAmount returns a boolean if a field has been set.
func (*Transaction) HasOrderId ¶
func (o *Transaction) HasOrderId() bool
HasOrderId returns a boolean if a field has been set.
func (*Transaction) HasPositionId ¶
func (o *Transaction) HasPositionId() bool
HasPositionId returns a boolean if a field has been set.
func (*Transaction) HasSettlementDate ¶
func (o *Transaction) HasSettlementDate() bool
HasSettlementDate returns a boolean if a field has been set.
func (*Transaction) HasStatus ¶
func (o *Transaction) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*Transaction) HasSubAccount ¶
func (o *Transaction) HasSubAccount() bool
HasSubAccount returns a boolean if a field has been set.
func (*Transaction) HasTime ¶
func (o *Transaction) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*Transaction) HasTradeDate ¶
func (o *Transaction) HasTradeDate() bool
HasTradeDate returns a boolean if a field has been set.
func (*Transaction) HasTransferItems ¶
func (o *Transaction) HasTransferItems() bool
HasTransferItems returns a boolean if a field has been set.
func (*Transaction) HasType ¶
func (o *Transaction) HasType() bool
HasType returns a boolean if a field has been set.
func (*Transaction) HasUser ¶
func (o *Transaction) HasUser() bool
HasUser returns a boolean if a field has been set.
func (Transaction) MarshalJSON ¶
func (o Transaction) MarshalJSON() ([]byte, error)
func (*Transaction) SetAccountNumber ¶
func (o *Transaction) SetAccountNumber(v string)
SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.
func (*Transaction) SetActivityId ¶
func (o *Transaction) SetActivityId(v int64)
SetActivityId gets a reference to the given int64 and assigns it to the ActivityId field.
func (*Transaction) SetActivityType ¶
func (o *Transaction) SetActivityType(v string)
SetActivityType gets a reference to the given string and assigns it to the ActivityType field.
func (*Transaction) SetDescription ¶
func (o *Transaction) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Transaction) SetNetAmount ¶
func (o *Transaction) SetNetAmount(v float64)
SetNetAmount gets a reference to the given float64 and assigns it to the NetAmount field.
func (*Transaction) SetOrderId ¶
func (o *Transaction) SetOrderId(v int64)
SetOrderId gets a reference to the given int64 and assigns it to the OrderId field.
func (*Transaction) SetPositionId ¶
func (o *Transaction) SetPositionId(v int64)
SetPositionId gets a reference to the given int64 and assigns it to the PositionId field.
func (*Transaction) SetSettlementDate ¶
func (o *Transaction) SetSettlementDate(v time.Time)
SetSettlementDate gets a reference to the given time.Time and assigns it to the SettlementDate field.
func (*Transaction) SetStatus ¶
func (o *Transaction) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Transaction) SetSubAccount ¶
func (o *Transaction) SetSubAccount(v string)
SetSubAccount gets a reference to the given string and assigns it to the SubAccount field.
func (*Transaction) SetTime ¶
func (o *Transaction) SetTime(v time.Time)
SetTime gets a reference to the given time.Time and assigns it to the Time field.
func (*Transaction) SetTradeDate ¶
func (o *Transaction) SetTradeDate(v time.Time)
SetTradeDate gets a reference to the given time.Time and assigns it to the TradeDate field.
func (*Transaction) SetTransferItems ¶
func (o *Transaction) SetTransferItems(v []TransferItem)
SetTransferItems gets a reference to the given []TransferItem and assigns it to the TransferItems field.
func (*Transaction) SetType ¶
func (o *Transaction) SetType(v TransactionType)
SetType gets a reference to the given TransactionType and assigns it to the Type field.
func (*Transaction) SetUser ¶
func (o *Transaction) SetUser(v UserDetails)
SetUser gets a reference to the given UserDetails and assigns it to the User field.
func (Transaction) ToMap ¶
func (o Transaction) ToMap() (map[string]interface{}, error)
type TransactionAPIOptionDeliverable ¶
type TransactionAPIOptionDeliverable struct { RootSymbol *string `json:"rootSymbol,omitempty"` StrikePercent *int64 `json:"strikePercent,omitempty"` DeliverableNumber *int64 `json:"deliverableNumber,omitempty"` DeliverableUnits *float64 `json:"deliverableUnits,omitempty"` Deliverable *TransactionInstrument `json:"deliverable,omitempty"` AssetType *AssetType `json:"assetType,omitempty"` }
TransactionAPIOptionDeliverable struct for TransactionAPIOptionDeliverable
func NewTransactionAPIOptionDeliverable ¶
func NewTransactionAPIOptionDeliverable() *TransactionAPIOptionDeliverable
NewTransactionAPIOptionDeliverable instantiates a new TransactionAPIOptionDeliverable 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 NewTransactionAPIOptionDeliverableWithDefaults ¶
func NewTransactionAPIOptionDeliverableWithDefaults() *TransactionAPIOptionDeliverable
NewTransactionAPIOptionDeliverableWithDefaults instantiates a new TransactionAPIOptionDeliverable 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 (*TransactionAPIOptionDeliverable) GetAssetType ¶
func (o *TransactionAPIOptionDeliverable) GetAssetType() AssetType
GetAssetType returns the AssetType field value if set, zero value otherwise.
func (*TransactionAPIOptionDeliverable) GetAssetTypeOk ¶
func (o *TransactionAPIOptionDeliverable) GetAssetTypeOk() (*AssetType, 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 (*TransactionAPIOptionDeliverable) GetDeliverable ¶
func (o *TransactionAPIOptionDeliverable) GetDeliverable() TransactionInstrument
GetDeliverable returns the Deliverable field value if set, zero value otherwise.
func (*TransactionAPIOptionDeliverable) GetDeliverableNumber ¶
func (o *TransactionAPIOptionDeliverable) GetDeliverableNumber() int64
GetDeliverableNumber returns the DeliverableNumber field value if set, zero value otherwise.
func (*TransactionAPIOptionDeliverable) GetDeliverableNumberOk ¶
func (o *TransactionAPIOptionDeliverable) GetDeliverableNumberOk() (*int64, bool)
GetDeliverableNumberOk returns a tuple with the DeliverableNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionAPIOptionDeliverable) GetDeliverableOk ¶
func (o *TransactionAPIOptionDeliverable) GetDeliverableOk() (*TransactionInstrument, bool)
GetDeliverableOk returns a tuple with the Deliverable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionAPIOptionDeliverable) GetDeliverableUnits ¶
func (o *TransactionAPIOptionDeliverable) GetDeliverableUnits() float64
GetDeliverableUnits returns the DeliverableUnits field value if set, zero value otherwise.
func (*TransactionAPIOptionDeliverable) GetDeliverableUnitsOk ¶
func (o *TransactionAPIOptionDeliverable) GetDeliverableUnitsOk() (*float64, bool)
GetDeliverableUnitsOk returns a tuple with the DeliverableUnits field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionAPIOptionDeliverable) GetRootSymbol ¶
func (o *TransactionAPIOptionDeliverable) GetRootSymbol() string
GetRootSymbol returns the RootSymbol field value if set, zero value otherwise.
func (*TransactionAPIOptionDeliverable) GetRootSymbolOk ¶
func (o *TransactionAPIOptionDeliverable) GetRootSymbolOk() (*string, bool)
GetRootSymbolOk returns a tuple with the RootSymbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionAPIOptionDeliverable) GetStrikePercent ¶
func (o *TransactionAPIOptionDeliverable) GetStrikePercent() int64
GetStrikePercent returns the StrikePercent field value if set, zero value otherwise.
func (*TransactionAPIOptionDeliverable) GetStrikePercentOk ¶
func (o *TransactionAPIOptionDeliverable) GetStrikePercentOk() (*int64, bool)
GetStrikePercentOk returns a tuple with the StrikePercent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionAPIOptionDeliverable) HasAssetType ¶
func (o *TransactionAPIOptionDeliverable) HasAssetType() bool
HasAssetType returns a boolean if a field has been set.
func (*TransactionAPIOptionDeliverable) HasDeliverable ¶
func (o *TransactionAPIOptionDeliverable) HasDeliverable() bool
HasDeliverable returns a boolean if a field has been set.
func (*TransactionAPIOptionDeliverable) HasDeliverableNumber ¶
func (o *TransactionAPIOptionDeliverable) HasDeliverableNumber() bool
HasDeliverableNumber returns a boolean if a field has been set.
func (*TransactionAPIOptionDeliverable) HasDeliverableUnits ¶
func (o *TransactionAPIOptionDeliverable) HasDeliverableUnits() bool
HasDeliverableUnits returns a boolean if a field has been set.
func (*TransactionAPIOptionDeliverable) HasRootSymbol ¶
func (o *TransactionAPIOptionDeliverable) HasRootSymbol() bool
HasRootSymbol returns a boolean if a field has been set.
func (*TransactionAPIOptionDeliverable) HasStrikePercent ¶
func (o *TransactionAPIOptionDeliverable) HasStrikePercent() bool
HasStrikePercent returns a boolean if a field has been set.
func (TransactionAPIOptionDeliverable) MarshalJSON ¶
func (o TransactionAPIOptionDeliverable) MarshalJSON() ([]byte, error)
func (*TransactionAPIOptionDeliverable) SetAssetType ¶
func (o *TransactionAPIOptionDeliverable) SetAssetType(v AssetType)
SetAssetType gets a reference to the given AssetType and assigns it to the AssetType field.
func (*TransactionAPIOptionDeliverable) SetDeliverable ¶
func (o *TransactionAPIOptionDeliverable) SetDeliverable(v TransactionInstrument)
SetDeliverable gets a reference to the given TransactionInstrument and assigns it to the Deliverable field.
func (*TransactionAPIOptionDeliverable) SetDeliverableNumber ¶
func (o *TransactionAPIOptionDeliverable) SetDeliverableNumber(v int64)
SetDeliverableNumber gets a reference to the given int64 and assigns it to the DeliverableNumber field.
func (*TransactionAPIOptionDeliverable) SetDeliverableUnits ¶
func (o *TransactionAPIOptionDeliverable) SetDeliverableUnits(v float64)
SetDeliverableUnits gets a reference to the given float64 and assigns it to the DeliverableUnits field.
func (*TransactionAPIOptionDeliverable) SetRootSymbol ¶
func (o *TransactionAPIOptionDeliverable) SetRootSymbol(v string)
SetRootSymbol gets a reference to the given string and assigns it to the RootSymbol field.
func (*TransactionAPIOptionDeliverable) SetStrikePercent ¶
func (o *TransactionAPIOptionDeliverable) SetStrikePercent(v int64)
SetStrikePercent gets a reference to the given int64 and assigns it to the StrikePercent field.
func (TransactionAPIOptionDeliverable) ToMap ¶
func (o TransactionAPIOptionDeliverable) ToMap() (map[string]interface{}, error)
type TransactionBaseInstrument ¶
type TransactionBaseInstrument struct { AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
TransactionBaseInstrument struct for TransactionBaseInstrument
func NewTransactionBaseInstrument ¶
func NewTransactionBaseInstrument(assetType string) *TransactionBaseInstrument
NewTransactionBaseInstrument instantiates a new TransactionBaseInstrument 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 NewTransactionBaseInstrumentWithDefaults ¶
func NewTransactionBaseInstrumentWithDefaults() *TransactionBaseInstrument
NewTransactionBaseInstrumentWithDefaults instantiates a new TransactionBaseInstrument 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 (*TransactionBaseInstrument) GetAssetType ¶
func (o *TransactionBaseInstrument) GetAssetType() string
GetAssetType returns the AssetType field value
func (*TransactionBaseInstrument) GetAssetTypeOk ¶
func (o *TransactionBaseInstrument) GetAssetTypeOk() (*string, bool)
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*TransactionBaseInstrument) GetCusip ¶
func (o *TransactionBaseInstrument) GetCusip() string
GetCusip returns the Cusip field value if set, zero value otherwise.
func (*TransactionBaseInstrument) GetCusipOk ¶
func (o *TransactionBaseInstrument) GetCusipOk() (*string, bool)
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionBaseInstrument) GetDescription ¶
func (o *TransactionBaseInstrument) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*TransactionBaseInstrument) GetDescriptionOk ¶
func (o *TransactionBaseInstrument) 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 (*TransactionBaseInstrument) GetInstrumentId ¶
func (o *TransactionBaseInstrument) GetInstrumentId() int64
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*TransactionBaseInstrument) GetInstrumentIdOk ¶
func (o *TransactionBaseInstrument) GetInstrumentIdOk() (*int64, bool)
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionBaseInstrument) GetNetChange ¶
func (o *TransactionBaseInstrument) GetNetChange() float64
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*TransactionBaseInstrument) GetNetChangeOk ¶
func (o *TransactionBaseInstrument) GetNetChangeOk() (*float64, bool)
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionBaseInstrument) GetSymbol ¶
func (o *TransactionBaseInstrument) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*TransactionBaseInstrument) GetSymbolOk ¶
func (o *TransactionBaseInstrument) 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 (*TransactionBaseInstrument) HasCusip ¶
func (o *TransactionBaseInstrument) HasCusip() bool
HasCusip returns a boolean if a field has been set.
func (*TransactionBaseInstrument) HasDescription ¶
func (o *TransactionBaseInstrument) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*TransactionBaseInstrument) HasInstrumentId ¶
func (o *TransactionBaseInstrument) HasInstrumentId() bool
HasInstrumentId returns a boolean if a field has been set.
func (*TransactionBaseInstrument) HasNetChange ¶
func (o *TransactionBaseInstrument) HasNetChange() bool
HasNetChange returns a boolean if a field has been set.
func (*TransactionBaseInstrument) HasSymbol ¶
func (o *TransactionBaseInstrument) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (TransactionBaseInstrument) MarshalJSON ¶
func (o TransactionBaseInstrument) MarshalJSON() ([]byte, error)
func (*TransactionBaseInstrument) SetAssetType ¶
func (o *TransactionBaseInstrument) SetAssetType(v string)
SetAssetType sets field value
func (*TransactionBaseInstrument) SetCusip ¶
func (o *TransactionBaseInstrument) SetCusip(v string)
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*TransactionBaseInstrument) SetDescription ¶
func (o *TransactionBaseInstrument) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*TransactionBaseInstrument) SetInstrumentId ¶
func (o *TransactionBaseInstrument) SetInstrumentId(v int64)
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*TransactionBaseInstrument) SetNetChange ¶
func (o *TransactionBaseInstrument) SetNetChange(v float64)
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*TransactionBaseInstrument) SetSymbol ¶
func (o *TransactionBaseInstrument) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (TransactionBaseInstrument) ToMap ¶
func (o TransactionBaseInstrument) ToMap() (map[string]interface{}, error)
func (*TransactionBaseInstrument) UnmarshalJSON ¶
func (o *TransactionBaseInstrument) UnmarshalJSON(data []byte) (err error)
type TransactionCashEquivalent ¶
type TransactionCashEquivalent struct { Type *string `json:"type,omitempty"` AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
TransactionCashEquivalent struct for TransactionCashEquivalent
func NewTransactionCashEquivalent ¶
func NewTransactionCashEquivalent(assetType string) *TransactionCashEquivalent
NewTransactionCashEquivalent instantiates a new TransactionCashEquivalent 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 NewTransactionCashEquivalentWithDefaults ¶
func NewTransactionCashEquivalentWithDefaults() *TransactionCashEquivalent
NewTransactionCashEquivalentWithDefaults instantiates a new TransactionCashEquivalent 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 (*TransactionCashEquivalent) GetAssetType ¶
func (o *TransactionCashEquivalent) GetAssetType() string
GetAssetType returns the AssetType field value
func (*TransactionCashEquivalent) GetAssetTypeOk ¶
func (o *TransactionCashEquivalent) GetAssetTypeOk() (*string, bool)
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*TransactionCashEquivalent) GetCusip ¶
func (o *TransactionCashEquivalent) GetCusip() string
GetCusip returns the Cusip field value if set, zero value otherwise.
func (*TransactionCashEquivalent) GetCusipOk ¶
func (o *TransactionCashEquivalent) GetCusipOk() (*string, bool)
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionCashEquivalent) GetDescription ¶
func (o *TransactionCashEquivalent) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*TransactionCashEquivalent) GetDescriptionOk ¶
func (o *TransactionCashEquivalent) 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 (*TransactionCashEquivalent) GetInstrumentId ¶
func (o *TransactionCashEquivalent) GetInstrumentId() int64
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*TransactionCashEquivalent) GetInstrumentIdOk ¶
func (o *TransactionCashEquivalent) GetInstrumentIdOk() (*int64, bool)
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionCashEquivalent) GetNetChange ¶
func (o *TransactionCashEquivalent) GetNetChange() float64
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*TransactionCashEquivalent) GetNetChangeOk ¶
func (o *TransactionCashEquivalent) GetNetChangeOk() (*float64, bool)
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionCashEquivalent) GetSymbol ¶
func (o *TransactionCashEquivalent) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*TransactionCashEquivalent) GetSymbolOk ¶
func (o *TransactionCashEquivalent) 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 (*TransactionCashEquivalent) GetType ¶
func (o *TransactionCashEquivalent) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*TransactionCashEquivalent) GetTypeOk ¶
func (o *TransactionCashEquivalent) 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 (*TransactionCashEquivalent) HasCusip ¶
func (o *TransactionCashEquivalent) HasCusip() bool
HasCusip returns a boolean if a field has been set.
func (*TransactionCashEquivalent) HasDescription ¶
func (o *TransactionCashEquivalent) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*TransactionCashEquivalent) HasInstrumentId ¶
func (o *TransactionCashEquivalent) HasInstrumentId() bool
HasInstrumentId returns a boolean if a field has been set.
func (*TransactionCashEquivalent) HasNetChange ¶
func (o *TransactionCashEquivalent) HasNetChange() bool
HasNetChange returns a boolean if a field has been set.
func (*TransactionCashEquivalent) HasSymbol ¶
func (o *TransactionCashEquivalent) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (*TransactionCashEquivalent) HasType ¶
func (o *TransactionCashEquivalent) HasType() bool
HasType returns a boolean if a field has been set.
func (TransactionCashEquivalent) MarshalJSON ¶
func (o TransactionCashEquivalent) MarshalJSON() ([]byte, error)
func (*TransactionCashEquivalent) SetAssetType ¶
func (o *TransactionCashEquivalent) SetAssetType(v string)
SetAssetType sets field value
func (*TransactionCashEquivalent) SetCusip ¶
func (o *TransactionCashEquivalent) SetCusip(v string)
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*TransactionCashEquivalent) SetDescription ¶
func (o *TransactionCashEquivalent) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*TransactionCashEquivalent) SetInstrumentId ¶
func (o *TransactionCashEquivalent) SetInstrumentId(v int64)
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*TransactionCashEquivalent) SetNetChange ¶
func (o *TransactionCashEquivalent) SetNetChange(v float64)
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*TransactionCashEquivalent) SetSymbol ¶
func (o *TransactionCashEquivalent) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*TransactionCashEquivalent) SetType ¶
func (o *TransactionCashEquivalent) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (TransactionCashEquivalent) ToMap ¶
func (o TransactionCashEquivalent) ToMap() (map[string]interface{}, error)
func (*TransactionCashEquivalent) UnmarshalJSON ¶
func (o *TransactionCashEquivalent) UnmarshalJSON(data []byte) (err error)
type TransactionEquity ¶
type TransactionEquity struct { Type *string `json:"type,omitempty"` AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
TransactionEquity struct for TransactionEquity
func NewTransactionEquity ¶
func NewTransactionEquity(assetType string) *TransactionEquity
NewTransactionEquity instantiates a new TransactionEquity 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 NewTransactionEquityWithDefaults ¶
func NewTransactionEquityWithDefaults() *TransactionEquity
NewTransactionEquityWithDefaults instantiates a new TransactionEquity 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 (*TransactionEquity) GetAssetType ¶
func (o *TransactionEquity) GetAssetType() string
GetAssetType returns the AssetType field value
func (*TransactionEquity) GetAssetTypeOk ¶
func (o *TransactionEquity) GetAssetTypeOk() (*string, bool)
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*TransactionEquity) GetCusip ¶
func (o *TransactionEquity) GetCusip() string
GetCusip returns the Cusip field value if set, zero value otherwise.
func (*TransactionEquity) GetCusipOk ¶
func (o *TransactionEquity) GetCusipOk() (*string, bool)
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionEquity) GetDescription ¶
func (o *TransactionEquity) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*TransactionEquity) GetDescriptionOk ¶
func (o *TransactionEquity) 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 (*TransactionEquity) GetInstrumentId ¶
func (o *TransactionEquity) GetInstrumentId() int64
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*TransactionEquity) GetInstrumentIdOk ¶
func (o *TransactionEquity) GetInstrumentIdOk() (*int64, bool)
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionEquity) GetNetChange ¶
func (o *TransactionEquity) GetNetChange() float64
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*TransactionEquity) GetNetChangeOk ¶
func (o *TransactionEquity) GetNetChangeOk() (*float64, bool)
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionEquity) GetSymbol ¶
func (o *TransactionEquity) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*TransactionEquity) GetSymbolOk ¶
func (o *TransactionEquity) 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 (*TransactionEquity) GetType ¶
func (o *TransactionEquity) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*TransactionEquity) GetTypeOk ¶
func (o *TransactionEquity) 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 (*TransactionEquity) HasCusip ¶
func (o *TransactionEquity) HasCusip() bool
HasCusip returns a boolean if a field has been set.
func (*TransactionEquity) HasDescription ¶
func (o *TransactionEquity) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*TransactionEquity) HasInstrumentId ¶
func (o *TransactionEquity) HasInstrumentId() bool
HasInstrumentId returns a boolean if a field has been set.
func (*TransactionEquity) HasNetChange ¶
func (o *TransactionEquity) HasNetChange() bool
HasNetChange returns a boolean if a field has been set.
func (*TransactionEquity) HasSymbol ¶
func (o *TransactionEquity) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (*TransactionEquity) HasType ¶
func (o *TransactionEquity) HasType() bool
HasType returns a boolean if a field has been set.
func (TransactionEquity) MarshalJSON ¶
func (o TransactionEquity) MarshalJSON() ([]byte, error)
func (*TransactionEquity) SetAssetType ¶
func (o *TransactionEquity) SetAssetType(v string)
SetAssetType sets field value
func (*TransactionEquity) SetCusip ¶
func (o *TransactionEquity) SetCusip(v string)
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*TransactionEquity) SetDescription ¶
func (o *TransactionEquity) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*TransactionEquity) SetInstrumentId ¶
func (o *TransactionEquity) SetInstrumentId(v int64)
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*TransactionEquity) SetNetChange ¶
func (o *TransactionEquity) SetNetChange(v float64)
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*TransactionEquity) SetSymbol ¶
func (o *TransactionEquity) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*TransactionEquity) SetType ¶
func (o *TransactionEquity) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (TransactionEquity) ToMap ¶
func (o TransactionEquity) ToMap() (map[string]interface{}, error)
func (*TransactionEquity) UnmarshalJSON ¶
func (o *TransactionEquity) UnmarshalJSON(data []byte) (err error)
type TransactionFixedIncome ¶
type TransactionFixedIncome struct { Type *string `json:"type,omitempty"` MaturityDate *time.Time `json:"maturityDate,omitempty"` Factor *float64 `json:"factor,omitempty"` Multiplier *float64 `json:"multiplier,omitempty"` VariableRate *float64 `json:"variableRate,omitempty"` AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
TransactionFixedIncome struct for TransactionFixedIncome
func NewTransactionFixedIncome ¶
func NewTransactionFixedIncome(assetType string) *TransactionFixedIncome
NewTransactionFixedIncome instantiates a new TransactionFixedIncome 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 NewTransactionFixedIncomeWithDefaults ¶
func NewTransactionFixedIncomeWithDefaults() *TransactionFixedIncome
NewTransactionFixedIncomeWithDefaults instantiates a new TransactionFixedIncome 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 (*TransactionFixedIncome) GetAssetType ¶
func (o *TransactionFixedIncome) GetAssetType() string
GetAssetType returns the AssetType field value
func (*TransactionFixedIncome) GetAssetTypeOk ¶
func (o *TransactionFixedIncome) GetAssetTypeOk() (*string, bool)
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*TransactionFixedIncome) GetCusip ¶
func (o *TransactionFixedIncome) GetCusip() string
GetCusip returns the Cusip field value if set, zero value otherwise.
func (*TransactionFixedIncome) GetCusipOk ¶
func (o *TransactionFixedIncome) GetCusipOk() (*string, bool)
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionFixedIncome) GetDescription ¶
func (o *TransactionFixedIncome) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*TransactionFixedIncome) GetDescriptionOk ¶
func (o *TransactionFixedIncome) 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 (*TransactionFixedIncome) GetFactor ¶
func (o *TransactionFixedIncome) GetFactor() float64
GetFactor returns the Factor field value if set, zero value otherwise.
func (*TransactionFixedIncome) GetFactorOk ¶
func (o *TransactionFixedIncome) GetFactorOk() (*float64, bool)
GetFactorOk returns a tuple with the Factor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionFixedIncome) GetInstrumentId ¶
func (o *TransactionFixedIncome) GetInstrumentId() int64
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*TransactionFixedIncome) GetInstrumentIdOk ¶
func (o *TransactionFixedIncome) GetInstrumentIdOk() (*int64, bool)
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionFixedIncome) GetMaturityDate ¶
func (o *TransactionFixedIncome) GetMaturityDate() time.Time
GetMaturityDate returns the MaturityDate field value if set, zero value otherwise.
func (*TransactionFixedIncome) GetMaturityDateOk ¶
func (o *TransactionFixedIncome) GetMaturityDateOk() (*time.Time, bool)
GetMaturityDateOk returns a tuple with the MaturityDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionFixedIncome) GetMultiplier ¶
func (o *TransactionFixedIncome) GetMultiplier() float64
GetMultiplier returns the Multiplier field value if set, zero value otherwise.
func (*TransactionFixedIncome) GetMultiplierOk ¶
func (o *TransactionFixedIncome) GetMultiplierOk() (*float64, bool)
GetMultiplierOk returns a tuple with the Multiplier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionFixedIncome) GetNetChange ¶
func (o *TransactionFixedIncome) GetNetChange() float64
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*TransactionFixedIncome) GetNetChangeOk ¶
func (o *TransactionFixedIncome) GetNetChangeOk() (*float64, bool)
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionFixedIncome) GetSymbol ¶
func (o *TransactionFixedIncome) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*TransactionFixedIncome) GetSymbolOk ¶
func (o *TransactionFixedIncome) 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 (*TransactionFixedIncome) GetType ¶
func (o *TransactionFixedIncome) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*TransactionFixedIncome) GetTypeOk ¶
func (o *TransactionFixedIncome) 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 (*TransactionFixedIncome) GetVariableRate ¶
func (o *TransactionFixedIncome) GetVariableRate() float64
GetVariableRate returns the VariableRate field value if set, zero value otherwise.
func (*TransactionFixedIncome) GetVariableRateOk ¶
func (o *TransactionFixedIncome) GetVariableRateOk() (*float64, bool)
GetVariableRateOk returns a tuple with the VariableRate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionFixedIncome) HasCusip ¶
func (o *TransactionFixedIncome) HasCusip() bool
HasCusip returns a boolean if a field has been set.
func (*TransactionFixedIncome) HasDescription ¶
func (o *TransactionFixedIncome) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*TransactionFixedIncome) HasFactor ¶
func (o *TransactionFixedIncome) HasFactor() bool
HasFactor returns a boolean if a field has been set.
func (*TransactionFixedIncome) HasInstrumentId ¶
func (o *TransactionFixedIncome) HasInstrumentId() bool
HasInstrumentId returns a boolean if a field has been set.
func (*TransactionFixedIncome) HasMaturityDate ¶
func (o *TransactionFixedIncome) HasMaturityDate() bool
HasMaturityDate returns a boolean if a field has been set.
func (*TransactionFixedIncome) HasMultiplier ¶
func (o *TransactionFixedIncome) HasMultiplier() bool
HasMultiplier returns a boolean if a field has been set.
func (*TransactionFixedIncome) HasNetChange ¶
func (o *TransactionFixedIncome) HasNetChange() bool
HasNetChange returns a boolean if a field has been set.
func (*TransactionFixedIncome) HasSymbol ¶
func (o *TransactionFixedIncome) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (*TransactionFixedIncome) HasType ¶
func (o *TransactionFixedIncome) HasType() bool
HasType returns a boolean if a field has been set.
func (*TransactionFixedIncome) HasVariableRate ¶
func (o *TransactionFixedIncome) HasVariableRate() bool
HasVariableRate returns a boolean if a field has been set.
func (TransactionFixedIncome) MarshalJSON ¶
func (o TransactionFixedIncome) MarshalJSON() ([]byte, error)
func (*TransactionFixedIncome) SetAssetType ¶
func (o *TransactionFixedIncome) SetAssetType(v string)
SetAssetType sets field value
func (*TransactionFixedIncome) SetCusip ¶
func (o *TransactionFixedIncome) SetCusip(v string)
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*TransactionFixedIncome) SetDescription ¶
func (o *TransactionFixedIncome) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*TransactionFixedIncome) SetFactor ¶
func (o *TransactionFixedIncome) SetFactor(v float64)
SetFactor gets a reference to the given float64 and assigns it to the Factor field.
func (*TransactionFixedIncome) SetInstrumentId ¶
func (o *TransactionFixedIncome) SetInstrumentId(v int64)
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*TransactionFixedIncome) SetMaturityDate ¶
func (o *TransactionFixedIncome) SetMaturityDate(v time.Time)
SetMaturityDate gets a reference to the given time.Time and assigns it to the MaturityDate field.
func (*TransactionFixedIncome) SetMultiplier ¶
func (o *TransactionFixedIncome) SetMultiplier(v float64)
SetMultiplier gets a reference to the given float64 and assigns it to the Multiplier field.
func (*TransactionFixedIncome) SetNetChange ¶
func (o *TransactionFixedIncome) SetNetChange(v float64)
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*TransactionFixedIncome) SetSymbol ¶
func (o *TransactionFixedIncome) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*TransactionFixedIncome) SetType ¶
func (o *TransactionFixedIncome) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*TransactionFixedIncome) SetVariableRate ¶
func (o *TransactionFixedIncome) SetVariableRate(v float64)
SetVariableRate gets a reference to the given float64 and assigns it to the VariableRate field.
func (TransactionFixedIncome) ToMap ¶
func (o TransactionFixedIncome) ToMap() (map[string]interface{}, error)
func (*TransactionFixedIncome) UnmarshalJSON ¶
func (o *TransactionFixedIncome) UnmarshalJSON(data []byte) (err error)
type TransactionInstrument ¶
type TransactionInstrument struct { CollectiveInvestment *CollectiveInvestment Currency *Currency Forex *Forex Future *Future Index *Index Product *Product TransactionCashEquivalent *TransactionCashEquivalent TransactionEquity *TransactionEquity TransactionFixedIncome *TransactionFixedIncome TransactionMutualFund *TransactionMutualFund TransactionOption *TransactionOption }
TransactionInstrument - struct for TransactionInstrument
func CollectiveInvestmentAsTransactionInstrument ¶
func CollectiveInvestmentAsTransactionInstrument(v *CollectiveInvestment) TransactionInstrument
CollectiveInvestmentAsTransactionInstrument is a convenience function that returns CollectiveInvestment wrapped in TransactionInstrument
func CurrencyAsTransactionInstrument ¶
func CurrencyAsTransactionInstrument(v *Currency) TransactionInstrument
CurrencyAsTransactionInstrument is a convenience function that returns Currency wrapped in TransactionInstrument
func ForexAsTransactionInstrument ¶
func ForexAsTransactionInstrument(v *Forex) TransactionInstrument
ForexAsTransactionInstrument is a convenience function that returns Forex wrapped in TransactionInstrument
func FutureAsTransactionInstrument ¶
func FutureAsTransactionInstrument(v *Future) TransactionInstrument
FutureAsTransactionInstrument is a convenience function that returns Future wrapped in TransactionInstrument
func IndexAsTransactionInstrument ¶
func IndexAsTransactionInstrument(v *Index) TransactionInstrument
IndexAsTransactionInstrument is a convenience function that returns Index wrapped in TransactionInstrument
func ProductAsTransactionInstrument ¶
func ProductAsTransactionInstrument(v *Product) TransactionInstrument
ProductAsTransactionInstrument is a convenience function that returns Product wrapped in TransactionInstrument
func TransactionCashEquivalentAsTransactionInstrument ¶
func TransactionCashEquivalentAsTransactionInstrument(v *TransactionCashEquivalent) TransactionInstrument
TransactionCashEquivalentAsTransactionInstrument is a convenience function that returns TransactionCashEquivalent wrapped in TransactionInstrument
func TransactionEquityAsTransactionInstrument ¶
func TransactionEquityAsTransactionInstrument(v *TransactionEquity) TransactionInstrument
TransactionEquityAsTransactionInstrument is a convenience function that returns TransactionEquity wrapped in TransactionInstrument
func TransactionFixedIncomeAsTransactionInstrument ¶
func TransactionFixedIncomeAsTransactionInstrument(v *TransactionFixedIncome) TransactionInstrument
TransactionFixedIncomeAsTransactionInstrument is a convenience function that returns TransactionFixedIncome wrapped in TransactionInstrument
func TransactionMutualFundAsTransactionInstrument ¶
func TransactionMutualFundAsTransactionInstrument(v *TransactionMutualFund) TransactionInstrument
TransactionMutualFundAsTransactionInstrument is a convenience function that returns TransactionMutualFund wrapped in TransactionInstrument
func TransactionOptionAsTransactionInstrument ¶
func TransactionOptionAsTransactionInstrument(v *TransactionOption) TransactionInstrument
TransactionOptionAsTransactionInstrument is a convenience function that returns TransactionOption wrapped in TransactionInstrument
func (*TransactionInstrument) GetActualInstance ¶
func (obj *TransactionInstrument) GetActualInstance() interface{}
Get the actual instance
func (TransactionInstrument) MarshalJSON ¶
func (src TransactionInstrument) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*TransactionInstrument) UnmarshalJSON ¶
func (dst *TransactionInstrument) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type TransactionMutualFund ¶
type TransactionMutualFund struct { FundFamilyName *string `json:"fundFamilyName,omitempty"` FundFamilySymbol *string `json:"fundFamilySymbol,omitempty"` FundGroup *string `json:"fundGroup,omitempty"` Type *string `json:"type,omitempty"` ExchangeCutoffTime *time.Time `json:"exchangeCutoffTime,omitempty"` PurchaseCutoffTime *time.Time `json:"purchaseCutoffTime,omitempty"` RedemptionCutoffTime *time.Time `json:"redemptionCutoffTime,omitempty"` AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
TransactionMutualFund struct for TransactionMutualFund
func NewTransactionMutualFund ¶
func NewTransactionMutualFund(assetType string) *TransactionMutualFund
NewTransactionMutualFund instantiates a new TransactionMutualFund 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 NewTransactionMutualFundWithDefaults ¶
func NewTransactionMutualFundWithDefaults() *TransactionMutualFund
NewTransactionMutualFundWithDefaults instantiates a new TransactionMutualFund 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 (*TransactionMutualFund) GetAssetType ¶
func (o *TransactionMutualFund) GetAssetType() string
GetAssetType returns the AssetType field value
func (*TransactionMutualFund) GetAssetTypeOk ¶
func (o *TransactionMutualFund) GetAssetTypeOk() (*string, bool)
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*TransactionMutualFund) GetCusip ¶
func (o *TransactionMutualFund) GetCusip() string
GetCusip returns the Cusip field value if set, zero value otherwise.
func (*TransactionMutualFund) GetCusipOk ¶
func (o *TransactionMutualFund) GetCusipOk() (*string, bool)
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionMutualFund) GetDescription ¶
func (o *TransactionMutualFund) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*TransactionMutualFund) GetDescriptionOk ¶
func (o *TransactionMutualFund) 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 (*TransactionMutualFund) GetExchangeCutoffTime ¶
func (o *TransactionMutualFund) GetExchangeCutoffTime() time.Time
GetExchangeCutoffTime returns the ExchangeCutoffTime field value if set, zero value otherwise.
func (*TransactionMutualFund) GetExchangeCutoffTimeOk ¶
func (o *TransactionMutualFund) GetExchangeCutoffTimeOk() (*time.Time, bool)
GetExchangeCutoffTimeOk returns a tuple with the ExchangeCutoffTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionMutualFund) GetFundFamilyName ¶
func (o *TransactionMutualFund) GetFundFamilyName() string
GetFundFamilyName returns the FundFamilyName field value if set, zero value otherwise.
func (*TransactionMutualFund) GetFundFamilyNameOk ¶
func (o *TransactionMutualFund) GetFundFamilyNameOk() (*string, bool)
GetFundFamilyNameOk returns a tuple with the FundFamilyName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionMutualFund) GetFundFamilySymbol ¶
func (o *TransactionMutualFund) GetFundFamilySymbol() string
GetFundFamilySymbol returns the FundFamilySymbol field value if set, zero value otherwise.
func (*TransactionMutualFund) GetFundFamilySymbolOk ¶
func (o *TransactionMutualFund) GetFundFamilySymbolOk() (*string, bool)
GetFundFamilySymbolOk returns a tuple with the FundFamilySymbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionMutualFund) GetFundGroup ¶
func (o *TransactionMutualFund) GetFundGroup() string
GetFundGroup returns the FundGroup field value if set, zero value otherwise.
func (*TransactionMutualFund) GetFundGroupOk ¶
func (o *TransactionMutualFund) GetFundGroupOk() (*string, bool)
GetFundGroupOk returns a tuple with the FundGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionMutualFund) GetInstrumentId ¶
func (o *TransactionMutualFund) GetInstrumentId() int64
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*TransactionMutualFund) GetInstrumentIdOk ¶
func (o *TransactionMutualFund) GetInstrumentIdOk() (*int64, bool)
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionMutualFund) GetNetChange ¶
func (o *TransactionMutualFund) GetNetChange() float64
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*TransactionMutualFund) GetNetChangeOk ¶
func (o *TransactionMutualFund) GetNetChangeOk() (*float64, bool)
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionMutualFund) GetPurchaseCutoffTime ¶
func (o *TransactionMutualFund) GetPurchaseCutoffTime() time.Time
GetPurchaseCutoffTime returns the PurchaseCutoffTime field value if set, zero value otherwise.
func (*TransactionMutualFund) GetPurchaseCutoffTimeOk ¶
func (o *TransactionMutualFund) GetPurchaseCutoffTimeOk() (*time.Time, bool)
GetPurchaseCutoffTimeOk returns a tuple with the PurchaseCutoffTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionMutualFund) GetRedemptionCutoffTime ¶
func (o *TransactionMutualFund) GetRedemptionCutoffTime() time.Time
GetRedemptionCutoffTime returns the RedemptionCutoffTime field value if set, zero value otherwise.
func (*TransactionMutualFund) GetRedemptionCutoffTimeOk ¶
func (o *TransactionMutualFund) GetRedemptionCutoffTimeOk() (*time.Time, bool)
GetRedemptionCutoffTimeOk returns a tuple with the RedemptionCutoffTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionMutualFund) GetSymbol ¶
func (o *TransactionMutualFund) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*TransactionMutualFund) GetSymbolOk ¶
func (o *TransactionMutualFund) 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 (*TransactionMutualFund) GetType ¶
func (o *TransactionMutualFund) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*TransactionMutualFund) GetTypeOk ¶
func (o *TransactionMutualFund) 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 (*TransactionMutualFund) HasCusip ¶
func (o *TransactionMutualFund) HasCusip() bool
HasCusip returns a boolean if a field has been set.
func (*TransactionMutualFund) HasDescription ¶
func (o *TransactionMutualFund) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*TransactionMutualFund) HasExchangeCutoffTime ¶
func (o *TransactionMutualFund) HasExchangeCutoffTime() bool
HasExchangeCutoffTime returns a boolean if a field has been set.
func (*TransactionMutualFund) HasFundFamilyName ¶
func (o *TransactionMutualFund) HasFundFamilyName() bool
HasFundFamilyName returns a boolean if a field has been set.
func (*TransactionMutualFund) HasFundFamilySymbol ¶
func (o *TransactionMutualFund) HasFundFamilySymbol() bool
HasFundFamilySymbol returns a boolean if a field has been set.
func (*TransactionMutualFund) HasFundGroup ¶
func (o *TransactionMutualFund) HasFundGroup() bool
HasFundGroup returns a boolean if a field has been set.
func (*TransactionMutualFund) HasInstrumentId ¶
func (o *TransactionMutualFund) HasInstrumentId() bool
HasInstrumentId returns a boolean if a field has been set.
func (*TransactionMutualFund) HasNetChange ¶
func (o *TransactionMutualFund) HasNetChange() bool
HasNetChange returns a boolean if a field has been set.
func (*TransactionMutualFund) HasPurchaseCutoffTime ¶
func (o *TransactionMutualFund) HasPurchaseCutoffTime() bool
HasPurchaseCutoffTime returns a boolean if a field has been set.
func (*TransactionMutualFund) HasRedemptionCutoffTime ¶
func (o *TransactionMutualFund) HasRedemptionCutoffTime() bool
HasRedemptionCutoffTime returns a boolean if a field has been set.
func (*TransactionMutualFund) HasSymbol ¶
func (o *TransactionMutualFund) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (*TransactionMutualFund) HasType ¶
func (o *TransactionMutualFund) HasType() bool
HasType returns a boolean if a field has been set.
func (TransactionMutualFund) MarshalJSON ¶
func (o TransactionMutualFund) MarshalJSON() ([]byte, error)
func (*TransactionMutualFund) SetAssetType ¶
func (o *TransactionMutualFund) SetAssetType(v string)
SetAssetType sets field value
func (*TransactionMutualFund) SetCusip ¶
func (o *TransactionMutualFund) SetCusip(v string)
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*TransactionMutualFund) SetDescription ¶
func (o *TransactionMutualFund) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*TransactionMutualFund) SetExchangeCutoffTime ¶
func (o *TransactionMutualFund) SetExchangeCutoffTime(v time.Time)
SetExchangeCutoffTime gets a reference to the given time.Time and assigns it to the ExchangeCutoffTime field.
func (*TransactionMutualFund) SetFundFamilyName ¶
func (o *TransactionMutualFund) SetFundFamilyName(v string)
SetFundFamilyName gets a reference to the given string and assigns it to the FundFamilyName field.
func (*TransactionMutualFund) SetFundFamilySymbol ¶
func (o *TransactionMutualFund) SetFundFamilySymbol(v string)
SetFundFamilySymbol gets a reference to the given string and assigns it to the FundFamilySymbol field.
func (*TransactionMutualFund) SetFundGroup ¶
func (o *TransactionMutualFund) SetFundGroup(v string)
SetFundGroup gets a reference to the given string and assigns it to the FundGroup field.
func (*TransactionMutualFund) SetInstrumentId ¶
func (o *TransactionMutualFund) SetInstrumentId(v int64)
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*TransactionMutualFund) SetNetChange ¶
func (o *TransactionMutualFund) SetNetChange(v float64)
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*TransactionMutualFund) SetPurchaseCutoffTime ¶
func (o *TransactionMutualFund) SetPurchaseCutoffTime(v time.Time)
SetPurchaseCutoffTime gets a reference to the given time.Time and assigns it to the PurchaseCutoffTime field.
func (*TransactionMutualFund) SetRedemptionCutoffTime ¶
func (o *TransactionMutualFund) SetRedemptionCutoffTime(v time.Time)
SetRedemptionCutoffTime gets a reference to the given time.Time and assigns it to the RedemptionCutoffTime field.
func (*TransactionMutualFund) SetSymbol ¶
func (o *TransactionMutualFund) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*TransactionMutualFund) SetType ¶
func (o *TransactionMutualFund) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (TransactionMutualFund) ToMap ¶
func (o TransactionMutualFund) ToMap() (map[string]interface{}, error)
func (*TransactionMutualFund) UnmarshalJSON ¶
func (o *TransactionMutualFund) UnmarshalJSON(data []byte) (err error)
type TransactionOption ¶
type TransactionOption struct { ExpirationDate *time.Time `json:"expirationDate,omitempty"` OptionDeliverables []TransactionAPIOptionDeliverable `json:"optionDeliverables,omitempty"` OptionPremiumMultiplier *int64 `json:"optionPremiumMultiplier,omitempty"` PutCall *string `json:"putCall,omitempty"` StrikePrice *float64 `json:"strikePrice,omitempty"` Type *string `json:"type,omitempty"` UnderlyingSymbol *string `json:"underlyingSymbol,omitempty"` UnderlyingCusip *string `json:"underlyingCusip,omitempty"` Deliverable *TransactionInstrument `json:"deliverable,omitempty"` AssetType string `json:"assetType"` Cusip *string `json:"cusip,omitempty"` Symbol *string `json:"symbol,omitempty"` Description *string `json:"description,omitempty"` InstrumentId *int64 `json:"instrumentId,omitempty"` NetChange *float64 `json:"netChange,omitempty"` }
TransactionOption struct for TransactionOption
func NewTransactionOption ¶
func NewTransactionOption(assetType string) *TransactionOption
NewTransactionOption instantiates a new TransactionOption 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 NewTransactionOptionWithDefaults ¶
func NewTransactionOptionWithDefaults() *TransactionOption
NewTransactionOptionWithDefaults instantiates a new TransactionOption 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 (*TransactionOption) GetAssetType ¶
func (o *TransactionOption) GetAssetType() string
GetAssetType returns the AssetType field value
func (*TransactionOption) GetAssetTypeOk ¶
func (o *TransactionOption) GetAssetTypeOk() (*string, bool)
GetAssetTypeOk returns a tuple with the AssetType field value and a boolean to check if the value has been set.
func (*TransactionOption) GetCusip ¶
func (o *TransactionOption) GetCusip() string
GetCusip returns the Cusip field value if set, zero value otherwise.
func (*TransactionOption) GetCusipOk ¶
func (o *TransactionOption) GetCusipOk() (*string, bool)
GetCusipOk returns a tuple with the Cusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionOption) GetDeliverable ¶
func (o *TransactionOption) GetDeliverable() TransactionInstrument
GetDeliverable returns the Deliverable field value if set, zero value otherwise.
func (*TransactionOption) GetDeliverableOk ¶
func (o *TransactionOption) GetDeliverableOk() (*TransactionInstrument, bool)
GetDeliverableOk returns a tuple with the Deliverable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionOption) GetDescription ¶
func (o *TransactionOption) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*TransactionOption) GetDescriptionOk ¶
func (o *TransactionOption) 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 (*TransactionOption) GetExpirationDate ¶
func (o *TransactionOption) GetExpirationDate() time.Time
GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise.
func (*TransactionOption) GetExpirationDateOk ¶
func (o *TransactionOption) 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 (*TransactionOption) GetInstrumentId ¶
func (o *TransactionOption) GetInstrumentId() int64
GetInstrumentId returns the InstrumentId field value if set, zero value otherwise.
func (*TransactionOption) GetInstrumentIdOk ¶
func (o *TransactionOption) GetInstrumentIdOk() (*int64, bool)
GetInstrumentIdOk returns a tuple with the InstrumentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionOption) GetNetChange ¶
func (o *TransactionOption) GetNetChange() float64
GetNetChange returns the NetChange field value if set, zero value otherwise.
func (*TransactionOption) GetNetChangeOk ¶
func (o *TransactionOption) GetNetChangeOk() (*float64, bool)
GetNetChangeOk returns a tuple with the NetChange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionOption) GetOptionDeliverables ¶
func (o *TransactionOption) GetOptionDeliverables() []TransactionAPIOptionDeliverable
GetOptionDeliverables returns the OptionDeliverables field value if set, zero value otherwise.
func (*TransactionOption) GetOptionDeliverablesOk ¶
func (o *TransactionOption) GetOptionDeliverablesOk() ([]TransactionAPIOptionDeliverable, bool)
GetOptionDeliverablesOk returns a tuple with the OptionDeliverables field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionOption) GetOptionPremiumMultiplier ¶
func (o *TransactionOption) GetOptionPremiumMultiplier() int64
GetOptionPremiumMultiplier returns the OptionPremiumMultiplier field value if set, zero value otherwise.
func (*TransactionOption) GetOptionPremiumMultiplierOk ¶
func (o *TransactionOption) GetOptionPremiumMultiplierOk() (*int64, bool)
GetOptionPremiumMultiplierOk returns a tuple with the OptionPremiumMultiplier field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionOption) GetPutCall ¶
func (o *TransactionOption) GetPutCall() string
GetPutCall returns the PutCall field value if set, zero value otherwise.
func (*TransactionOption) GetPutCallOk ¶
func (o *TransactionOption) GetPutCallOk() (*string, bool)
GetPutCallOk returns a tuple with the PutCall field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionOption) GetStrikePrice ¶
func (o *TransactionOption) GetStrikePrice() float64
GetStrikePrice returns the StrikePrice field value if set, zero value otherwise.
func (*TransactionOption) GetStrikePriceOk ¶
func (o *TransactionOption) GetStrikePriceOk() (*float64, bool)
GetStrikePriceOk returns a tuple with the StrikePrice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionOption) GetSymbol ¶
func (o *TransactionOption) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*TransactionOption) GetSymbolOk ¶
func (o *TransactionOption) 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 (*TransactionOption) GetType ¶
func (o *TransactionOption) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*TransactionOption) GetTypeOk ¶
func (o *TransactionOption) 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 (*TransactionOption) GetUnderlyingCusip ¶
func (o *TransactionOption) GetUnderlyingCusip() string
GetUnderlyingCusip returns the UnderlyingCusip field value if set, zero value otherwise.
func (*TransactionOption) GetUnderlyingCusipOk ¶
func (o *TransactionOption) GetUnderlyingCusipOk() (*string, bool)
GetUnderlyingCusipOk returns a tuple with the UnderlyingCusip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionOption) GetUnderlyingSymbol ¶
func (o *TransactionOption) GetUnderlyingSymbol() string
GetUnderlyingSymbol returns the UnderlyingSymbol field value if set, zero value otherwise.
func (*TransactionOption) GetUnderlyingSymbolOk ¶
func (o *TransactionOption) GetUnderlyingSymbolOk() (*string, bool)
GetUnderlyingSymbolOk returns a tuple with the UnderlyingSymbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionOption) HasCusip ¶
func (o *TransactionOption) HasCusip() bool
HasCusip returns a boolean if a field has been set.
func (*TransactionOption) HasDeliverable ¶
func (o *TransactionOption) HasDeliverable() bool
HasDeliverable returns a boolean if a field has been set.
func (*TransactionOption) HasDescription ¶
func (o *TransactionOption) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*TransactionOption) HasExpirationDate ¶
func (o *TransactionOption) HasExpirationDate() bool
HasExpirationDate returns a boolean if a field has been set.
func (*TransactionOption) HasInstrumentId ¶
func (o *TransactionOption) HasInstrumentId() bool
HasInstrumentId returns a boolean if a field has been set.
func (*TransactionOption) HasNetChange ¶
func (o *TransactionOption) HasNetChange() bool
HasNetChange returns a boolean if a field has been set.
func (*TransactionOption) HasOptionDeliverables ¶
func (o *TransactionOption) HasOptionDeliverables() bool
HasOptionDeliverables returns a boolean if a field has been set.
func (*TransactionOption) HasOptionPremiumMultiplier ¶
func (o *TransactionOption) HasOptionPremiumMultiplier() bool
HasOptionPremiumMultiplier returns a boolean if a field has been set.
func (*TransactionOption) HasPutCall ¶
func (o *TransactionOption) HasPutCall() bool
HasPutCall returns a boolean if a field has been set.
func (*TransactionOption) HasStrikePrice ¶
func (o *TransactionOption) HasStrikePrice() bool
HasStrikePrice returns a boolean if a field has been set.
func (*TransactionOption) HasSymbol ¶
func (o *TransactionOption) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (*TransactionOption) HasType ¶
func (o *TransactionOption) HasType() bool
HasType returns a boolean if a field has been set.
func (*TransactionOption) HasUnderlyingCusip ¶
func (o *TransactionOption) HasUnderlyingCusip() bool
HasUnderlyingCusip returns a boolean if a field has been set.
func (*TransactionOption) HasUnderlyingSymbol ¶
func (o *TransactionOption) HasUnderlyingSymbol() bool
HasUnderlyingSymbol returns a boolean if a field has been set.
func (TransactionOption) MarshalJSON ¶
func (o TransactionOption) MarshalJSON() ([]byte, error)
func (*TransactionOption) SetAssetType ¶
func (o *TransactionOption) SetAssetType(v string)
SetAssetType sets field value
func (*TransactionOption) SetCusip ¶
func (o *TransactionOption) SetCusip(v string)
SetCusip gets a reference to the given string and assigns it to the Cusip field.
func (*TransactionOption) SetDeliverable ¶
func (o *TransactionOption) SetDeliverable(v TransactionInstrument)
SetDeliverable gets a reference to the given TransactionInstrument and assigns it to the Deliverable field.
func (*TransactionOption) SetDescription ¶
func (o *TransactionOption) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*TransactionOption) SetExpirationDate ¶
func (o *TransactionOption) SetExpirationDate(v time.Time)
SetExpirationDate gets a reference to the given time.Time and assigns it to the ExpirationDate field.
func (*TransactionOption) SetInstrumentId ¶
func (o *TransactionOption) SetInstrumentId(v int64)
SetInstrumentId gets a reference to the given int64 and assigns it to the InstrumentId field.
func (*TransactionOption) SetNetChange ¶
func (o *TransactionOption) SetNetChange(v float64)
SetNetChange gets a reference to the given float64 and assigns it to the NetChange field.
func (*TransactionOption) SetOptionDeliverables ¶
func (o *TransactionOption) SetOptionDeliverables(v []TransactionAPIOptionDeliverable)
SetOptionDeliverables gets a reference to the given []TransactionAPIOptionDeliverable and assigns it to the OptionDeliverables field.
func (*TransactionOption) SetOptionPremiumMultiplier ¶
func (o *TransactionOption) SetOptionPremiumMultiplier(v int64)
SetOptionPremiumMultiplier gets a reference to the given int64 and assigns it to the OptionPremiumMultiplier field.
func (*TransactionOption) SetPutCall ¶
func (o *TransactionOption) SetPutCall(v string)
SetPutCall gets a reference to the given string and assigns it to the PutCall field.
func (*TransactionOption) SetStrikePrice ¶
func (o *TransactionOption) SetStrikePrice(v float64)
SetStrikePrice gets a reference to the given float64 and assigns it to the StrikePrice field.
func (*TransactionOption) SetSymbol ¶
func (o *TransactionOption) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*TransactionOption) SetType ¶
func (o *TransactionOption) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*TransactionOption) SetUnderlyingCusip ¶
func (o *TransactionOption) SetUnderlyingCusip(v string)
SetUnderlyingCusip gets a reference to the given string and assigns it to the UnderlyingCusip field.
func (*TransactionOption) SetUnderlyingSymbol ¶
func (o *TransactionOption) SetUnderlyingSymbol(v string)
SetUnderlyingSymbol gets a reference to the given string and assigns it to the UnderlyingSymbol field.
func (TransactionOption) ToMap ¶
func (o TransactionOption) ToMap() (map[string]interface{}, error)
func (*TransactionOption) UnmarshalJSON ¶
func (o *TransactionOption) UnmarshalJSON(data []byte) (err error)
type TransactionType ¶
type TransactionType string
TransactionType the model 'TransactionType'
const ( TRANSACTIONTYPE_TRADE TransactionType = "TRADE" TRANSACTIONTYPE_RECEIVE_AND_DELIVER TransactionType = "RECEIVE_AND_DELIVER" TRANSACTIONTYPE_DIVIDEND_OR_INTEREST TransactionType = "DIVIDEND_OR_INTEREST" TRANSACTIONTYPE_ACH_RECEIPT TransactionType = "ACH_RECEIPT" TRANSACTIONTYPE_ACH_DISBURSEMENT TransactionType = "ACH_DISBURSEMENT" TRANSACTIONTYPE_CASH_RECEIPT TransactionType = "CASH_RECEIPT" TRANSACTIONTYPE_CASH_DISBURSEMENT TransactionType = "CASH_DISBURSEMENT" TRANSACTIONTYPE_ELECTRONIC_FUND TransactionType = "ELECTRONIC_FUND" TRANSACTIONTYPE_WIRE_OUT TransactionType = "WIRE_OUT" TRANSACTIONTYPE_WIRE_IN TransactionType = "WIRE_IN" TRANSACTIONTYPE_JOURNAL TransactionType = "JOURNAL" TRANSACTIONTYPE_MEMORANDUM TransactionType = "MEMORANDUM" TRANSACTIONTYPE_MARGIN_CALL TransactionType = "MARGIN_CALL" TRANSACTIONTYPE_MONEY_MARKET TransactionType = "MONEY_MARKET" TRANSACTIONTYPE_SMA_ADJUSTMENT TransactionType = "SMA_ADJUSTMENT" )
List of TransactionType
func NewTransactionTypeFromValue ¶
func NewTransactionTypeFromValue(v string) (*TransactionType, error)
NewTransactionTypeFromValue returns a pointer to a valid TransactionType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (TransactionType) IsValid ¶
func (v TransactionType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (TransactionType) Ptr ¶
func (v TransactionType) Ptr() *TransactionType
Ptr returns reference to TransactionType value
func (*TransactionType) UnmarshalJSON ¶
func (v *TransactionType) UnmarshalJSON(src []byte) error
type TransactionsAPIService ¶
type TransactionsAPIService service
TransactionsAPIService TransactionsAPI service
func (*TransactionsAPIService) GetTransactionsById ¶
func (a *TransactionsAPIService) GetTransactionsById(ctx context.Context, accountNumber string, transactionId int64) ApiGetTransactionsByIdRequest
GetTransactionsById Get specific transaction information for a specific account
Get specific transaction information for a specific account
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountNumber The encrypted ID of the account @param transactionId The ID of the transaction being retrieved. @return ApiGetTransactionsByIdRequest
func (*TransactionsAPIService) GetTransactionsByIdExecute ¶
func (a *TransactionsAPIService) GetTransactionsByIdExecute(r ApiGetTransactionsByIdRequest) ([]Transaction, *http.Response, error)
Execute executes the request
@return []Transaction
func (*TransactionsAPIService) GetTransactionsByPathParam ¶
func (a *TransactionsAPIService) GetTransactionsByPathParam(ctx context.Context, accountNumber string) ApiGetTransactionsByPathParamRequest
GetTransactionsByPathParam Get all transactions information for a specific account.
All transactions for a specific account. Maximum transactions in response is 3000.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param accountNumber The encrypted ID of the account @return ApiGetTransactionsByPathParamRequest
func (*TransactionsAPIService) GetTransactionsByPathParamExecute ¶
func (a *TransactionsAPIService) GetTransactionsByPathParamExecute(r ApiGetTransactionsByPathParamRequest) ([]Transaction, *http.Response, error)
Execute executes the request
@return []Transaction
type TransferItem ¶
type TransferItem struct { Instrument *TransactionInstrument `json:"instrument,omitempty"` Amount *float64 `json:"amount,omitempty"` Cost *float64 `json:"cost,omitempty"` Price *float64 `json:"price,omitempty"` FeeType *string `json:"feeType,omitempty"` PositionEffect *string `json:"positionEffect,omitempty"` }
TransferItem struct for TransferItem
func NewTransferItem ¶
func NewTransferItem() *TransferItem
NewTransferItem instantiates a new TransferItem 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 NewTransferItemWithDefaults ¶
func NewTransferItemWithDefaults() *TransferItem
NewTransferItemWithDefaults instantiates a new TransferItem 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 (*TransferItem) GetAmount ¶
func (o *TransferItem) GetAmount() float64
GetAmount returns the Amount field value if set, zero value otherwise.
func (*TransferItem) GetAmountOk ¶
func (o *TransferItem) GetAmountOk() (*float64, 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 (*TransferItem) GetCost ¶
func (o *TransferItem) GetCost() float64
GetCost returns the Cost field value if set, zero value otherwise.
func (*TransferItem) GetCostOk ¶
func (o *TransferItem) GetCostOk() (*float64, bool)
GetCostOk returns a tuple with the Cost field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferItem) GetFeeType ¶
func (o *TransferItem) GetFeeType() string
GetFeeType returns the FeeType field value if set, zero value otherwise.
func (*TransferItem) GetFeeTypeOk ¶
func (o *TransferItem) GetFeeTypeOk() (*string, bool)
GetFeeTypeOk returns a tuple with the FeeType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferItem) GetInstrument ¶
func (o *TransferItem) GetInstrument() TransactionInstrument
GetInstrument returns the Instrument field value if set, zero value otherwise.
func (*TransferItem) GetInstrumentOk ¶
func (o *TransferItem) GetInstrumentOk() (*TransactionInstrument, 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 (*TransferItem) GetPositionEffect ¶
func (o *TransferItem) GetPositionEffect() string
GetPositionEffect returns the PositionEffect field value if set, zero value otherwise.
func (*TransferItem) GetPositionEffectOk ¶
func (o *TransferItem) GetPositionEffectOk() (*string, bool)
GetPositionEffectOk returns a tuple with the PositionEffect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferItem) GetPrice ¶
func (o *TransferItem) GetPrice() float64
GetPrice returns the Price field value if set, zero value otherwise.
func (*TransferItem) GetPriceOk ¶
func (o *TransferItem) GetPriceOk() (*float64, 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 (*TransferItem) HasAmount ¶
func (o *TransferItem) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*TransferItem) HasCost ¶
func (o *TransferItem) HasCost() bool
HasCost returns a boolean if a field has been set.
func (*TransferItem) HasFeeType ¶
func (o *TransferItem) HasFeeType() bool
HasFeeType returns a boolean if a field has been set.
func (*TransferItem) HasInstrument ¶
func (o *TransferItem) HasInstrument() bool
HasInstrument returns a boolean if a field has been set.
func (*TransferItem) HasPositionEffect ¶
func (o *TransferItem) HasPositionEffect() bool
HasPositionEffect returns a boolean if a field has been set.
func (*TransferItem) HasPrice ¶
func (o *TransferItem) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (TransferItem) MarshalJSON ¶
func (o TransferItem) MarshalJSON() ([]byte, error)
func (*TransferItem) SetAmount ¶
func (o *TransferItem) SetAmount(v float64)
SetAmount gets a reference to the given float64 and assigns it to the Amount field.
func (*TransferItem) SetCost ¶
func (o *TransferItem) SetCost(v float64)
SetCost gets a reference to the given float64 and assigns it to the Cost field.
func (*TransferItem) SetFeeType ¶
func (o *TransferItem) SetFeeType(v string)
SetFeeType gets a reference to the given string and assigns it to the FeeType field.
func (*TransferItem) SetInstrument ¶
func (o *TransferItem) SetInstrument(v TransactionInstrument)
SetInstrument gets a reference to the given TransactionInstrument and assigns it to the Instrument field.
func (*TransferItem) SetPositionEffect ¶
func (o *TransferItem) SetPositionEffect(v string)
SetPositionEffect gets a reference to the given string and assigns it to the PositionEffect field.
func (*TransferItem) SetPrice ¶
func (o *TransferItem) SetPrice(v float64)
SetPrice gets a reference to the given float64 and assigns it to the Price field.
func (TransferItem) ToMap ¶
func (o TransferItem) ToMap() (map[string]interface{}, error)
type UserDetails ¶
type UserDetails struct { CdDomainId *string `json:"cdDomainId,omitempty"` Login *string `json:"login,omitempty"` Type *string `json:"type,omitempty"` UserId *int64 `json:"userId,omitempty"` SystemUserName *string `json:"systemUserName,omitempty"` FirstName *string `json:"firstName,omitempty"` LastName *string `json:"lastName,omitempty"` BrokerRepCode *string `json:"brokerRepCode,omitempty"` }
UserDetails struct for UserDetails
func NewUserDetails ¶
func NewUserDetails() *UserDetails
NewUserDetails instantiates a new UserDetails 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 NewUserDetailsWithDefaults ¶
func NewUserDetailsWithDefaults() *UserDetails
NewUserDetailsWithDefaults instantiates a new UserDetails 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 (*UserDetails) GetBrokerRepCode ¶
func (o *UserDetails) GetBrokerRepCode() string
GetBrokerRepCode returns the BrokerRepCode field value if set, zero value otherwise.
func (*UserDetails) GetBrokerRepCodeOk ¶
func (o *UserDetails) GetBrokerRepCodeOk() (*string, bool)
GetBrokerRepCodeOk returns a tuple with the BrokerRepCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserDetails) GetCdDomainId ¶
func (o *UserDetails) GetCdDomainId() string
GetCdDomainId returns the CdDomainId field value if set, zero value otherwise.
func (*UserDetails) GetCdDomainIdOk ¶
func (o *UserDetails) GetCdDomainIdOk() (*string, bool)
GetCdDomainIdOk returns a tuple with the CdDomainId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserDetails) GetFirstName ¶
func (o *UserDetails) GetFirstName() string
GetFirstName returns the FirstName field value if set, zero value otherwise.
func (*UserDetails) GetFirstNameOk ¶
func (o *UserDetails) GetFirstNameOk() (*string, bool)
GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserDetails) GetLastName ¶
func (o *UserDetails) GetLastName() string
GetLastName returns the LastName field value if set, zero value otherwise.
func (*UserDetails) GetLastNameOk ¶
func (o *UserDetails) GetLastNameOk() (*string, bool)
GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserDetails) GetLogin ¶
func (o *UserDetails) GetLogin() string
GetLogin returns the Login field value if set, zero value otherwise.
func (*UserDetails) GetLoginOk ¶
func (o *UserDetails) GetLoginOk() (*string, bool)
GetLoginOk returns a tuple with the Login field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserDetails) GetSystemUserName ¶
func (o *UserDetails) GetSystemUserName() string
GetSystemUserName returns the SystemUserName field value if set, zero value otherwise.
func (*UserDetails) GetSystemUserNameOk ¶
func (o *UserDetails) GetSystemUserNameOk() (*string, bool)
GetSystemUserNameOk returns a tuple with the SystemUserName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserDetails) GetType ¶
func (o *UserDetails) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*UserDetails) GetTypeOk ¶
func (o *UserDetails) 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 (*UserDetails) GetUserId ¶
func (o *UserDetails) GetUserId() int64
GetUserId returns the UserId field value if set, zero value otherwise.
func (*UserDetails) GetUserIdOk ¶
func (o *UserDetails) GetUserIdOk() (*int64, 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 (*UserDetails) HasBrokerRepCode ¶
func (o *UserDetails) HasBrokerRepCode() bool
HasBrokerRepCode returns a boolean if a field has been set.
func (*UserDetails) HasCdDomainId ¶
func (o *UserDetails) HasCdDomainId() bool
HasCdDomainId returns a boolean if a field has been set.
func (*UserDetails) HasFirstName ¶
func (o *UserDetails) HasFirstName() bool
HasFirstName returns a boolean if a field has been set.
func (*UserDetails) HasLastName ¶
func (o *UserDetails) HasLastName() bool
HasLastName returns a boolean if a field has been set.
func (*UserDetails) HasLogin ¶
func (o *UserDetails) HasLogin() bool
HasLogin returns a boolean if a field has been set.
func (*UserDetails) HasSystemUserName ¶
func (o *UserDetails) HasSystemUserName() bool
HasSystemUserName returns a boolean if a field has been set.
func (*UserDetails) HasType ¶
func (o *UserDetails) HasType() bool
HasType returns a boolean if a field has been set.
func (*UserDetails) HasUserId ¶
func (o *UserDetails) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (UserDetails) MarshalJSON ¶
func (o UserDetails) MarshalJSON() ([]byte, error)
func (*UserDetails) SetBrokerRepCode ¶
func (o *UserDetails) SetBrokerRepCode(v string)
SetBrokerRepCode gets a reference to the given string and assigns it to the BrokerRepCode field.
func (*UserDetails) SetCdDomainId ¶
func (o *UserDetails) SetCdDomainId(v string)
SetCdDomainId gets a reference to the given string and assigns it to the CdDomainId field.
func (*UserDetails) SetFirstName ¶
func (o *UserDetails) SetFirstName(v string)
SetFirstName gets a reference to the given string and assigns it to the FirstName field.
func (*UserDetails) SetLastName ¶
func (o *UserDetails) SetLastName(v string)
SetLastName gets a reference to the given string and assigns it to the LastName field.
func (*UserDetails) SetLogin ¶
func (o *UserDetails) SetLogin(v string)
SetLogin gets a reference to the given string and assigns it to the Login field.
func (*UserDetails) SetSystemUserName ¶
func (o *UserDetails) SetSystemUserName(v string)
SetSystemUserName gets a reference to the given string and assigns it to the SystemUserName field.
func (*UserDetails) SetType ¶
func (o *UserDetails) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*UserDetails) SetUserId ¶
func (o *UserDetails) SetUserId(v int64)
SetUserId gets a reference to the given int64 and assigns it to the UserId field.
func (UserDetails) ToMap ¶
func (o UserDetails) ToMap() (map[string]interface{}, error)
type UserPreference ¶
type UserPreference struct { Accounts []UserProferenceAccount `json:"accounts,omitempty"` StreamerInfo []StreamerInfo `json:"streamerInfo,omitempty"` Offers []Offer `json:"offers,omitempty"` }
UserPreference struct for UserPreference
func NewUserPreference ¶
func NewUserPreference() *UserPreference
NewUserPreference instantiates a new UserPreference 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 NewUserPreferenceWithDefaults ¶
func NewUserPreferenceWithDefaults() *UserPreference
NewUserPreferenceWithDefaults instantiates a new UserPreference 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 (*UserPreference) GetAccounts ¶
func (o *UserPreference) GetAccounts() []UserProferenceAccount
GetAccounts returns the Accounts field value if set, zero value otherwise.
func (*UserPreference) GetAccountsOk ¶
func (o *UserPreference) GetAccountsOk() ([]UserProferenceAccount, bool)
GetAccountsOk returns a tuple with the Accounts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserPreference) GetOffers ¶
func (o *UserPreference) GetOffers() []Offer
GetOffers returns the Offers field value if set, zero value otherwise.
func (*UserPreference) GetOffersOk ¶
func (o *UserPreference) GetOffersOk() ([]Offer, bool)
GetOffersOk returns a tuple with the Offers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserPreference) GetStreamerInfo ¶
func (o *UserPreference) GetStreamerInfo() []StreamerInfo
GetStreamerInfo returns the StreamerInfo field value if set, zero value otherwise.
func (*UserPreference) GetStreamerInfoOk ¶
func (o *UserPreference) GetStreamerInfoOk() ([]StreamerInfo, bool)
GetStreamerInfoOk returns a tuple with the StreamerInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserPreference) HasAccounts ¶
func (o *UserPreference) HasAccounts() bool
HasAccounts returns a boolean if a field has been set.
func (*UserPreference) HasOffers ¶
func (o *UserPreference) HasOffers() bool
HasOffers returns a boolean if a field has been set.
func (*UserPreference) HasStreamerInfo ¶
func (o *UserPreference) HasStreamerInfo() bool
HasStreamerInfo returns a boolean if a field has been set.
func (UserPreference) MarshalJSON ¶
func (o UserPreference) MarshalJSON() ([]byte, error)
func (*UserPreference) SetAccounts ¶
func (o *UserPreference) SetAccounts(v []UserProferenceAccount)
SetAccounts gets a reference to the given []UserProferenceAccount and assigns it to the Accounts field.
func (*UserPreference) SetOffers ¶
func (o *UserPreference) SetOffers(v []Offer)
SetOffers gets a reference to the given []Offer and assigns it to the Offers field.
func (*UserPreference) SetStreamerInfo ¶
func (o *UserPreference) SetStreamerInfo(v []StreamerInfo)
SetStreamerInfo gets a reference to the given []StreamerInfo and assigns it to the StreamerInfo field.
func (UserPreference) ToMap ¶
func (o UserPreference) ToMap() (map[string]interface{}, error)
type UserPreferenceAPIService ¶
type UserPreferenceAPIService service
UserPreferenceAPIService UserPreferenceAPI service
func (*UserPreferenceAPIService) GetUserPreference ¶
func (a *UserPreferenceAPIService) GetUserPreference(ctx context.Context) ApiGetUserPreferenceRequest
GetUserPreference Get user preference information for the logged in user.
Get user preference information for the logged in user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetUserPreferenceRequest
func (*UserPreferenceAPIService) GetUserPreferenceExecute ¶
func (a *UserPreferenceAPIService) GetUserPreferenceExecute(r ApiGetUserPreferenceRequest) ([]UserPreference, *http.Response, error)
Execute executes the request
@return []UserPreference
type UserProferenceAccount ¶
type UserProferenceAccount struct { AccountNumber *string `json:"accountNumber,omitempty"` PrimaryAccount *bool `json:"primaryAccount,omitempty"` Type *string `json:"type,omitempty"` NickName *string `json:"nickName,omitempty"` // Green | Blue AccountColor *string `json:"accountColor,omitempty"` DisplayAcctId *string `json:"displayAcctId,omitempty"` AutoPositionEffect *bool `json:"autoPositionEffect,omitempty"` }
UserProferenceAccount struct for UserProferenceAccount
func NewUserProferenceAccount ¶
func NewUserProferenceAccount() *UserProferenceAccount
NewUserProferenceAccount instantiates a new UserProferenceAccount 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 NewUserProferenceAccountWithDefaults ¶
func NewUserProferenceAccountWithDefaults() *UserProferenceAccount
NewUserProferenceAccountWithDefaults instantiates a new UserProferenceAccount 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 (*UserProferenceAccount) GetAccountColor ¶
func (o *UserProferenceAccount) GetAccountColor() string
GetAccountColor returns the AccountColor field value if set, zero value otherwise.
func (*UserProferenceAccount) GetAccountColorOk ¶
func (o *UserProferenceAccount) GetAccountColorOk() (*string, bool)
GetAccountColorOk returns a tuple with the AccountColor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserProferenceAccount) GetAccountNumber ¶
func (o *UserProferenceAccount) GetAccountNumber() string
GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.
func (*UserProferenceAccount) GetAccountNumberOk ¶
func (o *UserProferenceAccount) GetAccountNumberOk() (*string, bool)
GetAccountNumberOk returns a tuple with the AccountNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserProferenceAccount) GetAutoPositionEffect ¶
func (o *UserProferenceAccount) GetAutoPositionEffect() bool
GetAutoPositionEffect returns the AutoPositionEffect field value if set, zero value otherwise.
func (*UserProferenceAccount) GetAutoPositionEffectOk ¶
func (o *UserProferenceAccount) GetAutoPositionEffectOk() (*bool, bool)
GetAutoPositionEffectOk returns a tuple with the AutoPositionEffect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserProferenceAccount) GetDisplayAcctId ¶
func (o *UserProferenceAccount) GetDisplayAcctId() string
GetDisplayAcctId returns the DisplayAcctId field value if set, zero value otherwise.
func (*UserProferenceAccount) GetDisplayAcctIdOk ¶
func (o *UserProferenceAccount) GetDisplayAcctIdOk() (*string, bool)
GetDisplayAcctIdOk returns a tuple with the DisplayAcctId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserProferenceAccount) GetNickName ¶
func (o *UserProferenceAccount) GetNickName() string
GetNickName returns the NickName field value if set, zero value otherwise.
func (*UserProferenceAccount) GetNickNameOk ¶
func (o *UserProferenceAccount) GetNickNameOk() (*string, bool)
GetNickNameOk returns a tuple with the NickName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserProferenceAccount) GetPrimaryAccount ¶
func (o *UserProferenceAccount) GetPrimaryAccount() bool
GetPrimaryAccount returns the PrimaryAccount field value if set, zero value otherwise.
func (*UserProferenceAccount) GetPrimaryAccountOk ¶
func (o *UserProferenceAccount) GetPrimaryAccountOk() (*bool, bool)
GetPrimaryAccountOk returns a tuple with the PrimaryAccount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserProferenceAccount) GetType ¶
func (o *UserProferenceAccount) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*UserProferenceAccount) GetTypeOk ¶
func (o *UserProferenceAccount) 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 (*UserProferenceAccount) HasAccountColor ¶
func (o *UserProferenceAccount) HasAccountColor() bool
HasAccountColor returns a boolean if a field has been set.
func (*UserProferenceAccount) HasAccountNumber ¶
func (o *UserProferenceAccount) HasAccountNumber() bool
HasAccountNumber returns a boolean if a field has been set.
func (*UserProferenceAccount) HasAutoPositionEffect ¶
func (o *UserProferenceAccount) HasAutoPositionEffect() bool
HasAutoPositionEffect returns a boolean if a field has been set.
func (*UserProferenceAccount) HasDisplayAcctId ¶
func (o *UserProferenceAccount) HasDisplayAcctId() bool
HasDisplayAcctId returns a boolean if a field has been set.
func (*UserProferenceAccount) HasNickName ¶
func (o *UserProferenceAccount) HasNickName() bool
HasNickName returns a boolean if a field has been set.
func (*UserProferenceAccount) HasPrimaryAccount ¶
func (o *UserProferenceAccount) HasPrimaryAccount() bool
HasPrimaryAccount returns a boolean if a field has been set.
func (*UserProferenceAccount) HasType ¶
func (o *UserProferenceAccount) HasType() bool
HasType returns a boolean if a field has been set.
func (UserProferenceAccount) MarshalJSON ¶
func (o UserProferenceAccount) MarshalJSON() ([]byte, error)
func (*UserProferenceAccount) SetAccountColor ¶
func (o *UserProferenceAccount) SetAccountColor(v string)
SetAccountColor gets a reference to the given string and assigns it to the AccountColor field.
func (*UserProferenceAccount) SetAccountNumber ¶
func (o *UserProferenceAccount) SetAccountNumber(v string)
SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.
func (*UserProferenceAccount) SetAutoPositionEffect ¶
func (o *UserProferenceAccount) SetAutoPositionEffect(v bool)
SetAutoPositionEffect gets a reference to the given bool and assigns it to the AutoPositionEffect field.
func (*UserProferenceAccount) SetDisplayAcctId ¶
func (o *UserProferenceAccount) SetDisplayAcctId(v string)
SetDisplayAcctId gets a reference to the given string and assigns it to the DisplayAcctId field.
func (*UserProferenceAccount) SetNickName ¶
func (o *UserProferenceAccount) SetNickName(v string)
SetNickName gets a reference to the given string and assigns it to the NickName field.
func (*UserProferenceAccount) SetPrimaryAccount ¶
func (o *UserProferenceAccount) SetPrimaryAccount(v bool)
SetPrimaryAccount gets a reference to the given bool and assigns it to the PrimaryAccount field.
func (*UserProferenceAccount) SetType ¶
func (o *UserProferenceAccount) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (UserProferenceAccount) ToMap ¶
func (o UserProferenceAccount) ToMap() (map[string]interface{}, error)
Source Files ¶
- api_accounts.go
- api_orders.go
- api_transactions.go
- api_user_preference.go
- client.go
- configuration.go
- model_account.go
- model_account_api_option_deliverable.go
- model_account_cash_equivalent.go
- model_account_equity.go
- model_account_fixed_income.go
- model_account_mutual_fund.go
- model_account_number_hash.go
- model_account_option.go
- model_accounts_base_instrument.go
- model_accounts_instrument.go
- model_amount_indicator.go
- model_api_order_status.go
- model_api_rule_action.go
- model_asset_type.go
- model_collective_investment.go
- model_commission.go
- model_commission_and_fee.go
- model_commission_leg.go
- model_commission_value.go
- model_complex_order_strategy_type.go
- model_currency.go
- model_date_param.go
- model_duration.go
- model_execution_leg.go
- model_fee_leg.go
- model_fee_type.go
- model_fee_value.go
- model_fees.go
- model_forex.go
- model_future.go
- model_index.go
- model_instruction.go
- model_offer.go
- model_order.go
- model_order_activity.go
- model_order_balance.go
- model_order_leg.go
- model_order_leg_collection.go
- model_order_request.go
- model_order_strategy.go
- model_order_strategy_type.go
- model_order_type.go
- model_order_type_request.go
- model_order_validation_detail.go
- model_order_validation_result.go
- model_position.go
- model_preview_order.go
- model_price_link_basis.go
- model_price_link_type.go
- model_product.go
- model_requested_destination.go
- model_securities_account.go
- model_service_error.go
- model_session.go
- model_settlement_instruction.go
- model_special_instruction.go
- model_status.go
- model_stop_price_link_basis.go
- model_stop_price_link_type.go
- model_stop_type.go
- model_streamer_info.go
- model_tax_lot_method.go
- model_transaction.go
- model_transaction_api_option_deliverable.go
- model_transaction_base_instrument.go
- model_transaction_cash_equivalent.go
- model_transaction_equity.go
- model_transaction_fixed_income.go
- model_transaction_instrument.go
- model_transaction_mutual_fund.go
- model_transaction_option.go
- model_transaction_type.go
- model_transfer_item.go
- model_user_details.go
- model_user_preference.go
- model_user_proference_account.go
- response.go
- utils.go