Best v complimentary stock market place APIs in 2020
The fiscal APIs market place grows so quickly that last year'due south mail service or platform is not a good choice this year. And so in this story, I volition evidence you the best five stock market APIs that I utilise in 2019.
What is stock marketplace data API?
Stock market data APIs offer existent-time or historical data on financial avails that are currently beingness traded in the markets. These APIs usually offer prices of public stocks, ETFs, ETNs.
These data tin be used for generating technical indicators which are the foundation to build trading strategies and monitor the market.
Data
In this st o ry, I mainly care nigh cost information. For other data, in that location are another APIs mainly for that use cases which will not be covered here.
I will talk about the following APIs and where they can be used:
- Yahoo Finance
- Google Finance in Google Sheets
- IEX Cloud
- AlphaVantage
- World trading data
- Other APIs (Polygon.io, Intrinio, Quandl)
ane. Yahoo Finance
Docs: yfinance
Yahoo Finance API was shut down in 2017. So y'all can see a lot of posts virtually alternatives for Yahoo Finance. However, information technology went dorsum one-time in 2019. And then yous can still apply Yahoo Finance to get gratis stock market information. Yahoo's API was the golden standard for stock-information APIs employed by both individual and enterprise-level users.
Yahoo Finance provides access to more than five years of daily OHLC toll data. And information technology's costless and reliable.
In that location's a new python module yfinance that wraps the new Yahoo Finance API, and yous can just use it.
# To install yfinance earlier yous use it.
> pip install yfinance
Below is an example of how to employ the API. Check out the Github link to a higher place to run across the total document, and y'all are good to go.
2. GOOGLEFINANCE
Google Finance is deprecated in 2012. However, it doesn't close down all the features. There'south a feature in Google Sheets that back up you go stock marketing data. And it's called GOOGLEFINANCE in Google Sheets.
The style it works is to type something like below and y'all volition become the terminal stock price.
GOOGLEFINANCE("GOOG", "price")
Syntax is:
GOOGLEFINANCE(ticker, [attribute], [start_date], [end_date|num_days], [interval])
- ticker: The ticker symbol for the security to consider.
- attribute(Optional,
"price"
by default ): The attribute to fetch aboutticker
from Google Finance. - start_date(Optional): The start date when fetching historical data.
- end_date|num_days(Optional): The cease date when fetching historical data, or the number of days from
start_date
for which to return data. - interval(Optional): The frequency of returned data; either "DAILY" or "WEEKLY".
An example of use is attached.
3. IEX Cloud
Website: https://iexcloud.io/
IEX Cloud is a new financial service but released this year. It'due south an independent business organisation separate from IEX Group'due south flagship stock substitution, is a high-performance, financial information platform that connects developers and financial data creators.
It's very inexpensive compared to other subscription services. $nine/calendar month you almost tin get all the information y'all demand. As well, the basic free trial, you already get 500,000 cadre message gratuitous for each calendar month.
There's a python module to wrap their APIs. You can easily bank check it out: iexfinance
4. Alphavantage
Website: https://www.alphavantage.co/
Alpha Vantage Inc. is a leading provider of various free APIs. It provides APIs to gain access to historical and real-time stock data, FX-data, and cryptocurrency data.
With Alphavantage you tin can perform up to v API-requests per minute and 500 API requests per twenty-four hours. 30 API requests per minute with $29.9/calendar month.
5. Earth trading information
Website: https://www.worldtradingdata.com/
Besides, total intraday information API and currency API access are given. For those who need more than data points, plans from $8 per month to $ 32 per calendar month are bachelor.
Right now there are four different plans bachelor. For free admission, you can get up to five stocks per request (real-time API). Upward to 250 total requests per day. The subscription plan is not that expensive, and you can go a
They provide URL and your response will be JSON format. In that location's currently no available python module to wrap their API yet. And then you have to use requests or other web modules to wrap their APIs.
six. Other APIs
Website: https://polygon.io
It'southward $199/month only for the Us stock market. This is might be non a good choice for beginners.
Website: https://intrinio.com
It's $75/month only for the realtime stock marketplace. Also, for EOD toll information, it'due south $twoscore/month. You tin get EOD price data almost costless from other APIs I suggest. Even though they accept 206 pricing feeds, ten financial information feeds and tons of other data to subscribe. The cost is not that friendly for independent traders.
Website: https://www.quandl.com/
Quandl is an aggregated marketplace for financial, economic and other related APIs. Quandl aggregates APIs from third-party marketplaces equally services for users to purchase any APIs they want to utilise.
And so you need to subscribe to the different marketplace to get dissimilar fiscal data. And different APIs volition have unlike price systems. Some are free and others are subscription-based or 1-fourth dimension-purchase based.
As well, Quandl has an analysis tool inside its website.
Quandl is a good platform if you don't care about coin.
Wrap Upward
Learning and building a trading system is not piece of cake. But the fiscal information is the foundation of all. If y'all accept any questions, please ask them below.
DOWNLOAD HERE
Posted by: ericksonimme1996.blogspot.com
Post a Comment