<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by feng on Medium]]></title>
        <description><![CDATA[Stories by feng on Medium]]></description>
        <link>https://medium.com/@zfeng01?source=rss-19c9ab64f193------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by feng on Medium</title>
            <link>https://medium.com/@zfeng01?source=rss-19c9ab64f193------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 19:20:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zfeng01/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Build your own trading algo — Part 1 — data vendors]]></title>
            <link>https://zfeng01.medium.com/build-your-own-trading-algo-part-1-data-vendors-2fa0d042b37b?source=rss-19c9ab64f193------2</link>
            <guid isPermaLink="false">https://medium.com/p/2fa0d042b37b</guid>
            <category><![CDATA[metastock]]></category>
            <category><![CDATA[financial-data]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[yahoo-finance]]></category>
            <category><![CDATA[trading-algorithms]]></category>
            <dc:creator><![CDATA[feng]]></dc:creator>
            <pubDate>Sat, 12 Dec 2020 07:28:55 GMT</pubDate>
            <atom:updated>2020-12-23T02:06:14.544Z</atom:updated>
            <content:encoded><![CDATA[<h3>Build your own trading algo — Part 1 — data vendors</h3><p>This is the first part of many many (hopefully) topics that I will share in my mission to build my own trading algo. The end goal is to build an actual system that will make money trading liquid assets. I will share most of my codes on gitbub as well as my journey here. I will be specific and be honest. So hopefully it will help you too. If you think I can do something more efficiently, do tell me.</p><p>First thing first, it is to select a data vendor or a basket of them. I trade macro assets, as well as international stocks, need minute level data. I want a long history of data so I can backtest my ideas properly. While I am very stubborn on data quality, I cannot afford to pay for institutional quality data vendors such as tickdata.com or Reuters. It is actually not easy to select a free / cheap vendor especially if you are as stubborn on data quality as me. I will share my findings belong.</p><p>But few points to note, very important, before you make assumptions about the following vendors.</p><ol><li>I have selected them because they look interesting (largely cost efficient) from the outset. So while I criticize them, it doesn’t mean they are not as good as the ones that I have not examined. In fact, they might be better than the ones I have not examined due to my initial filter.</li><li>Again, they are the cheaper vendors out there for people who are on tight budget. If you want institutional level tick data, go with the Reuters of the world.</li><li>Any criticism reflects my finding at a particular time (sometime during 2020). They might have fixed them already by the time you read this.</li><li>Problems with their data, if any, might be a small issue depending on how you use it. For example, if you only care about intraday data, without reference to yesterday’s price, then it doesn’t matter how they deal with corporate actions. Also if you only trade the biggest 50 stocks in US, most of these guys’ qualities are as good as each other.</li><li>Reach out to me if you think I give an unfair assessment of your data.</li></ol><p>Ok, now with those important disclaimers out of the way, there are the names that I have looked at. They are in order of randomness.</p><p><strong>YAHOO!!!!!!</strong></p><p>It is the elephant in the room, definitely worth a priority mention. I like its data, because it is free, because they are the gold standard for corporate actions. The problem for me is that it only has a very limited history (a rolling history) of intraday data. Also international stocks’ qualities drop off quite dramatically. But it is still one of my key vendors. I like them. I use a python “yfinance” package to download the data, all hats to the guys behind the package.</p><p><strong>AlphaVantage</strong></p><p>There are few copycats of this guy (or is it a copycat itself?). These guys have nice looking .co or .io websites, do all sorts of assets, and provide Restful API. You cannot really tell one website from another if you cover their name. Love copycats.</p><p>Anyways, initially I liked this because it has API and cheap/free. BUT…..until I was checking some international stocks, and noticed that the errors WERE EXACTLY the same as YAHOO’s. At that point, I felt cheated. The errors were so identical that it gave me a feeling that their data source of (international) stocks is Yahoo!, and without adding an extra layer of value by correcting the data issue. Surely that cannot be true for a Y Combinator backed project, that is just wrong. The more I think about their intraday data availability, the more I am convincing myself that they are just getting data out of Yahoo!.</p><p>So i gave up on them. Having said all that, if you want cheap US stocks data or other macro data, do give them or similar copycats a try, it is cheap/free and it has a lot of assets. I only gave up on them because I had a high expectation thinking they are better than Yahoo! for international stocks. But it was not the case. If you are reading this, since I have made your expectation so low already, maybe you will like them once you use them.</p><p><strong>Kibot</strong></p><p>They have long history of minute data for a low cost. So I took the bait and paid for it. But their applications of corporate actions were not consistent for the some of the stocks. It was such a big issue for me that I gave up at the end.</p><p>Again, if you only trade the top 50 names, they are probably ok. They definitely have a very cost efficient deal for people who want a long history of intraday data. I just don’t think they do much data cleaning, that’s all.</p><p><strong>Firstratedata</strong></p><p>Another relatively cheap vendor with a long history of intraday data. Their response is normally quite good, also the guys seem to know what they are doing. But did a cross check vs Yahoo adjusted data, looks like Firstratedata is NOT adjusted for (regular) dividend….that is really sad</p><p><strong>Marketstack</strong></p><p>It is one that I will look at in the next few days. I want their international stocks’ data! That’s why I am attracted to them initially.</p><p><strong>Interactive brokers</strong></p><p>It is actually a good source of data given its insto level data quality. The only problem I have is that intraday data is only available for past x months, not enough for my purpose of building a robust backtest.</p><p><strong>Metastock</strong></p><p>So they are part of Thomson Reuters, I thought they would be good. But after paying for the subscription, and once again, they are not adjusted for regular div. So it is becoming clear to me that all these cheap vendors are either selling raw data, or do some basic data cleaning for the short term chartists. If you are trying to backtest a model that uses daily data and hold for days or weeks, I am afraid they will give not so accurate numbers.</p><p>More on metastock, their client response is so slow for an institution standard. I am really sad (“disappointed” cannot even describe the feeling) having subscribed to their data.</p><p><strong>In conclusion</strong></p><p>It is actually a painful process given I and most people cannot afford an insto level quality vendor, and anyone who is not charging a minimum 100k USD for a full history of one asset class will have error here and there. It took me days and $$$ to be able to come up with the summary above. You get what you pay for, it is very true in this game. But as I outlined above, there are situations where you can probably live with a vendor with errors as long as you understand the error might be there, and you use some logic to improve on it.</p><p>Some basic ways to “improve” on it might include 1) take out those assets with data issue, depending on how much you care about survivorship bias (my next topic actually) 2) do your own corporate actions using Yahoo’s formulae on vendors who don’t do it correctly. Or more broadly, map your data to Yahoo’s (assuming Yahoo is the source of truth depending on your assets), and use the mapping to correct for intraday data.</p><p>Please check my next one on “Stock universe” as part of my journey to build something fun and rewarding.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2fa0d042b37b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>