bondingcurves's People
Forkers
eqgru heeropunjabi aedgecoin jinsong-ucl krotkiewicz conefiver slowcoder-fastsleeper namakxyz afridevabondingcurves's Issues
Balancer's conservation function does not diverge to Uniswap's
For w1=w2=0.5 the functions are different.
Earlier in the paper it is stated that
Balancer can also be deemed a generalization of Uniswap; the latter is a special case of the former with w1 = w2 = 1/2
and this can be found in the code that Uniswap AMM is just Balancer with w1=w2=0.5.
Probably I have missied something, would love to hear an explanation for that. Thank you.
It would probably help a lot, if the use of financial terminology (i.e. numéraire, calls, puts, mint-quote, redeem-quote, out-of-the-money, hedging, etc. was well explained or readers unfamiliar with the terminology are pointed to a primer.@KrisParuch
The authors claim that disproportionate liquidity addition or removal can be treated as a combination of two actions: (i) a proportionate reserve change plus (ii) an asset swap. I would suggest elaborating on this point, ideally with a few concrete examples.@KrisParuch
II.B.b) So ETH is then a risk asset and a base asset at the same time? I'm not sure I understand the difference of risk and base asset then.@KrisParuch
Do you have any plans to bring the ipynb files in playground up to date
Unless I missed it, what a conservation function is, is never properly introduced, instead it is written "AMM uses a so-called conservation function". It should probably be defined in II. AMM preliminaries.@KrisParuch
TypeError: 'type' object is not subscriptable
python -m amms.analysis
Traceback (most recent call last):
File "/usr/local/Caskroom/miniconda/base/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/Caskroom/miniconda/base/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/thams/Documents/jupyter/bondingcurves/amms/analysis.py", line 6, in
from amms.balancer.main import Balancer
File "/Users/thams/Documents/jupyter/bondingcurves/amms/balancer/main.py", line 1, in
from amms.main import Amm
File "/Users/thams/Documents/jupyter/bondingcurves/amms/main.py", line 2, in
class Amm:
File "/Users/thams/Documents/jupyter/bondingcurves/amms/main.py", line 3, in Amm
def init(self, reserves: list[int], weights: list[float]):
TypeError: 'type' object is not subscriptable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.