prediction-market-agent-tooling 0.68.0.dev997__py3-none-any.whl → 0.68.0.dev998__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.
@@ -387,6 +387,9 @@ class BinaryKellyBettingStrategy(BettingStrategy):
387
387
  answer: CategoricalProbabilisticAnswer,
388
388
  override_p_yes: float | None = None,
389
389
  ) -> BinaryKellyBet:
390
+ if not market.is_binary:
391
+ raise ValueError("This strategy is usable only with binary markets.")
392
+
390
393
  estimated_p_yes = (
391
394
  answer.probability_for_market_outcome(direction)
392
395
  if not override_p_yes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: prediction-market-agent-tooling
3
- Version: 0.68.0.dev997
3
+ Version: 0.68.0.dev998
4
4
  Summary: Tools to benchmark, deploy and monitor prediction market agents.
5
5
  Author: Gnosis
6
6
  Requires-Python: >=3.10,<3.13
@@ -29,7 +29,7 @@ prediction_market_agent_tooling/config.py,sha256=-kJfdDr-m0R-tGZ1KRI-hJJk0mXDt14
29
29
  prediction_market_agent_tooling/data_download/langfuse_data_downloader.py,sha256=VY23h324VKIVkevj1B1O-zL1eEp9AElmcfn6SwYDUSc,14246
30
30
  prediction_market_agent_tooling/deploy/agent.py,sha256=N0lbYOfxv3QsmfyteT_xisEg8jEwFujUe1ZsM6WvtTY,30348
31
31
  prediction_market_agent_tooling/deploy/agent_example.py,sha256=yS1fWkHynr9MYGNOM2WsCnRWLPaffY4bOc6bIudrdd4,1377
32
- prediction_market_agent_tooling/deploy/betting_strategy.py,sha256=OfRat95Z1BwKFKVJ5lyToUi1Mheh14bs_bYxDw5vS9s,26217
32
+ prediction_market_agent_tooling/deploy/betting_strategy.py,sha256=594k3vcRqdd6dcyEJ4cmc88-nwm0Zp261E_3PiysTQA,26333
33
33
  prediction_market_agent_tooling/deploy/constants.py,sha256=iobTlZpQD6_2UL9TfoElAnBEbqzIIAKZSsAoMCGhwmA,331
34
34
  prediction_market_agent_tooling/deploy/gcp/deploy.py,sha256=CYUgnfy-9XVk04kkxA_5yp0GE9Mw5caYqlFUZQ2j3ks,3739
35
35
  prediction_market_agent_tooling/deploy/gcp/kubernetes_models.py,sha256=OsPboCFGiZKsvGyntGZHwdqPlLTthITkNF5rJFvGgU8,2582
@@ -129,8 +129,8 @@ prediction_market_agent_tooling/tools/tokens/usd.py,sha256=yuW8iPPtcpP4eLH2nORMD
129
129
  prediction_market_agent_tooling/tools/transaction_cache.py,sha256=K5YKNL2_tR10Iw2TD9fuP-CTGpBbZtNdgbd0B_R7pjg,1814
130
130
  prediction_market_agent_tooling/tools/utils.py,sha256=mbOGoWKalNIm7M2K51TEPGwU9oVp1Z6SPsFaBgbn6ws,7397
131
131
  prediction_market_agent_tooling/tools/web3_utils.py,sha256=0r26snqCXGdLKCWA8jpe7DV8x2NPYWZwOy4oyKyDCYk,12615
132
- prediction_market_agent_tooling-0.68.0.dev997.dist-info/LICENSE,sha256=6or154nLLU6bELzjh0mCreFjt0m2v72zLi3yHE0QbeE,7650
133
- prediction_market_agent_tooling-0.68.0.dev997.dist-info/METADATA,sha256=mGwRgFUGYk-SMqBH5yLZljQnMjXNPnhfLVEQ74de8ds,8777
134
- prediction_market_agent_tooling-0.68.0.dev997.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
135
- prediction_market_agent_tooling-0.68.0.dev997.dist-info/entry_points.txt,sha256=m8PukHbeH5g0IAAmOf_1Ahm-sGAMdhSSRQmwtpmi2s8,81
136
- prediction_market_agent_tooling-0.68.0.dev997.dist-info/RECORD,,
132
+ prediction_market_agent_tooling-0.68.0.dev998.dist-info/LICENSE,sha256=6or154nLLU6bELzjh0mCreFjt0m2v72zLi3yHE0QbeE,7650
133
+ prediction_market_agent_tooling-0.68.0.dev998.dist-info/METADATA,sha256=8CQD00yptDBnZaGy5fkjuFbWed8hXQ2JJ1x-h2zvGfg,8777
134
+ prediction_market_agent_tooling-0.68.0.dev998.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
135
+ prediction_market_agent_tooling-0.68.0.dev998.dist-info/entry_points.txt,sha256=m8PukHbeH5g0IAAmOf_1Ahm-sGAMdhSSRQmwtpmi2s8,81
136
+ prediction_market_agent_tooling-0.68.0.dev998.dist-info/RECORD,,