gnomepy 2.2.2__tar.gz → 2.2.4__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.2 → gnomepy-2.2.4}/PKG-INFO +1 -1
  2. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/java/datastore.py +1 -1
  3. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/java/recorder.py +0 -2
  4. {gnomepy-2.2.2 → gnomepy-2.2.4}/pyproject.toml +1 -1
  5. {gnomepy-2.2.2 → gnomepy-2.2.4}/README.md +0 -0
  6. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/__init__.py +0 -0
  7. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/_fs.py +0 -0
  8. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/auth.py +0 -0
  9. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/cli.py +0 -0
  10. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/config.py +0 -0
  11. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/explorer/__init__.py +0 -0
  12. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/explorer/app.py +0 -0
  13. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/explorer/data.py +0 -0
  14. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/explorer/panels/__init__.py +0 -0
  15. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/explorer/panels/event_log.py +0 -0
  16. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/explorer/panels/pnl.py +0 -0
  17. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/explorer/panels/price.py +0 -0
  18. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/explorer/panels/signals.py +0 -0
  19. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/explorer/styles.py +0 -0
  20. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/java/__init__.py +0 -0
  21. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/java/_classpath.py +0 -0
  22. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/java/_jvm.py +0 -0
  23. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/java/backtest/__init__.py +0 -0
  24. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/java/backtest/config.py +0 -0
  25. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/java/backtest/orders.py +0 -0
  26. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/java/backtest/runner.py +0 -0
  27. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/java/backtest/strategy.py +0 -0
  28. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/java/cache.py +0 -0
  29. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/java/enums.py +0 -0
  30. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/java/market_data.py +0 -0
  31. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/java/oms.py +0 -0
  32. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/java/sbe.py +0 -0
  33. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/java/schemas.py +0 -0
  34. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/java/statics.py +0 -0
  35. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/metadata.py +0 -0
  36. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/registry/__init__.py +0 -0
  37. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/registry/api.py +0 -0
  38. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/registry/types.py +0 -0
  39. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/remote.py +0 -0
  40. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/reporting/__init__.py +0 -0
  41. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/reporting/metrics.py +0 -0
  42. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/reporting/plots.py +0 -0
  43. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/reporting/report.py +0 -0
  44. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/sweep.py +0 -0
  45. {gnomepy-2.2.2 → gnomepy-2.2.4}/gnomepy/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gnomepy
3
- Version: 2.2.2
3
+ Version: 2.2.4
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
@@ -337,7 +337,6 @@ class BacktestResults:
337
337
  df[col] = df[col] / self.PRICE_SCALE
338
338
  for col in ["submit_size", "filled_qty", "leaves_qty"]:
339
339
  df[col] = df[col] / self.SIZE_SCALE
340
- df["total_fee"] = df["total_fee"] / (self.PRICE_SCALE * self.SIZE_SCALE)
341
340
 
342
341
  self._cached_orders_df = df
343
342
  return df
@@ -375,7 +374,6 @@ class BacktestResults:
375
374
  df[col] = df[col] / self.PRICE_SCALE
376
375
  for col in ["fill_qty", "leaves_qty"]:
377
376
  df[col] = df[col] / self.SIZE_SCALE
378
- df["fee"] = df["fee"] / (self.PRICE_SCALE * self.SIZE_SCALE)
379
377
 
380
378
  self._cached_fills_df = df
381
379
  return df
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "gnomepy"
3
- version = "2.2.2"
3
+ version = "2.2.4"
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
File without changes