Finam static/streaming data provider
Modified on 2020/02/12 14:23 by Eugene — Categorized as: Providers
What is it
This is a static and streaming
provider
for Wealth-Lab Developer that downloads free intraday and daily historical price data provided by Russian brokerage "
Finam
" (in Russian;
English site
). It covers all Russian exchanges and a wide range of world indices, ETFs, futures and currency pairs (F/X).
Setting up
The first and foremost step in getting the
Finam provider
to work is to download classification groups. When creating the very first DataSet, you'll be prompted to do it:
Classification not found
This is required for the provider to function.
Classification groups
Currently, Finam offers historical data broken in 24 groups ranging from Russian markets to world indices. Classification will be downloaded from Finam's site and stored in your
AppData
folder. At any time, you can refresh the classification groups by loading the "Create dataset" dialog box and clicking "Refresh". This step is helpful when the data vendor adds new symbols or removes dead entries.
Once classificiation is saved locally, you can create new DataSets by selecting symbols from the various groups:
Create a DataSet
You can select all instruments from a market group by double clicking on its title. To remove a range of instruments, click on the first one in the right pane and press Shift-End (from here to the end), or click with Shift or Ctrl pressed (multiple selection), or Ctrl-A (all instruments) etc.
Streaming data
Starting from version 2011.01 (requires Wealth-Lab 6.1), the provider now supports free Streaming intraday and daily data. To enable, open the Wealth-Lab's
Preferences
dialog >
"Streaming Data"
and tick "Finam Streaming Provider".
To conserve bandwidth and reduce server load, partial bars are updated once every 10 seconds for snapshot quotes.
Usage notes
Important!
Across the Finam's market groups, there are symbols with identical names e.g.
GAZP
traded on RTS and
GAZP
as a FORTS futures contract. By design, it's not possible to keep multiple symbols with identical names. When updating, their data may get mixed up and broken.
Do not
include more than one non-unique symbol across your DataSets! There is no workaround for this.
Since this provider is catered to Russian-speaking customers, having Russian locale enabled in your operating system is an absolute must to view the stock symbol names in a correct fashion.
The provider can be installed and used in Wealth-Lab Developer
only
.
Historical data downloads are currently single-threaded, because Finam's server throws sand in the wheels of concurrent download requests. Until a robust solution is found, tried and true single-threaded downloads are here to stay.
When manually editing a DataSet, make sure you wrap symbols with a space in double quotes! e.g. "Company Ltd", NOT
Company Ltd
. Otherwise you'll get an exception.
Limitations
Paper Trading with Finam provider is not supported
Symbols having '*' in their names (and possibly other characters that would have resulted in creation of an invalid file name) are not handled by the provider. The data is being downloaded but then it aborts the creation of the file. Since the issue affects only a handful of symbols outside the primary focus of the provider, we do not plan to fix it.
Provider does not have the means to adjust for splits and dividends. To maintain your data in good shape, either perform splits manually or reload the DataSet from scratch using the
Data Tool
's "Remove all data" feature and then updating the DataSet.
Running multiple Strategies using Finam data in the Strategy Monitor is not recommended since doing this may result in incorrect data.
Known issues
Problem
: Symbol takes progressively long time to backtest with each data update and at one point its chart may even stop opening or display a black screen. Other symbols keep working as usual.
Workaround
: While we're looking to reproduce and fix this intermittent bug, here's how to get rid of it:
Enable
hidden file/folder visibility
Open this folder in Explorer (depending on chosen bar scale):
c:\Users\
Windows username
\AppData\Roaming\Fidelity Investments\WealthLabDev\1.0.0.0\Data\FinamProvider\
bar scale
\
Find the .WL file for your symbol. You will notice how huge it has become. Delete the file, then update your Finam DataSet.
Alternatives
MFD data provider
is a free data source with fast history backfill and daily updates.