﻿<?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">Forum. StockSharp</title>
  <id>https://stocksharp.com/handlers/atom.ashx?category=forum&amp;page=8</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-04-30T13:04:47Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=forum&amp;page=8" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/topic/11778/</id>
    <title type="text">what&amp;apos;s the match rules for tick backtest engine?</title>
    <published>2020-05-04T13:20:01Z</published>
    <updated>2020-05-10T19:21:56Z</updated>
    <author>
      <name>Jun Feng</name>
      <uri>https://stocksharp.com/users/108299/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">I want to backtest hft maker strategy tick by tick. &lt;br /&gt;&lt;br /&gt;For example, &lt;br /&gt;The current quote is:&lt;br /&gt;Sell: 101 Volume: 80&lt;br /&gt;Buy: 100 Volume: 30&lt;br /&gt;&lt;br /&gt;I put buy order at price 100 with volume 10. Does the backtest engine consider the pending orders? &lt;br /&gt;What time is it when my order matched? Sell trade reach 100 or cross 100 or between them?</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11801/</id>
    <title type="text">After loading many options instruments, Hydra will not start</title>
    <published>2020-05-08T19:51:00Z</published>
    <updated>2020-05-08T21:26:54Z</updated>
    <author>
      <name>Craig McWilliams</name>
      <uri>https://stocksharp.com/users/124544/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Hi, &lt;br /&gt;&lt;br /&gt;I added options for NYSE:OXY.   I believe there were over 1,500 instruments.      Immediately, Hydra stopped responding.   The window presents as dimmed and the title bar displays (Not Responding).&lt;br /&gt;&lt;br /&gt;Also, when starting the application, the window presents as dimmed and the title bar displays (Not Responding).    After 1 hour, the condition persists.&lt;br /&gt;&lt;br /&gt;Is there a fix?&lt;br /&gt;&lt;br /&gt;I eventually require about 100 underlying instruments and all their options.   Does Hydra have the capacity?</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11790/</id>
    <title type="text">Please tell me how to add options instruments with Interactive brokers data source</title>
    <published>2020-05-07T15:48:40Z</published>
    <updated>2020-05-08T17:52:44Z</updated>
    <author>
      <name>Craig McWilliams</name>
      <uri>https://stocksharp.com/users/124544/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Options" />
    <category term="Instruments" />
    <content type="html">Hello,&lt;br /&gt;&lt;br /&gt;I am connected to Interactive Brokers (IB) and &lt;u&gt;can&lt;/u&gt; download stock instruments.&lt;br /&gt;&lt;br /&gt;IB uses SMART routing to obtain quotes and transact stock options trades across 13 different boards.     &lt;br /&gt;&lt;br /&gt;Thus, although it is possible to designate 1 board (for example: CBOE), it is desirable to designate SMART.&lt;br /&gt;&lt;br /&gt;Would you tell me please how to add options instruments (CALLs and PUTs) for IB.      I have searched the S# Data documentation and am unable to find instructions.&lt;br /&gt;&lt;br /&gt;Thank you very much,&lt;br /&gt;&lt;br /&gt;Craig</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11789/</id>
    <title type="text">Hydra fails to download data after software update</title>
    <published>2020-05-07T01:25:11Z</published>
    <updated>2020-05-08T16:34:24Z</updated>
    <author>
      <name>Craig McWilliams</name>
      <uri>https://stocksharp.com/users/124544/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Error message Tasks &amp;#39;Import (auto), Export (auto), Backup, Converter&amp;#39; has same working directory &amp;#39;C:Windows\system32\Storage&amp;#39;.  Continue?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;17:20:57  System.ArgumentException: The path is not of a legal form.&lt;br /&gt;   at System.IO.Path.NewNormalizePath(String path, Int32 maxPathLength, Boolean expandShortPaths)&lt;br /&gt;   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)&lt;br /&gt;   at System.IO.Path.GetFullPathInternal(String path)&lt;br /&gt;   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)&lt;br /&gt;   at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)&lt;br /&gt;   at StockSharp.Hydra.Tools.ImportTask.OnProcess()&lt;br /&gt;   at StockSharp.Hydra.Core.BaseHydraTask.&amp;lt;Start&amp;gt;b__81_0()</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11796/</id>
    <title type="text">Path is not of legal form?   what path?</title>
    <published>2020-05-08T16:28:40Z</published>
    <updated>2020-05-08T16:28:40Z</updated>
    <author>
      <name>Craig McWilliams</name>
      <uri>https://stocksharp.com/users/124544/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Guys,&lt;br /&gt;&lt;br /&gt;warning message:&lt;br /&gt;&lt;br /&gt;08:25:52  System.ArgumentException: The path is not of a legal form.&lt;br /&gt;   at System.IO.Path.NewNormalizePath(String path, Int32 maxPathLength, Boolean expandShortPaths)&lt;br /&gt;   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)&lt;br /&gt;   at System.IO.Path.GetFullPathInternal(String path)&lt;br /&gt;   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)&lt;br /&gt;   at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)&lt;br /&gt;   at StockSharp.Hydra.Tools.ImportTask.OnProcess()&lt;br /&gt;   at StockSharp.Hydra.Core.BaseHydraTask.&amp;lt;Start&amp;gt;b__81_0()&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;All paths I have specified are correctly formed.  What path triggers this warning?</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11795/</id>
    <title type="text">Tasks are running for all instruments -- I did not specify this activity</title>
    <published>2020-05-08T16:25:11Z</published>
    <updated>2020-05-08T16:25:11Z</updated>
    <author>
      <name>Craig McWilliams</name>
      <uri>https://stocksharp.com/users/124544/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Guys,&lt;br /&gt;&lt;br /&gt;Warning dialog:&lt;br /&gt;&lt;br /&gt;Tasks &amp;#39;Import (auto), Export (auto), Backup, Converter&amp;#39; are running for all instruments.  Often these are incorrect settings.  It is recommended to set specific instruments for each task.  Do you want to continue as is or stop the launch?&lt;br /&gt;&lt;br /&gt;How do I configure tools please?</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11763/</id>
    <title type="text">Is there a way to import a list of symbols into Hydra?</title>
    <published>2020-05-02T00:41:50Z</published>
    <updated>2020-05-08T01:02:56Z</updated>
    <author>
      <name>Craig McWilliams</name>
      <uri>https://stocksharp.com/users/124544/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Hello,&lt;br /&gt;&lt;br /&gt;I have just subscribed to the support contract.   I do not know how to utilize that contract to obtain support.    I presume, based upon information I have seen on this community page, that if I ask a question here, it will be answered by S#.    Is that true?&lt;br /&gt;&lt;br /&gt;My question is a) is it possible to import a list of symbols (stock tickers) into the securities file in Hydra so I may download data for them from my provider?     b) how can I set up Hyrdar to also download options contracts?   Here, I wish to download the options contracts prices for the last several years from my data provider.    How do I tell Hydra to do that?  &lt;br /&gt;&lt;br /&gt;Thank you,  Craig</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11784/</id>
    <title type="text">Access denied 403</title>
    <published>2020-05-05T16:20:23Z</published>
    <updated>2020-05-06T09:20:43Z</updated>
    <author>
      <name>Magnus</name>
      <uri>https://stocksharp.com/users/123931/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">I can not access instruction videos. Get 403 even though I got email it was activated.&lt;br /&gt;For instance this URL &lt;a href="https://stocksharp.com/file/107853/STOCKSHARP%20-%20LESSON%202_mp4/
" title="https://stocksharp.com/file/107853/STOCKSHARP%20-%20LESSON%202_mp4/
"&gt;https://stocksharp.com/f...P%20-%20LESSON%202_mp4/
&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Separate question how to buy a Binance connector?</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11777/</id>
    <title type="text">backtest exception: ArgumentOutOfRangeException for unrealizedPnlInterval</title>
    <published>2020-05-04T12:31:28Z</published>
    <updated>2020-05-05T01:11:54Z</updated>
    <author>
      <name>Jun Feng</name>
      <uri>https://stocksharp.com/users/108299/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">I checked out backtest settings, unrealizedPnlInterval is 00:01:00, I guess this is 1minute.&lt;br /&gt;&lt;br /&gt;Shell	5/4/2020 5:29:11 PM +08:00	Error	System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.&lt;br /&gt;   at StockSharp.Algo.Strategies.Strategy.set_UnrealizedPnLInterval(TimeSpan value)&lt;br /&gt;   at Shell.Strategies.SmaStrategy.XAML.SmaTestingControl.StartStrategyButton_Click(Object sender, RoutedEventArgs e)&lt;br /&gt;   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)&lt;br /&gt;   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)&lt;br /&gt;   at System.Windows.Controls.Primitives.ButtonBase.OnClick()&lt;br /&gt;   at System.Windows.Controls.Button.OnClick()&lt;br /&gt;   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)&lt;br /&gt;   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)&lt;br /&gt;   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)&lt;br /&gt;   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)&lt;br /&gt;   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)&lt;br /&gt;   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)&lt;br /&gt;   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)&lt;br /&gt;   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)&lt;br /&gt;   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)&lt;br /&gt;   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)&lt;br /&gt;   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)&lt;br /&gt;   at System.Windows.Input.InputManager.ProcessStagingArea()&lt;br /&gt;   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)&lt;br /&gt;   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)&lt;br /&gt;   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)&lt;br /&gt;   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean&amp;amp; handled)&lt;br /&gt;   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)&lt;br /&gt;   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)&lt;br /&gt;   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)&lt;br /&gt;&lt;br /&gt;</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11707/</id>
    <title type="text">Binance connector not working Version 4.4.17</title>
    <published>2020-04-23T22:51:09Z</published>
    <updated>2020-04-23T22:51:09Z</updated>
    <author>
      <name>isaacapuano</name>
      <uri>https://stocksharp.com/users/116880/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">I downloaded version 4.4.17 from a link the support team sent me and the crypto connectors and install instructions from this link &lt;a href="https://stocksharp.com/forum/9066/Manual-for-crypto-connectors/ " title="https://stocksharp.com/forum/9066/Manual-for-crypto-connectors/ "&gt;https://stocksharp.com/f...-for-crypto-connectors/ &lt;/a&gt;(i repleaced the connector files on the reference folder) .&lt;br /&gt;&lt;br /&gt;In the code i only creted the settings button and the connect button as shown in this video &lt;a href="https://stocksharp.com/forum/10058/Lesson-1-The-first-connection-creating/
" title="https://stocksharp.com/forum/10058/Lesson-1-The-first-connection-creating/
"&gt;https://stocksharp.com/f...st-connection-creating/
&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When I run the program the binance connector is not appearing on the list.</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11675/</id>
    <title type="text">Please contact</title>
    <published>2020-04-21T08:12:38Z</published>
    <updated>2020-04-21T08:12:38Z</updated>
    <author>
      <name>Jeung myung hak</name>
      <uri>https://stocksharp.com/users/124226/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">[정명학] [오후 2:11] Hi&lt;br /&gt;This is Seoul, Korea&lt;br /&gt;Crypto traders want to buy all connector sources&lt;br /&gt;Please use it for confirmation before purchase.&lt;br /&gt;In addition, I would like to operate a coin currency with only a crypto trader (add 1 alt coin)&lt;br /&gt;&lt;br /&gt;Chu, I can&amp;#39;t speak English&lt;br /&gt;I hope to write Mel in Korean next time.&lt;br /&gt;Contact: +82 010-3306-0741</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11459/</id>
    <title type="text">Read bars bin</title>
    <published>2020-03-07T14:04:35Z</published>
    <updated>2020-04-20T23:47:29Z</updated>
    <author>
      <name>bobsley88</name>
      <uri>https://stocksharp.com/users/50328/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Hello&lt;br /&gt;How do I read bars from the .bin files downloaded by SData?</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11626/</id>
    <title type="text">Problem in getting option Contract (NSE, India)  in Hydra</title>
    <published>2020-04-14T12:58:39Z</published>
    <updated>2020-04-14T12:58:39Z</updated>
    <author>
      <name>Devisingh</name>
      <uri>https://stocksharp.com/users/123411/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Hi, &lt;br /&gt;I am Devi Singh from India. I have downloaded Hrdra on my Window 64 bit Laptop. &lt;br /&gt;I wanted to have NSE India, Option Contract in my Hydra. But not able to do so. &lt;br /&gt;Can you please help me in getting securities in Hydra. I have already connected IB Gateway to Hrdra&lt;br /&gt;&lt;br /&gt;Devi Singh,&lt;br /&gt;mobile 91 9558345730&lt;br /&gt;email : &lt;a href="https://stocksharp.com/away/?u=AQAAAAAAAADh9utIRH-IQK9_9RUkZNfnP-taDzomjCyYiJzeIbiNog"&gt;rathoreds25@gmail.com&lt;/a&gt;&lt;br /&gt;</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11474/</id>
    <title type="text">How to get candles covered by &amp;apos;area&amp;apos; object or selected by right-button of mouse?Thank you!</title>
    <published>2020-03-12T07:56:25Z</published>
    <updated>2020-03-23T09:39:20Z</updated>
    <author>
      <name>linucos</name>
      <uri>https://stocksharp.com/users/121111/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Hi Guys,&lt;br /&gt;    First, thank you for your very good platform for charting and trading.&lt;br /&gt;    S# almost fits everything i want for an open trading platform. It is amazing!!!&lt;br /&gt; &lt;br /&gt;    I am developing a pattern editor and recognizer based on S#.&lt;br /&gt;    So candle operation like &amp;#39;selecting candle series as a pattern&amp;#39; is essential function.&lt;br /&gt;    I looked around and found nothing to implement this.&lt;br /&gt;  &lt;br /&gt;    Anyone help?&lt;br /&gt;    Thanks.</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11323/</id>
    <title type="text">Interactive Brokers TWS connection not working</title>
    <published>2020-01-13T23:20:38Z</published>
    <updated>2020-01-29T00:13:23Z</updated>
    <author>
      <name>isaacapuano</name>
      <uri>https://stocksharp.com/users/116880/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Hello, I tried to follow this video (https://stocksharp.com/forum/10058/Lesson-1-The-first-connection-creating/), I did exactly every step like the video but the securities never showed up, I&amp;#39;m uploading a video for you to see.&lt;br /&gt;&lt;br /&gt;Thanks</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11135/</id>
    <title type="text">S#.Designer connections issues?</title>
    <published>2019-11-02T15:30:54Z</published>
    <updated>2019-11-05T19:05:59Z</updated>
    <author>
      <name>Giang</name>
      <uri>https://stocksharp.com/users/109716/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Dear Sir/Madam,&lt;br /&gt;I just tried to download asset data from FXCM using S@.Designer connection with demo FXCM account. The connection seem connect successfully by the testing, but cannot get data from the exchange.&lt;br /&gt;The attachment show that there was some subscription configuration missed?&lt;br /&gt;Thanks,&lt;br /&gt;</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11125/</id>
    <title type="text">What is a trading robot?</title>
    <published>2019-10-28T14:49:18Z</published>
    <updated>2019-10-29T11:25:12Z</updated>
    <author>
      <name>Marat</name>
      <uri>https://stocksharp.com/users/101940/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Algorithmic trading" />
    <category term="historical data" />
    <category term="trading" />
    <category term="exchange information" />
    <category term="Moscow exchange" />
    <category term="high-frequency trading" />
    <category term="HFT trading" />
    <category term="exchange trade" />
    <category term="stocks data exchange trading" />
    <category term="algo trade" />
    <category term="algo trading" />
    <category term="trading robot" />
    <category term="trade robot" />
    <category term="trade systems" />
    <content type="html">The growth of activity in the world markets among traders, as well as the constant progress of technology, led to an increase in the &lt;b&gt;speed of actions&lt;/b&gt; carried out by players on the trading floor.&lt;br /&gt;Today, many traders actively &lt;b&gt;working with various financial instruments&lt;/b&gt; prefer &lt;b&gt;trading robots&lt;/b&gt; rather than manual trading. This is largely due to the &lt;b&gt;speed of operations &lt;/b&gt;and their volume.&lt;br /&gt;Let&amp;#39;s see, what is a trading robot? A &lt;b&gt;trading robot&lt;/b&gt; is a &lt;b&gt;special program&lt;/b&gt; created by a &lt;b&gt;special algorithm&lt;/b&gt;, according to which it conducts trading operations. [nerd]&lt;br /&gt;Let&amp;#39;s take a closer look at the features of such programs.&lt;br /&gt;The &lt;b&gt;trading robot program&lt;/b&gt; allows you to &lt;b&gt;fully or partially take over the process of working&lt;/b&gt; on the trading floor. The trader, as the operator of the trading robot, has the possibility of &lt;b&gt;full control&lt;/b&gt; over it, which allows the robot to adjust the trading robot, &lt;b&gt;make changes to the program code or change the algorithm&lt;/b&gt;.&lt;br /&gt;The trading robot in Autonomous operation independently &lt;b&gt;makes decisions &lt;/b&gt;on orders and transactions, according to the established criteria of its algorithm, with intervention in the user&amp;#39;s process, operations can be carried out in&lt;b&gt; manual mode&lt;/b&gt;.&lt;br /&gt;The&lt;b&gt; program code&lt;/b&gt; of the trading robot is &lt;b&gt;based on calculated and thought-out mathematical sequences&lt;/b&gt;. Keeping track of different data such as &lt;b&gt;indexes, indicators and other market data&lt;/b&gt; obtained from the exchange. The trading robot program decides whether to buy or sell certain assets. The &lt;em&gt;speed of reaction to market changes&lt;/em&gt;, allows the trading robot to make much more transactions, respectively, potentially bring greater profits and reduce losses. [nerd]&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109967/algorithmic-trading-forex.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109967/algorithmic-trading-forex.jpg?size=800x800" alt="algorithmic-trading-forex.jpg" title="algorithmic-trading-forex.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Let&amp;#39;s return to the main task of the trading robot. We can say that the task of a trading robot to simplify trading for a trader is not the main one. The &lt;b&gt;main task&lt;/b&gt; of the trading robot is to be able to &lt;b&gt;implement through programming trading algorithms&lt;/b&gt; that are difficult or impossible to implement in manual trading. Simply put, a trading robot is a set sequence of actions for making a trade.&lt;br /&gt;&lt;br /&gt;From the total mass of trading robots, it is necessary to distinguish three main groups that differ in the algorithm of work or the type of strategy.&lt;br /&gt;- &lt;em&gt;Trend (directional) or directional;&lt;/em&gt;&lt;br /&gt;- &lt;em&gt;Countertrend&lt;/em&gt;;&lt;br /&gt;- &lt;em&gt;Arbitral&lt;/em&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109976/trade-robot-strategy.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109976/trade-robot-strategy.jpg?size=800x800" alt="trade-robot-strategy.jpg" title="trade-robot-strategy.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Let us consider in more detail the features of each type of trading robots.&lt;br /&gt;1. &lt;em&gt;Trend or directional robots&lt;/em&gt;. The purpose of the robot is the &lt;b&gt;fastest response to the trend of the market&lt;/b&gt;, in other words to track in which direction the market has turned. Depending on the direction, the trading robot automatically opens a position either by selling or buying. Accordingly, if the market changes its direction, the trading robot performs the opposite action as quickly as possible, opening a position.&lt;br /&gt;2. &lt;em&gt;Countertrend trading robots&lt;/em&gt;. Their goal is to&lt;b&gt; track price rollbacks&lt;/b&gt;. This trading robot monitors price rollbacks occurring in the flat position of the market and places orders based on the established algorithm.&lt;br /&gt;3. &lt;em&gt;Arbitrage trading robot&lt;/em&gt;. This trading robot is &lt;b&gt;almost the most popular type&lt;/b&gt;. A trading robot such as &amp;quot;&lt;u&gt;&lt;a href="https://stocksharp.com/robot/18/edward-scissorhands/" title="https://stocksharp.com/robot/18/edward-scissorhands/"&gt;Edward&amp;quot;&lt;/a&gt;&lt;/u&gt;, for example, makes a profit by &lt;b&gt;determining price&lt;/b&gt; differences between similar or identical instruments in different markets. In fact, he buys in one market, sells in another, compensating for the difference and making a profit.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109964/trade-robot-api.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109964/trade-robot-api.png?size=800x800" alt="trade-robot-api.png" title="trade-robot-api.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Another way is the separation of robots:&lt;br /&gt;- &lt;em&gt;Candlestick&lt;/em&gt;. These are trading robots that use &lt;b&gt;candlestick data &lt;/b&gt;to determine signals for placing orders.&lt;br /&gt;- &lt;em&gt;Indicator&lt;/em&gt;. These robots use &lt;b&gt;indicator data&lt;/b&gt; to open an order.&lt;br /&gt;&lt;br /&gt;Let&amp;#39;s talk about building a trading robot. The very &lt;b&gt;writing of program code&lt;/b&gt; &lt;b&gt;is not a difficult task&lt;/b&gt;, reduced to the knowledge of programming languages. It is much more difficult to find the &lt;b&gt;right way to create a trading algorithm&lt;/b&gt; on the basis of which a trading robot is created.&lt;br /&gt;Today, up to 50% of transactions on trading platforms are made by trading robots. Trading robots are rightfully considered one of the most reliable and effective trading tools. There&amp;#39;s an explanation :&lt;br /&gt;- &lt;em&gt;Trading robot simplifies the work of transactions with a large volume of the lot, dividing the application into smaller parts and making transactions in parts;&lt;/em&gt;&lt;br /&gt;- &lt;em&gt;Trading robot reduces the labor of the trader, making trading operations automatically. This contributes to an increase in the volume of transactions, increase the profits that trade brings, and, importantly, reduces the possible loss;&lt;br /&gt;- While remaining automatic, the trading robot can always be switched to manual mode, that is, it remains completely under the control of its owner;&lt;br /&gt;- A huge list of tools and methods that can be used by a trading robot, allow us to say that the trading robot makes it possible to realize the most complex mathematical problems for trading;&lt;br /&gt;- The trading robot does not have the criterion of emotionality, in fact, it soberly operates its inherent mechanism. Does not panic in a stressful situation.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109966/HFT-trade-forex.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109966/HFT-trade-forex.jpg?size=800x800" alt="HFT-trade-forex.jpg" title="HFT-trade-forex.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When analyzing trading robots, a trader must choose the &lt;b&gt;right path for himself&lt;/b&gt;, on the basis of which he will be able to choose a robot for himself. A trader should understand that a &lt;b&gt;trading robot is not decision for 100% success&lt;/b&gt;. In addition to the trader, it is important to know the platform for the implementation of such trading robots. There are quite a lot of them (TSlab, &lt;u&gt;&lt;a href="https://stocksharp.com/products/designer/" title="https://stocksharp.com/products/designer/"&gt;S#.Designer&lt;/a&gt;&lt;/u&gt;).&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109963/holy-grail-forex.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109963/holy-grail-forex.jpg?size=800x800" alt="holy-grail-forex.jpg" title="holy-grail-forex.jpg" /&gt;&lt;/a&gt;        &lt;a href='https://stocksharp.com/file/109968/exchange-trade-strategy.png' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109968/exchange-trade-strategy.png?size=800x800" alt="exchange-trade-strategy.png" title="exchange-trade-strategy.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Summing up, we can say that the &lt;b&gt;trading robot is reliable and convenient functionality&lt;/b&gt; in the arms of the trader, the most important thing is to use it correctly when conducting exchange trading.&lt;br /&gt;&lt;br /&gt;</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11121/</id>
    <title type="text">Familiarity with algorithmic trading.</title>
    <published>2019-10-23T12:31:08Z</published>
    <updated>2019-10-23T12:31:08Z</updated>
    <author>
      <name>Marat</name>
      <uri>https://stocksharp.com/users/101940/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Algorithmic trading" />
    <category term="historical data" />
    <category term="market data" />
    <category term="trading" />
    <category term="exchange information" />
    <category term="Moscow exchange" />
    <category term="high-frequency trading" />
    <category term="HFT trading" />
    <category term="exchange trade" />
    <category term="stocks data exchange trading" />
    <category term="algo trade" />
    <category term="algo trading" />
    <content type="html">Before you start talking about &lt;b&gt;algo trading&lt;/b&gt;, you need to define it.&lt;br /&gt;So, what is algo trading? There is a &lt;b&gt;different definition&lt;/b&gt; of this concept, only its essence and the principles on which the work is &lt;b&gt;based remain unchanged&lt;/b&gt;. Algo trading-trading, which takes place through a fully automated algorithm, which prescribes the trader, the execution of which potentially brings profit to the trader. In fact, it is a program that carries a sequence of actions. [nerd]&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109909/trading_robot.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109909/trading_robot.jpg?size=800x800" alt="trading_robot.jpg" title="trading_robot.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The trader himself &lt;b&gt;makes and determines&lt;/b&gt; the sequence of applications for purchase or sale, indicating the order of management of his funds.&lt;br /&gt;The money management conditions set by the trader as &lt;b&gt;program parameters&lt;/b&gt; determine the necessary or optimal size of investments, for example, purchased securities. Similarly, this system manages the allowable loss or risk at which the size of the loss will be acceptable. In this case, risk management is performed by setting the &lt;b&gt;stop loss&lt;/b&gt; algorithm.&lt;br /&gt;The absence of feelings and emotions in the &lt;b&gt;algorithmic program &lt;/b&gt;allows to avoid nervous breakdowns or other emotional outbursts. This is certainly a plus, since the work of a trader often occurs on the verge of nervous tension, and sometimes a person can lose his nerves, which will entail a rash step and as a consequence of loss. At the same time, the trader has the &lt;b&gt;opportunity &lt;/b&gt;to intervene in the work of the trading strategy, &lt;b&gt;making the necessary adjustments&lt;/b&gt;. [laugh]&lt;br /&gt;The&lt;em&gt; task of algo trading&lt;/em&gt; is the exact execution of the instructions of its system. Often in some sources you can see the name of &lt;em&gt;mechanical trading systems (MTS)&lt;/em&gt;, but algo trading is the most common name. In fact, the algorithm is &lt;b&gt;&amp;quot; mechanically &amp;quot; executed by the program&lt;/b&gt;, excluding judgments about the market situation and the state of various instruments. I must say that the &amp;quot;mechanical&amp;quot; system is &lt;b&gt;not always automated&lt;/b&gt;. The latter, unlike the first, independently makes transactions, with the participation of a person is not required or minimized.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109902/trade_systems.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109902/trade_systems.jpg?size=800x800" alt="trade_systems.jpg" title="trade_systems.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Experts note that the algorithmic trading consists of &lt;b&gt;two stages&lt;/b&gt;. Let&amp;#39;s take a closer look at them.&lt;br /&gt;At the &lt;b&gt;level of the first stage&lt;/b&gt;, the trader creates his &amp;quot;mechanical&amp;quot; strategy. After creation, the process of&lt;b&gt; testing on the market data&lt;/b&gt;, and subsequently, when the strategy reaches the desired level of potential &lt;b&gt;profit&lt;/b&gt;, testing goes into real time or real trading. Note that the last stage takes place when using &lt;b&gt;minimal capital&lt;/b&gt;, as it is testing, and some traders prefer it to &lt;em&gt;&amp;quot;trade on paper&amp;quot;&lt;/em&gt;. At the same time, profitability is not the only criterion that gives an assessment of the efficiency of the strategy.&lt;br /&gt;Let&amp;#39;s talk about the means of creating and then testing the created strategies. Such tools may include &lt;b&gt;special programs&lt;/b&gt; designed for technical analysis of algorithmic systems created. The most famous are: carried out using specialized programs: &lt;em&gt;MetaStock, S#.Designer, Wealth-Lab, Tslab&lt;/em&gt; and others.&lt;br /&gt;The strategy program is written in various programming languages such as: &lt;em&gt;C#, C++, LUA &lt;/em&gt;and others. The recorded algorithm makes it possible to use the &lt;b&gt;downloaded market data &lt;/b&gt;to test the strategy, and in the future allows you to place orders in the programs used for trading. It is worth noting that strategies can be created as in constructor programs for example: &lt;em&gt;&lt;u&gt;&lt;a href="https://stocksharp.com/products/designer/" title="https://stocksharp.com/products/designer/"&gt;S#.Designer&lt;/a&gt;&lt;/u&gt;, Tslab&lt;/em&gt;, in which the strategy is created on the basis of cubes, and the program is a scheme, and in programs where direct programming is used &lt;em&gt;MetaStock, Wealth-Lab&lt;/em&gt;, including using ready-made libraries, such as &lt;u&gt;&lt;em&gt;&lt;a href="https://stocksharp.com/products/api/" title="https://stocksharp.com/products/api/"&gt;S#.API&lt;/a&gt;&lt;/em&gt;&lt;/u&gt;.&lt;br /&gt;The&lt;b&gt; second stage&lt;/b&gt; of development begins after the trader&amp;#39;s strategy has been fully tested and is ready for &lt;b&gt;real trading&lt;/b&gt;. The second stage is implemented approach strategy or a trading robot that will trade the set algorithm or the trader selects the manual bidding process on a signal received from created strategy.&lt;br /&gt;The trader connects the e&lt;b&gt;xport of stock market data&lt;/b&gt; obtained in real time to the program in which his trading strategy is created. The strategy processes the data and based on the result, sends a signal to submit applications.&lt;br /&gt;Again, what alarm action strategy can be done manually by a trader, and can be delegated to a &lt;b&gt;trading robot&lt;/b&gt;, which places bids automatically according to the algorithm, for example in systems like &lt;em&gt;S#.Designer, MT4, TSlab&lt;/em&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109903/Trade_Strategy.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109903/Trade_Strategy.jpg?size=800x800" alt="Trade_Strategy.jpg" title="Trade_Strategy.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It should be &lt;b&gt;remembered&lt;/b&gt; that the creation of a trading robot does not relieve the &lt;b&gt;trader of responsibility&lt;/b&gt; for the trade itself. The trader must &lt;b&gt;constantly monitor the work&lt;/b&gt; of his robot, edit the terms of transactions according to the changing situation in the market. [nerd]  Should be said, when &lt;b&gt;working on long time frames&lt;/b&gt;, comparable, for example, with an hour, the automation of placing orders may disappear, since the trader is able to correlate and manage the trade on &lt;b&gt;long periods&lt;/b&gt;.&lt;br /&gt;Any chosen direction of algo trading can undoubtedly bring profit to the trader, but the approach should be deep, not just at the level of the chosen algorithm, it is necessary to take into account the tools on which the trade will be conducted, the software. An important rule is analysis and testing, it &lt;b&gt;always minimizes your losses&lt;/b&gt;.</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11111/</id>
    <title type="text">IQFeed issues with level1 and historical candles</title>
    <published>2019-10-21T01:12:27Z</published>
    <updated>2019-10-21T23:29:04Z</updated>
    <author>
      <name>Chris Delaney</name>
      <uri>https://stocksharp.com/users/102264/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">Hi,&lt;br /&gt;I just downloaded the latest source code from GitHub and trying to run the various samples.  I use IQFeed as my data feed, so I try to run the IQFeed sample.  It does connect correctly, and I can find a symbol in the securities window and see live price updates within it.  However, when I click Historical candles button, I get no data at all when I try to search.  In fact, the GetHistoricalCandles() seems to be hanging when I try to step through the sample code.  It just hangs and never returns. However, I don&amp;#39;t have source code for IQFeed connector, so I can&amp;#39;t step in to see what the issue is or fix it.&lt;br /&gt;Any ideas?  Is there a specific version of IQFeed needed?  I just updated to the latest version.&lt;br /&gt;Is there source code available for IQFeed connector?  I did not see it in GitHub.  I would be happy to make any updates myself, but obviously not possible without source.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Chris&lt;br /&gt;</content>
  </entry>
  <entry>
    <id>https://stocksharp.com/topic/11113/</id>
    <title type="text">FAQ on FIX Protocol. Limit orders when working through FIX Protocol.</title>
    <published>2019-10-21T13:10:12Z</published>
    <updated>2019-10-21T13:10:12Z</updated>
    <author>
      <name>Marat</name>
      <uri>https://stocksharp.com/users/101940/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <category term="Algorithmic trading" />
    <category term="trading" />
    <category term="FIX 4" />
    <category term="FIX 5" />
    <category term="FIX protocol" />
    <category term="exchange trading" />
    <category term="exchange information" />
    <category term="Moscow exchange" />
    <category term="high-frequency trading" />
    <category term="HFT trading" />
    <category term="FIX connector" />
    <category term="connector to the exchange" />
    <category term="connector for trading" />
    <category term="exchange trade" />
    <content type="html">As mentioned earlier, an&lt;b&gt; important advantage&lt;/b&gt; of working through &lt;b&gt;FIX Protocol&lt;/b&gt; is the ability to use limit orders &lt;em&gt;FOK (&amp;#39;Fill or Kill&amp;#39;)&lt;/em&gt; and &lt;em&gt;IOC (&amp;#39;Immediate Or Cancel&amp;#39;)&lt;/em&gt;. Their advantage over simple market orders is the absence of &lt;b&gt;price slippage&lt;/b&gt;. In fact, for arbitrage strategies, such as &lt;a href="https://stocksharp.com/robot/" title="https://stocksharp.com/robot/"&gt;&amp;quot;Edward-Scissorhands&amp;quot;&lt;/a&gt; from &lt;a href="https://stocksharp.com" title="https://stocksharp.com"&gt;StockSharp&lt;/a&gt;, this means almost &lt;b&gt;zero risk&lt;/b&gt;. Consider how the orders &lt;em&gt;FOK&lt;/em&gt; and &lt;em&gt;IOC&lt;/em&gt; FIX Protocol on the example of comparing them with conventional orders.&lt;br /&gt;Before making a trade, the trader has the opportunity to &lt;b&gt;sell or buy&lt;/b&gt; the selected asset using a limit or market order. The option chosen by the trader determines the level of control over the execution price.  &lt;br /&gt;Thus, a market order determines its execution in the shortest possible time and at the best available price. [smile] For example, if you buy 100 units on a market order, the order will be executed entirely at the price that is available on the market. Accordingly, 50 units can be conditionally at a favorable price, and the rest at a price less favorable or completely unprofitable, in other words, the order will be executed at several different prices. At the same time, we have a situation with a large slippage. [laugh]&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109877/fix_connector_limith_order.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109877/fix_connector_limith_order.jpg?size=800x800" alt="fix_connector_limith_order.jpg" title="fix_connector_limith_order.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;FIX Protocol allows the trader to set his own execution price, so it will be executed at the specified price or higher. This is the use of a limit order. For example, if a trader placed a limit order to sell an asset and set a strike price of $ 100, the order will not be executed until the price for the placed asset is equal to or above the set limit of $ 100.[nerd]&lt;br /&gt;&lt;br /&gt;&lt;a href='https://stocksharp.com/file/109876/fix_protocol_limith_order.jpg' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'&gt;&lt;img src="https://stocksharp.com/file/109876/fix_protocol_limith_order.jpg?size=800x800" alt="fix_protocol_limith_order.jpg" title="fix_protocol_limith_order.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For this reason, &lt;b&gt;we recommend using&lt;/b&gt; the FIX Protocol connection, and provide the opportunity to purchase connection connectors or develop connectors individually. The full range of our products can be found &lt;a href="https://stocksharp.com/products/pricing/" title="https://stocksharp.com/products/pricing/"&gt;here&lt;/a&gt;.</content>
  </entry>
</feed>