oxarchive 0.3.6__tar.gz → 0.3.7__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oxarchive
3
- Version: 0.3.6
3
+ Version: 0.3.7
4
4
  Summary: Official Python SDK for 0xarchive - Hyperliquid Historical Data API
5
5
  Project-URL: Homepage, https://0xarchive.io
6
6
  Project-URL: Documentation, https://0xarchive.io/docs/sdks
@@ -57,7 +57,7 @@ except ImportError:
57
57
  OxArchiveWs = None # type: ignore
58
58
  WsOptions = None # type: ignore
59
59
 
60
- __version__ = "0.3.6"
60
+ __version__ = "0.3.7"
61
61
 
62
62
  __all__ = [
63
63
  # Client
@@ -124,9 +124,6 @@ class Trade(BaseModel):
124
124
  start_position: Optional[str] = None
125
125
  """Position size before this trade."""
126
126
 
127
- source: Optional[Literal["s3", "ws", "api", "live"]] = None
128
- """Data source: 's3' (historical), 'api' (REST backfill), 'ws' (websocket), 'live' (real-time ingestion)."""
129
-
130
127
  user_address: Optional[str] = None
131
128
  """User's wallet address (for fill-level data)."""
132
129
 
@@ -147,7 +147,6 @@ def _transform_trade(coin: str, raw: dict) -> Trade:
147
147
  "closed_pnl": raw.get("closed_pnl") or raw.get("closedPnl"),
148
148
  "direction": raw.get("direction"),
149
149
  "start_position": raw.get("start_position") or raw.get("startPosition"),
150
- "source": raw.get("source"),
151
150
  "user_address": raw.get("user_address") or raw.get("userAddress"),
152
151
  "maker_address": raw.get("maker_address"),
153
152
  "taker_address": raw.get("taker_address"),
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "oxarchive"
7
- version = "0.3.6"
7
+ version = "0.3.7"
8
8
  description = "Official Python SDK for 0xarchive - Hyperliquid Historical Data API"
9
9
  readme = "README.md"
10
10
  license = "MIT"
File without changes
File without changes
File without changes
File without changes