Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
alpha-mind
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
Dr.李
alpha-mind
Commits
f2d0dced
Commit
f2d0dced
authored
Jun 12, 2018
by
wegamekinglc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update strategy
parent
ee23fc14
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
strategy.py
alphamind/strategy/strategy.py
+3
-0
No files found.
alphamind/strategy/strategy.py
View file @
f2d0dced
...
@@ -70,6 +70,9 @@ class Strategy(object):
...
@@ -70,6 +70,9 @@ class Strategy(object):
self
.
horizon
=
map_freq
(
freq
)
self
.
horizon
=
map_freq
(
freq
)
self
.
engine
=
SqlEngine
(
self
.
data_meta
.
data_source
)
self
.
engine
=
SqlEngine
(
self
.
data_meta
.
data_source
)
self
.
dask_client
=
dask_client
self
.
dask_client
=
dask_client
self
.
total_data
=
None
self
.
index_return
=
None
self
.
risk_models
=
None
def
prepare_backtest_data
(
self
):
def
prepare_backtest_data
(
self
):
total_factors
=
self
.
engine
.
fetch_factor_range
(
self
.
universe
,
total_factors
=
self
.
engine
.
fetch_factor_range
(
self
.
universe
,
...
...
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