S#.Data can be used in server mode, in this mode you can remotely connect to S#.Data and get the existing data in the storage. You can connect to S#.Data running in server mode from S#.Designer (see Getting started in the S#.Designer documentation for how to do this). You can also connect to S#.Data via S#.API (how to do this is described in the FIX/FAST connectivity items).
In server mode, the S#.Data program allows the user to work using one connection, with several programs at once. By setting the access key in the program settings, the user can simultaneously work with one source under one account.
Actually, the connection to the source occurs via S#.Data, to which, for example, S#.Designer, S#.Terminal are simultaneously connected. This method allows you to avoid reconnection between programs, purchase of an additional connection. With such work, conflicts are excluded, the occurrence of which is due to the orders registering or trades from different programs. S#.Data receives the signal and passes the result back to the program from which it was received, while the sequence of other work is not disturbed.
To enable S#.Data server mode, select the Server mode tab in the top menu of program.
After that, click on the Settings button to open the server mode settings window.
FIX server - switch S#.Data to server mode, distributing live trading and historical data via the FIX protocol.
In this settings section, the user configures the connection for working with sources:
- ConvertToLatin - convert Cyrillic to Latin
- QuotesInterval - quotes update period
TransactionSession - setting of a trading session. Setting up for trading via the S#.Data program.
The setting allows to set up: Dialect of the FIX protocol, Sender and Recipient, Data format and other settings. See FIXServer properties for details.
- MarketDataSession - settings for transfer of market data received using S#.Data. See Подробнее см. FIXServer properties for details.
- KeepSubscriptionsOnDisconnect - keeping subscriptions when disconnected from the source.
- DeadSessionCleanupInterval - after what time interval the information will be cleared if the connection is disconnected.
- Authorization - authorization to gain access to the S#.Data server
- Number of securities - the maximum number of instruments that can be requested from the server
- Candles (days) - the maximum number of days available to download candle history
- Ticks (days) - the maximum number of days available to download the tick data history
- Order books (days) - the maximum number of days available to download order book history
- OL (days) - the maximum number of days available to download the OL data history
- Transactions (days) - the maximum number of days available to download the transaction history
- Simulator - turn on simulator mode
- Security maping - enable the transfer mode of only specified instruments.
If you set Authorization other than Anonymous, the Users button will appear on the Common tab, after clicking on which the Users window appears
On the left side of window, you can add a new user, and on the right, set access rights for him.