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

Forex based currency swap #142

Open
minqin opened this issue Aug 27, 2021 · 2 comments
Open

Forex based currency swap #142

minqin opened this issue Aug 27, 2021 · 2 comments

Comments

@minqin
Copy link

minqin commented Aug 27, 2021

Hi Curve Project,

This is Min, a developer working in the traditional Quant / high frequency trading industry.

We just launched a new asset backed stablecoin in Hong Kong ( https://onecash.asia/), including HKD, CNH and JPY. I'm wondering if it's possible to add currency liquidity pool on curve fi

In your design, the core formula is this:
Sum (Xi * Wi ) = const.

If you use a forex rate from oracle as Wi, it will become a nice forex swap liquidity pool very naturally.

@minqin
Copy link
Author

minqin commented Aug 27, 2021

For example, if CNHC/USDC forex rate is 6.5,
Then:
Weight (CNHC) = 6.5 / (6.5+1)
Weight (USDC) = 1 / (6.5+1)

It will enforce 1 USDC has corresponding 6.5 CNHC in the pool, if not, there is arbitrage opportunity

@MODERATOR10
Copy link

Hello @minqin please explain further and state how this can benefit us

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