sharpapi 0.3.3__py3-none-any.whl → 0.4.0__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.
- sharpapi/__init__.py +1 -1
- sharpapi/models.py +9 -0
- {sharpapi-0.3.3.dist-info → sharpapi-0.4.0.dist-info}/METADATA +1 -1
- {sharpapi-0.3.3.dist-info → sharpapi-0.4.0.dist-info}/RECORD +6 -6
- {sharpapi-0.3.3.dist-info → sharpapi-0.4.0.dist-info}/WHEEL +1 -1
- {sharpapi-0.3.3.dist-info → sharpapi-0.4.0.dist-info}/licenses/LICENSE +0 -0
sharpapi/__init__.py
CHANGED
sharpapi/models.py
CHANGED
|
@@ -219,8 +219,15 @@ class OddsLine(BaseModel):
|
|
|
219
219
|
probability: float
|
|
220
220
|
line: float | None = None
|
|
221
221
|
event_start_time: str | None = None
|
|
222
|
+
# ISO 8601 — when SharpAPI last refreshed this odd through its pipeline
|
|
223
|
+
# (advances every ingest cycle). A feed-freshness / delivery signal matching
|
|
224
|
+
# OpticOdds' `timestamp`; NOT a price-last-changed time. (SHA-1048)
|
|
222
225
|
timestamp: str | None = None
|
|
223
226
|
is_live: bool = False
|
|
227
|
+
# True (default) = market open and bettable; False = market suspended/closed
|
|
228
|
+
# with the price frozen (mirrors OpticOdds locked-odds). Absent on the wire
|
|
229
|
+
# is treated as True. SHA-3803.
|
|
230
|
+
is_active: bool = True
|
|
224
231
|
deep_link: str | None = None
|
|
225
232
|
player_name: str | None = None
|
|
226
233
|
stat_category: str | None = None
|
|
@@ -311,6 +318,8 @@ class ArbitrageLeg(BaseModel):
|
|
|
311
318
|
odds_decimal: float
|
|
312
319
|
implied_probability: float | None = None
|
|
313
320
|
stake_percent: float
|
|
321
|
+
# ISO 8601 last-refreshed (feed-freshness) timestamp for this leg's odd —
|
|
322
|
+
# see OddsLine.timestamp. (SHA-1048)
|
|
314
323
|
timestamp: str | None = None
|
|
315
324
|
external_event_id: str | None = None
|
|
316
325
|
selection_id: str | None = None
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
sharpapi/__init__.py,sha256=
|
|
1
|
+
sharpapi/__init__.py,sha256=fzWQMRJqfRIQmT3gdhnrei6gGwF_oxhMqh3ZhkstAUU,2372
|
|
2
2
|
sharpapi/_base.py,sha256=mhHqv-swAB00YQLXBmYArI6QLY0r6_kMVLNkKNFArSg,6117
|
|
3
3
|
sharpapi/_utils.py,sha256=nQU1gNkzepAIr93HDYX455aRO2yhc6BeBbaWDnpI5lw,1143
|
|
4
4
|
sharpapi/async_client.py,sha256=TBPvR0xGCJ-MK9tPvXiXToJ0wfXzCL9TxwGO2u6bmNo,19789
|
|
5
5
|
sharpapi/client.py,sha256=Ev-Ye6-vF3R8WnUIGgJ6oE1TNuTQiL7G2fd69bPcrSw,27865
|
|
6
6
|
sharpapi/exceptions.py,sha256=AqZmr5ceXKyEVKdVA8ua-D0klH6zrXEMgs9Rxn7O2eE,7095
|
|
7
|
-
sharpapi/models.py,sha256=
|
|
7
|
+
sharpapi/models.py,sha256=cqwp1sXsJxKuVaR93LEd7k2BXTempnD_aJB4BjRAwqU,19901
|
|
8
8
|
sharpapi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
sharpapi/streaming.py,sha256=sSdVE9HzuiDYnYH_Lmr4NHq0CKvwbUIELJvbSdqaTCw,8940
|
|
10
|
-
sharpapi-0.
|
|
11
|
-
sharpapi-0.
|
|
12
|
-
sharpapi-0.
|
|
13
|
-
sharpapi-0.
|
|
10
|
+
sharpapi-0.4.0.dist-info/METADATA,sha256=xjpVl1E9BPvmtDPcDSGd7up3XzP_RLhfHvCESWCStzs,5735
|
|
11
|
+
sharpapi-0.4.0.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
|
|
12
|
+
sharpapi-0.4.0.dist-info/licenses/LICENSE,sha256=EfZuzcYtp0eJC9ky4Nei3os5r0cFBYQmc-TpamV5OPw,1069
|
|
13
|
+
sharpapi-0.4.0.dist-info/RECORD,,
|
|
File without changes
|