Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
R
robo-dividend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenwen.tang
robo-dividend
Commits
992549c9
Commit
992549c9
authored
Dec 12, 2023
by
wenwen.tang
😕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
index name add _
parent
1dc3eb3a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
EstimateMarketTrendV20.py
ai/EstimateMarketTrendV20.py
+5
-5
data_access.py
ai/data_access.py
+1
-1
No files found.
ai/EstimateMarketTrendV20.py
View file @
992549c9
...
...
@@ -66,12 +66,12 @@ if __name__ == '__main__':
76
:
"US0001M"
,
77
:
"US0012M"
,
# FUND
121
:
"IEF
US"
,
122
:
"TLT
US"
,
123
:
"UUP
US"
,
121
:
"IEF
_
US"
,
122
:
"TLT
_
US"
,
123
:
"UUP
_
US"
,
139
:
"COI
TOTL"
,
138
:
"LEI
TOTL"
,
139
:
"COI
_
TOTL"
,
138
:
"LEI
_
TOTL"
,
116
:
"MID"
,
134
:
"NAPMPMI"
,
142
:
"OE4EKLAC"
,
...
...
ai/data_access.py
View file @
992549c9
...
...
@@ -54,7 +54,7 @@ class DataAccess(ABC):
return
vixData
def
get_other_index
(
self
,
indexData
):
other_index
=
[
"USGG10YR"
,
"USGG2YR"
,
"CCMP"
,
"US0001M"
,
"US0012M"
,
"COI
TOTL"
,
"LEI
TOTL"
,
"MID"
,
other_index
=
[
"USGG10YR"
,
"USGG2YR"
,
"CCMP"
,
"US0001M"
,
"US0012M"
,
"COI
_TOTL"
,
"LEI_
TOTL"
,
"MID"
,
"OE4EKLAC"
,
"OEA5KLAC"
,
"OECNKLAC"
,
"OEJPKLAC"
,
"OEOTGTAC"
,
"OEUSKLAC"
,
"USRINDEX"
,
"SPX"
]
cols
=
[
'date'
,
'rid_close'
,
'rid_pe'
,
'rid_pb'
,
'rid_volume'
,
'rid_frdpe'
,
'rid_frdpes'
,
'rid_pc'
]
indexOtherData
=
pd
.
DataFrame
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment