Skip to content

Commit

Permalink
Merge branch 'feat/multibet_benchmarking' of https://github.com/valor…
Browse files Browse the repository at this point in the history
…y-xyz/trader into feat/multibet_benchmarking
  • Loading branch information
cyberosa committed Nov 21, 2024
2 parents 8845f9c + 5b03068 commit 719e562
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/valory/agents/trader/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ models:
collateral_balance: ${int:10000000000000000000}
mech_cost: ${int:10000000000000000}
pool_fee: ${int:20000000000000000}
outcome_token_amounts: ${OUTCOME_TOKEN_AMOUNTS:list:[11000000000000000000,9000000000000000000]}
outcome_token_marginal_prices: ${OUTCOME_TOKEN_MARGINAL_PRICES:list:[0.55,0.45]}
outcome_token_amounts: ${list:[11000000000000000000,9000000000000000000]}
outcome_token_marginal_prices: ${list:[0.55,0.45]}
sep: ${str:,}
dataset_filename: ${str:benchmark_data.csv}
question_field: ${str:question}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def _calculate_new_liquidity(self, net_bet_amount: int, vote: int) -> LiquidityI
_,
_,
) = self._compute_new_tokens_distribution(
token_amounts.copy(), prices.copy(), net_bet_amount, vote
token_amounts.copy(), prices, net_bet_amount, vote
)

new_other = other_tokens_in_pool + other_shares
Expand Down

0 comments on commit 719e562

Please sign in to comment.