Creating a Bot

Creating a bot is simple and powerful. Learn how to build and customize new bots inside the autotrading platform.

To create a new bot, select “Create Bot" in the bot dashboard.

Bot dashboard highlighting Create Bot button

Customize the bot with a name and icon, select a brokerage or paper trading account, give the bot an allocation, and input position limits in the bot's global settings.

Global settings can be edited at any time but must be entered when a bot is created.

New bot global settings

Name

Give your bot a name. Naming the bot makes it easy to remember the bot’s purpose, inputs, and strategy. As you add more bots to your portfolio, it is important for the name to be easily identifiable to help keep you organized.

Icon

You can customize your bot with a colored icon to help identify your strategies and organize your portfolio.

Account

Link the bot to a connected brokerage account or paper trading account. You cannot change the bot's account after you create the bot (you'll need to clone the bot to change accounts).

You do not need to have a connected brokerage account to use the Option Alpha paper trading account.

Select a brokerage ore paper trading account

Allocation

Allocation is the total capital available for the bot to open positions. The bot will not enter new positions if it exceeds the allocation limit. Bot allocation limits are calculated at position entry.

Allocation is different than risk or position limits. Allocation is the total purchasing power available to the bot to open new positions. Risk defines the maximum amount that can be lost on a single position and can be set as a dollar or percentage amount in the automation editor.

Market conditions at position closing may cause increased capital allocations beyond the calculated maximum risk at position entry. If the market is illiquid or bid-ask spreads are wide, bots have the potential to risk more capital when the position is closed than was allocated at entry.

For example, if there is a wide bid-ask spread for a credit spread position, the ask price to close the spread may exceed the spread’s width. As always, you have the ability to manually override positions, SmartPricing settings, exit criteria, and orders at any time.

If you manually override a position, the Option Alpha platform no longer communicates with the position The position will not count against position limits or capital allocation limits. You may need to re-consider your bot’s capital allocation limit if you manually override positions.

Position Limits - Daily

You must also set daily and total position limits when a bot is created. Bot scanners and other entry automations automatically turn off when a position limit is reached. 

The daily limit is the maximum number of positions the bot can open in one day.

For example, a bot with a daily limit of three positions will stop scanning for new positions if three positions have been opened in one trading day.

Position limits are for opening positions only; you can close as many positions as you want.

Position Limits - Total

The total limit is the maximum number of open positions available for a bot. The bot will not open new positions if the total position limit is reached.

For example, a bot with a total limit of six positions will stop scanning for new positions if there are six positions open inside the bot.

Allocation and position limits

Create Bot

Select “Create Bot” after you enter the global settings. You may go back and edit the bot settings later if you want to make changes.

Create bot

Your new bot is added to your portfolio. The Positions tab, Automations tab, and Bot Log are blank and ready for you to add automations.

New bot added to portfolio

New bots are automatically "Off" by default when created. To turn on the bot, simply toggle the switch to "On" in the top right corner of the dashboard.

Was this helpful?

FAQs

How do I decide what to put in my bot?

You are in complete control of what goes into your bots and automations. Bots automate trading strategies, so you should take the time to conceptually and logically think through your strategy from beginning to end and all contingencies for different scenarios.

Before trading a bot live, it is recommended you paper-trade to ensure you are familiar and comfortable with how the bot will perform.

What tickers are available to trade using bots?

A list of tickers currently available to trade can be found in the "Technical Documents" section of the Help Center.

After I create my bot, how do I turn it on?

Once your bot is ready for live trading you can toggle the “On/Off” button in the top right corner of the bot’s dashboard. The automations will run at the next scheduled interval.

Do new bots automatically turn on once they are created?

No. Bots are turned off by default. You must turn it on when you are ready.

How can I test the trading concepts I plan to put in my bot?

There are two ways to test your trading strategies before implementing them with a bot. The first is to use the Option Alpha Backtester. The Backtester allows you to test a strategy's performance relative to historical data.

You can also test your strategies by paper trading the bot. You can set any bot to paper trade in the global settings.

Are my bot changes saved automatically as I'm building them?

No. When you build an automation, modify an input, or create an event you must select the “Save” button to save the changes.

How can I see what bot ideas and concepts are working for others?

Shared templates are available in the "Community." You can view, clone, and copy shared templates. The Backtester also displays the top backtested strategies run inside the Community.

Can I trade commodities or futures or options on futures with bots?

At this time only stocks and options are available for trading.

Can I use the same bot for multiple tickers?

Yes, you can use the same bot for multiple tickers, but there is a limit of ten tickers per bot.

Can I use icons and coloring for my bots to personalize them?

Yes, you can customize your bots with icons and colors. Icons help you keep your bots organized.

Can I trade major index tickers with a bot?

None of the major index symbols are currently available. We hope to add them in the future.

Can I adjust my bot's settings after I create it?

Yes, all settings and criteria within your bot can always be modified at any time.

Can I assign different dollar allocations to different automations within a bot?

Yes, your bot is fully customizable so that you can modify the number of shares or contracts, dollar amount, or the account’s percent allocation to any position.

How should I name my bot?

You can name your bot and automations anything you like, and we suggest naming the bot in a way that helps you easily identify its strategy.

Can I assign a specific dollar amount for the bot to manage?

Yes, you can specify a specific dollar amount to a bot, a specific number of shares or contracts, or a specific percent of a total account allocation.

Is allocation based on margin?

Allocation is not based on margin; it is based on the full cost of the position. Margin varies by broker and position type.

Related articles