Skip to content

Guide

How many shares or contracts will my trading bot buy?

The bot buys as many whole shares or option contracts as the budget per entry covers. A $500 budget on a $50 stock buys 10 shares. An option quoted at $2.00 costs $200 a contract, because one contract covers 100 shares, so the same $500 buys 2 contracts and spends $400. If the budget cannot cover one share or contract, the bot buys nothing.

Official documentation

Work out the size of one entry

  1. 1

    Find the budget per entry

    Open the bot and read Budget per entry. It sets the size of every entry.

  2. 2

    Stocks: divide by the price

    Divide the budget by the share price and round down. $500 on a $50 stock is 10 shares. Nyria orders whole shares on every broker.

  3. 3

    Options: price times 100

    Multiply the quoted premium by 100 to get the cost of one contract. $2.00 costs $200. Divide the budget by that and round down.

  4. 4

    Check it is at least one unit

    If the budget is below the cost of one share or contract, the bot places nothing and logs why. Raise the budget per entry.

  5. 5

    Check it on paper

    Send an alert to a Nyria Paper bot and read the quantity on the order before you go live.

How the size is set

  • The budget per entry sets the size. An alert cannot carry a position size.
  • Stocks are priced per share. Options are priced per contract, and one contract covers 100 shares.
  • Nyria buys whole units only, so some of the budget can go unspent.

Options and spreads

  • A quoted premium of $2.00 costs $200 a contract.
  • A $500 budget buys 2 contracts and spends $400.
  • A spread trades as a single order at its net debit or credit, priced from the spread's own bid and ask.
  • Closing a credit spread costs a debit, so keep cash in the account for the exit.

When the bot buys nothing

  • The budget is smaller than the cost of one share or contract.
  • With a live quote, Nyria refuses the deploy up front for an options bot.
  • The Logs tab on the bot says which case it was.

Risk to know

  • A short naked option and a short stock position can each lose more than the account holds.
  • Nyria does not place a stop order behind either one.

Questions

Can an alert set the number of shares?
No. The budget per entry on the bot sets the size. Change it in Nyria.
Why did my bot buy fewer shares than I expected?
Nyria rounds down to whole shares or contracts, and the price used is the quote at the time.
Does Nyria buy fractional shares?
No. Nyria orders whole shares on every broker.
Why did the bot buy nothing?
The budget per entry was below the cost of one share or contract. The bot logs that and places no order.
What does it cost?
Paper is free. Live trading from $15 a month.

Next

Try a paper bot first

No card required. Paper is free. Live trading from $15 a month.