-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Qlib simulator refinement #1244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 18 commits
c731c5a
0490ff4
ef73eac
1e8f0e9
8a868a6
03472ef
e1beab5
25aeee5
a84c1f1
fefad58
d697381
edd62fd
4049bfd
bbf500c
0824ced
48d5a1d
4e7d3db
422163a
fe3b02f
52747e7
2e5a61b
1e72a36
cb2b214
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,11 @@ | |
| # Licensed under the MIT License. | ||
|
|
||
| # REGION CONST | ||
| from typing import TypeVar | ||
|
|
||
| import numpy as np | ||
| import pandas as pd | ||
|
|
||
| REG_CN = "cn" | ||
| REG_US = "us" | ||
| REG_TW = "tw" | ||
|
|
@@ -11,3 +16,7 @@ | |
|
|
||
| # Infinity in integer | ||
| INF = 10**18 | ||
| FINEST_GRANULARITY = "1min" | ||
| COARSEST_GRANULARITY = "1day" | ||
| ONE_SEC = pd.Timedelta("1s") # use 1 second to exclude the right interval point | ||
|
||
| float_or_ndarray = TypeVar("float_or_ndarray", float, np.ndarray) | ||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,2 @@ | ||
| # Copyright (c) Microsoft Corporation. | ||
| # Licensed under the MIT License. | ||
|
|
||
| # TODO: find a better way to organize contents under this module. |
Uh oh!
There was an error while loading. Please reload this page.