Read the following information in order to learn how to use Neotic services to their full extent. A shorter user’s guide is offered for practical use, our documentation elaborates more on the topics from backtesting to automated trading and portfolio performance…

Feel free to contact us for feedback and suggestions.

Backtesting tutorial

Backtesting in financial services, is the process of testing the predictive ability of an A.I. algorithm tuned to a given trading strategy, by replaying historical price information (note: corporate fundamentals and financial news will be added soon) and simulating trades in order to evaluate the algorithm recommendations and validate the performance of the strategy. The simulation of the trading of a strategy can be over a defined period whereby results are analyzed and assessed against desired levels of return and risk (typically benchmarks).
Neotic offers users the ability to define the parameters of a trading strategy according to a personalized risk-return profile, backtest its performance, and save the optimal parameters for daily use in forecasts. “Neotic backtested strategies” showcases previously tested strategies with a return beating the market.

Strategy parameters

Strategy title: Users can customize strategy titles in order to differentiate from one another. Typically, titles are chosen to reflect a unique criterion related to a backtest.

Strategy model: Users can choose among Long Only, Short Only strategies, or they can hedge their positions by choosing Long &Short strategy.

  • A Long strategy implies buying stocks with the expectation that they will rise in value; thus selling them in the future at a higher price and making profit. This strategy has limited downside (losing the amount paid for the stock), and no cap on the upside potential.

  • A Short strategy is selling borrowed stocks today in the open market with the expectation that they will decrease in value, thus buying them back in the future at a lower price and returning them to broker the from which they were borrowed, and making a profit from the difference. This strategy has limited upside, but infinite downside and risk potential.

  • A Long & Short strategy takes Long positions in stocks that are expected to increase in value and Short positions in stocks that are expected to decrease in value. In theory, the goal of this strategy is to enhance risk-returns and achieve market neutral returns by profiting from a change in the difference, or spread, between two stocks. Thus, the user might use it for hedging their position, reduce exposure volatility and market risk as a whole.

Period: The backtesting period is the duration of the sample time during which the backtest is performed. Neotic’s minimum backtesting period is 3 months (for statistical relevance) up to one year. A longer backtesting period can be achieved by aggregating the results of several years together. To set the period, users should define:
Starting date: 6 months ago, up to 01/01/2009 (current limit of available data source)
Ending date: 3 months ago, up to 3 months after the selected starting date.

Cash at the beginning of backtesting: The amount of money the user is planning to invest. It cannot be less than the initial price.

Trading fees: The amount of money charged by the broker for each full transaction (buy + sell or short sell + buy to cover). So actually, this amount is double the trading fee paid usually. It depends on the broker the user is dealing with or is planning to deal with.

% of daily investment: The percentage of available cash to invest in every day. Users can invest up to 100% of their available cash.

Minimum amount to keep in the portfolio: The amount of cash the user wishes to keep at hand - expressed as a percentage of the initial cash - cash at the beginning of backtesting. Cash in the portfolio cannot exceed 100% since no leverage is allowed. Investment will stop if cash remaining in the portfolio is equal to or less than this amount.


Stop loss (%): The percentage of loss (out of the initial price), per stock, that is considered as a boundary or that can be tolerated by the user. Minimum allowed stop-loss is -1%. Note that stop-losses on Neotic are conventionally negative figures as they involve losses. Please make sure there is compatibility and no confusion of convention between your broker and Neotic. In order to limit loss, positions will be closed once holdings decrease/increase to a certain amount (% of the initial price of the stock). The user must be careful however of the risk involving a sudden rise in price after opening a shorting position- it can involve an infinite loss.

Target gain (%): The minimum percent return on investment (out of the initial price of the stock) the user desires to gain. It cannot be less than 1%. In order to ensure the user’s returns, positions will be closed once holdings increase/decrease above/below a certain amount (% of the initial price of the stock). The percentage gain cannot exceed 100% when shorting.

Holding period: Maximum number of days (N) the user is planning to keep the stock before closing the position. This number must be an integer. Note that if the stop-loss or target-gain orders are triggered prior to the holding-period expiration, the position will be closed at the stop-loss or target-gain price, otherwise a closing order will be triggered from Neotic to sell/cover the stock at the close-price on the Nth day after buying/short selling.

Stock screening

Price: The cost of purchased/shorted stock. By defining the price, the user is defining what kind of stocks they wish to buy, penny stocks (0.1 to 6 USD), no penny stocks (minimum 6 USD) or higher price stocks (over 100 USD).

Market: The user can limit his strategies to stocks from specific markets: NYSE, NASDAQ, NYSE MKT, NYSE ARCA. If indifferent, the user can check the three markets.

Minimum volume price: Volume is the number of stocks traded in an entire market during a given period. When stocks are more actively traded, their trade volume is high and vice versa. Volume price = (number of shares traded) x (price per share). The user can choose the minimum volume price, means the average daily amount invested in stock on a daily base. Higher volume-price means the stock is liquid, i.e. it can be easily exchanged when offered on the market

Diversification: Number of different companies daily traded. It is a risk management technique since a portfolio constructed of diversified companies will, on average, yield higher returns and carry lower risk than any individual stock found within the portfolio. It reduces or eliminates unsystematic risk or firm specific risk. Therefore, the higher the number of different companies, the lower the risk. Be careful! When the user has a small capital and a relatively high trading fees, they should not increase the diversification number because they will have high transaction cost.

Avoid stocks: The user can avoid buying/short selling stocks during specific periods (events) that may produce an unexpected change in price. The “after” number of days must be larger than or equal to the holding-period. Neotic recommends it to be bigger (twice as big, for example) than the holding period.

Splitting: A stock split increases the number of the corporation's outstanding shares by dividing each share (according to a certain ratio), which in turn diminishes its price (by the same ratio), in such a way that the total value of outstanding shares remains the same. In other words, a stock split will increase the volume but will not have an impact on the volume-price. According to his strategy, the user can avoid buying/short selling stocks before or after the company declares a stock split, by a period (number of days) of his choice.

Dividend: When a company issues dividend payout, its stock price can potentially be impacted. If the company declares a dividend payment that is higher or lower than expected, stock price tends to rise or drop accordingly. According to his strategy, the user can avoid buying/short selling stocks before or after the company distributes dividends (a portion of its earnings to its shareholders), by a period (number of days) of his choice.

Earning: When a company announces earnings or net income for each outstanding share, it can affect its stock price. If the company reports earnings that are significantly higher than projected, its stock price tends to rise. If the company reports earnings that are significantly below projections, its stock price tends to fall. According to his strategy, the user can avoid buying/short selling stocks before or after the company announces earnings, by a period (number of days) of his choice.

Sector: Neotic will only include stocks from the sectors of the user's choice. However, the user can mark all sectors if they have no preferences.

Portfolio’s performance

The portfolio’s performance page will contain the following information:

Historical portfolio:

A graph will show the performance of the user’s portfolio (whether it is only Long, only short or Long & Short) compared to the performance of the market (S&P500). The S&P500 is adjusted to 100K in order to compare it clearly with the portfolio.

The user’s portfolio is summarized as well and will include the following rates:


S&P500: The Standard & Poor's 500 is an American stock market index based on the market capitalizations of 500 large companies. It is one of the most commonly followed equity indices. It is commonly used as a representative of the U.S. stock market. Therefore, this number represents the market return.

Portfolio return: The accumulated percentage of return of the user’s portfolio over the period they chose.

Jensen’s alpha (active return): Measures the user’s portfolio return relative to the market return (S&P500) taking into consideration the amount of risk involved. The higher the alpha, the more the portfolio has earned above the predicted level.

Beta: Weighted sum of the individual stocks betas. Measures the volatility, or systematic risk (market risk), of the portfolio in comparison to the market as a whole. A beta of 1.3 for example relative to the S&P 500 implies that the portfolio is 30% more volatile than the market. A zero-beta portfolio would have zero correlation with market movements, which means that the portfolio’s return is independent from that of the market.

Stock selection:

Total number of trading days (position opening): The number days in which stocks were actually traded (excluding days in which Neotic did not find any stocks to trade).

Average amount invested daily: How much money, on average, is invested per day in dollar figure.

Number of traded stocks: Number of different stocks traded in the user’s portfolio.

Number of trades: Total number of trades executed during the backtesting period.

Performance: The user here checks the performance of their portfolio according to the following ratios.

Treynor ratio (reward to volatility ratio): This ratio calculates how much the user have excess return (compared to risk-free return) taking into account the market risk involved (beta). It is applicable only to well-diversified portfolios. A good portfolio has a Treynor ratio higher than that of the market.

Sharpe ratio (risk-adjusted return): This ratio calculates how much the user have excess return (compared to risk-free return) taking into account the total risk involved (standard deviation). It is applicable to all portfolios. A portfolio with a higher Sharpe ratio is considered superior relative to its peers. A Sharpe ratio lower that is lower than one indicates that return on investment is less than the risk taken. A Sharpe ratio of one indicates that the returns on investment are proportional to the risk taken. A Sharpe ratio of one or better is considered well; two or better is very good; and three or better is considered excellent.

Drawdown: The peak (highest price)-to-trough (end of period of declining price and the transition to increase) decline during the investment period. A drawdown is usually quoted as the percentage between the peak and the subsequent trough. Drawdowns help determine an investment's financial risk. A drawdown is the reduction of one’s capital after a series of losing trades.

Cumulative gains/losses (USD): Additions of all gains and losses from the starting date until the end of the backtest.

Best daily gain USD (%): The maximum amount of profit reached in a day, in dollar sign as well as percentage from initial investment.

Worst daily loss USD (%): The maximum amount and percentage of loss reached in a day, in dollar sign as well as percentage from initial investment.

Detailed portfolios:

Two tables will show the user’s portfolio return in USD as well as the percentage return, where the green color represents the bought stocks and the red color represent the shorted stocks. In other words, if the user have followed this strategy at the starting date of the backtest, our algorithms would have chosen for them every day the stocks showed in the table and they would have gained or lost the given return. The user can at any time review the parameters of their strategy, by pressing the button “trading criteria”, which will take them back to their backtest filled form.

Forecasting tutorial

Forecasting as a general definition is using historic data to predict the future. In our context, it is using historical stock prices to determine their future trends, whether they are winners or losers for the next open trading day and thus recommend which stocks to long and which ones to short. Neotic will be adding company fundamentals and then corporate news in their upcoming releases.

Data is updated daily at 23:00 EDT – the user will receive a notification on their profile as well as an email to notify them when new data is ready for forecast. Therefore, if the user forecast before this period, they will be 1 day behind the market. Thus, in order to obtain on-time forecast, one should wait until after 23:00 EDT. Check the top left of the screen next to the clock icon in order to learn more. Recommended stocks give better results when purchased on open price. Thus, we advise to submit forecasts after closing hours.

According to the criterias filled in the backtesting form: Numerical example

  • Diversification (min, max): Number of daily stocks recommended (1,3)

  • Strategy model (long/ short/ ‘long & short’): Recommendations to buy &/or sell short Long & Short

Recommendations to buy &/or sell short

The user can either invest in all of the recommended stocks or choose among them - search each stock and learn more about the corresponding company (open with Yahoo, Google, Finviz or another platform).

In order to populate their portfolio, the user should get daily recommendations by clicking on “get stocks to trade today” and “buy”/”sell short” the recommended stocks for the specific date.

In order to calculate how many shares the user should buy from each stock (in case all positions should have equal weights):

  • The “cash at the beginning of backtesting 50,000 is the user’s starting capital 50,000

  • Multiply “percentage of daily investment 60% by the starting capital 50,000 to get daily invested capital 60%*50,000= 30,000

  • Divide the daily invested capital 30,000 by two only if running a ‘long & short’ strategy in order to get allocated capital for long 30,000/2=15,000 and allocated capital for short 30,000/2=15,000

  • Divide the allocated capital for long 15,000 by the number of stocks (buy) 1 to get capital allocated for each stock in the buy section 15,000/1 = 15,000

  • Divide the allocated capital for short 15,000 by the number of stocks (short sell) 3 to get capital allocated for each stock in the short sell section 15,000/3 = 5,000

  • Divide capital allocated for each stock in the buy section 15,000 by each stock’s market price Ticker 1: $27.5 to get how many shares you should buy from the corresponding stock 15,000/27.5= 546 shares

  • Divide capital allocated for each stock in the short sell section 5,000 by each stock’s market price Ticker 2: $60 to get how many shares you should short sell from the corresponding stock 5,000/60= 84 shares

The user should also make sure after buying the stock to set a stop-loss -2% and a target-gain 5% order - the same ones as inputted in the backtest - using the following formula:

For long positions:

  • Open price*(1 + percentage of target-gain) 27.5*(1+5%)=28.875

  • Open price*(1 - percentage of stop-loss in absolute value) 27.5*(1-2%)=26.95

For short positions:

  • Open price*(1 - percentage of target-gain) $60*(1-5%)=57

  • Open price*(1 + percentage of stop-loss in absolute value) $60*(1+2%)=61.2

If the stock price did not reach the stop loss nor the target gain price after number of days chosen in the holding period, then the user should close the position on the market price.

Do not forget to repeat this process on a daily basis by getting the recommended stocks for each date, choosing the ones to invest in and setting the orders on prefered broker’s platform.

The user can save time and effort and automate the whole process explained above.
Automated trading - also called passive trading - is the use of algorithms to set trading orders and automatically submit them to the broker. Automated orders can be sent only through brokers that we are currently connected to; which are Interactive brokers, C2 broker, Rithmic, Halifax and Autoshares connected through Collective2.
To check how to get an API key from Collective2 to set automated orders, go to Collective2 tutorial in the user guide. The user can at anytime check all the open positions with their stop loss and target gain orders on Collective2 platform.

If the user prefers to use any other broker, they can contact us and we will work on providing them with an API to deploy their strategy live with the third-party website of their choice.



Still not clear what Neotic does? This deck shows a brief description, mentioning the problem Neotic is solving, the opportunity it found and some other key points. Press here to open the slides or press the button below to download them.


What’s under the hood? Aren’t you curious to find out how Neotic processes tons of data and predicts daily forecasts? This deck shows how our technical side works. Press here to open the slides or press the button below to download them.


Professional traders have recently challenged Neotic’s A.I. engine, testing it in severe situations. This deck shows how Neotic performed. Press here to open the slides or press the button below to download.