|
| 1 | +import pandas as pd |
| 2 | + |
| 3 | +# Creating a DataFrame with details of the finance APIs |
| 4 | +finance_apis = pd.DataFrame( |
| 5 | + { |
| 6 | + "API Name": [ |
| 7 | + "Alpha Vantage", |
| 8 | + "IEX Cloud", |
| 9 | + "Quandl", |
| 10 | + "Financial Modeling Prep", |
| 11 | + "World Trading Data", |
| 12 | + "MarketStack", |
| 13 | + "Finnhub", |
| 14 | + "Twelve Data", |
| 15 | + ], |
| 16 | + "Website": [ |
| 17 | + "https://www.alphavantage.co", |
| 18 | + "https://iexcloud.io", |
| 19 | + "https://www.quandl.com", |
| 20 | + "https://financialmodelingprep.com", |
| 21 | + "https://www.worldtradingdata.com", |
| 22 | + "https://marketstack.com", |
| 23 | + "https://finnhub.io", |
| 24 | + "https://twelvedata.com", |
| 25 | + ], |
| 26 | + "Unique Feature": [ |
| 27 | + "Wide range of data services; technical indicators", |
| 28 | + "Wide array of financial data; tiered pricing model with a free tier", |
| 29 | + "Financial, economic, and alternative data; free datasets available for academic use", |
| 30 | + "Broad set of financial data APIs; includes stock market data and financial statements", |
| 31 | + "Real-time and historical stock data; free tier available", |
| 32 | + "REST API interface to obtain stock market data from around the world; free tier with limited access", |
| 33 | + "Free APIs for stock data, forex, and crypto; both real-time and historical data", |
| 34 | + "Financial data including real-time and historical stock data, forex, and cryptocurrencies; free plan with limited access", |
| 35 | + ], |
| 36 | + "Pricing": [ |
| 37 | + "Free/Paid", |
| 38 | + "Free/Paid", |
| 39 | + "Free/Paid", |
| 40 | + "Free/Paid", |
| 41 | + "Free/Paid", |
| 42 | + "Free/Paid", |
| 43 | + "Free/Paid", |
| 44 | + "Free/Paid", |
| 45 | + ], |
| 46 | + } |
| 47 | +) |
| 48 | + |
| 49 | +# Saving the DataFrame to a CSV file |
| 50 | +file_path = "finance_apis.csv" |
| 51 | +finance_apis.to_csv(file_path, index=False) |
0 commit comments