Author Topic: Market making contest, stage one  (Read 24587 times)

0 Members and 1 Guest are viewing this topic.

Offline Thul3

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
Re: Planning a market making contest
« Reply #15 on: October 14, 2019, 09:30:51 am »
Quote
So no, IMHO committee should NOT need to ask further approval before taking action

Agree on that,but maybe a one time voting would be needed to clarify if community agrees.

Quote
I don't think BTC and USDT markets are so important or attractive. In my opinion, EOS and ETH are a much better choice as a way of entering DEX. I propose adding these 2 markets, I am aware that this will lower the prize for participants.

BTC and USDT are the 2 main coins being used on CEX'es and are also the main pairs against which BTS trades on CEX'es .
There is also an agenda behind these two coins because a liquid market on DEX with these two coins will open direct arbitrage possabilities with CEX'es for BTS which will make it longterm more difficult to manipulate BTS price on CEX as more liquid these market gets on DEX.
Also having a liquid market on DEX means that our internal positive BTS price (very often higher than on CEX) can also push price on CEX via arbitrage.


Quote
If there is more liquidity on DEX for that it makes arbitrage from CEX/DEX more viable- would be a good time for DEXbot to showcase DEX/CEX arb but thats been coming for months not sure on update on that yet.
Yes that was the main idea.
Dexbot CEX/DEX arbitrage beta comes out end of this month.

I personly would like to buy ad space on bitcointalk for 4 of 10 banner slots to promote 1/4 Dexbot to get new users for it as there is high demand on bitcointalk for tradingbots who would bring hopefully their major assets to DEX, 1/4 to promote the refferal program of bitshares to spread the word about the high reward we are giving on bitshares and 2/4 to promote DEX directly.

Cost would be very low and the reach would be big as each banner slot gets on average arround 3.3 million times displayed on bitcointalk.



The contest rules looks very good to me

« Last Edit: October 14, 2019, 09:41:31 am by Thul3 »

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 3896
    • View Profile
    • Steemit Blog
  • BitShares: abit
  • GitHub: abitmore
Re: Planning a market making contest
« Reply #16 on: October 14, 2019, 01:11:52 pm »
Someone reminded me that before launching the contest on the mainnet, we can simulate a contest first on the testnet. I will update when have more info.
BTS account: abit
BTS committee member: abit
BTS witness: in.abit

Offline bitcrab

  • Committee member
  • Hero Member
  • *
  • Posts: 1651
    • View Profile
  • BitShares: bitcrab
  • GitHub: bitcrab
Re: Planning a market making contest
« Reply #17 on: October 14, 2019, 03:13:25 pm »
Quote from: abit

## Rewards
Up to 60,000 BTS every day. Funding by the committee.
Why do we need any committee funds here? Which committee member supports this?

Committee funds should be used to increase reserve pool or worker funding and not for fun.
You prefer funding it via worker?

I prefer that this contest be funded by a worker, rather than the funds in committee-account, I'd like to try my best to lobby big proxies to support the worker.

Offline BTSMoon

  • Full Member
  • ***
  • Posts: 82
    • View Profile
Re: Planning a market making contest
« Reply #18 on: October 14, 2019, 04:09:42 pm »
Quote from: abit

## Rewards
Up to 60,000 BTS every day. Funding by the committee.
Why do we need any committee funds here? Which committee member supports this?

Committee funds should be used to increase reserve pool or worker funding and not for fun.
You prefer funding it via worker?

I prefer that this contest be funded by a worker, rather than the funds in committee-account, I'd like to try my best to lobby big proxies to support the worker.

申请资金池?对外公布比赛后然后半途没钱了,这就是营销?这就是推广?这是让人看笑话吧

Offline Crypto Kong

  • Full Member
  • ***
  • Posts: 99
    • View Profile
Re: Planning a market making contest
« Reply #19 on: October 14, 2019, 07:26:00 pm »
Great initiative abit.

I think if we are going to be paying to help increase gateway trade revenues we should expect them to meet a few requirements and minimum standards. Bitsparks audit page is a good start and I think we should expect the same from any gateway wishing to be involved in this so that we can see the assets we are holding are actually backed by something. Also perhaps a reduction in withdrawel fees that would help to encourage arbitrage traders. I understand that lowering fees for those not actually involved in this doesnt make sense so perhaps users might have to register with gateways to receive the reduction in fees, paid back later perhaps?

Offline blockchained

Re: Planning a market making contest
« Reply #20 on: October 14, 2019, 08:07:05 pm »
Good initiative, count us in!

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 3896
    • View Profile
    • Steemit Blog
  • BitShares: abit
  • GitHub: abitmore
Re: Planning a market making contest
« Reply #21 on: October 14, 2019, 08:10:02 pm »
Good initiative, count us in!
Please list your assets, and provide proofs that all your assets are fully backed.
BTS account: abit
BTS committee member: abit
BTS witness: in.abit

Offline blockchained

Re: Planning a market making contest
« Reply #22 on: October 14, 2019, 08:17:49 pm »
Good initiative, count us in!
Please list your assets, and provide proofs that all your assets are fully backed.
we already working on that page

Offline tbone

  • Hero Member
  • *****
  • Posts: 636
    • View Profile
  • BitShares: tbone2
Re: Planning a market making contest
« Reply #23 on: October 14, 2019, 08:50:58 pm »
The DEX needs liquidity.
Market makers who leave orders on the market provide liquidity.
The contest is to incentivize market makers, consequentially attract traders and bring volume to the DEX.

## Rewards
Up to 60,000 BTS every day. Funding by the committee.

## Begin/End Date
To be decided.

## Markets
BTS / [gateways].BTC
BTS / [gateways].USDT
(30,000 BTS each)

## Gateways
Gateways who have interest in participating in the contest please reply to this thread.
Every gateway needs to prove that its gateway assets are fully backed by real assets, like https://audit.bitspark.io/

(The lists below will be updated from time to time as the contest progresses)

### qualified gateway asset(s):
SPARKDEX.BTC

### not yet qualified gateway assets:
GDEX.BTC
GDEX.USDT
blockchained.X

## Rules

### Brief
Market makers place orders onto the order book.
The bigger the orders and
the closer the orders to the opposite side of the order book and
the longer the orders lasting on the order book,
the more rewards the owner of the orders will earn.

### Details

For each market, 80% of total reward will go to BTS buyers and 20% of total reward will go to BTS sellers.

After each block is produced, a snapshot of the order book will be captured. Every order on the markets will be scored.

The orders whose size is smaller than 100 BTS will be ignored when calculating.
Get the lowest ask price (LAP) and highest bid price (HBP) of the remaining order book.
For bids (orders buying BTS), order_distance = (LAP - order_price) / LAP
For asks (orders selling BTS), order_distance = (order_price - HBP) / order_price

Group 1: orders whose order_distance is within [0%, 1%] will share up to 53% of total reward;
Group 2: orders whose order_distance is within (1%, 2%] will share up to 25% of total reward;
Group 3: orders whose order_distance is within (2%, 3%] will share up to 12% of total reward;
Group 4: orders whose order_distance is within (3%, 5%] will share up to 6% of total reward;
Group 5: orders whose order_distance is within (5%, 7%] will share up to 3% of total reward;
Group 6: orders whose order_distance is within (7%, 10%] will share up to 1% of total reward.

For each group, group_score = group_reward_percent * min(1, total_order_size / 1,000,000 BTS).

For each order within a group,
order_weight = order_size * ( 1 + (group_upper_bound - order_distance) / (group_upper_bound - group_lower_bound) )
order_score = group_score * order_weight / sum(order_weight)

For each day,
for each market group, specifically, BTS / [gateways].BTC or BTS / [gateways].USDT,
daily_bids_reward = 24,000 BTS * sum(bids_group_score) / total_blocks_produced_in_that_day
daily_asks_reward = 6,000 BTS * sum(asks_group_score) / total_blocks_produced_in_that_day

For traders,
account_bids_reward = daily_bids_reward * sum(bids_order_score) / sum(bids_group_score)
account_asks_reward = daily_asks_reward * sum(asks_order_score) / sum(asks_group_score)
account_daily_reward = account_bids_reward + account_asks_reward


## Testnet Simulation

A simulation of the contest on the public testnet (https://testnet.bitshares.eu/) will be launched soon. Details will follow.

Looks good. It makes a lot of sense to reward orders on the books (as close as possible to the action) as opposed to simply rewarding trading volume (which doesn't necessarily provide any value, i.e. it can be gamed). Also, I like that you propose to weight the rewards 4:1 toward the bid side instead of 1:1, especially since we are still not in a bull market.

The only criticism I have right now is that the distance factor can possibly be somewhat gamed.

For illustration purposes, let's say the market currently has a wide spread. And now the MM rewards program starts. Then a MM places a sizable sell order just below the best ask, and then also places a very small order on the bid side within 1% of his large order on the ask. Should he get full credit for the large order on the ask within 1% of the best bid? Personally, i think the order should have to be within 1% of equivalent liquidity on the opposite side. Or maybe not equivalent...but perhaps based on the 4:1 ratio. So an order on the ask would be compared (distance-wise) to 4x liquidity on the bid (some of it may be within 1%, some within 2%, etc). Likewise, orders on the bid would be compared distance-wise to 0.25x liquidity on the ask. See what i mean?
« Last Edit: October 14, 2019, 09:00:20 pm by tbone »

Offline EuropaSH

  • Full Member
  • ***
  • Posts: 156
  • IT innovations
    • View Profile
    • https://xbts.io
  • BitShares: euro888
Re: Planning a market making contest
« Reply #24 on: October 14, 2019, 08:54:53 pm »
The DEX needs liquidity.
Market makers who leave orders on the market provide liquidity.
The contest is to incentivize market makers, consequentially attract traders and bring volume to the DEX.

## Rewards
Up to 60,000 BTS every day. Funding by the committee.

## Begin/End Date
To be decided.


Thanks for this work Abit. We at XBTS would be happy to join in this contest. We will inform our community about the competition. We will do a promo for coin communities that are added to the XBTS.
We will prepare the required data.
XBTS DEX EXCHANGE FOR TRADERS AND GAMERS https://xbts.io

Offline Thul3

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
Re: Planning a market making contest
« Reply #25 on: October 14, 2019, 09:06:57 pm »
The DEX needs liquidity.
Market makers who leave orders on the market provide liquidity.
The contest is to incentivize market makers, consequentially attract traders and bring volume to the DEX.

## Rewards
Up to 60,000 BTS every day. Funding by the committee.

## Begin/End Date
To be decided.

## Markets
BTS / [gateways].BTC
BTS / [gateways].USDT
(30,000 BTS each)

## Gateways
Gateways who have interest in participating in the contest please reply to this thread.
Every gateway needs to prove that its gateway assets are fully backed by real assets, like https://audit.bitspark.io/

(The lists below will be updated from time to time as the contest progresses)

### qualified gateway asset(s):
SPARKDEX.BTC

### not yet qualified gateway assets:
GDEX.BTC
GDEX.USDT
blockchained.X

## Rules

### Brief
Market makers place orders onto the order book.
The bigger the orders and
the closer the orders to the opposite side of the order book and
the longer the orders lasting on the order book,
the more rewards the owner of the orders will earn.

### Details

For each market, 80% of total reward will go to BTS buyers and 20% of total reward will go to BTS sellers.

After each block is produced, a snapshot of the order book will be captured. Every order on the markets will be scored.

The orders whose size is smaller than 100 BTS will be ignored when calculating.
Get the lowest ask price (LAP) and highest bid price (HBP) of the remaining order book.
For bids (orders buying BTS), order_distance = (LAP - order_price) / LAP
For asks (orders selling BTS), order_distance = (order_price - HBP) / order_price

Group 1: orders whose order_distance is within [0%, 1%] will share up to 53% of total reward;
Group 2: orders whose order_distance is within (1%, 2%] will share up to 25% of total reward;
Group 3: orders whose order_distance is within (2%, 3%] will share up to 12% of total reward;
Group 4: orders whose order_distance is within (3%, 5%] will share up to 6% of total reward;
Group 5: orders whose order_distance is within (5%, 7%] will share up to 3% of total reward;
Group 6: orders whose order_distance is within (7%, 10%] will share up to 1% of total reward.

For each group, group_score = group_reward_percent * min(1, total_order_size / 1,000,000 BTS).

For each order within a group,
order_weight = order_size * ( 1 + (group_upper_bound - order_distance) / (group_upper_bound - group_lower_bound) )
order_score = group_score * order_weight / sum(order_weight)

For each day,
for each market group, specifically, BTS / [gateways].BTC or BTS / [gateways].USDT,
daily_bids_reward = 24,000 BTS * sum(bids_group_score) / total_blocks_produced_in_that_day
daily_asks_reward = 6,000 BTS * sum(asks_group_score) / total_blocks_produced_in_that_day

For traders,
account_bids_reward = daily_bids_reward * sum(bids_order_score) / sum(bids_group_score)
account_asks_reward = daily_asks_reward * sum(asks_order_score) / sum(asks_group_score)
account_daily_reward = account_bids_reward + account_asks_reward


## Testnet Simulation

A simulation of the contest on the public testnet (https://testnet.bitshares.eu/) will be launched soon. Details will follow.

Looks good. It makes a lot of sense to reward orders on the books (as close as possible to the action) as opposed to simply rewarding trading volume (which doesn't necessarily provide any value, i.e. it can be gamed). Also, I like that you propose to weight the rewards 4:1 toward the bid side instead of 1:1, especially since we are still not in a bull market.

The only criticism I have right now is that the distance factor can possibly be somewhat gamed.

For illustration purposes, let's say the market currently has a wide spread. And now the MM rewards program starts. Then a MM places a sizable sell order just below the best ask, and then also places a very small order on the bid side within 1% of his large order on the ask. Should he get full credit for the large order on the ask within 1% of the best bid? Personally, i think the order should have to be within 1% of equivalent liquidity on the opposite side. Or maybe not equivalent...but perhaps based on the 4:1 ratio. So an order on the ask would be compared (distance-wise) to 4x liquidity on the bid (some of it may be within 1%, some within 2%, etc). Likewise, orders on the bid would be compared distance-wise to 0.25x liquidity on the ask. See what i mean?

The small buy order would get quickly eaten as there will be many participants and only a few trading pairs.

Offline tbone

  • Hero Member
  • *****
  • Posts: 636
    • View Profile
  • BitShares: tbone2
Re: Planning a market making contest
« Reply #26 on: October 14, 2019, 10:17:43 pm »
The DEX needs liquidity.
Market makers who leave orders on the market provide liquidity.
The contest is to incentivize market makers, consequentially attract traders and bring volume to the DEX.

## Rewards
Up to 60,000 BTS every day. Funding by the committee.

## Begin/End Date
To be decided.

## Markets
BTS / [gateways].BTC
BTS / [gateways].USDT
(30,000 BTS each)

## Gateways
Gateways who have interest in participating in the contest please reply to this thread.
Every gateway needs to prove that its gateway assets are fully backed by real assets, like https://audit.bitspark.io/

(The lists below will be updated from time to time as the contest progresses)

### qualified gateway asset(s):
SPARKDEX.BTC

### not yet qualified gateway assets:
GDEX.BTC
GDEX.USDT
blockchained.X

## Rules

### Brief
Market makers place orders onto the order book.
The bigger the orders and
the closer the orders to the opposite side of the order book and
the longer the orders lasting on the order book,
the more rewards the owner of the orders will earn.

### Details

For each market, 80% of total reward will go to BTS buyers and 20% of total reward will go to BTS sellers.

After each block is produced, a snapshot of the order book will be captured. Every order on the markets will be scored.

The orders whose size is smaller than 100 BTS will be ignored when calculating.
Get the lowest ask price (LAP) and highest bid price (HBP) of the remaining order book.
For bids (orders buying BTS), order_distance = (LAP - order_price) / LAP
For asks (orders selling BTS), order_distance = (order_price - HBP) / order_price

Group 1: orders whose order_distance is within [0%, 1%] will share up to 53% of total reward;
Group 2: orders whose order_distance is within (1%, 2%] will share up to 25% of total reward;
Group 3: orders whose order_distance is within (2%, 3%] will share up to 12% of total reward;
Group 4: orders whose order_distance is within (3%, 5%] will share up to 6% of total reward;
Group 5: orders whose order_distance is within (5%, 7%] will share up to 3% of total reward;
Group 6: orders whose order_distance is within (7%, 10%] will share up to 1% of total reward.

For each group, group_score = group_reward_percent * min(1, total_order_size / 1,000,000 BTS).

For each order within a group,
order_weight = order_size * ( 1 + (group_upper_bound - order_distance) / (group_upper_bound - group_lower_bound) )
order_score = group_score * order_weight / sum(order_weight)

For each day,
for each market group, specifically, BTS / [gateways].BTC or BTS / [gateways].USDT,
daily_bids_reward = 24,000 BTS * sum(bids_group_score) / total_blocks_produced_in_that_day
daily_asks_reward = 6,000 BTS * sum(asks_group_score) / total_blocks_produced_in_that_day

For traders,
account_bids_reward = daily_bids_reward * sum(bids_order_score) / sum(bids_group_score)
account_asks_reward = daily_asks_reward * sum(asks_order_score) / sum(asks_group_score)
account_daily_reward = account_bids_reward + account_asks_reward


## Testnet Simulation

A simulation of the contest on the public testnet (https://testnet.bitshares.eu/) will be launched soon. Details will follow.

Looks good. It makes a lot of sense to reward orders on the books (as close as possible to the action) as opposed to simply rewarding trading volume (which doesn't necessarily provide any value, i.e. it can be gamed). Also, I like that you propose to weight the rewards 4:1 toward the bid side instead of 1:1, especially since we are still not in a bull market.

The only criticism I have right now is that the distance factor can possibly be somewhat gamed.

For illustration purposes, let's say the market currently has a wide spread. And now the MM rewards program starts. Then a MM places a sizable sell order just below the best ask, and then also places a very small order on the bid side within 1% of his large order on the ask. Should he get full credit for the large order on the ask within 1% of the best bid? Personally, i think the order should have to be within 1% of equivalent liquidity on the opposite side. Or maybe not equivalent...but perhaps based on the 4:1 ratio. So an order on the ask would be compared (distance-wise) to 4x liquidity on the bid (some of it may be within 1%, some within 2%, etc). Likewise, orders on the bid would be compared distance-wise to 0.25x liquidity on the ask. See what i mean?

The small buy order would get quickly eaten as there will be many participants and only a few trading pairs.

Yes, ideally it would get eaten. But you really have no idea if it will or not. And even if it does, maybe then they will put up another small order. I'm just saying... under the current proposal, one could earn rewards by adding liquidity almost entirely to the sell side, for example. Yes, 4:1 ratio provides more incentive to add liquidity to the buy side (which I like), but that may not be enough to overcome bear market forces. So I'm proposing a way to ensure a little more balance. AT LEAST require there to be SOMEONE to be providing opposing liquidity, even if it's not the same MM. If I remember correctly, there were similar liquidity programs on traditional exchanges (equities, etc) that required EACH market maker to be on BOTH sides in order to qualify for rewards.

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 3896
    • View Profile
    • Steemit Blog
  • BitShares: abit
  • GitHub: abitmore
Re: Planning a market making contest
« Reply #27 on: October 14, 2019, 10:19:11 pm »
UPDATE(2019-10-25): I'm no longer supporting the testnet simulation (reward distribution and etc) due to the lack of community participation and the launching of the mainnet contest.

## Testnet Simulation

A simulation of the contest on the public testnet is available now.

* visit https://develop.bitshares.org/ , select a testnet API node, or
* visit https://testnet.bitshares.eu/ which has an old GUI and somewhat unstable API nodes.

Three market pairs:

TEST/CONTEST.BTC
TEST/CONTEST.USD1
TEST/CONTEST.USD2

Participants will be rewarded with CONTEST.REWARD token (after I got the code ready).

A few CONTEST.* tokens have been placed on the markets for sale.
Please help each other to obtain sufficient tokens for testing, and help bootstrap the markets.
If need more tokens, please leave a message in this thread.
« Last Edit: October 25, 2019, 03:49:27 pm by abit »
BTS account: abit
BTS committee member: abit
BTS witness: in.abit

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 3896
    • View Profile
    • Steemit Blog
  • BitShares: abit
  • GitHub: abitmore
Re: Planning a market making contest
« Reply #28 on: October 14, 2019, 10:45:53 pm »
For illustration purposes, let's say the market currently has a wide spread. And now the MM rewards program starts. Then a MM places a sizable sell order just below the best ask, and then also places a very small order on the bid side within 1% of his large order on the ask. Should he get full credit for the large order on the ask within 1% of the best bid? Personally, i think the order should have to be within 1% of equivalent liquidity on the opposite side. Or maybe not equivalent...but perhaps based on the 4:1 ratio. So an order on the ask would be compared (distance-wise) to 4x liquidity on the bid (some of it may be within 1%, some within 2%, etc). Likewise, orders on the bid would be compared distance-wise to 0.25x liquidity on the ask. See what i mean?

The small buy order would get quickly eaten as there will be many participants and only a few trading pairs.

Yes, ideally it would get eaten. But you really have no idea if it will or not. And even if it does, maybe then they will put up another small order. I'm just saying... under the current proposal, one could earn rewards by adding liquidity almost entirely to the sell side, for example. Yes, 4:1 ratio provides more incentive to add liquidity to the buy side (which I like), but that may not be enough to overcome bear market forces. So I'm proposing a way to ensure a little more balance. AT LEAST require there to be SOMEONE to be providing opposing liquidity, even if it's not the same MM. If I remember correctly, there were similar liquidity programs on traditional exchanges (equities, etc) that required EACH market maker to be on BOTH sides in order to qualify for rewards.
As long as all the gateways are operational, I think the arbitrage bots will balance the markets.

How to measure the performance of gateways is a bit hard though.
BTS account: abit
BTS committee member: abit
BTS witness: in.abit

Offline George_Bitspark

  • Full Member
  • ***
  • Posts: 67
  • Co-Founder and CEO of Bitspark
    • View Profile
    • Bitspark
Re: Planning a market making contest
« Reply #29 on: October 15, 2019, 02:33:14 am »
USDT from existing gateways on the DEX has no volume or market depth, not sure why this would be a focus rather than ETH. Depth on OPEN.USDT is 40 USDT on ask and 11085 BTS on the Bid. Depth on GDEX.USDT is 35 USDT on the ask and 6100 BTS on the Bid.

Meanwhile:

BTS/ETH markets right now:

Sparkdex.ETH
118000 BTS on bid 2.78 ETH on the ask.
GDEX.ETH
13601 BTS on bid 0.029 eth on Ask
OPEN.ETH
150000 BTS on bid 25.27 ETH on Ask
RUDEX.ETH
41654 BTS on Bid 0.7 ETH on Ask.

However all of this is meaningless without an audit page. I think gateways implementing Audit pages for reserves is a great leap forward and something needed in this space and if this is the inspiration thats good for end users. Regardless it seems ETH is more liquid even just with the sparkdex market than all of the USDT markets combined by a factor of 10x+.   

If the reason is "USDT is supported on many exchanges and we want to promote BTS trading against USDT which is the biggest stablecoin" then maybe there is merit in that but still, its not where the market is at currently. Probably USDT would be traded more actively if it were an included asset in this proposal however. 
Bitspark- Cash to Cryptocurrency