From a2c670ad1e550106dbc431a895f2fa295aee4c5e Mon Sep 17 00:00:00 2001 From: Ardian Date: Mon, 11 Dec 2023 17:13:21 +0100 Subject: [PATCH] chore: change default `strategies_kwargs` value --- packages/packages.json | 4 ++-- packages/valory/agents/trader/aea-config.yaml | 2 +- packages/valory/services/trader/service.yaml | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/packages.json b/packages/packages.json index 25aad5786..201099e08 100644 --- a/packages/packages.json +++ b/packages/packages.json @@ -4,8 +4,8 @@ "skill/valory/decision_maker_abci/0.1.0": "bafybeigp3fmqwfvtrugdoxht3qedmu5rucu6y67s54sjchbhewu57c732q", "skill/valory/trader_abci/0.1.0": "bafybeiag7fmfecdbiv3gwsqat5ffa7jrkyfx6ffwoqfdkwz7uwqiqjej7a", "contract/valory/market_maker/0.1.0": "bafybeiehszwvmurz5b5vpqbxbvcm5ty4z553jqpsnernqwdq6d62r3z5wa", - "agent/valory/trader/0.1.0": "bafybeib5wg53wl5uozp5fkbymng2pmivuuk3bblrquxecs4tj5e3eklqwi", - "service/valory/trader/0.1.0": "bafybeigis546epg24x67letxdbbouhbrbvdchhdkra7vhqw2xoxxgqflyi", + "agent/valory/trader/0.1.0": "bafybeifpkxmezym2ow2qj6phc4eflsit5wo4ybjaegjfgm63eu76ev4woa", + "service/valory/trader/0.1.0": "bafybeid25rgsplah773wt5nq3yxxvsmgkcmbyeiys4jnumz4nq4653xpoi", "contract/valory/erc20/0.1.0": "bafybeihisiakfcftxs2hwx7yxzovao4qjuk3kqbzntiekzv5v75vpax3ui", "skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeig5o6o5u5p2dw5ziwu4irofyoc2xeqactldgvvldhfuw2k6tatijm", "contract/valory/mech/0.1.0": "bafybeigvha4ya64ccjl7tbroa3zjqlxm64wxsqx5k2cz2xs3a7igu5qgxa", diff --git a/packages/valory/agents/trader/aea-config.yaml b/packages/valory/agents/trader/aea-config.yaml index e89513431..2c7d4143c 100644 --- a/packages/valory/agents/trader/aea-config.yaml +++ b/packages/valory/agents/trader/aea-config.yaml @@ -198,7 +198,7 @@ models: tool_punishment_multiplier: ${int:1} contract_timeout: ${float:300.0} file_hash_to_strategies_json: ${list:[["bafybeid6px3gw2c3u7hnsb6p677f4l6gyr3xy7wohafwifzzsnw6dwcp6y",["bet_amount_per_threshold"]],["bafybeiaeazylun25iol746juwtgc4qeuj2rlrtyqhudztpacyybbsgglcy",["kelly_criterion"]]]} - strategies_kwargs: ${list:[["bet_kelly_fraction",1.0],["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":600000000000000000,"0.7":900000000000000000,"0.8":1000000000000000000,"0.9":10000000000000000000,"1.0":100000000000000000000}]]} + strategies_kwargs: ${list:[["bet_kelly_fraction",0.25],["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":90000000000000000,"0.8":100000000000000000,"0.9":1000000000000000000,"1.0":10000000000000000000}]]} --- public_id: valory/p2p_libp2p_client:0.1.0 type: connection diff --git a/packages/valory/services/trader/service.yaml b/packages/valory/services/trader/service.yaml index f687dbade..cd8d526b6 100644 --- a/packages/valory/services/trader/service.yaml +++ b/packages/valory/services/trader/service.yaml @@ -7,7 +7,7 @@ license: Apache-2.0 fingerprint: README.md: bafybeigtuothskwyvrhfosps2bu6suauycolj67dpuxqvnicdrdu7yhtvq fingerprint_ignore_patterns: [] -agent: valory/trader:0.1.0:bafybeib5wg53wl5uozp5fkbymng2pmivuuk3bblrquxecs4tj5e3eklqwi +agent: valory/trader:0.1.0:bafybeifpkxmezym2ow2qj6phc4eflsit5wo4ybjaegjfgm63eu76ev4woa number_of_agents: 4 deployment: {} --- @@ -111,7 +111,7 @@ type: skill redeem_round_timeout: ${REDEEM_ROUND_TIMEOUT:float:3600.0} contract_timeout: ${CONTRACT_TIMEOUT:float:300.0} file_hash_to_strategies_json: ${FILE_HASH_TO_STRATEGIES_JSON:list:[["bafybeid6px3gw2c3u7hnsb6p677f4l6gyr3xy7wohafwifzzsnw6dwcp6y",["bet_amount_per_threshold"]],["bafybeiaeazylun25iol746juwtgc4qeuj2rlrtyqhudztpacyybbsgglcy",["kelly_criterion"]]]} - strategies_kwargs: ${STRATEGIES_KWARGS:list:[["bet_kelly_fraction",1.0],["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":600000000000000000,"0.7":900000000000000000,"0.8":1000000000000000000,"0.9":10000000000000000000,"1.0":100000000000000000000}]]} + strategies_kwargs: ${STRATEGIES_KWARGS:list:[["bet_kelly_fraction",0.25],["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":90000000000000000,"0.8":100000000000000000,"0.9":1000000000000000000,"1.0":10000000000000000000}]]} use_subgraph_for_redeeming: ${USE_SUBGRAPH_FOR_REDEEMING:bool:true} benchmark_tool: &id004 args: @@ -195,7 +195,7 @@ type: skill redeem_round_timeout: ${REDEEM_ROUND_TIMEOUT:float:3600.0} contract_timeout: ${CONTRACT_TIMEOUT:float:300.0} file_hash_to_strategies_json: ${FILE_HASH_TO_STRATEGIES_JSON:list:[["bafybeid6px3gw2c3u7hnsb6p677f4l6gyr3xy7wohafwifzzsnw6dwcp6y",["bet_amount_per_threshold"]],["bafybeiaeazylun25iol746juwtgc4qeuj2rlrtyqhudztpacyybbsgglcy",["kelly_criterion"]]]} - strategies_kwargs: ${STRATEGIES_KWARGS:list:[["bet_kelly_fraction",1.0],["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":600000000000000000,"0.7":900000000000000000,"0.8":1000000000000000000,"0.9":10000000000000000000,"1.0":100000000000000000000}]]} + strategies_kwargs: ${STRATEGIES_KWARGS:list:[["bet_kelly_fraction",0.25],["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":90000000000000000,"0.8":100000000000000000,"0.9":1000000000000000000,"1.0":10000000000000000000}]]} use_subgraph_for_redeeming: ${USE_SUBGRAPH_FOR_REDEEMING:bool:true} benchmark_tool: *id004 2: @@ -277,7 +277,7 @@ type: skill redeem_round_timeout: ${REDEEM_ROUND_TIMEOUT:float:3600.0} contract_timeout: ${CONTRACT_TIMEOUT:float:300.0} file_hash_to_strategies_json: ${FILE_HASH_TO_STRATEGIES_JSON:list:[["bafybeid6px3gw2c3u7hnsb6p677f4l6gyr3xy7wohafwifzzsnw6dwcp6y",["bet_amount_per_threshold"]],["bafybeiaeazylun25iol746juwtgc4qeuj2rlrtyqhudztpacyybbsgglcy",["kelly_criterion"]]]} - strategies_kwargs: ${STRATEGIES_KWARGS:list:[["bet_kelly_fraction",1.0],["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":600000000000000000,"0.7":900000000000000000,"0.8":1000000000000000000,"0.9":10000000000000000000,"1.0":100000000000000000000}]]} + strategies_kwargs: ${STRATEGIES_KWARGS:list:[["bet_kelly_fraction",0.25],["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":90000000000000000,"0.8":100000000000000000,"0.9":1000000000000000000,"1.0":10000000000000000000}]]} use_subgraph_for_redeeming: ${USE_SUBGRAPH_FOR_REDEEMING:bool:true} benchmark_tool: *id004 3: @@ -359,7 +359,7 @@ type: skill redeem_round_timeout: ${REDEEM_ROUND_TIMEOUT:float:3600.0} contract_timeout: ${CONTRACT_TIMEOUT:float:300.0} file_hash_to_strategies_json: ${FILE_HASH_TO_STRATEGIES_JSON:list:[["bafybeid6px3gw2c3u7hnsb6p677f4l6gyr3xy7wohafwifzzsnw6dwcp6y",["bet_amount_per_threshold"]],["bafybeiaeazylun25iol746juwtgc4qeuj2rlrtyqhudztpacyybbsgglcy",["kelly_criterion"]]]} - strategies_kwargs: ${STRATEGIES_KWARGS:list:[["bet_kelly_fraction",1.0],["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":600000000000000000,"0.7":900000000000000000,"0.8":1000000000000000000,"0.9":10000000000000000000,"1.0":100000000000000000000}]]} + strategies_kwargs: ${STRATEGIES_KWARGS:list:[["bet_kelly_fraction",0.25],["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":90000000000000000,"0.8":100000000000000000,"0.9":1000000000000000000,"1.0":10000000000000000000}]]} use_subgraph_for_redeeming: ${USE_SUBGRAPH_FOR_REDEEMING:bool:true} benchmark_tool: *id004 ---