CEDApy/README.md

92 lines
3.3 KiB
Markdown
Raw Normal View History

2021-05-27 03:18:08 +00:00
# Centralized Economic Data API
2021-05-26 13:56:11 +00:00
2021-08-21 13:16:01 +00:00
![py_version](https://img.shields.io/badge/python-3.6+-brightgreen)
2022-01-27 06:28:43 +00:00
[![PyPI Version](https://img.shields.io/pypi/v/CEDApy.svg)](https://pypi.org/project/CEDApy)
2021-08-21 10:09:13 +00:00
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5229506.svg)](https://doi.org/10.5281/zenodo.5229506)
2021-05-26 13:56:11 +00:00
## Introduction
2022-01-28 15:12:44 +00:00
* "Centralized" means all-in-one, "all data" you need in one library
* "Economic data" means economic data :)
2021-05-26 16:57:20 +00:00
2022-01-27 07:46:28 +00:00
### Economic Data
We have included multiple API for banks or statistics deparment of countries/region:
* North America:
- [x] `FredData` for [Fred Reserve Bank](https://fred.stlouisfed.org/)
* Europe:
- [x] `ECBData` for [European Central Bank](https://www.ecb.europa.eu/home/html/index.en.html)
- [x] `EurostatData` for [European Statistics](https://ec.europa.eu/eurostat)
* Asia:
2022-01-28 14:56:16 +00:00
- [x] `NBSCData` for [National Bureau of Statistics of China](http://www.stats.gov.cn/english/)
2022-01-28 04:12:34 +00:00
- [x] `XHData` for [Xinhua](https://www.cnfin.com/data/macro-data/index.html)
2022-01-27 07:46:28 +00:00
- [x] `BOJData` for [Bank of Japan](https://www.boj.or.jp/en/index.htm/)
### Market Data
We have two api for approaching the market data:
- [x] `marketwatch` for [MarketWatch](https://www.marketwatch.com/)
- [x] `dukascopy` for [Dukascopy Historial Data](https://www.dukascopy.com/swiss/english/marketwatch/historical/)
2022-01-28 14:56:16 +00:00
*Recommandation is welcome! Tell us what data you need and we may put it into the to-do list :)*
2022-01-27 07:46:28 +00:00
### Other
We also collect some interesting data which may useful in your reserach or project
- [x] `EPU` for [Economic Policy Uncertainty](https://www.policyuncertainty.com/) and [Economic Policy Uncertainty in China](https://economicpolicyuncertaintyinchina.weebly.com/)
2021-05-27 03:25:16 +00:00
2021-05-27 11:41:09 +00:00
## Installation
2021-05-27 11:56:27 +00:00
Via the source code
2021-05-27 11:41:09 +00:00
```shell
git clone https://github.com/TerenceLiu98/CEDApy.git
python setup.py install
```
2021-05-27 11:56:27 +00:00
Via the `pypi`:
2021-05-27 11:41:09 +00:00
```shell
python -m pip install CEDApy
```
2021-06-10 02:18:06 +00:00
## How to use
Please check [Wiki](https://github.com/TerenceLiu98/CEDApy/wiki)
2021-05-26 16:57:20 +00:00
## Acknowledgement
2022-01-28 15:12:44 +00:00
* [St.Louis Federal Reserve Bank](https://fred.stlouisfed.org/), [Chicago Federal Reserve Bank](https://www.chicagofed.org/), [Philadelphia Federal Reserve Bank](https://www.philadelphiafed.org/)
* [eurostat Economic Indicators](https://ec.europa.eu/eurostat/cache/infographs/economy/desktop/index.html)
2022-01-27 07:46:28 +00:00
* [Europen Central Bank](https://www.ecb.europa.eu)
2022-01-28 15:12:44 +00:00
* [National bureau of Statistics China](http://www.stats.gov.cn/english/)
* [Bank of Japan](https://www.boj.or.jp/en/index.htm/)
2022-01-27 07:46:28 +00:00
* [MarketWatch](https://www.marketwatch.com/)
* [Dukascopy](https://www.dukascopy.bank/swiss)
## Other Interesting Project
Here is a list for some related packages or tools that may help you finding the data you want:
* [akshare](https://github.com/jindaxiang/akshare/) - an elegant and simple financial data interface library for Python, built for human beings
* [tushare](https://github.com/waditu/tushare) - a utility for crawling historial data of China stocks
* [investpy](https://github.com/alvarobartt/investpy) - Financial Data Extraction from Investing.com with Python
2021-05-28 14:23:39 +00:00
## If you want to cite...
```txt
2021-08-21 10:09:13 +00:00
@software{terencelau_2021_5229506,
author = {TerenceLau},
2021-12-31 19:03:50 +00:00
title = {TerenceLiu98/CEDApy: V0.2.2},
2021-08-21 10:09:13 +00:00
month = aug,
year = 2021,
publisher = {Zenodo},
2021-12-31 19:03:50 +00:00
version = {V0.2.2},
2021-08-21 10:09:13 +00:00
doi = {10.5281/zenodo.5229506},
url = {https://doi.org/10.5281/zenodo.5229506}
2021-05-28 14:23:39 +00:00
}
2022-01-12 16:42:04 +00:00
```