bitshares / bitshares/bsips

New BSIP: Leverage Same Capital to Place Order Across Multiple Trading Pairs to Increase Market Depth

Open
#227 5 comments 0 reactions 0 assignees View on GitHub
chain utility DEX
Dominant language
No language data
Stars
59
Forks
86
PR merge metrics
No merged PRs in 30d

Description

Problem:
Mr. Market Maker only have limited capital 1000 BitCNY for market making. If he need to market making for 10 different trading pairs, he need to split 1000 BitCNY to 100 BitCNY for each trading pairs. The Market Depth for each trading pairs decrease 90%.

Solution:
1. Mr. Market Maker able to leverage same Capital 1000 BitCNY to Place Orders Across Multiple Trading Pairs.

2. Example How Mr. Market Maker Create a Buy Order with 1000 BitCNY and Increase 10,000 BitCNY Market Dept:
{
Trading Pairs: BTS/CNY = [Price = 1 , Quantity = 1000], //Each Trading Pair Buy Order Value should =< 1000 BitCNY
Trading Pairs: OPEN.BTC/CNY= [Price = 1 , Quantity = 500],
Trading Pairs: GDEX.BTC/CNY= [Price = 0.8 , Quantity = 1000, Price = 0.2 , Quantity = 1000], //Allow Multiple Price & Quantity
Trading Pairs: RUDEX.BTC/CNY= [Price = 1 , Quantity = 1000],
Trading Pairs: OPEN.ETH/CNY= [Price = 1 , Quantity = 1000],
Trading Pairs: GDEX.ETH/CNY= [Price = 1 , Quantity = 1000],
Trading Pairs: RUDEX.ETH/CNY= [Price = 1 , Quantity = 1000],
Trading Pairs: OPEN.EOS/CNY= [Price = 1 , Quantity = 1000],
Trading Pairs: GDEX.EOS/CNY= [Price = 1 , Quantity = 1000],
Trading Pairs: RUDEX.EOS/CNY= [Price = 1 , Quantity = 1000],
}

3. Matching Rule
a. If the New Buy Order match existing Sell Order, priority should be Top to Bottom from the list of trading pairs.
b. Later, if Mr Seller A sell 1 BTS to Mr. Market Maker for 1 BitCNY, All Buy Order at All Trading Pairs should decrease 1 BitCNY.

This BSIP probably increase witnesses'node CPU and Memory usage a lot but I believe worth it. Witnesses may need to uprade their server spec and thus may need to increase witnesses'pay.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.