v0.1.1
This commit is contained in:
parent
283fcee47c
commit
fd49c41556
|
@ -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 *
|
|
@ -2,5 +2,3 @@
|
|||
# time: 05/29/2021 UTC+8
|
||||
# author: terencelau
|
||||
# email: t_lau@uicstat.com
|
||||
__all__ = ['duka', 'marketwatch']
|
||||
from CEDA.market import *
|
|
@ -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()
|
||||
|
|
|
@ -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 *
|
|
@ -1 +1 @@
|
|||
name = "CEDApy"
|
||||
name = "CEDA"
|
||||
|
|
Loading…
Reference in New Issue