prediction-market-agent-tooling 0.62.0.dev464__py3-none-any.whl → 0.62.0.dev466__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.
- prediction_market_agent_tooling/markets/agent_market.py +1 -1
- prediction_market_agent_tooling/tools/_generic_value.py +8 -6
- {prediction_market_agent_tooling-0.62.0.dev464.dist-info → prediction_market_agent_tooling-0.62.0.dev466.dist-info}/METADATA +1 -1
- {prediction_market_agent_tooling-0.62.0.dev464.dist-info → prediction_market_agent_tooling-0.62.0.dev466.dist-info}/RECORD +7 -7
- {prediction_market_agent_tooling-0.62.0.dev464.dist-info → prediction_market_agent_tooling-0.62.0.dev466.dist-info}/LICENSE +0 -0
- {prediction_market_agent_tooling-0.62.0.dev464.dist-info → prediction_market_agent_tooling-0.62.0.dev466.dist-info}/WHEEL +0 -0
- {prediction_market_agent_tooling-0.62.0.dev464.dist-info → prediction_market_agent_tooling-0.62.0.dev466.dist-info}/entry_points.txt +0 -0
@@ -361,7 +361,7 @@ class AgentMarket(BaseModel):
|
|
361
361
|
user_id: str,
|
362
362
|
liquid_only: bool = False,
|
363
363
|
larger_than: OutcomeToken = OutcomeToken(0),
|
364
|
-
) -> t.Sequence[
|
364
|
+
) -> t.Sequence[ExistingPosition]:
|
365
365
|
"""
|
366
366
|
Get all non-zero positions a user has in any market.
|
367
367
|
|
@@ -104,12 +104,14 @@ class _GenericValue(
|
|
104
104
|
return type(self)(self.value * (other if isinstance(other, (int, float)) else other.value)) # type: ignore
|
105
105
|
|
106
106
|
@overload
|
107
|
-
def __truediv__(self: GenericValueType, other: int | float) -> GenericValueType:
|
107
|
+
def __truediv__(self: GenericValueType, other: int | float) -> GenericValueType:
|
108
|
+
...
|
108
109
|
|
109
110
|
@overload
|
110
111
|
def __truediv__(
|
111
112
|
self: GenericValueType, other: GenericValueType
|
112
|
-
) -> InternalValueType:
|
113
|
+
) -> InternalValueType:
|
114
|
+
...
|
113
115
|
|
114
116
|
def __truediv__(
|
115
117
|
self: GenericValueType, other: GenericValueType | int | float
|
@@ -126,14 +128,14 @@ class _GenericValue(
|
|
126
128
|
return self.value / other.value # type: ignore
|
127
129
|
|
128
130
|
@overload
|
129
|
-
def __floordiv__(
|
130
|
-
|
131
|
-
) -> GenericValueType: ...
|
131
|
+
def __floordiv__(self: GenericValueType, other: int | float) -> GenericValueType:
|
132
|
+
...
|
132
133
|
|
133
134
|
@overload
|
134
135
|
def __floordiv__(
|
135
136
|
self: GenericValueType, other: GenericValueType
|
136
|
-
) -> InternalValueType:
|
137
|
+
) -> InternalValueType:
|
138
|
+
...
|
137
139
|
|
138
140
|
def __floordiv__(
|
139
141
|
self: GenericValueType, other: GenericValueType | int | float
|
@@ -34,7 +34,7 @@ prediction_market_agent_tooling/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeu
|
|
34
34
|
prediction_market_agent_tooling/jobs/jobs_models.py,sha256=8vYafsK1cqMWQtjBoq9rruroF84xAVD00vBTMWH6QMg,2166
|
35
35
|
prediction_market_agent_tooling/jobs/omen/omen_jobs.py,sha256=Pf6QxPXGyie-2l_wZUjaGPTjZTlpv50_JhP40mULBaU,5048
|
36
36
|
prediction_market_agent_tooling/loggers.py,sha256=MvCkQSJL2_0yErNatqr81sJlc4aOgPzDp9VNrIhKUcc,4140
|
37
|
-
prediction_market_agent_tooling/markets/agent_market.py,sha256=
|
37
|
+
prediction_market_agent_tooling/markets/agent_market.py,sha256=hqzEoERMVVpCvfLGjc3l4IMIdmB0i700ufcp7ksvIgc,14670
|
38
38
|
prediction_market_agent_tooling/markets/base_subgraph_handler.py,sha256=7RaYO_4qAmQ6ZGM8oPK2-CkiJfKmV9MxM-rJlduaecU,1971
|
39
39
|
prediction_market_agent_tooling/markets/blockchain_utils.py,sha256=1iTU_D-Uof0E442qVUhSBCfc1rJNQpDcd3UjSnilYZg,2129
|
40
40
|
prediction_market_agent_tooling/markets/categorize.py,sha256=jsoHWvZk9pU6n17oWSCcCxNNYVwlb_NXsZxKRI7vmsk,1301
|
@@ -74,7 +74,7 @@ prediction_market_agent_tooling/monitor/monitor.py,sha256=yvSXwV-3DSAm3vsFZnFC9j
|
|
74
74
|
prediction_market_agent_tooling/monitor/monitor_app.py,sha256=-_6w_ZvQ-Ad5qaeuo7NKTXUOOZ_6OrR8jMe25BGOY4k,4615
|
75
75
|
prediction_market_agent_tooling/monitor/monitor_settings.py,sha256=Xiozs3AsufuJ04JOe1vjUri-IAMWHjjmc2ugGGiHNH4,947
|
76
76
|
prediction_market_agent_tooling/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
77
|
-
prediction_market_agent_tooling/tools/_generic_value.py,sha256=
|
77
|
+
prediction_market_agent_tooling/tools/_generic_value.py,sha256=KSODJFHyUFZuiTLJe1ub_hwG2f4_Uj3MzRW1YLYkGvE,10428
|
78
78
|
prediction_market_agent_tooling/tools/balances.py,sha256=9MpTTnquwjflTYYo1e0w48iOTceBuQV_6PfvywrTlFk,989
|
79
79
|
prediction_market_agent_tooling/tools/betting_strategies/kelly_criterion.py,sha256=cui0wc7InSG-GdFvrJ3ypxAvHBTnv7UAFR6QOm6pI8A,4813
|
80
80
|
prediction_market_agent_tooling/tools/betting_strategies/market_moving.py,sha256=uG11UAzM6C0ZKTS7SyT1iVsTs6O13y8_o8RAtm29HFg,5432
|
@@ -120,8 +120,8 @@ prediction_market_agent_tooling/tools/tokens/usd.py,sha256=0GU7RiWGlu7yDctGeWJeL
|
|
120
120
|
prediction_market_agent_tooling/tools/transaction_cache.py,sha256=K5YKNL2_tR10Iw2TD9fuP-CTGpBbZtNdgbd0B_R7pjg,1814
|
121
121
|
prediction_market_agent_tooling/tools/utils.py,sha256=7P1veh76ni-0EfT7MlRlLE9hHUU498UOx70Lwxe7UaM,6536
|
122
122
|
prediction_market_agent_tooling/tools/web3_utils.py,sha256=eYCc1iWAVtqDKUPTwnMUHuYolPdwh_OTiM3-AdRgDp4,12198
|
123
|
-
prediction_market_agent_tooling-0.62.0.
|
124
|
-
prediction_market_agent_tooling-0.62.0.
|
125
|
-
prediction_market_agent_tooling-0.62.0.
|
126
|
-
prediction_market_agent_tooling-0.62.0.
|
127
|
-
prediction_market_agent_tooling-0.62.0.
|
123
|
+
prediction_market_agent_tooling-0.62.0.dev466.dist-info/LICENSE,sha256=6or154nLLU6bELzjh0mCreFjt0m2v72zLi3yHE0QbeE,7650
|
124
|
+
prediction_market_agent_tooling-0.62.0.dev466.dist-info/METADATA,sha256=Tsn9NwzO-QCgpsWOYLn4yqi7c09I9545WsGAN9p-cVw,8696
|
125
|
+
prediction_market_agent_tooling-0.62.0.dev466.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
126
|
+
prediction_market_agent_tooling-0.62.0.dev466.dist-info/entry_points.txt,sha256=m8PukHbeH5g0IAAmOf_1Ahm-sGAMdhSSRQmwtpmi2s8,81
|
127
|
+
prediction_market_agent_tooling-0.62.0.dev466.dist-info/RECORD,,
|
File without changes
|
File without changes
|