Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[FEATURE] Constant-Product Swap Algorithm (columbus-3) #226
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.