From 383e284856b184bb3e4b253b0fa7ba17da3d1d74 Mon Sep 17 00:00:00 2001 From: Adamantios Date: Mon, 27 May 2024 14:02:40 +0300 Subject: [PATCH 1/2] feat: bet 2.5 times more than the suggested kelly amount --- run_service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_service.sh b/run_service.sh index 4223008a..dfcbb771 100755 --- a/run_service.sh +++ b/run_service.sh @@ -1058,7 +1058,7 @@ export OMEN_CREATORS='["0x89c5cc945dd550BcFfb72Fe42BfF002429F46Fec"]' # 10 cents minimum bet amount. Also, the bet will not be placed if expected returns - bet_threshold <= 0 export BET_THRESHOLD=100000000000000000 export TRADING_STRATEGY=kelly_criterion -export STRATEGIES_KWARGS='[["bet_kelly_fraction",1],["floor_balance",500000000000000000],["bet_amount_per_threshold",{"0.0":0,"0.1":0,"0.2":0,"0.3":0,"0.4":0,"0.5":0,"0.6":60000000000000000,"0.7":80000000000000000,"0.8":160000000000000000,"0.9":1000000000000000000,"1.0":1000000000000000000}]]' +export STRATEGIES_KWARGS='[["bet_kelly_fraction",2.5],["floor_balance",500000000000000000],["bet_amount_per_threshold",{"0.0":0,"0.1":0,"0.2":0,"0.3":0,"0.4":0,"0.5":0,"0.6":60000000000000000,"0.7":80000000000000000,"0.8":160000000000000000,"0.9":1000000000000000000,"1.0":1000000000000000000}]]' export PROMPT_TEMPLATE="Please take over the role of a Data Scientist to evaluate the given question. With the given question \"@{question}\" and the \`yes\` option represented by \`@{yes}\` and the \`no\` option represented by \`@{no}\`, what are the respective probabilities of \`p_yes\` and \`p_no\` occurring?" export IRRELEVANT_TOOLS='["prediction-request-rag","prediction-request-reasoning-claude","prediction-url-cot-claude","claude-prediction-offline","claude-prediction-online","prediction-offline-sme","deepmind-optimization", "deepmind-optimization-strong", "openai-gpt-3.5-turbo", "openai-gpt-3.5-turbo-instruct", "openai-gpt-4", "openai-text-davinci-002", "openai-text-davinci-003", "prediction-online-sum-url-content", "prediction-online-summarized-info", "stabilityai-stable-diffusion-512-v2-1", "stabilityai-stable-diffusion-768-v2-1", "stabilityai-stable-diffusion-v1-5", "stabilityai-stable-diffusion-xl-beta-v2-2-2"]' export STAKING_CONTRACT_ADDRESS=$CUSTOM_STAKING_ADDRESS From ca674f250d93a75b4f357ee03d3e67f84cf8cb13 Mon Sep 17 00:00:00 2001 From: Adamantios Date: Mon, 27 May 2024 14:03:05 +0300 Subject: [PATCH 2/2] feat: increase the bet threshold to 1 xDAI --- run_service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_service.sh b/run_service.sh index dfcbb771..1e0711a2 100755 --- a/run_service.sh +++ b/run_service.sh @@ -1056,7 +1056,7 @@ export ALL_PARTICIPANTS='["'$agent_address'"]' # This is the default market creator. Feel free to update with other market creators export OMEN_CREATORS='["0x89c5cc945dd550BcFfb72Fe42BfF002429F46Fec"]' # 10 cents minimum bet amount. Also, the bet will not be placed if expected returns - bet_threshold <= 0 -export BET_THRESHOLD=100000000000000000 +export BET_THRESHOLD=1000000000000000000 export TRADING_STRATEGY=kelly_criterion export STRATEGIES_KWARGS='[["bet_kelly_fraction",2.5],["floor_balance",500000000000000000],["bet_amount_per_threshold",{"0.0":0,"0.1":0,"0.2":0,"0.3":0,"0.4":0,"0.5":0,"0.6":60000000000000000,"0.7":80000000000000000,"0.8":160000000000000000,"0.9":1000000000000000000,"1.0":1000000000000000000}]]' export PROMPT_TEMPLATE="Please take over the role of a Data Scientist to evaluate the given question. With the given question \"@{question}\" and the \`yes\` option represented by \`@{yes}\` and the \`no\` option represented by \`@{no}\`, what are the respective probabilities of \`p_yes\` and \`p_no\` occurring?"