This commit is contained in:
TerenceLiu98 2021-06-07 14:55:01 +08:00
parent 283fcee47c
commit fd49c41556
6 changed files with 14 additions and 7 deletions

View File

@ -2,5 +2,3 @@
# time: 05/25/2021 UTC+8
# author: terencelau
# email: t_lau@uicstat.com
__all__ = ['cn', 'eu', 'us']
from CEDA.market import *

View File

@ -2,5 +2,3 @@
# time: 05/29/2021 UTC+8
# author: terencelau
# email: t_lau@uicstat.com
__all__ = ['duka', 'marketwatch']
from CEDA.market import *

View File

@ -12,7 +12,7 @@ url = {
"moneywatch": "https://www.marketwatch.com/investing/"
}
def FX(instrument = "eurusd", startdate = "2019-01-01", enddate = "2021-01-01"):
def forex(instrument = "eurusd", startdate = "2019-01-01", enddate = "2021-01-01"):
startdate = datetime.strptime(startdate, "%Y-%m-%d").strftime("%m/%d/%y")
enddate = datetime.strptime(enddate, "%Y-%m-%d").strftime("%m/%d/%y")
df = pd.DataFrame()

View File

@ -1 +1,12 @@
__version__ = "0.1.1"
__author__ = "TerenceLau"
import sys
if sys.version_info < (3, 6):
print(f"CEDA {__version__} requires Python 3.6+")
sys.exit(1)
del sys
from CEDA import *

View File

@ -1 +1 @@
name = "CEDApy"
name = "CEDA"

View File

@ -2,7 +2,7 @@ from setuptools import setup, find_packages
import os
setup(
name = "CEDApy",
version = "1.0.9.1",
version = "0.1.1",
keywords = "quantitative economic data",
long_description = open(
os.path.join(