Dry Run 16 - Armageddon ($5000 Bounty inside)

Started by bytemaster, August 19, 2014, 08:58:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alt

Quote from: bytemaster on August 20, 2014, 01:21:26 AM
Quote from: alt on August 20, 2014, 01:18:24 AM
If you really want to begin the market engine now
I suggest you should begin the asset one by one, and all delegate should follow you.
If all 25 assets begin together, I doubt some asset maybe can  issue 0 asset at the beginning, for the reason like market depth limit
If the price of XTS is double, these asset which still have not issues success or issue a little, can not running smooth.
because the average price is too low, and the short price is limited to the low price, but nobody will ask at that price.

My recommendation to delegates is to only enable one market at a time.  BitUSD first.  This will minimize the risk to the network in the event that a market bug is found after launch.     As long as all delegates upgrade to the same version prior to enabling trading (by publishing 51 price feeds) then things should go smoothly.   All "hard-fork-changes" are in logic gated by the 51 price feed requirement.
OK, I'm ready, let's waiting for the great moment.

bytemaster

Quote from: alt on August 20, 2014, 01:18:24 AM
If you really want to begin the market engine now
I suggest you should begin the asset one by one, and all delegate should follow you.
If all 25 assets begin together, I doubt some asset maybe can  issue 0 asset at the beginning, for the reason like market depth limit
If the price of XTS is double, these asset which still have not issues success or issue a little, can not running smooth.
because the average price is too low, and the short price is limited to the low price, but nobody will ask at that price.

My recommendation to delegates is to only enable one market at a time.  BitUSD first.  This will minimize the risk to the network in the event that a market bug is found after launch.     As long as all delegates upgrade to the same version prior to enabling trading (by publishing 51 price feeds) then things should go smoothly.   All "hard-fork-changes" are in logic gated by the 51 price feed requirement.

For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

alt

#22
If you really want to begin the market engine now
I suggest you should begin the asset one by one, and all delegate should follow you.
If all 25 assets begin together, I doubt some asset maybe can  issue 0 asset at the beginning, for the reason like market depth limit
If the price of XTS is double, these asset which still have not issues success or issue a little, can not running smooth.
because the average price is too low, and the short price is limited to the low price, but nobody will ask at that price.
without bid order, the price will never change to follow the real price.

bytemaster

Quote from: bytemaster on August 20, 2014, 12:21:19 AM
Quote from: alt on August 19, 2014, 11:42:09 PM
I think here is wrong?

                // limit the maximum movement rate of the price.
                  if( _current_bid->get_price() > min_cover_ask )
                     market_stat->avg_price_24h.ratio += _current_bid->get_price().ratio;
                  else if( _current_bid->get_price() < max_short_bid )
                     market_stat->avg_price_24h.ratio += max_short_bid.ratio;
                  else
                     market_stat->avg_price_24h.ratio += min_cover_ask.ratio;

should be

                // limit the maximum movement rate of the price.
                  if( _current_bid->get_price() < min_cover_ask )
                     market_stat->avg_price_24h.ratio += min_cover_ask.ratio;
                  else if( _current_bid->get_price() > max_short_bid )
                     market_stat->avg_price_24h.ratio += max_short_bid.ratio;
                  else
                     market_stat->avg_price_24h.ratio += _current_bid->get_price().ratio;


I think you are right.... damn.

Both sections were wrong...  I have fixed it in the code.  I think it will avoid a hard fork because the price hasn't moved to the point that it would matter. 
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

alt

I think this doesn't worth  $5000
so the bounty is still there

Quote from: bytemaster on August 20, 2014, 12:21:19 AM
Quote from: alt on August 19, 2014, 11:42:09 PM
I think here is wrong?

                // limit the maximum movement rate of the price.
                  if( _current_bid->get_price() > min_cover_ask )
                     market_stat->avg_price_24h.ratio += _current_bid->get_price().ratio;
                  else if( _current_bid->get_price() < max_short_bid )
                     market_stat->avg_price_24h.ratio += max_short_bid.ratio;
                  else
                     market_stat->avg_price_24h.ratio += min_cover_ask.ratio;

should be

                // limit the maximum movement rate of the price.
                  if( _current_bid->get_price() < min_cover_ask )
                     market_stat->avg_price_24h.ratio += min_cover_ask.ratio;
                  else if( _current_bid->get_price() > max_short_bid )
                     market_stat->avg_price_24h.ratio += max_short_bid.ratio;
                  else
                     market_stat->avg_price_24h.ratio += _current_bid->get_price().ratio;


I think you are right.... damn.

bytemaster

Quote from: alt on August 19, 2014, 11:42:09 PM
I think here is wrong?

                // limit the maximum movement rate of the price.
                  if( _current_bid->get_price() > min_cover_ask )
                     market_stat->avg_price_24h.ratio += _current_bid->get_price().ratio;
                  else if( _current_bid->get_price() < max_short_bid )
                     market_stat->avg_price_24h.ratio += max_short_bid.ratio;
                  else
                     market_stat->avg_price_24h.ratio += min_cover_ask.ratio;

should be

                // limit the maximum movement rate of the price.
                  if( _current_bid->get_price() < min_cover_ask )
                     market_stat->avg_price_24h.ratio += min_cover_ask.ratio;
                  else if( _current_bid->get_price() > max_short_bid )
                     market_stat->avg_price_24h.ratio += max_short_bid.ratio;
                  else
                     market_stat->avg_price_24h.ratio += _current_bid->get_price().ratio;


I think you are right.... damn.
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

ebit

telegram:ebit521
[url="https://weibo.com/ebiter"]https://weibo.com/ebiter[/url]

alt

I think here is wrong?

                // limit the maximum movement rate of the price.
                  if( _current_bid->get_price() > min_cover_ask )
                     market_stat->avg_price_24h.ratio += _current_bid->get_price().ratio;
                  else if( _current_bid->get_price() < max_short_bid )
                     market_stat->avg_price_24h.ratio += max_short_bid.ratio;
                  else
                     market_stat->avg_price_24h.ratio += min_cover_ask.ratio;

should be

                // limit the maximum movement rate of the price.
                  if( _current_bid->get_price() < min_cover_ask )
                     market_stat->avg_price_24h.ratio += min_cover_ask.ratio;
                  else if( _current_bid->get_price() > max_short_bid )
                     market_stat->avg_price_24h.ratio += max_short_bid.ratio;
                  else
                     market_stat->avg_price_24h.ratio += _current_bid->get_price().ratio;


chono

What will happen exactly when over 50 delegates publish their price feeds? <br /><br />1\ The testing network will be stopped and the formal version will be released very soon?<br /><br />or<br /><br />2\ It just means this run is successful and we might have more testings?<br/>
+5%

来自我的 HTC 802d 上的 Tapatalk

Weibo:Will_BTS

vikram

Quote from: drltc on August 19, 2014, 10:43:31 PM
Here is what I am seeing:


default (unlocked) >>> blockchain_market_order_book USD XTS
                  BIDS (* Short Order)                                       |                                   ASKS                                 
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
27.6359 USD                                                     MARKET PRICE | 0.011363636364 USD                   88,000.00000 XTS              999.9999 USD
9,798.9999 USD            881,910.00000 XTS               0.011111111111 USD*| 0.100000000000 USD                  100,000.00000 XTS           10,000.0000 USD
9,999.9999 USD            1,200,000.00000 XTS             0.008333333333 USD*|
10,000.0000 USD           2,000,000.00000 XTS             0.005000000000 USD*|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                             |                                   MARGIN                                 
                                                                             | CALL PRICE                                   QUANTITY                     TOTAL   COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                             | 0.008571428476 USD                1,050,000.00000 XTS            8,999.9999 USD   1,400,000.00000 XTS
                                                                             | 0.008571428476 USD                1,050,000.00000 XTS            8,999.9999 USD   1,400,000.00000 XTS
                                                                             | 0.008426966292 USD                1,335,000.00000 XTS            9,999.9999 USD   1,780,000.00000 XTS
                                                                             | 0.008426966292 USD                   13,349.99998 XTS               99.9999 USD   17,799.99998 XTS
                                                                             | 0.008426966292 USD                   13,350.00000 XTS               99.9999 USD   17,800.00000 XTS
                                                                             | 0.008389261745 USD                  134,100.00000 XTS              999.9999 USD   178,800.00000 XTS
                                                                             | 0.008333333333 USD                      135.00000 XTS                0.9999 USD   180.00000 XTS
                                                                             | 0.008333333333 USD                   27,135.00000 XTS              200.9997 USD   36,180.00000 XTS
                                                                             | 0.008241758242 USD                   13,650.00000 XTS               99.9999 USD   18,200.00000 XTS
                                                                             | 0.003787863636 USD                   13,200.00000 XTS               49.9998 USD   17,600.00000 XTS
Average Price in Recent Trades: 0.01109056481093343 USD / XTS     Maximum Short Price: 0.01478741974791124 USD / XTS     Minimum Cover Price: 0.00739370987395562 USD / XTS
Bid Depth: 4,081,910.00000 XTS     Ask Depth: 5,054,559.99999 XTS     Min Depth: 2,000,000.00000 XTS


Here are my questions:

- What is the 27.6359 USD in the top left?

This is no longer relevant for market-issued assets and has been removed just now. For user-issued assets, this represents the accumulated fees of that asset which will be traded for XTS once at least 10,000 shares have been accumulated to avoid dust.

theoretical

Here is what I am seeing:


default (unlocked) >>> blockchain_market_order_book USD XTS
                  BIDS (* Short Order)                                       |                                   ASKS                                 
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
27.6359 USD                                                     MARKET PRICE | 0.011363636364 USD                   88,000.00000 XTS              999.9999 USD
9,798.9999 USD            881,910.00000 XTS               0.011111111111 USD*| 0.100000000000 USD                  100,000.00000 XTS           10,000.0000 USD
9,999.9999 USD            1,200,000.00000 XTS             0.008333333333 USD*|
10,000.0000 USD           2,000,000.00000 XTS             0.005000000000 USD*|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                             |                                   MARGIN                                 
                                                                             | CALL PRICE                                   QUANTITY                     TOTAL   COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                             | 0.008571428476 USD                1,050,000.00000 XTS            8,999.9999 USD   1,400,000.00000 XTS
                                                                             | 0.008571428476 USD                1,050,000.00000 XTS            8,999.9999 USD   1,400,000.00000 XTS
                                                                             | 0.008426966292 USD                1,335,000.00000 XTS            9,999.9999 USD   1,780,000.00000 XTS
                                                                             | 0.008426966292 USD                   13,349.99998 XTS               99.9999 USD   17,799.99998 XTS
                                                                             | 0.008426966292 USD                   13,350.00000 XTS               99.9999 USD   17,800.00000 XTS
                                                                             | 0.008389261745 USD                  134,100.00000 XTS              999.9999 USD   178,800.00000 XTS
                                                                             | 0.008333333333 USD                      135.00000 XTS                0.9999 USD   180.00000 XTS
                                                                             | 0.008333333333 USD                   27,135.00000 XTS              200.9997 USD   36,180.00000 XTS
                                                                             | 0.008241758242 USD                   13,650.00000 XTS               99.9999 USD   18,200.00000 XTS
                                                                             | 0.003787863636 USD                   13,200.00000 XTS               49.9998 USD   17,600.00000 XTS
Average Price in Recent Trades: 0.01109056481093343 USD / XTS     Maximum Short Price: 0.01478741974791124 USD / XTS     Minimum Cover Price: 0.00739370987395562 USD / XTS
Bid Depth: 4,081,910.00000 XTS     Ask Depth: 5,054,559.99999 XTS     Min Depth: 2,000,000.00000 XTS


Here are my questions:

- What is the 27.6359 USD in the top left?
- What is "minimum cover price"?

I'm checking the accounting.  I see that:


881910 + 1200000 + 2000000 = 4,081,910
1400000 + 1400000 + 1780000 + 17799.99998 + 17800 + 178800 + 180 + 36180 + 18200 + 17600 + 88000 + 100000 = 5,054,559.99999


So the Bid Depth is the sum of XTS Bid Quantity, and Ask Depth is sum of the total XTS Quantity of Ask orders plus total Collateral for Margin Call orders.  This fact should probably be documented somewhere.
BTS- theoretical / PTS- PZxpdC8RqWsdU3pVJeobZY7JFKVPfNpy5z / BTC- 1NfGejohzoVGffAD1CnCRgo9vApjCU2viY / the delegate formerly known as drltc / Nothing said on these forums is intended to be legally binding / All opinions are my own unless otherwise noted / Take action due to my posts at your own risk

bitcoinerS

Quote from: bytemaster on August 19, 2014, 10:10:04 PM
GUI Wallet will be posted in a second.

http://bitshares.org/BitSharesXT-15.dmg

Bytemaster please ask DSL to host a PPA repository for linux binaries. User maqifrnswa has already set it up,
https://bitsharestalk.org/index.php?action=profile;u=3464
Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares

DSL just needs to host it in own name and provide link to it along with other downloads.

Linux users should not be forced to compile.
>>> approve bitcoiners

toast

someone connected with an old chain  -.-

we're adding a checkpoint on block 1 and then will push a new version
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.


ripplexiaoshan

What will happen exactly when over 50 delegates publish their price feeds?

1\ The testing network will be stopped and the formal version will be released very soon?

or

2\ It just means this run is successful and we might have more testings?


BTS committee member:jademont