Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve market simulation script #106

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Conversation

jmoreira-valory
Copy link
Collaborator

Improve market simulation script notebook.

  • Modified notebook to include parameters such as mech calls, mech costs,etc. to simulate and tuen up market parameters.
  • Improved visualizations and plots.

" print(\"9728773584905664512, 10175999999999994880\")\n",
" print(\"Ok\")\n",
"\n",
" print(fpmm_trade(amount=210820759921632064, option=1, L0=9728773584905664512, L1=10175999999999994880, market_fee=0.02, mech_cost=0, mech_calls_per_trade=0))\n",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong. This trade has the mech output with p_yes > p_no so the voted option in this trade is option=0

" print(\"10554692557571284992, 9379714232318733184\")\n",
" print(\"Ok\")\n",
"\n",
" print(fpmm_trade(amount=509961030758124800, option=1, L0=10554692557571284992, L1=9379714232318733184, market_fee=0.02, mech_cost=0, mech_calls_per_trade=0))\n",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong. This trade has the mech output with p_yes > p_no so the voted option in this trade is option=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants