Class AdminConfigurations
java.lang.Object
markets.alpaca.client.openapi.broker.model.AdminConfigurations
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class AdminConfigurations
extends Object
implements Serializable
These configurations show account properties that are overriden either by Alpaca Broker Operations or an automated process. These values cannot be modified by the Broker Partners. This schema represents the current, effective value of each configuration (e.g. as returned by the get trading account endpoint). For the shape of the payloads broadcast by the **events** streaming API when these values change, see [AdminConfigurationsEvent](#/components/schemas/AdminConfigurationsEvent).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe max options trading level set by admin for this account. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacctDailyTransferLimit(BigDecimal acctDailyTransferLimit) allowInstantAch(Boolean allowInstantAch) disableAlgodashAccess(Boolean disableAlgodashAccess) disableApiKey(Boolean disableApiKey) disableCrypto(Boolean disableCrypto) disableDayTrading(Boolean disableDayTrading) disableFractional(Boolean disableFractional) disableShorting(Boolean disableShorting) booleanstatic AdminConfigurationsCreate an instance of AdminConfigurations given an JSON stringOverride the correspondent level daily transfer limitsReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.If true, the account is allowed to perform instant ACHIf true, the account is allowed to access algo dashIf true, the account's API key will be disabledIf true, the account is not allowed to trade cryptosIf true, the account is not allowed to day trade (e.g.If true, the account cannot create orders for fractional share positionsIf true the account is not allowed to create short position ordersIf true, incoming transfers to this account are rejectedThe max margin multiplier set by admin for this account.The max options trading level set by admin for this account.If true, outgoing transfers from this account are rejectedGet restrictToLiquidationReasonsinthashCode()incomingTransfersBlocked(Boolean incomingTransfersBlocked) maxMarginMultiplier(String maxMarginMultiplier) maxOptionsTradingLevel(AdminConfigurations.MaxOptionsTradingLevelEnum maxOptionsTradingLevel) outgoingTransfersBlocked(Boolean outgoingTransfersBlocked) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.restrictToLiquidationReasons(RestrictToLiquidationReasons restrictToLiquidationReasons) voidsetAcctDailyTransferLimit(BigDecimal acctDailyTransferLimit) voidsetAllowInstantAch(Boolean allowInstantAch) voidsetDisableAlgodashAccess(Boolean disableAlgodashAccess) voidsetDisableApiKey(Boolean disableApiKey) voidsetDisableCrypto(Boolean disableCrypto) voidsetDisableDayTrading(Boolean disableDayTrading) voidsetDisableFractional(Boolean disableFractional) voidsetDisableShorting(Boolean disableShorting) voidsetIncomingTransfersBlocked(Boolean incomingTransfersBlocked) voidsetMaxMarginMultiplier(String maxMarginMultiplier) voidsetMaxOptionsTradingLevel(AdminConfigurations.MaxOptionsTradingLevelEnum maxOptionsTradingLevel) voidsetOutgoingTransfersBlocked(Boolean outgoingTransfersBlocked) voidsetRestrictToLiquidationReasons(RestrictToLiquidationReasons restrictToLiquidationReasons) toJson()Convert an instance of AdminConfigurations to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ACCT_DAILY_TRANSFER_LIMIT
- See Also:
-
SERIALIZED_NAME_ALLOW_INSTANT_ACH
- See Also:
-
SERIALIZED_NAME_DISABLE_ALGODASH_ACCESS
- See Also:
-
SERIALIZED_NAME_DISABLE_API_KEY
- See Also:
-
SERIALIZED_NAME_DISABLE_CRYPTO
- See Also:
-
SERIALIZED_NAME_DISABLE_DAY_TRADING
- See Also:
-
SERIALIZED_NAME_DISABLE_FRACTIONAL
- See Also:
-
SERIALIZED_NAME_DISABLE_SHORTING
- See Also:
-
SERIALIZED_NAME_INCOMING_TRANSFERS_BLOCKED
- See Also:
-
SERIALIZED_NAME_MAX_MARGIN_MULTIPLIER
- See Also:
-
SERIALIZED_NAME_MAX_OPTIONS_TRADING_LEVEL
- See Also:
-
SERIALIZED_NAME_OUTGOING_TRANSFERS_BLOCKED
- See Also:
-
SERIALIZED_NAME_RESTRICT_TO_LIQUIDATION_REASONS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AdminConfigurations
public AdminConfigurations()
-
-
Method Details
-
acctDailyTransferLimit
-
getAcctDailyTransferLimit
Override the correspondent level daily transfer limits- Returns:
- acctDailyTransferLimit
-
setAcctDailyTransferLimit
-
allowInstantAch
-
getAllowInstantAch
If true, the account is allowed to perform instant ACH- Returns:
- allowInstantAch
-
setAllowInstantAch
-
disableAlgodashAccess
-
getDisableAlgodashAccess
If true, the account is allowed to access algo dash- Returns:
- disableAlgodashAccess
-
setDisableAlgodashAccess
-
disableApiKey
-
getDisableApiKey
If true, the account's API key will be disabled- Returns:
- disableApiKey
-
setDisableApiKey
-
disableCrypto
-
getDisableCrypto
If true, the account is not allowed to trade cryptos- Returns:
- disableCrypto
-
setDisableCrypto
-
disableDayTrading
-
getDisableDayTrading
If true, the account is not allowed to day trade (e.g. buy and sell the same security on the same day)- Returns:
- disableDayTrading
-
setDisableDayTrading
-
disableFractional
-
getDisableFractional
If true, the account cannot create orders for fractional share positions- Returns:
- disableFractional
-
setDisableFractional
-
disableShorting
-
getDisableShorting
If true the account is not allowed to create short position orders- Returns:
- disableShorting
-
setDisableShorting
-
incomingTransfersBlocked
-
getIncomingTransfersBlocked
If true, incoming transfers to this account are rejected- Returns:
- incomingTransfersBlocked
-
setIncomingTransfersBlocked
-
maxMarginMultiplier
-
getMaxMarginMultiplier
The max margin multiplier set by admin for this account. Can be \"1\", \"2\", or \"4\".- Returns:
- maxMarginMultiplier
-
setMaxMarginMultiplier
-
maxOptionsTradingLevel
public AdminConfigurations maxOptionsTradingLevel(@Nullable AdminConfigurations.MaxOptionsTradingLevelEnum maxOptionsTradingLevel) -
getMaxOptionsTradingLevel
The max options trading level set by admin for this account. 0=disabled, 1=Covered Call/Cash-Secured Put, 2=Long Call/Put, 3=Spreads/Straddles.- Returns:
- maxOptionsTradingLevel
-
setMaxOptionsTradingLevel
public void setMaxOptionsTradingLevel(@Nullable AdminConfigurations.MaxOptionsTradingLevelEnum maxOptionsTradingLevel) -
outgoingTransfersBlocked
-
getOutgoingTransfersBlocked
If true, outgoing transfers from this account are rejected- Returns:
- outgoingTransfersBlocked
-
setOutgoingTransfersBlocked
-
restrictToLiquidationReasons
public AdminConfigurations restrictToLiquidationReasons(@Nullable RestrictToLiquidationReasons restrictToLiquidationReasons) -
getRestrictToLiquidationReasons
Get restrictToLiquidationReasons- Returns:
- restrictToLiquidationReasons
-
setRestrictToLiquidationReasons
public void setRestrictToLiquidationReasons(@Nullable RestrictToLiquidationReasons restrictToLiquidationReasons) -
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the AdminConfigurations instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to AdminConfigurations
-
fromJson
Create an instance of AdminConfigurations given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AdminConfigurations
- Throws:
IOException- if the JSON string is invalid with respect to AdminConfigurations
-
toJson
Convert an instance of AdminConfigurations to an JSON string- Returns:
- JSON string
-