Created Example: Market Data (markdown)

TerenceLau 2021-06-07 00:00:58 +08:00
parent d2a32b9d97
commit d1cc1b1cef
1 changed files with 24 additions and 0 deletions

24
Example:-Market-Data.md Normal file

@ -0,0 +1,24 @@
1. Dukascopy
Dukascopy Bank is a Swiss online bank which provides online and mobile trading, banking and financial services. We can get the historical data from [Dukascopy](https://www.dukascopy.com/trading-tools/widgets/quotes/historical_data_feed), here is an example:
```python
from CEDA.Market.market import dukascopy
df = dukascopy(instrument = "btcusd",
startdate = "2020-01-01",
enddate = "2021-01-01",
pricetype = "bid",
volume = True,
flat = True)
```
2. Marketwatch
[Marketwatch](https://www.marketwatch.com/) is a website that provides financial information, business news, analysis, and stock market data. Alone with The Wall Street Journal and Barron's, it is a subsidiary of Dow Jones & Company, a property of News Corp.
```python
from CEDA.Market.market import currency_list
df = currency_list(instrument = "eurusd",
startdate = "01/01/2020",
enddate = "01/01/2021")
```