Skip to content

Commit

Permalink
Merge pull request #175 from valory-xyz/chore/lower-bet-threshold
Browse files Browse the repository at this point in the history
chore: change default `strategies_kwargs` value
  • Loading branch information
0xArdi authored Dec 11, 2023
2 parents 2d2eb06 + a2c670a commit 4b7d841
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/agents/trader/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/valory/services/trader/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
---
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
---
Expand Down

0 comments on commit 4b7d841

Please sign in to comment.