hawk-sdk 0.0.8__tar.gz → 0.0.10__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 hawk-sdk might be problematic. Click here for more details.
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/PKG-INFO +1 -1
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/README.md +0 -4
- hawk_sdk-0.0.10/hawk_sdk/api/equities/__init__.py +1 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/api/equities/repository.py +8 -8
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk.egg-info/PKG-INFO +1 -1
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/setup.py +1 -1
- hawk_sdk-0.0.8/hawk_sdk/api/futures/__init__.py +0 -1
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/__init__.py +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/api/__init__.py +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/api/equities/main.py +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/api/equities/service.py +0 -0
- {hawk_sdk-0.0.8/hawk_sdk/api/equities → hawk_sdk-0.0.10/hawk_sdk/api/futures}/__init__.py +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/api/futures/main.py +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/api/futures/repository.py +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/api/futures/service.py +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/api/system/__init__.py +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/api/system/main.py +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/api/system/repository.py +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/api/system/service.py +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/core/__init__.py +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/core/common/__init__.py +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/core/common/base_enum.py +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/core/common/constants.py +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/core/common/data_object.py +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk/core/common/utils.py +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk.egg-info/SOURCES.txt +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk.egg-info/dependency_links.txt +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk.egg-info/requires.txt +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/hawk_sdk.egg-info/top_level.txt +0 -0
- {hawk_sdk-0.0.8 → hawk_sdk-0.0.10}/setup.cfg +0 -0
|
@@ -63,7 +63,3 @@ twine upload dist/*
|
|
|
63
63
|
After uploading, verify the package has been successfully updated on PyPI by visiting your project page:
|
|
64
64
|
|
|
65
65
|
[https://pypi.org/project/your-package-name/](https://pypi.org/project/hawk-sd/)
|
|
66
|
-
|
|
67
|
-
---
|
|
68
|
-
|
|
69
|
-
Let me know if you'd like any customization to fit your specific workflow!
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from hawk_sdk.api.equities.main import Equities
|
|
@@ -28,10 +28,10 @@ class EquitiesRepository:
|
|
|
28
28
|
SELECT
|
|
29
29
|
r.record_timestamp AS date,
|
|
30
30
|
hi.value AS ticker,
|
|
31
|
-
MAX(CASE WHEN f.field_name = @open_field THEN r.double_value END) AS
|
|
32
|
-
MAX(CASE WHEN f.field_name = @high_field THEN r.double_value END) AS
|
|
33
|
-
MAX(CASE WHEN f.field_name = @low_field THEN r.double_value END) AS
|
|
34
|
-
MAX(CASE WHEN f.field_name = @close_field THEN r.double_value END) AS
|
|
31
|
+
MAX(CASE WHEN f.field_name = @open_field THEN r.double_value END) AS @open_field,
|
|
32
|
+
MAX(CASE WHEN f.field_name = @high_field THEN r.double_value END) AS @high_field,
|
|
33
|
+
MAX(CASE WHEN f.field_name = @low_field THEN r.double_value END) AS @low_field,
|
|
34
|
+
MAX(CASE WHEN f.field_name = @close_field THEN r.double_value END) AS @close_field
|
|
35
35
|
FROM
|
|
36
36
|
`wsb-hc-qasap-ae2e.{self.environment}.records` AS r
|
|
37
37
|
JOIN
|
|
@@ -50,10 +50,10 @@ class EquitiesRepository:
|
|
|
50
50
|
SELECT DISTINCT
|
|
51
51
|
date,
|
|
52
52
|
ticker,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
@open_field,
|
|
54
|
+
@high_field,
|
|
55
|
+
@low_field,
|
|
56
|
+
@close_field,
|
|
57
57
|
FROM
|
|
58
58
|
records_data
|
|
59
59
|
ORDER BY
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
from hawk_sdk.api.futures.main import Futures
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|