The applications moved every host into a folder of its own, so the projects the from-source samples reference are under Xaml\Avalonia and Xaml\Wpf now, and the FIX connector they named lives in the public connectors repository. Nine WPF samples still named Xaml and Xaml.Charting where they were before: a missing project reference is only a warning, so they failed later, at the first DevExpress or StockSharp tag of their markup. The MultiConnect samples sign in through the window the WPF head has. That head keeps the credentials window in Studio.WebApi.UI, taking the site's client service; the samples asked StockSharp.Xaml for one taking a fetcher, which the head does not have, and did not compile from sources. The published UI packages are far behind the sources and are not what the samples are kept in step with: the package-based projects of these samples compile once the WPF packages built from that head are published. The WPF samples await the connector's settings window, which the WPF library offers as ConfigureAsync only, and the active-orders sample awaits the chart's save instead of the obsolete blocking wrapper. The package-based projects of the same samples compile once a StockSharp.Xaml package that has ConfigureAsync is published. The Avalonia samples keep the connection settings through the awaited store: IConnectorSettingsStore reads and writes through awaited members now, so the sample store reads or writes its file when it is asked instead of reading both files up front and queueing its writes. The chart sample saves and loads its chart the same way. Eight Avalonia samples put the wheel date picker into columns of 150-170 pixels. It does not get narrower than about three hundred, so the two of them ran over each other and over the Start and Stop buttons. They take the compact calendar editor now, which the history testing sample already had.
StockSharp API Examples Directory
This directory contains three examples demonstrating various features of the StockSharp API. These examples are tailored for developers programming in C# and provide practical guidance on how to interact with trading platforms using the StockSharp framework.
Example Descriptions
-
01_ConnectAndDownloadInstruments: This example demonstrates how to establish a connection to the trading platform and retrieve security information. It is a basic primer on initiating connectivity and fetching key trading details.
-
02_MarketDepths: This example focuses on how to handle market data, specifically working with market depths and trades. It provides insights into accessing and utilizing real-time market updates.
-
03_Orders: The final example in this series showcases how to work with orders. It covers creating, submitting, and managing trade orders, providing a comprehensive overview of order handling within the StockSharp API.
These examples are designed to be standalone demonstrations, each emphasizing a specific aspect of the StockSharp API functionality. They are ideal for developers looking to integrate StockSharp into their trading solutions, offering a step-by-step approach to mastering the capabilities of this powerful trading framework.