IQFeed_ENG
Last updated
Last updated
In TSLab you can connect to multiple brokers and exchanges at once.
If you have no other connections to data providers at the moment, your data providers table is empty.
There can be data providers that provide clients only with historical data, so they can be called historical data providers.
In TSLab you can work with providers using text data and csv text format data, we will talk about them later.
In this video we will learn how to connect to IQFeed data provider and we’ll talk about using historical data in TSLab.
Before we create a new data provider in TSLab, we should register on IQFeed website. You can easily find tutorial videos and texts on registration process yourself; basically the only difficulty you can face is a plenty of questions they want you to answer.
We are not going to review this issue here, I think you are a client of IQFeed already. http://www.iqfeed.net
Click the Add button to create a new data provider in this window.
IQFeed provides its clients not only with historical data, but with online data as well. Let’s choose online data.
Let’s give it any name and find our provider in the list.
New data providers can be added to this list only by TSLab programmers or testers.
If you have questions considering a data provider or a broker, or you do not see your broker in the list, please contact TSLab Support Teaam with your concern.
Setting up IQ Feed is absolutely easy as you can apply default settings.
It might be enough to enter your login and password or select a logging level for your provider. TSLab logging cannot be set up at all and it is always active.
If you uncheck the Logging box, the Support Team won’t be able to help you.
If a data provider has been keeping connection to the server for a couple of days, we can call it rather stable.
Most frequently there can be problems caused by using copy/paste when you may copy an extra space together with your password.
This might happen when you establish connection for the first time. Your broker or historical data provider will inform you about problems with your login/password. Make sure there is no extra space in them.
The other common problem is internet connection. As a rule you receive a notification about failed connection, but this problem may be caused by the data provider as well.
Log folder, you can change the folder if you need.
A data provider has been created, I push the Connect button and see that there is an error, let ‘s see…
There is one moment here we should say about. TSLab doesn’t install necessary software of all brokers and providers as there is a variety of them and we cannot know for sure that all of them are what clients demand.
In this case the notification message says that you need to install the dedicated IQFeed software. In other cases you may be informed that some software has not been found and should be installed.
It only means that you do have to open the User Guide at page devoted to this provider and set it up according to the instruction.
It is really easy to install IQFeed.
Let’s try to establish connection. You do not need to set up the IQFeed client, it will fill in login and password automatically that you entered in the provider settings before.
We have established connection and can download historical data and current quotes from the markets you have selected in your IQFeed account.
You can receive a key TSLab at tslab.pro
Both sites are identical, registration process is quite simple. Confirm your email address after registration.
In your TSLab account you can purchase access to all available connectors.
After you have selected a data provider, read carefully which type of login you need to create a key.
After payment or getting free access, the key is going to be available in your account at this page and you will receive a message to the email address you registered with.
If you need a data provider you don’t see in the list of the offered ones, please contact our Support Team.
Most likely this connector is being tested at the moment and you also can take part.
You can try demo connectors as well. A demo connector has limited validity and that’s the only difference from trading connectors.
Most likely in future it will have a better name , maybe we will call it a trial period or something like this.
It means that if a broker allows you to connect to testing servers, you can connect to both servers via TSLab, to the trading and to the testing one.
In this case we mean onle TSLab, not the broker servers. There are no limits besides key validity.
IQFeed will be in this list in future as well. At the moment no key is demanded.
IQFeed supplies you both with historical and online data
It can be used not only as a historical data provider but as an additional provider for other brokers having data download limits.
For example you can see the Alternative data provider setting for Interactive Brokers. It can be useful in such cases.
Create an alternative provider for Interactive Brokers. At the moment IQFeed and NetInvestor can be alternative providers for Interactive Brokers.
You can set up a server connection schedule for any data provider.
Now ,about data themselves…
Open a chart… View… then Chart.
Right-click the chart… Properties…. A little bit about searching for and downloading instruments.
There is a plenty of instruments on the exchange, some brokers do not provide their clients with lists of instruments.
Because of Interactive Brokers connection process routine you cannot subscribe to an instrument by means of API TWS without placing and cancelling an order on this instrument in TWS.
There can be also a problem with getting currencies tickers. You need to place an order on the Forex market to get them.
It means you place an order in TWS, cancel it and then you search for this instrument in the Instrument search window.
Other data providers may not provide the instruments list to their clients when you connect to them for the first time to save your computer resources.
You are supposed to know the name of the instrument,
If you select a date, then the data previous to this date will be saved, and the data, following the selected date, will be downloaded from the server once again.
It literally means that this instrument cache starting from this date will be deleted from your PC and data will be downloaded from the server.
In the previous video I told which folders TSLab uses. Saved data are kept in the cache and cachetrades folders, they have the same level as the log folder.
If you download this instrument for the first time, most likely you need all the history available, so we cancel all restrictions and click OK.
Data will be downloaded from the server after some waiting.
If you are connected to your provider and the Update in Real Time box is checked, your chart will constantly be updated and all the available historical data will be displayed on the chart.
To restrict historical data volume use such settings as Date from, Maxbars, MaxDays
A simple chart is just a chart, it has its editor. You can attach indicators to a chart; create an algorithm for any calculation that can be displayed on this chart as well.
But a simple chart cannot become a trading agent, so if you need to create a trading robot, to test and optimize it, open the script editor, or the so-called script laboratory.
Choose Scripts, then Create a New Script and build your own algorithm using historical data.
Good luck!
after the instrument and quotes volume are selected, choose a date from which historical data should be downloaded.