oxarchive 0.3.6__py3-none-any.whl → 0.3.7__py3-none-any.whl
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.
oxarchive/__init__.py
CHANGED
oxarchive/types.py
CHANGED
|
@@ -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
|
|
oxarchive/websocket.py
CHANGED
|
@@ -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"),
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
oxarchive/__init__.py,sha256=
|
|
1
|
+
oxarchive/__init__.py,sha256=mFxdGPaf2PEdC51DKsbcwj0Wl3o3tpDUBvVC2nVW2PU,2181
|
|
2
2
|
oxarchive/client.py,sha256=3P0fvOcyM5BWppkVV4054NduDHKvRg-cWeluoGymmRk,3163
|
|
3
3
|
oxarchive/http.py,sha256=SY_o9Ag8ADo1HI3i3uAKW1xwkYjPE75gRAjnMsddAGs,4211
|
|
4
|
-
oxarchive/types.py,sha256=
|
|
5
|
-
oxarchive/websocket.py,sha256=
|
|
4
|
+
oxarchive/types.py,sha256=lM3WrATnHcxGs0fLq54Lka-FTvXqiwWe2He2Qn9SrSA,10844
|
|
5
|
+
oxarchive/websocket.py,sha256=Pd8Gn4zWByy0vrcUKl7nMich7Yb052BzSW72JBIT3dQ,28341
|
|
6
6
|
oxarchive/resources/__init__.py,sha256=WQ4GYQ8p3L0D2Isk4IV4h1DRpvyZlt6tOF1t_CJr6ls,385
|
|
7
7
|
oxarchive/resources/funding.py,sha256=TXkZxodVQTVcVbzNG6SpMQAzf8AkLm2NYZJxnP4MNXw,3500
|
|
8
8
|
oxarchive/resources/instruments.py,sha256=flD1sH6x3P3CTqV1ZwkfwbranVacmhsHn5Dhr7lGQhM,1606
|
|
9
9
|
oxarchive/resources/openinterest.py,sha256=h13yLA72LpfryUf8IqF6W7uE4ObYY2Qbc-auv4LtPqc,3552
|
|
10
10
|
oxarchive/resources/orderbook.py,sha256=o_DTdpzKrZvHL9YXm8cGGUugPM8uUa6r9O_72r1ByV0,4557
|
|
11
11
|
oxarchive/resources/trades.py,sha256=XCi2rXA2hxaTt0KNlWw8f7W0hzAvNWyT7DaivMz_rHw,10012
|
|
12
|
-
oxarchive-0.3.
|
|
13
|
-
oxarchive-0.3.
|
|
14
|
-
oxarchive-0.3.
|
|
12
|
+
oxarchive-0.3.7.dist-info/METADATA,sha256=W3bU6hnFqQLIs0p1TPFzIQ1RkhYYM4uFgLxD5IF7ees,11070
|
|
13
|
+
oxarchive-0.3.7.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
14
|
+
oxarchive-0.3.7.dist-info/RECORD,,
|
|
File without changes
|