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

[FEATURE] Constant-Product Swap Algorithm (columbus-3) #226

Closed
nplatias opened this issue Aug 26, 2019 · 0 comments
Closed

[FEATURE] Constant-Product Swap Algorithm (columbus-3) #226

nplatias opened this issue Aug 26, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@nplatias
Copy link

nplatias commented Aug 26, 2019

Proposed implementation of the swap algorithm described here for columbus-3.
Relevant discussion can be found here.

Attached is my best approximation of sufficiently accurate pseudocode, which ended up being python code : ) It has been written in the spirit of the current market module, and relies on primitives either currently available or easy to implement. The core function is "swap".

A variant of this code is being used for simulations.

Look forward to your input -- @dokwon @YunSuk-Yeo @hanjukim
cp_swaps.zip

@nplatias nplatias added the enhancement New feature or request label Aug 26, 2019
@yun-yeo yun-yeo closed this as completed Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants