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

Extension of Arbitrage agent - use conditional probabilities between markets as part of arbitrage strategy #508

Open
gabrielfior opened this issue Oct 9, 2024 · 1 comment

Comments

@gabrielfior
Copy link
Contributor

On #137 a simple Arbitrage agent was developed, allowing markets (on the same platform, Omen) to be arbitraged when correlation between them was close to 1 or -1.

We can expand that approach for the case where correlation (which can also be seen as P(A|B), i.e. likelihood that event A occurs if B also occurs) lies somewhere -1 < c < 1.
Some math calculations are available here (notion link).

@kongzii
Copy link
Contributor

kongzii commented Oct 10, 2024

Some math calculations are available here (notion link).

To anyone who picks this up: When implementing this task and using math equations -- don't forget that everything is estimated by LLMs (probability of first market, probability of second market, and also their correlation). So don't forget that even if math promises 100% confident profits, reality can be way different. (in the same way as Kelly, theoretically perfect, practically losing all the money if higher bets are allowed).

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

No branches or pull requests

2 participants