Community. StockSharphttps://stocksharp.com/handlers/atom.ashx?category=community&page=20Copyright @ StockSharp Platform LLC 2010 - 20242024-03-29T05:53:49Zhttps://stocksharp.com/images/logo.pnghttps://stocksharp.com/topic/14573/Synthetic Arbitrage2020-10-12T16:05:53Z2020-10-12T16:05:53ZЮрий Басанговhttps://stocksharp.com/users/7/info@stocksharp.com<b>Description</b><br />The trading algorithm of this robot follow the idea of synthetic arbitrage, which is based on long combination of crypto coins, in our case is BTC/ETH/LTC//ETH/BTC.<br />In other words, synthetic arbitrage assuming comparison of all possible options of synthetic pairs of crypto coins, where it selects the most profitable transaction chains. The stable algorithm of Synthetic Arbitrage will give you a stable and constant income in the trade of cryptocurrency market. <br /><br /><b>Algorithm</b><br /><br />The whole idea of the strategy is very simple. In our method, the arbitrage is built upon of combination of chosen crypto coins: BTC/ETH/LTC//ETH/BTC. You must set certain connectors to crypto exchanges in order to monitor the necessary crypto coins. Further going, the trading algorithm itself pick the convergence-divergence on the found pairs to check if the arbitrage could happen. After identification of the arbitrage the robot may execute the trades automatically or gives a notification for trader.<br />https://stocksharp.com/topic/14572/Pump detector2020-10-12T15:42:25Z2020-10-12T15:42:25ZЮрий Басанговhttps://stocksharp.com/users/7/info@stocksharp.com<b>Description</b><br />Pump detector – the name of this trading robot comes from English word Pump that means artificially rise something. Pump is an artificial process of rising price of cryptocurrency by buying it. The history of Pump dates to Penny stocks where small public companies trade their common shares for less than one dollar. The trading algorithm of Pump detector includes a specific automation which automatically monitor the growth of all cheap coins with huge profitability within just several hours. <br /><br /><b>Algorithm</b><br /><br />As we mentioned above, this trading robot tracks the cheapest coins with huge returns within several hours, therefore the trading algorithm pf Pump detector able to do such things like: monitor and giving out signals or actively enter in position and exit only after all requirements were met, in other words it will only happen after reached your take profit. Pump detector monitors all coins in all available connections what exactly gives you a great number of choices. In this case, we are talking about altcoins which trade by very low price and within the day you can increase your profit 10 times. <br />The main idea of this trading algorithm is exit the trade when the price reached a necessary point on market – take profit. The whole algorithm is fully automated what is a big advantage in compare with manual trade. <br />https://stocksharp.com/topic/14571/Mr Hide2020-10-12T15:00:32Z2020-10-12T15:00:57ZЮрий Басанговhttps://stocksharp.com/users/7/info@stocksharp.com<b>Description:</b><br /><br />Mister Hide – is a unique robot created by our company, the algo trading algorithm includes trend and counter-trend strategies. To start a trade with this robot, you first, choose the security by which you want to trade, the capital share allocated for trading this particular instrument and timeframe you want to trade on. Moving forward you press start button and observe and monitor your algo-trading robot. <br /><br /><b>Algorithm</b><br /><br />Mister Hide is an out-and-outer algo-trading software designed by StockSharp. We won’t uncover all characteristics and uniqueness of this robot however we would like to share with you some glimpse of its basic components.<br /><br />In base settings are included:<br /> - The security<br /> - Capital share<br /> - Timeframe<br /><br />The user selects a timeframe for trades and the robot in its turn make a full analysis of selected timeframe to determine the market condition: <br />with long position you are buying actual securities in order to sell them for higher price, while with short position you get profit of a decreasing asset price, or if it's a flat position when traders are unsure about the direction of the market, in short words no any trends on a market.<br /><br />The order will be executed if all conditions are met of the entry point, when the user press start button, or the trading robot expects when all specified conditions is completed. The trading algorithm will exit the trade by the change of market status, or according to calculated take profit or stop loss level.<br /><br />The counter trend strategy and trend strategy have not linked to each other, which mean at some points that they are in opposite positions. The counter-trend component is evaluated by bearish or bullish market trend on a specific timeframe. Our company has designed formula with market strength/weakness is mathematically defined as a number. If a certain value is above this number and all parameters are met, then the entry point is found. <br /><br />If there is a position on the trend component, the trading algorithm can either increase the existing position or close the deal.<br /><br />Mister Hyde's potential year profit is 80%.<br /><br />Happy trading!<br />https://stocksharp.com/topic/14570/Hourglass2020-10-12T14:56:22Z2020-10-12T14:56:22ZЮрий Басанговhttps://stocksharp.com/users/7/info@stocksharp.com<b>Description</b><br /><br />The name of this trading robot comes from the fact that the robot trades the time, by this idiomatic expression we mean, as you may guess that the robot Hourglass buys and sells options on the options market. The trading algorithm doesn't make decisions or choose options for creating a position. However, the it's main purpose to keep your strategy as much neutral as possible for the market, a market neutral strategy - independently from the stock or futures fluctuation, whether it goes up or down. <br />The trading algorithm automatically monitor your position, and therefore calculates Greeks (theta, delta, Vega, gamma), volatility and execute the orders automatically with the underlying asset by the assigned step of hedging (given by points or percentage). If the time decay don't enough for you, you can specify the delta which should be supported by trading robot. The default delta is zero (0), so you set the most convenient position and observe how grow your trading account balance significantly. <br /><br /><b>Algorithm: </b><br /><br />The trading algorithm in the Hourglass robot directly linked with trading volatility. You can easily find all terms and explanations online, and how to implement this strategy. We will give you a short and quick example. <br /><br />Let’s assume that the value of the option strictly depends upon the frequency of fluctuations of the underlying asset. It is essential to know the exact fluctuations, i.e. in other words, the directional movement of 2% is different of the same movement of 1% and then of -1%. The total move of asset will be the same, nevertheless the result of trading options in this case will be different. Based on this point, our view is that the trade of options is primarily trade of time. First and foremost, we evaluate if the underlying security can go upside or beyond the pre-determined levels before the period of expiration. If the answer is yes, then the following question is going to be in which direction this will most likely follow. We give a guess, that for instance the underlying asset won't leave the range but go right in down direction.<br /><br />How can trading robot help to evaluate the market and make some profit? Firstly, the trading algorithm built in robot estimates the average value of fluctuations of the underlying security. The directional dynamism is excluded in this case. Based on this value, the trading robot automatically advices you to make an optimal re-hedging step, in other words: that movement scale through which the delta hedger will be execute the whole sum position by options and the underlying security for 0 (or any other value chosen by user). A trader always has an option to change the robot settings and decline an order.<br /><br />Besides it, our trading robot supports hedge by time, by delta size, conditional hedging ( in case if the closing candle will be more or less than a level of specified by user), hedging of the only part of option position. <br /><br />Designing the functionality of our robot we considered all possible strategies and variations and methods which can be useful for traders. The trading algorithm can create an option synthetic position exclusively using futures with any strike, any asset or date of expiration.<br />This is so called position replication.<br />Overall, the capabilities and capacity of this trading robot is almost unlimited, we've mentioned here only the part of how the robot’s algorithms work and how it trades on exchanges.<br /><br />This trading robot can reach 50%-year profit.<br /><br />Happy trading!<br />https://stocksharp.com/topic/14559/does any support the developement with stocksharp API?2020-10-11T20:53:36Z2020-10-11T20:53:36ZWinthan Aunghttps://stocksharp.com/users/133999/info@stocksharp.comHi I am looking into Stocksharp API, I want to have some development with it, does anyone support with API for multiple connectors with web service? https://stocksharp.com/topic/14558/ChartPanel draws incorrectly2020-10-10T23:10:15Z2020-10-10T23:10:15ZGreennhttps://stocksharp.com/users/99877/info@stocksharp.comHi everyone.<br />I have been experiencing your platform a lot lately and noticed if a share didn't have enough liquidity there were some price gaps in range candles which negatively affect drawing them. Take a look a the picture<br /><br /><span style="color:red">Chart Range(4)</span><br /><br /><a href='https://stocksharp.com/file/116483/screenshot_16_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/116483/screenshot_16_png/?size=500x500" alt="Screenshot_16.png" title="Screenshot_16.png" /></a><br /><br />Green candle should have had 5 price levels but we see more<br />What is the best solution to avoid such problem if I use that kind of a chart<br />Thank you in advancehttps://stocksharp.com/topic/14535/Has the new StockSharp API been updated to work with Etrade?2020-10-01T19:43:30Z2020-10-01T19:43:30ZPierrehttps://stocksharp.com/users/119826/info@stocksharp.comHi, you mentioned many times over the past 2 years that you are working to update the Etrade and other stock broker connectors: Has that been done?https://stocksharp.com/topic/14516/Update in a new way S#.Shell and course materials!2020-09-28T12:17:38Z2020-09-28T12:17:38ZILYAhttps://stocksharp.com/users/127794/info@stocksharp.com<b><h2>Good day friends! </h2></b><br /><br /><b><em><span style="color:red">We have important news for you!</span> </em></b><br /><br /><a href='https://stocksharp.com/file/116412/algo-trading-news_jpg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/116412/algo-trading-news_jpg/?size=500x500" alt="algo-trading-news.jpg" title="algo-trading-news.jpg" /></a><br /><br />Recently we’ve released our application <a href="https://stocksharp.com/products/download/" title="https://stocksharp.com/products/download/"><b>S#.Installer</b></a> what is a head center for all of our products!<br />According to this, we would like to announce that <b>all of you who study or studied in our</b> <a href="https://stocksharp.com/edu/" title="https://stocksharp.com/edu/"><b>courses</b></a>: <br /><br /><h2><span style="color:red">Archives with examples and S#.Shell program will be updated automatically by S#.Installer!</span></h2><br /><br />The old method is <br /><h2><b>not longer working</b></h2><br /><b>S# .Installer</b> will also be used for <a href="https://stocksharp.com/articles/12374/Assign-install-and-work-with-SInstaller/" title="https://stocksharp.com/articles/12374/Assign-install-and-work-with-SInstaller/"><b>the initial receipt and installation</b></a> products!<br /><br />Enjoy our program!<br />https://stocksharp.com/topic/12489/Principles for trading cryptocurrencies part 42020-09-22T13:21:42Z2020-09-22T13:21:42ZILYAhttps://stocksharp.com/users/127794/info@stocksharp.comIn today’s article we will review the significant part of trading analysis – <b>trading volume</b>.[happy]<br /><br />Let’s explain what trading volume is – <b><em>the whole amount of cryptocurrency units which trade on crypto exchanges that are traded on base of executed orders within considered period</em></b>. Obtaining this volume is important that’s why there’re many charts of trading volume. For example <b><u>the program software for downloading market data</u></b> <a href="https://stocksharp.com/products/hydra/" title="https://stocksharp.com/products/hydra/"><b><em><u>S#.Data(Hydra)</u></em></b></a> easily can build trading charts and trading volume charts, giving the trader to see and compare them in one work space flow. Definitely it will give you a wide picture for further analysis. [wink]<br /><br />For the analysis itself it’s crucial to know the volume indicator that occurs by reaching some fixed price level. Given information is a signal to start a trade or the opposite – to wait. <b><u>Volume chart can be vertical or horizontal, however the first one is more used by traders, </u></b>[nerd]<br />By building the graphs based on download market data in <a href="https://stocksharp.com/products/hydra/" title="https://stocksharp.com/products/hydra/"><b><u><em>Hydra</em></u></b></a> it has the same time period as for <b><em>candlestick chart and displays in the form of bars</em></b>.<br /><br /><a href='https://stocksharp.com/file/116286/download-market-data_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/116286/download-market-data_png/?size=500x500" alt="download-market-data.png" title="download-market-data.png" /></a><br /><br /><a href='https://stocksharp.com/file/116287/tradnig-volume_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/116287/tradnig-volume_png/?size=500x500" alt="tradnig-volume.png" title="tradnig-volume.png" /></a><br /><br /><br />In short words, if a trader builds a graph by trading volumes over the past 30 minutes then the bar value will indicate the whole cumulative volume of 30 minutes.[ninja]<br />By fact, one of the options using charts is to find the end of correction movement in a trend. <b><em>Thus, if the volume increased dramatically by the price which the direction is opposite to the trend therefore it might indicate the end of the trade itself.</em></b> This moment might be benefits for trade in the direction of a trend and often used for trading robots, particularly in <b><u>a constructor of trading robots</u></b> - <a href="https://stocksharp.com/products/designer/" title="https://stocksharp.com/products/designer/"><b><u><u>S#.Designer</u></u></b></a>. [love]<br />Also, you should keep in mind that a big trading volume of cryptocurrency not always indicates for beneficial price movement the cause of might be set aggressive orders.<br />In any case, if a trader gets an opportunity to use such financial instruments for analysis it will lead to reducing risk and gaining profits! <br />https://stocksharp.com/topic/12403/Principles for trading cryptocurrencies part 32020-09-15T12:49:16Z2020-09-15T12:49:16ZILYAhttps://stocksharp.com/users/127794/info@stocksharp.comToday we’re going to talk about one of the most important financial instruments is an <b><u>order book</u></b>. It is formed by all sell and buy orders on <em><u>crypto exchange</u></em>. <b><em><u>An order book</u></em></b> is the list of orders which uses to record the interest of buyers and sellers of chosen cryptocurrency for fiat money or any other cryptocurrency and taking in consideration the closest price of trading pair.[laugh]<br /><br />Sometimes it's crucial [ninja], <em>especially in arbitrage</em>, to have an opportunity to trade with several order books at the same time. This option is fully implemented in <a href="https://stocksharp.com/products/" title="https://stocksharp.com/products/"><b><em><u>S# programs</u></em></b></a>. For instance, the working area of free trading <a href="https://stocksharp.com/products/terminal/" title="https://stocksharp.com/products/terminal/"><b><em><u>terminal S#</u></em></b></a>, <a href="https://stocksharp.com/products/terminal/" title="https://stocksharp.com/products/terminal/"><b><em><u>Terminal</u></em></b></a> allows the trader to configure it so that it would has the very informative picture of the whole trading process. [nerd]<br /><br /><a href='https://stocksharp.com/file/116060/an-order-book_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/116060/an-order-book_png/?size=500x500" alt="an-order-book.png" title="an-order-book.png" /></a><br /><br /><b><u>Every order book gives the full information about the volume offer and its price</u></b>. The number of offers is the <b><em><u>order book depth</u></em></b>. <b>The ability to customize the book order depth also is important part of trade, as it gives you the ability to see the whole list of offers. It's often that in the upper part of order book are placed bid offers and in the down part is ask offers of selected security.</b>[happy][love]<br /><br />By fact, the order book shows the desire of trading of cryptocurrency at a favorable rate of a trade for a trader. When an opposite trade is appeared, trade is executed, and the pair price is changing in the direction of the executed trade. <em>If the order doesn't have any counter offers, then it remains without any changes until the counteroffer moment or the cancel it by trader.</em><br /><br />What we see on the picture that based on data of the<b><em><u> order book,</u></em></b> a trader can perform the analysis or make decision about trade move on. So for example, a trader can determine the spread of a traded pair (the difference between the first values of the bid and ask prices), as well as predict the behaviour of graph chart (if there is large buy orders, then rapid growth is highly likely, and vice versa). Therefore, having the option to customize the book order, the trader get a great flexibility in a trade that will bring a big profit and/or lesser risks.<br />https://stocksharp.com/topic/12393/Ref: Lesson_01, 02_MarketDeph_Trade, The code from the video do not work.2020-09-11T02:47:59Z2020-09-13T18:02:23ZVladimir Vincenthttps://stocksharp.com/users/131450/info@stocksharp.comRef: Lesson_01, 02_MarketDeph_Trade, The code from the video do not work.<br /><br />_connector.NewTrade += TradeGrid.Trades.Add;<br /><br />NewTrade is deprecated, I have used the TickTradeReceived and it still do not work.<br /><br />Send a working code of Lesson_01, 02_MarketDeph_Trade.<br /><br />These videos are not up to date with the libraries.<br />Please remake these videos or add additional instruction to correct these videos. Or add working code to these videos.https://stocksharp.com/topic/12386/Principles for trading cryptocurrencies part 22020-09-08T12:39:00Z2020-09-08T12:39:00ZILYAhttps://stocksharp.com/users/127794/info@stocksharp.comIn the previous article we’ve analysed the main tools used particularly in trading and crypto trading. We've explained such important element as a <b><u>chart</u></b>. Keep in mind that <b><em><u>charts</u></em></b> can be different, and each trader can use different <b><em><u>charts and time frames</u></em></b>. For example <a href="https://stocksharp.com/products/hydra/" title="https://stocksharp.com/products/hydra/"><b><em><u>S#.Data (Hydra)</u></em></b></a> program may build charts of various <em>trading elements and time frames</em> such as ticks, candles with various periods and volume charts. All of this give you a wide look to analyse the market, assess risks and its perspectives.[nerd]<br /><br /><a href='https://stocksharp.com/file/115973/trade-build-charts_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/115973/trade-build-charts_png/?size=500x500" alt="trade-build-charts.png" title="trade-build-charts.png" /></a><br /><br />A pair may have different charts which can be distinguished by time frames. So for instance, the chart can be of 5 or fifteen minutes period. These periods named are <b><em><u>Time Frame</u></em></b>.[happy]<br /><br /><a href='https://stocksharp.com/file/115974/trading-periods-timeframe_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/115974/trading-periods-timeframe_png/?size=500x500" alt="trading-periods-timeframe.png" title="trading-periods-timeframe.png" /></a><br /><br /><a href='https://stocksharp.com/file/115975/charts-timeframes_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/115975/charts-timeframes_png/?size=500x500" alt="charts-timeframes.png" title="charts-timeframes.png" /></a><br /><br />Let's look at the basic elements of <b><em><u>Japanese candle</u></em></b>. The rectangles on the chart is the body of a <b><u>candle</u></b>. The body of candle is formed based on the values of beginning and the end of the chosen time frame.<br /><br /><a href='https://stocksharp.com/file/115976/charts-candle-body_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/115976/charts-candle-body_png/?size=500x500" alt="charts-candle-body.png" title="charts-candle-body.png" /></a><br /><br /><b>A candlestick is a type of price chart, and its candlestick can have bullish pattern if the opening price is lower the closed price, or in the opposite direction is bear candlestick. In the <a href="https://stocksharp.com/products/hydra/" title="https://stocksharp.com/products/hydra/">S#.Data (Hydra)</a> program candles adopted green and red colour therefore we can determine the rise or fall of selected exchange tool.</b><br /><br />Also, a shadow is a line found on a candlestick chart which indicates the maximum and minimum price during the forming process. In the case of the absence of the upper shadow is considered that candle's top being cut off or the opposite is the base is cut off. [ninja]<br /><br />A <b><em><u>Doji</u></em></b> is a candlestick with no real body, where the open price is equal to the closed price. If the body of the candle is small, then it is called a <b><u>spinning top</u></b>. <a href="https://stocksharp.com/products/" title="https://stocksharp.com/products/"><b><em><u>S# programs</u></em></b></a> allows traders to read candles as much as possible. A friendly interface and advanced analyses tools make them crucial for traders because the ability to read the candles it reduces the risks, especially in crypto currency market.[wink]<br />https://stocksharp.com/topic/12379/I got the currency list to show by adding the Oanda nuget pkg, but I am not seeing the price of the security when i click on a currency.2020-09-02T03:49:33Z2020-09-03T22:19:43ZVladimir Vincenthttps://stocksharp.com/users/131450/info@stocksharp.comI got the currency list to show by adding the Oanda nuget pkg, but I am not seeing the price of the security when i click on a currency.<br /><br />public partial class MainWindow : Window<br /> {<br /> private Connector _connector = new Connector();<br /> private string _connectFile = "ConnectFile";<br /><br /> public MainWindow()<br /> {<br /> InitializeComponent();<br /> if (File.Exists(_connectFile))<br /> {<br /> _connector.Load(new XmlSerializer<SettingsStorage>().Deserialize(_connectFile));<br /> }<br /> }<br /><br /> private void Setting_Click(object sender, RoutedEventArgs e)<br /> {<br /> if (_connector.Configure(this))<br /> {<br /> new XmlSerializer<SettingsStorage>().Serialize(_connector.Save(), _connectFile);<br /> }<br /> }<br /><br /> private void Connect_Click(object sender, RoutedEventArgs e)<br /> {<br /> SecurityPicker.SecurityProvider = _connector;<br /> SecurityPicker.MarketDataProvider = _connector;<br /> _connector.Connected += this.Connector_Connected;<br /><br /> _connector.Connect();<br /> }<br /><br /> private void Connector_Connected()<br /> {<br /> _connector.LookupSecurities(new Security() { Code = "USD/JPY" });<br /> }<br /><br /> private void SecurityPicker_SecuritySelected(Security security)<br /> {<br /> if (security == null) return;<br /> _connector.SubscribeFilteredMarketDepth(security);<br /> //_connector.RegisterSecurity(security);<br /> }<br /> }https://stocksharp.com/topic/12380/Rithmic connection CPU Usage & Refreshspeed of SubscribeMarketDepth2020-09-02T18:47:42Z2020-09-02T20:53:39ZTobias Bornhttps://stocksharp.com/users/127923/info@stocksharp.comDear S# Community,<br /><br />i have a question regarding the S# Rithmic Connection. I have realised that it needs a lot of CPU Usage (up to 50%) when i am subscribing to the SubscribeMarketDepth.<br />It seems the method is sync and is blocking the other threads in between. It would be better to call it async but that is not implemented right now in s#[crying].<br /><br />Does anybody make the same experience?<br /><br />Also the second question i have is about the refreshspeed of this subscription. <a href="https://doc.stocksharp.com/html/M_StockSharp_Algo_IMarketDataProviderEx_SubscribeMarketDepth.htm
" title="https://doc.stocksharp.com/html/M_StockSharp_Algo_IMarketDataProviderEx_SubscribeMarketDepth.htm
">https://doc.stocksharp.c...ubscribeMarketDepth.htm
</a><br /><br />i gave a refreshspeed of 3 seconds,but it seems the data update comes more frequently, less than 1 second i guess.<br /><br />TimeSpan span = new TimeSpan(0, 0, 0, 3, 0);<br />Connector.SubscribeMarketDepth(security, null, null, null, MarketDataBuildModes.LoadAndBuild,null, 25, <b>span</b>, null, false, null);<br /><br />Am i using it wrong?<br /><br />Thanks in advance & best regards<br />Tobiashttps://stocksharp.com/topic/12371/I am not seeing any price for any security (currency) for Oanda2020-08-31T04:26:23Z2020-09-02T03:42:51ZVladimir Vincenthttps://stocksharp.com/users/131450/info@stocksharp.com<br />I am following the lesson 01_Connect_and_get_security<br />I am not seeing any price for any security (currency) for Oanda<br />Please see image below.<br /><br />public partial class MainWindow : Window<br /> {<br /> private Connector _connector = new Connector();<br /> private string _connectFile = "ConnectFile";<br /><br /> public MainWindow()<br /> {<br /> InitializeComponent();<br /> if (File.Exists(_connectFile))<br /> {<br /> _connector.Load(new XmlSerializer<SettingsStorage>().Deserialize(_connectFile));<br /> }<br /> }<br /><br /> private void Setting_Click(object sender, RoutedEventArgs e)<br /> {<br /> if (_connector.Configure(this))<br /> {<br /> new XmlSerializer<SettingsStorage>().Serialize(_connector.Save(), _connectFile);<br /> }<br /> }<br /><br /> private void Connect_Click(object sender, RoutedEventArgs e)<br /> {<br /> SecurityPicker.SecurityProvider = _connector;<br /> SecurityPicker.MarketDataProvider = _connector;<br /> //_connector.Connected += this.Connector_Connected;<br /><br /> _connector.Connect();<br /> }<br /><br /> //private void Connector_Connected()<br /> //{<br /> // _connector.LookupSecurities(new Security(){Code = "USD/JPY"});<br /> //}<br /><br /> private void SecurityPicker_SecuritySelected(Security security)<br /> {<br /> if (security == null) return;<br /><br /> _connector.RegisterSecurity(security);<br /> }<br /> }https://stocksharp.com/topic/12378/Principles for trading cryptocurrencies2020-09-01T13:33:56Z2020-09-01T13:33:56ZILYAhttps://stocksharp.com/users/127794/info@stocksharp.com<b><em><u>Speculative trading</u></em></b> is widely spread type of trading on most well-known exchanges nowadays. Without any doubts the crypto exchange is not an exception. Buying cheap and then selling it for a higher price is the basic principle of classic trading.[wink]<br /><br />From now onwards it should be said that for a trader who trades foreign exchange or securities market the move to the sphere of crypto trading going to be enough clear and simple to understand. [happy]<br /><em><u>Besides it, we need to mention that the crypto trading becoming a very popular among beginners.</u></em> <b><em><u>This is due to ease access and loads of trading platforms along with name of tokens (cryptocurrencies).<br /></u></em></b><br /><br />Let's review the crucial tools for traders for a quick introduction of the base principles of crypto exchanges.[nerd]<br /><br /><b><em><u>- Graphs<br />- An order to buy or sell<br />- History of executed orders, trading volume (market data)</u></em></b><br /><br />Let's look at these components one by one. [nerd]<br /><br /><b><em><u>Our first financial tool is a graph or chart. </u></em></b>Most of the best trading software programs give the building graphs a high priority. <u>So, for example, all <a href="https://stocksharp.com/products/" title="https://stocksharp.com/products/"><b><em>software</em></b></a> from <a href="https://stocksharp.com/products/" title="https://stocksharp.com/products/"><b><em>S#</em></b></a> have function to build graphs to capture the whole information of a current trade. Moreover, our free trading terminal <a href="https://stocksharp.com/products/terminal/" title="https://stocksharp.com/products/terminal/">S#.Terminal</a> make it possible to trade right from the graph. </u>[love]<br /><br /><a href='https://stocksharp.com/file/115885/cryptocurrency-trading_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/115885/cryptocurrency-trading_png/?size=500x500" alt="cryptocurrency-trading.png" title="cryptocurrency-trading.png" /></a><br /><br /><em><u>So what do we mean by repeatedly saying the word graph?</u></em><br /><br /><b>The chart(graph) - is a history of quotations of a crypto pair, the ratio of the rate of one crypto pair to another including the ratio of fiat money (dollar, euro, and others).</b><br />The most popular chart is <b><u>Japanese candlesticks</u></b>, they provide maximum needed information and provide the ratio spread (the difference between the best sell (ask) and the bid (buy) that are relevant now on, the smaller the spread, the greater the liquidity of the given security)[ninja]<br /><br />A <b><u>Japanese candlestick</u></b> is a type of price chart that's main because of its very informative and the view of price movement for the chosen period of time. It makes it simple to do technical analyse of trading strategies, adjust, and correct the trading robots were built by it. More detailed explanations about candles we will tell in new article.[wink]<br />https://stocksharp.com/topic/12376/Introducing the new app!2020-09-01T11:10:38Z2020-09-01T11:10:38ZMarathttps://stocksharp.com/users/101940/info@stocksharp.com<h2>Hello, Friends!</h2><br /><span style="font-size:120%">We have great news!</span><br /><br /><b>StockSharp</b> provides users with an <b><span style="font-size:140%">application for managing programs - S#.Installer.</span></b><br />In the near future, it will <b>replace all installers</b>, combining them in one application.<br /><br /><a href='https://stocksharp.com/file/115881/new_app_trading_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/115881/new_app_trading_png/?size=500x500" alt="new_app_trading.png" title="new_app_trading.png" /></a><br /><br /><b><span style="font-size:120%">What S#. Installer can do:</span></b><br /><em>- Install all StockSharp programs, including those with purchased connectors<br />- Track and warn about program updates<br />- Track purchases and install them<br />- Makes the user's work with programs more convenient and easier</em><br /><br />For more information about <b>S#.Installer</b>, follow the <b><span style="font-size:140%"><a href="https://stocksharp.com/articles/12374/Assign-install-and-work-with-SInstaller/" title="https://stocksharp.com/articles/12374/Assign-install-and-work-with-SInstaller/">link</a></span></b>.<br />Let's make trading convenient!https://stocksharp.com/topic/12039/Oanda Live Data Not Coming Through?2020-08-20T06:49:04Z2020-08-31T22:43:38ZRobhttps://stocksharp.com/users/130250/info@stocksharp.comI've been trying to connect to an Oanda paper account for live candles using StockSharp.Oanda v5.0.27 but am not receiving updated candles. The historical candle load in the code below is successful and returns a day of history, but the live candles do not continue to come in. The same issue is seen for every lesson when I produce that code. <br /><br />While debugging, I can see that <div class="code"><strong>Code</strong><div class="innercode">IsSupportCandlesUpdates</div></div> is set to false and is read-only. <br /><br />When I use the same Oanda API account in Shell#, and run a strategy, the live data works. So, it doesn't appear to be an account issue.<br /><br />Can you confirm the Oanda adapter works for live data and advise what I'm missing in the code below to generate live candle data?<br /><br />Thank you.<br /><br /><div class="code"><strong>Code</strong><div class="innercode"><br /> class Program {<br /><br /> private static CandleSeries _candleSeries;<br /> private static LogManager _logManager;<br /> private static Connector _connector;<br /> static void Main (string[] args) {<br /><br /> Console.WriteLine ("Init");<br /><br /> var security = new Security {<br /> Id = "GBP/USD@OND",<br /> Code = "GBP/USD",<br /> PriceStep = 0.01m,<br /> Board = ExchangeBoard.Ond<br /> };<br /><br /> _connector = new Connector ();<br /><br /> _logManager = new LogManager ();<br /> _logManager.Listeners.Add (new FileLogListener ("log.txt"));<br /><br /> var adapter = new OandaMessageAdapter (_connector.TransactionIdGenerator) {<br /> Token = "the-api-key".To<SecureString> (),<br /> Server = OandaServers.Practice,<br /> };<br /><br /> _connector.Adapter.InnerAdapters.Add (adapter);<br /> _connector.LogLevel = LogLevels.Debug;<br /> _logManager.Sources.Add (_connector);<br /><br /> _connector.Connected += () => {<br /> Console.WriteLine ("Connected");<br /> };<br /><br /> _connector.ConnectionError += error => {<br /> Console.WriteLine (error);<br /> };<br /><br /> _connector.Error += error => {<br /> Console.WriteLine (error);<br /> };<br /><br /> _connector.NewSecurity += security => {<br /> Console.WriteLine (security.Name);<br /> };<br /><br /> _connector.NewTrade += trade => {<br /> Console.WriteLine ("trade: {0}", trade);<br /> };<br /><br /> _connector.NewPortfolio += portfolio => {<br /> Console.WriteLine ("portfolio: {0}", portfolio.Name);<br /> };<br /><br /> _connector.NewPosition += position => {<br /> Console.WriteLine ("position: {0}", position);<br /> };<br /><br /> _candleSeries = new CandleSeries (typeof (TimeFrameCandle), security, new TimeSpan (0, 1, 0)) {<br /> BuildCandlesMode = MarketDataBuildModes.LoadAndBuild,<br /> BuildCandlesFrom = MarketDataTypes.CandleTick,<br /> };<br /><br /> _connector.CandleSeriesProcessing += (_candleSeries, candle) => {<br /> Console.WriteLine (candle);<br /> };<br /><br /> var subscription = _connector.SubscribeCandles (_candleSeries, DateTime.Today.Subtract (TimeSpan.FromDays (1)), DateTime.Now, adapter : adapter);<br /><br /> _connector.CandleReceived += (subscription, candle) => {<br /> Console.WriteLine (candle);<br /> };<br /><br /> _connector.TickTradeReceived += (subscription, trade) => {<br /> Console.WriteLine (trade);<br /> };<br /><br /> _connector.CandleSeriesError += (_candleSeries, error) => {<br /> Console.WriteLine ("CandleSeriesError {0}", error);<br /> };<br /><br /> _connector.Connect ();<br /><br /> Console.ReadLine ();<br /><br /> }<br /> }<br /></div></div>https://stocksharp.com/topic/12369/Custom Indicator - Changing Color Per Candle2020-08-27T20:24:26Z2020-08-31T22:41:58ZRobhttps://stocksharp.com/users/130250/info@stocksharp.comI'm creating a custom indicator using ChartIndicatorElement DrawStyle = ChartIndicatorDrawStyles.Dot<br /><br />Per candle, I would like to change the dot color. How is this achieved? If I add the element to the chart before processing, all of the dots change color according to the last processed value. If I add a new element per candle, the color of the indicator dot, per candle, is correct, but the x-axis of the indicator does not line up with the datetime. <br /><br />Please advise, thanks.<br />https://stocksharp.com/topic/12365/Potential risk of cryptocurrency market!2020-08-25T12:34:08Z2020-08-25T12:34:08ZILYAhttps://stocksharp.com/users/127794/info@stocksharp.comNowadays many experts concluded that cryptocurrency market is a <b><em>financial bubble</em></b> and its capitalization is <b><em>blurred and unconfirmed</em></b>.<br /><br />However, in the light of growing algo traders and <b><u>popularization of cryptocurrency</u></b>, also as a form of cashless payment, might question the expert’s opinion about market decline. [laugh]<br /><br /><a href='https://stocksharp.com/file/115841/cryptocurrency-market-risk_jpg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/115841/cryptocurrency-market-risk_jpg/?size=500x500" alt="cryptocurrency-market-risk.jpg" title="cryptocurrency-market-risk.jpg" /></a><br /><br />In any case, an algo-trader must consider all risks related to market fall.[smart] And with a help of trading software which can consolidate trading data and base on this data to build all necessary indicators. <b><em><u><a href="https://stocksharp.com/products/hydra/" title="https://stocksharp.com/products/hydra/">S#.Data(Hydra)</a></u></em></b> is a <b>great solution</b> for managing market risk analysis. <b><em><u><a href="https://stocksharp.com/products/hydra/" title="https://stocksharp.com/products/hydra/">Hydra</a></u></em></b> allows you to <b><em><u>collect all market data and trade related data where a trader will be able to analyse market trends and make a right decision particularly any financial asset.</u></em></b><br /><br />The forecasts of cryptocurrency market and crypto-trading are different of their development measure. So, the value of cryptocurrency market is estimated in <b><u>hundreds of millions of dollars and its capitalization continues to grow</u></b>. Therefore, crypto-trading becoming popular form of trading and in many cases more accessible to trade. <br /><br />Traders have no fear of recent <em><u>China announcement</u></em> about regulation of blockchain industry, where some standards will be involved and function in China.<br /><br /><a href='https://stocksharp.com/file/115842/blockchain-regulations-standard_jpg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/115842/blockchain-regulations-standard_jpg/?size=500x500" alt="blockchain-regulations-standard.jpg" title="blockchain-regulations-standard.jpg" /></a><br /><br />Let’s highlight the most common risks of cryptotrading:<br /><br /><b><em><u>- A myriad of different crypto tokens and therefore you will face a challenge and confuse to pick up a right one to trade<br />- The lack of proper regulation what lead to fraud in the market<br />- The lack of information of crypto capitalization of market cap it is under question<br />- A right choice of your strategy and trading software</u></em></b><br /><br />However, it should be said that these cons also have some pros for traders, for instance a big choice of trading securities and access to it, ability to enter any market because <em><u>of large number of platforms, multiple trading solutions and trading systems!</u></em>[happy]<br /><br />The <b><em><u><a href="https://stocksharp.com" title="https://stocksharp.com">StockSharp</a></u></em></b> company gives you a full list of everything you need for successful trading with minimal risk. You can buy our <a href="https://stocksharp.com/products/pricing/" title="https://stocksharp.com/products/pricing/"><b><em><u>connectors</u></em></b></a> to connect the most popular and famous cryptocurrency exchanges as well as program software which able to analyse the market condition and trends to make a right decision without any loss. More information about our products you can find on our <b><em><u><a href="https://stocksharp.com/products/pricing/" title="https://stocksharp.com/products/pricing/">website</a></u></em></b>.<br />