Accounts

15 settings on this page.

tastytrade OAuth Refresh Token

Setting key
oauth_refresh_token
Default
(none, must be set by the operator)

What it does

The OAuth refresh token authenticates ACondor with tastytrade. tastytrade uses OAuth 2.0; the refresh token is a long-lived credential that ACondor exchanges for a short-lived access token on each session start. Without a valid token, the bot cannot connect at all.

When to change it

When your token expires or you revoke it at the tastytrade developer portal. Live tokens: my.tastytrade.com > API Access > OAuth Applications. Sandbox tokens: developer.tastytrade.com.

Safe range

Paste the full token string. Never share it. It grants full account access.

Example

After regenerating a token in the tastytrade portal, paste the new value here and restart the bot session.

Sandbox OAuth Refresh Token

Setting key
oauth_refresh_token
Default
(none, must be set by the operator)

What it does

The OAuth refresh token for your tastytrade sandbox account. ACondor exchanges this for a short-lived access token to authenticate with the sandbox environment. The sandbox is used for dry-run validation; no real money moves. Sandbox and live tokens are separate credentials issued by different portals.

When to change it

When your sandbox token expires or you need to regenerate it. Sandbox tokens are obtained at developer.tastytrade.com, not at my.tastytrade.com. Paste the new token in the Accounts tab and restart the bot.

Safe range

Paste the full token string exactly as issued. Never share it: it grants full sandbox account access.

Example

Go to developer.tastytrade.com, log in, navigate to your sandbox application, and copy the refresh token. Paste it into the OAuth Refresh Token field on the Accounts tab for your sandbox login.

Live OAuth Refresh Token

Setting key
oauth_refresh_token
Default
(none, must be set by the operator)

What it does

The OAuth refresh token for your live tastytrade account. ACondor exchanges this for a short-lived access token to authenticate with tastytrade and place real orders. This credential grants full access to your live brokerage account; treat it like a password.

When to change it

When your token expires or you revoke it. Live tokens are obtained at my.tastytrade.com > Manage > API Access > OAuth Applications, not at developer.tastytrade.com. Paste the new token in the Accounts tab and restart the bot.

Safe range

Paste the full token string exactly as issued. Never share it: it grants full live account access including order placement.

Example

Go to my.tastytrade.com, log in, navigate to Manage > API Access > OAuth Applications, and copy the refresh token for your registered application. Paste it into the OAuth Refresh Token field on the Accounts tab for your live login.

Account Nickname

Setting key
account_nickname
Default
(none)

What it does

Display name for the account inside the ACondor dashboard. Does not affect trading behavior. Useful when running multiple accounts to distinguish them at a glance.

When to change it

Set once when configuring an account.

Safe range

Any short string.

Example

"Roth IRA", "Individual Margin", "Paper Account".

Account Type

Setting key
account_type
Default
(must be set per account)

What it does

Account type determines which options structures are allowed. Margin accounts have access to all structures including undefined-risk. IRA and cash accounts are restricted to defined-risk structures only (iron condors, credit spreads, debit spreads). Custodial accounts have a hard 5-contract cap enforced automatically. 401k accounts are blocked from all trading.

When to change it

Set once at account configuration. Do not change without understanding the structural restrictions.

Safe range

One of: margin, IRA, cash, custodial, 401k.

Example

Account type=IRA: short strangles and naked options are blocked. Only iron condors and defined-risk spreads are eligible.

Account Dry Run

Setting key
account_dry_run
Default
ON

What it does

When ON, ACondor simulates all trading activity without placing real orders. The bot runs its full logic (scanning, scoring, entry/exit decisions) but routes orders to the tastytrade sandbox or discards them. No real money moves.

When to change it

Turn OFF only when you are ready to trade real money and have validated the bot's behavior through at least one full market week in dry run mode.

Safe range

ON (safe) or OFF (live trading).

Example

First week running ACondor. Dry run ON. Bot logs 'Would enter SPY iron condor at $1.52' but places no order. Review the log and confirm decisions before going live.

Account Trading Enabled

Setting key
account_trading_enabled
Default
OFF

What it does

Master kill switch for an individual account. When OFF, no new positions enter that account regardless of any other setting. Existing positions continue to be managed and closed per their own rules.

When to change it

Turn ON when you are ready to begin trading that account. Use this to enable accounts one at a time when running multiple accounts.

Safe range

ON or OFF per account.

Example

Three accounts configured. Turn ON for your individual margin account first, observe for a week, then enable the IRA accounts once satisfied.

tastytrade Sandbox Client Secret

Setting key
tt_sandbox_secret
Default
(none, must be set by the operator)

What it does

The OAuth client secret for the tastytrade sandbox API application. Required alongside the sandbox refresh token to authenticate with the sandbox environment. Obtained from developer.tastytrade.com when you register your sandbox OAuth application. The sandbox client secret is entirely separate from the live client secret; they are issued by different portals and work with different API environments.

When to change it

When you create a new sandbox OAuth application or regenerate its client secret. After updating, restart the bot session for the new credentials to take effect.

Safe range

Never share. Treat as a password. Paste the full string exactly as issued.

Example

At developer.tastytrade.com, open your sandbox OAuth application and copy the client secret field. Paste it into the Sandbox Client Secret field on the Accounts tab.

tastytrade Live Client Secret

Setting key
tt_live_secret
Default
(none, must be set by the operator)

What it does

The OAuth client secret for the live tastytrade API application. Required alongside the live refresh token to authenticate with tastytrade and place real orders. This is a live credential: it authenticates against the real brokerage API and enables order placement on your funded account.

When to change it

When you create a new live OAuth application or regenerate its client secret. Obtained at my.tastytrade.com under Manage > API Access > OAuth Applications. After updating, restart the bot session.

Safe range

Never share. Treat as a password. Paste the full string exactly as issued.

Example

At my.tastytrade.com, navigate to Manage > API Access > OAuth Applications, open your application, and copy the client secret. Paste it into the Live Client Secret field on the Accounts tab.

Anthropic API Key

Setting key
anthropic_api_key
Default
(none, required only when news gate is enabled)

What it does

API key for the Anthropic Claude API, used by ACondor's news intelligence gate to classify news headlines and assess their impact on open positions. Without a valid key, the news gate cannot run and will log an authentication error. The news gate will not fire without this key configured.

When to change it

Set once when you enable the news gate. If you rotate your API key in the Anthropic console, update this field and restart the bot.

Safe range

Never share. Treat as a secret. Begins with 'sk-ant-'.

Example

Obtain at console.anthropic.com > API Keys > Create Key. Paste the full key value starting with 'sk-ant-' into the Anthropic API Key field on the Accounts tab.

Anthropic API Base URL

Setting key
anthropic_api_base_url
Default
https://api.anthropic.com

What it does

Base URL for all Anthropic API requests made by the news gate classifier. The default points to Anthropic's production API. Override only if you are routing through a proxy, a self-hosted endpoint, or a test environment. Changing this incorrectly will break the news gate entirely.

When to change it

Almost never. Leave at the default unless you have a specific proxy or enterprise routing requirement.

Safe range

A valid HTTPS URL with no trailing slash.

Example

Default: https://api.anthropic.com. An enterprise proxy might use https://your-proxy.internal/anthropic.

News Classifier Model

Setting key
news_classifier_model
Default
claude-haiku-4-5-20251001

What it does

The Anthropic model ID used by the news gate to classify each incoming headline. Haiku is the default because it is fast and low-cost, and news classification runs on every headline in the live feed, so latency and token cost matter. Upgrading to a larger model increases classification quality but raises API costs and adds latency to the news-gate decision loop.

When to change it

If you want higher classification accuracy and are willing to pay more per headline, switch to a Sonnet model. Do not use Opus: the throughput requirement makes it impractical.

Safe range

Any valid Anthropic model ID. Haiku is the practical floor for latency.

Example

Default: claude-haiku-4-5-20251001. To improve accuracy: claude-sonnet-4-6. Check console.anthropic.com for the current model ID list.

TradingNews API Key

Setting key
tradingnews_api_key
Default
(none, required only when news gate is enabled)

What it does

API key for the TradingNews real-time news stream. The news gate subscribes to a live WebSocket feed of financial headlines filtered by the symbols in your universe. Without this key, the news gate has no headline feed and will not function. The key authenticates the WebSocket handshake on connection.

When to change it

Set once when you enable the news gate. If you rotate your TradingNews subscription key, update this field and restart the bot.

Safe range

Never share. Treat as a secret.

Example

Obtain at your TradingNews account dashboard under API Access. Paste the key into the TradingNews API Key field on the Accounts tab.

TradingNews WebSocket URL

Setting key
tradingnews_ws_url
Default
wss://api.tradingnews.press/v1/stream

What it does

WebSocket endpoint for the TradingNews live headline stream. The news gate connects to this URL on startup and maintains a persistent connection to receive real-time headline events. The default is TradingNews's production stream endpoint. Override only if TradingNews changes their endpoint or you are using a staging environment.

When to change it

Almost never. Update only if TradingNews migrates their endpoint URL or you are testing against a staging stream.

Safe range

A valid WSS URL.

Example

Default: wss://api.tradingnews.press/v1/stream. Do not change unless instructed by TradingNews support.

Reset Account History

Setting key
account_reset
Default
OFF

What it does

Destructive action that clears all stored trade history, position records, P&L logs, and circuit breaker state for the account. This is a one-way operation: data cannot be recovered after a reset. The account will behave as if it was freshly configured. All running positions must be closed manually before resetting; the reset does not send any closing orders.

When to change it

Only use to start fresh after extensive sandbox testing or if you need to clear corrupted state. Never reset a live account with open positions.

Safe range

OFF at all times unless performing a deliberate history wipe.

Example

After completing sandbox validation, reset the sandbox account history before switching to live mode so accumulated paper-trade records do not affect live P&L reporting.

Financial Information Disclaimer

This site provides general information about ACondor, a software tool for automating options trading strategies. Nothing on this site is investment, tax, or financial advice. Options trading involves substantial risk of loss. Past behavior of any strategy does not guarantee future results. Consult a licensed financial professional before trading options. ACondor may earn a commission from affiliate links at no extra cost to you.