rlquantdata 0.1.0__tar.gz → 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of rlquantdata might be problematic. Click here for more details.

Files changed (30) hide show
  1. {rlquantdata-0.1.0 → rlquantdata-1.0.0}/PKG-INFO +11 -7
  2. {rlquantdata-0.1.0/src → rlquantdata-1.0.0}/rlquantdata/DateUtilities/Asserts.py +26 -26
  3. {rlquantdata-0.1.0/src → rlquantdata-1.0.0}/rlquantdata/DateUtilities/Calendar.py +282 -282
  4. {rlquantdata-0.1.0/src → rlquantdata-1.0.0}/rlquantdata/DateUtilities/Date.py +427 -427
  5. {rlquantdata-0.1.0/src → rlquantdata-1.0.0}/rlquantdata/DateUtilities/DateUtilities.py +86 -86
  6. {rlquantdata-0.1.0/src → rlquantdata-1.0.0}/rlquantdata/DateUtilities/Date_enum.py +46 -46
  7. {rlquantdata-0.1.0/src → rlquantdata-1.0.0}/rlquantdata/DateUtilities/DayCounter.py +141 -141
  8. {rlquantdata-0.1.0/src → rlquantdata-1.0.0}/rlquantdata/DateUtilities/Period.py +319 -319
  9. {rlquantdata-0.1.0/src → rlquantdata-1.0.0}/rlquantdata/DateUtilities/Schedule.py +309 -309
  10. {rlquantdata-0.1.0/src → rlquantdata-1.0.0}/rlquantdata/DateUtilities/Settings.py +39 -39
  11. rlquantdata-1.0.0/rlquantdata/DateUtilities/__init__.py +24 -0
  12. {rlquantdata-0.1.0/src → rlquantdata-1.0.0}/rlquantdata/client.py +665 -665
  13. {rlquantdata-0.1.0/src → rlquantdata-1.0.0}/rlquantdata/utilities/trade_date_utils.py +66 -65
  14. {rlquantdata-0.1.0/src → rlquantdata-1.0.0}/rlquantdata/utilities/utils.py +197 -197
  15. {rlquantdata-0.1.0/src → rlquantdata-1.0.0}/rlquantdata/version.py +1 -1
  16. {rlquantdata-0.1.0 → rlquantdata-1.0.0}/rlquantdata.egg-info/PKG-INFO +11 -7
  17. rlquantdata-1.0.0/rlquantdata.egg-info/SOURCES.txt +23 -0
  18. rlquantdata-1.0.0/rlquantdata.egg-info/top_level.txt +1 -0
  19. {rlquantdata-0.1.0 → rlquantdata-1.0.0}/setup.py +27 -23
  20. rlquantdata-0.1.0/LICENSE +0 -21
  21. rlquantdata-0.1.0/rlquantdata.egg-info/SOURCES.txt +0 -25
  22. rlquantdata-0.1.0/rlquantdata.egg-info/top_level.txt +0 -1
  23. rlquantdata-0.1.0/src/rlquantdata/DateUtilities/__init__.py +0 -24
  24. rlquantdata-0.1.0/src/rlquantdata/utilities/__init__.py +0 -0
  25. {rlquantdata-0.1.0 → rlquantdata-1.0.0}/README.md +0 -0
  26. {rlquantdata-0.1.0/src → rlquantdata-1.0.0/rlquantdata}/__init__.py +0 -0
  27. {rlquantdata-0.1.0/src/rlquantdata → rlquantdata-1.0.0/rlquantdata/utilities}/__init__.py +0 -0
  28. {rlquantdata-0.1.0 → rlquantdata-1.0.0}/rlquantdata.egg-info/dependency_links.txt +0 -0
  29. {rlquantdata-0.1.0 → rlquantdata-1.0.0}/rlquantdata.egg-info/requires.txt +0 -0
  30. {rlquantdata-0.1.0 → rlquantdata-1.0.0}/setup.cfg +0 -0
@@ -1,14 +1,17 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rlquantdata
3
- Version: 0.1.0
4
- Author: zhangziheng
5
- Author-email: 932165330@qq.com
3
+ Version: 1.0.0
4
+ Summary: A package for rl quant data sdk
5
+ Author: Ziheng Zhang
6
+ Author-email: zzh_main@qq.com
7
+ License: MIT
6
8
  Classifier: Programming Language :: Python :: 3
7
9
  Classifier: License :: OSI Approved :: MIT License
8
- Classifier: Operating System :: OS Independent
9
- Requires-Python: >=3.9
10
+ Classifier: Operating System :: Microsoft :: Windows
11
+ Classifier: Intended Audience :: Science/Research
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: >=3.6
10
14
  Description-Content-Type: text/markdown
11
- License-File: LICENSE
12
15
  Requires-Dist: numpy>=1.17.3
13
16
  Requires-Dist: pandas>=1.0.0
14
17
  Requires-Dist: pyarrow>=4.0.1
@@ -17,8 +20,9 @@ Dynamic: author-email
17
20
  Dynamic: classifier
18
21
  Dynamic: description
19
22
  Dynamic: description-content-type
20
- Dynamic: license-file
23
+ Dynamic: license
21
24
  Dynamic: requires-dist
22
25
  Dynamic: requires-python
26
+ Dynamic: summary
23
27
 
24
28
  # rl-quant-data
@@ -1,26 +1,26 @@
1
- # -*- coding: utf-8 -*-
2
-
3
- import warnings
4
- from math import fabs
5
-
6
- from numpy import fmax
7
-
8
-
9
- def require(condition, exception, msg=""):
10
- if not condition:
11
- raise exception(msg)
12
- return 0
13
-
14
-
15
- def ensureRaise(exception, msg=""):
16
- raise exception(msg)
17
-
18
-
19
- def warning(condition, warn_type, msg=""):
20
- if not condition:
21
- warnings.warn(msg, warn_type)
22
- return 0
23
-
24
-
25
- def isClose(a, b=0., rel_tol=1e-09, abs_tol=1e-12):
26
- return fabs(a - b) <= fmax(rel_tol * fmax(fabs(a), fabs(b)), abs_tol)
1
+ # -*- coding: utf-8 -*-
2
+
3
+ import warnings
4
+ from math import fabs
5
+
6
+ from numpy import fmax
7
+
8
+
9
+ def require(condition, exception, msg=""):
10
+ if not condition:
11
+ raise exception(msg)
12
+ return 0
13
+
14
+
15
+ def ensureRaise(exception, msg=""):
16
+ raise exception(msg)
17
+
18
+
19
+ def warning(condition, warn_type, msg=""):
20
+ if not condition:
21
+ warnings.warn(msg, warn_type)
22
+ return 0
23
+
24
+
25
+ def isClose(a, b=0., rel_tol=1e-09, abs_tol=1e-12):
26
+ return fabs(a - b) <= fmax(rel_tol * fmax(fabs(a), fabs(b)), abs_tol)