﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/css/style.css'?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/css/bbeditor.css'?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">backtest. StockSharp</title>
  <id>https://stocksharp.com/handlers/atom.ashx?category=tag&amp;id=backtest&amp;type=forum</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-04-15T02:32:54Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=tag&amp;id=backtest&amp;type=forum" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/topic/8889/</id>
    <title type="text">Retrieve Historical Candles</title>
    <published>2017-12-03T12:10:39Z</published>
    <updated>2017-12-06T16:04:03Z</updated>
    <author>
      <name>Herchel</name>
      <uri>https://stocksharp.com/users/100008/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="API" />
    <category term="Backtest" />
    <category term="candles" />
    <category term="back test" />
    <category term="robot" />
    <content type="html">Hi.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m enjoying using the S# API and so fat it&amp;#39;s been easy to use.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m retrieving some historical candles to backtest my robot on, and once I call trader.SubscribeCandles I get a new candle each time I get the trader.ProcessCandle event which works great. Is there an event that is fired to show that all candles have been received</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/6936/</id>
    <title type="text">Backtesting and Optimization</title>
    <published>2016-09-28T21:43:43Z</published>
    <updated>2017-01-12T07:00:52Z</updated>
    <author>
      <name>Hola1212</name>
      <uri>https://stocksharp.com/users/95773/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Backtest" />
    <content type="html">Hello everyone, couple questions regarding Backtesting and Optimization in StockSharp.&lt;br /&gt;&lt;br /&gt;1. How does Stocksharp calculate fills exactly when backtesting? I have .CSV files of Bid/Ask data showing &lt;u&gt;every&lt;/u&gt; change in Bid/Ask price. Can Stocksharp use this Bid/Ask data fill orders when backtesting? Or will it Fill on &amp;quot;Last&amp;quot; prices? &lt;br /&gt;&lt;br /&gt;2. Can level2 data be used when backtesting in Stocksharp?&lt;br /&gt;&lt;br /&gt;3. Does Stocksharp have Optimization tools? Such as Brute Force Optimization and Genetic Optimization?&lt;br /&gt;&lt;br /&gt;Cheers</content>
  </entry>
</feed>