v0.1.1
This commit is contained in:
parent
283fcee47c
commit
fd49c41556
|
@ -2,5 +2,3 @@
|
||||||
# time: 05/25/2021 UTC+8
|
# time: 05/25/2021 UTC+8
|
||||||
# author: terencelau
|
# author: terencelau
|
||||||
# email: t_lau@uicstat.com
|
# email: t_lau@uicstat.com
|
||||||
__all__ = ['cn', 'eu', 'us']
|
|
||||||
from CEDA.market import *
|
|
|
@ -2,5 +2,3 @@
|
||||||
# time: 05/29/2021 UTC+8
|
# time: 05/29/2021 UTC+8
|
||||||
# author: terencelau
|
# author: terencelau
|
||||||
# email: t_lau@uicstat.com
|
# email: t_lau@uicstat.com
|
||||||
__all__ = ['duka', 'marketwatch']
|
|
||||||
from CEDA.market import *
|
|
|
@ -12,7 +12,7 @@ url = {
|
||||||
"moneywatch": "https://www.marketwatch.com/investing/"
|
"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")
|
startdate = datetime.strptime(startdate, "%Y-%m-%d").strftime("%m/%d/%y")
|
||||||
enddate = datetime.strptime(enddate, "%Y-%m-%d").strftime("%m/%d/%y")
|
enddate = datetime.strptime(enddate, "%Y-%m-%d").strftime("%m/%d/%y")
|
||||||
df = pd.DataFrame()
|
df = pd.DataFrame()
|
||||||
|
|
|
@ -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 *
|
from CEDA import *
|
|
@ -1 +1 @@
|
||||||
name = "CEDApy"
|
name = "CEDA"
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
||||||
import os
|
import os
|
||||||
setup(
|
setup(
|
||||||
name = "CEDApy",
|
name = "CEDApy",
|
||||||
version = "1.0.9.1",
|
version = "0.1.1",
|
||||||
keywords = "quantitative economic data",
|
keywords = "quantitative economic data",
|
||||||
long_description = open(
|
long_description = open(
|
||||||
os.path.join(
|
os.path.join(
|
||||||
|
|
Loading…
Reference in New Issue