gnomepy 2.2.1__tar.gz → 2.2.3__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.
Files changed (45) hide show
  1. {gnomepy-2.2.1 → gnomepy-2.2.3}/PKG-INFO +1 -1
  2. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/java/datastore.py +1 -1
  3. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/java/schemas.py +8 -8
  4. {gnomepy-2.2.1 → gnomepy-2.2.3}/pyproject.toml +1 -1
  5. {gnomepy-2.2.1 → gnomepy-2.2.3}/README.md +0 -0
  6. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/__init__.py +0 -0
  7. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/_fs.py +0 -0
  8. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/auth.py +0 -0
  9. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/cli.py +0 -0
  10. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/config.py +0 -0
  11. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/explorer/__init__.py +0 -0
  12. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/explorer/app.py +0 -0
  13. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/explorer/data.py +0 -0
  14. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/explorer/panels/__init__.py +0 -0
  15. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/explorer/panels/event_log.py +0 -0
  16. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/explorer/panels/pnl.py +0 -0
  17. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/explorer/panels/price.py +0 -0
  18. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/explorer/panels/signals.py +0 -0
  19. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/explorer/styles.py +0 -0
  20. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/java/__init__.py +0 -0
  21. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/java/_classpath.py +0 -0
  22. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/java/_jvm.py +0 -0
  23. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/java/backtest/__init__.py +0 -0
  24. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/java/backtest/config.py +0 -0
  25. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/java/backtest/orders.py +0 -0
  26. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/java/backtest/runner.py +0 -0
  27. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/java/backtest/strategy.py +0 -0
  28. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/java/cache.py +0 -0
  29. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/java/enums.py +0 -0
  30. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/java/market_data.py +0 -0
  31. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/java/oms.py +0 -0
  32. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/java/recorder.py +0 -0
  33. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/java/sbe.py +0 -0
  34. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/java/statics.py +0 -0
  35. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/metadata.py +0 -0
  36. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/registry/__init__.py +0 -0
  37. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/registry/api.py +0 -0
  38. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/registry/types.py +0 -0
  39. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/remote.py +0 -0
  40. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/reporting/__init__.py +0 -0
  41. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/reporting/metrics.py +0 -0
  42. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/reporting/plots.py +0 -0
  43. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/reporting/report.py +0 -0
  44. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/sweep.py +0 -0
  45. {gnomepy-2.2.1 → gnomepy-2.2.3}/gnomepy/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gnomepy
3
- Version: 2.2.1
3
+ Version: 2.2.3
4
4
  Summary:
5
5
  Author: mprey
6
6
  Author-email: masonprey7@gmail.com
@@ -22,7 +22,7 @@ _ZSTD_MAGIC = b"\x28\xb5\x2f\xfd"
22
22
  class DataStore:
23
23
  def __init__(self, data: bytes, schema_type: SchemaType):
24
24
  if data[:4] == _ZSTD_MAGIC:
25
- data = zstandard.ZstdDecompressor().decompress(data)
25
+ data = zstandard.ZstdDecompressor().stream_reader(io.BytesIO(data)).read()
26
26
  self._data: bytes | None = data
27
27
  self._schemas: list[Schema] | None = None
28
28
  self._schema_type = schema_type
@@ -87,7 +87,7 @@ class Schema:
87
87
  return bytes([b & 0xFF for b in byte_array])
88
88
 
89
89
  class MboSchema(Schema):
90
- _java_class = "group.gnometrading.schemas.MBOSchema"
90
+ _java_class = "group.gnometrading.schemas.MboSchema"
91
91
 
92
92
  def __init__(
93
93
  self,
@@ -200,7 +200,7 @@ class MboSchema(Schema):
200
200
 
201
201
 
202
202
  class Mbp10Schema(Schema):
203
- _java_class = "group.gnometrading.schemas.MBP10Schema"
203
+ _java_class = "group.gnometrading.schemas.Mbp10Schema"
204
204
  NUM_LEVELS = 10
205
205
 
206
206
  def __init__(
@@ -343,7 +343,7 @@ class Mbp10Schema(Schema):
343
343
 
344
344
  class Mbp1Schema(Mbp10Schema):
345
345
  """MBP1 has the same decoder layout as MBP10 but with a single level."""
346
- _java_class = "group.gnometrading.schemas.MBP1Schema"
346
+ _java_class = "group.gnometrading.schemas.Mbp1Schema"
347
347
  NUM_LEVELS = 1
348
348
 
349
349
  def __init__(
@@ -532,11 +532,11 @@ class BboSchema(Schema):
532
532
 
533
533
 
534
534
  class Bbo1sSchema(BboSchema):
535
- _java_class = "group.gnometrading.schemas.BBO1SSchema"
535
+ _java_class = "group.gnometrading.schemas.Bbo1sSchema"
536
536
 
537
537
 
538
538
  class Bbo1mSchema(BboSchema):
539
- _java_class = "group.gnometrading.schemas.BBO1MSchema"
539
+ _java_class = "group.gnometrading.schemas.Bbo1mSchema"
540
540
 
541
541
 
542
542
  class TradesSchema(Schema):
@@ -734,15 +734,15 @@ class OhlcvSchema(Schema):
734
734
 
735
735
 
736
736
  class Ohlcv1sSchema(OhlcvSchema):
737
- _java_class = "group.gnometrading.schemas.OHLCV1SSchema"
737
+ _java_class = "group.gnometrading.schemas.Ohlcv1sSchema"
738
738
 
739
739
 
740
740
  class Ohlcv1mSchema(OhlcvSchema):
741
- _java_class = "group.gnometrading.schemas.OHLCV1MSchema"
741
+ _java_class = "group.gnometrading.schemas.Ohlcv1mSchema"
742
742
 
743
743
 
744
744
  class Ohlcv1hSchema(OhlcvSchema):
745
- _java_class = "group.gnometrading.schemas.OHLCV1HSchema"
745
+ _java_class = "group.gnometrading.schemas.Ohlcv1hSchema"
746
746
 
747
747
 
748
748
  # Schema type name → wrapper class
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "gnomepy"
3
- version = "2.2.1"
3
+ version = "2.2.3"
4
4
  description = ""
5
5
  authors = [
6
6
  {name = "mprey",email = "masonprey7@gmail.com"}
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