Loading...
Loading...
Compare original and translation side by side
https://data912.comhttps://data912.com| Endpoint | Descripción |
|---|---|
| USD MEP implícito |
| USD CCL implícito |
| Acciones argentinas |
| Opciones |
| CEDEARs |
| Notas gubernamentales |
| Deuda corporativa |
| Bonos gubernamentales |
| ADRs estadounidenses |
| Acciones estadounidenses |
| 接口 | 描述 |
|---|---|
| 隐含MEP美元汇率 |
| 隐含CCL美元汇率 |
| 阿根廷股票 |
| 期权 |
| CEDEARs |
| 政府票据 |
| 企业债务 |
| 政府债券 |
| 美国存托凭证(ADRs) |
| 美国股票 |
import requests
r = requests.get("https://data912.com/live/arg_stocks")
df = pd.DataFrame(r.json())import requests
r = requests.get("https://data912.com/live/arg_stocks")
df = pd.DataFrame(r.json())| Endpoint | Descripción |
|---|---|
| OHLC de acciones argentinas |
| OHLC de CEDEARs |
| OHLC de bonos |
| 接口 | 描述 |
|---|---|
| 阿根廷股票OHLC数据 |
| CEDEARs的OHLC数据 |
| 债券的OHLC数据 |
ticker = "GGAL"
r = requests.get(f"https://data912.com/historical/stocks/{ticker}")
df = pd.DataFrame(r.json())
df["date"] = pd.to_datetime(df["date"])
df = df.set_index("date").sort_index()dateohlcvdrsaticker = "GGAL"
r = requests.get(f"https://data912.com/historical/stocks/{ticker}")
df = pd.DataFrame(r.json())
df["date"] = pd.to_datetime(df["date"])
df = df.set_index("date").sort_index()dateohlcvdrsaticker = "YPF"
r = requests.get(f"https://data912.com/eod/volatilities/{ticker}")ticker = "YPF"
r = requests.get(f"https://data912.com/eod/volatilities/{ticker}")python ./scripts/download_historical.py --type stocks --tickers GGAL,PAMP,YPFD --output data/
python ./scripts/download_historical.py --type cedears --tickers AAPL,GOOGL,MSFT --output data/
python ./scripts/download_historical.py --type bonds --tickers AL30,GD30,GD35 --output data/
python ./scripts/download_historical.py --type all --tickers GGAL,AL30,AAPL --output data/python ./scripts/download_historical.py --type stocks --tickers GGAL,PAMP,YPFD --output data/
python ./scripts/download_historical.py --type cedears --tickers AAPL,GOOGL,MSFT --output data/
python ./scripts/download_historical.py --type bonds --tickers AL30,GD30,GD35 --output data/
python ./scripts/download_historical.py --type all --tickers GGAL,AL30,AAPL --output data/