Author Topic: Dry Run 14 - The Next Generation ($200 BitUSD bounty)  (Read 21306 times)

0 Members and 1 Guest are viewing this topic.

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
I'm in vacation with limited PC access.
I've missed a lot.
Am I doing something wrong with this:
Code: [Select]
emski (unlocked) >>> wallet_asset_create
symbol: UNO
asset_name: UNObtainium
issuer_name: emski
10 assert_exception: Assert Exception
BTS_BLOCKCHAIN_MAX_SHARES / precision > max_share_supply:
    {}
    th_a  wallet.cpp:3515 create_asset

    {"symbol":"UNO","name":"UNObtainium","description":"","issuer_account":"emski"}
    th_a  wallet.cpp:3548 create_asset

    {}
    th_a  common_api_client.cpp:1235 wallet_asset_create

    {"command":"wallet_asset_create"}
    th_a  cli.cpp:471 execute_command

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
 :)
True, looks like I jumped the gun by an hour or two..

I am on the latest now.

Lets do some fancy trading!
>>> approve bitcoiners

Offline Riverhead

Make sure you delete your ~/.BitsharesXTS (or your ~/.BitsharesXTS_Test15 if you jumped the gun like me  :o ).  That's my technique anyway, may be overkill for each Dry Run.

Offline bytemaster

Don't know if this qualifies but here is a bug:

10 assert_exception: Assert Exception


Code: [Select]
>>> blockchain_market_order_book USD XTS
                  BIDS (* Short Order)                                       |                                   ASKS                                 
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0.4087 USD                                                      MARKET PRICE | 0.008695652174 USD                  113,149.50000 XTS              983.9086 USD
0.9999 USD                112.00000 XTS                   0.008928571429 USD*| 0.009000000000 USD                  100,000.00000 XTS              900.0000 USD
0.9999 USD                115.00000 XTS                   0.008695652174 USD*| 0.010000000000 USD                1,000,000.00000 XTS           10,000.0000 USD
0.9999 USD                115.00000 XTS                   0.008695652174 USD*| 0.100000000000 USD                1,000,000.00000 XTS          100,000.0000 USD
0.9999 USD                150.00000 XTS                   0.006666666667 USD*|
10.0000 USD               2,000.00000 XTS                 0.005000000000 USD*|
99.9999 USD               29,999.99999 XTS                0.003333333333 USD*|
100.0000 USD              40,000.00000 XTS                0.002500000000 USD*|
100.0000 USD              50,000.00000 XTS                0.002000000000 USD*|
49.9999 USD               75,000.00000 XTS                0.000666666667 USD*|
499.9999 USD              825,000.00000 XTS               0.000606060606 USD*|
400.0000 USD              1,000,000.00000 XTS             0.000400000000 USD*|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                             |                                   MARGIN                                 
                                                                             | CALL PRICE                                   QUANTITY                     TOTAL   COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                             | 0.008522727273 USD                      132.00000 XTS                0.9999 USD   176.00000 XTS
                                                                             | 0.006756756757 USD                      832.50000 XTS                4.9999 USD   1,110.00000 XTS
                                                                             | 0.006521739130 USD                    1,725.00000 XTS                9.9999 USD   2,300.00000 XTS

Median Feed Price: 0.00860397119999999 USD / XTS     Maximum Short Price: 0.01147196159999998 USD / XTS     Minimum Cover Price: 0.00573598079999999 USD / XTS
Bid Depth: 2,022,491.99999 XTS     Ask Depth: 2,216,735.50000 XTS     Min Depth: 2,000,000.00000 XTS
Last Error:  Assert Exception (10)
mtrx.ask_paid == xts_paid_by_short:


Details:
10 assert_exception: Assert Exception
mtrx.ask_paid == xts_paid_by_short:
    {"mtrx":{"bid_owner":"XTSCKEphFHw37zAfmoPD7fuya1QjrmQbknuM","ask_owner":"XTS8Gome3eZ3cVcgBvhPPW7xxdhbfbwYfWNo","bid_price":{"ratio":"0.000666666666666666","quote_asset_id":22,"base_asset_id":0},"ask_price":{"ratio":"0.000666666666666666","quote_asset_id":22,"base_asset_id":0},"bid_paid":{"amount":9999,"asset_id":22},"bid_received":{"amount":14998500,"asset_id":0},"ask_paid":{"amount":14998500,"asset_id":0},"ask_received":{"amount":9999,"asset_id":22},"bid_type":"short_order","ask_type":"cover_order","fees_collected":{"amount":0,"asset_id":0}},"xts_paid_by_short":{"amount":15000000,"asset_id":0}}
    th_a  market_engine.cpp:472 pay_current_short

    {"mtrx":{"bid_owner":"XTSCKEphFHw37zAfmoPD7fuya1QjrmQbknuM","ask_owner":"XTS8Gome3eZ3cVcgBvhPPW7xxdhbfbwYfWNo","bid_price":{"ratio":"0.000666666666666666","quote_asset_id":22,"base_asset_id":0},"ask_price":{"ratio":"0.000666666666666666","quote_asset_id":22,"base_asset_id":0},"bid_paid":{"amount":9999,"asset_id":22},"bid_received":{"amount":14998500,"asset_id":0},"ask_paid":{"amount":14998500,"asset_id":0},"ask_received":{"amount":9999,"asset_id":22},"bid_type":"short_order","ask_type":"cover_order","fees_collected":{"amount":0,"asset_id":0}}}
    th_a  market_engine.cpp:506 pay_current_short

That looks like the prior test net (internal only).... cause I fixed that :) 

Code: [Select]
(wallet closed) >>> info
{
  "blockchain_head_block_num": 156,
  "blockchain_head_block_age": "6 seconds old",
  "blockchain_head_block_timestamp": "2014-08-13T21:37:20",
For the latest updates checkout my blog: http://bytemaster.bitshares.org
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.

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
Don't know if this qualifies but here is a bug:

10 assert_exception: Assert Exception


Code: [Select]
>>> blockchain_market_order_book USD XTS
                  BIDS (* Short Order)                                       |                                   ASKS                                 
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0.4087 USD                                                      MARKET PRICE | 0.008695652174 USD                  113,149.50000 XTS              983.9086 USD
0.9999 USD                112.00000 XTS                   0.008928571429 USD*| 0.009000000000 USD                  100,000.00000 XTS              900.0000 USD
0.9999 USD                115.00000 XTS                   0.008695652174 USD*| 0.010000000000 USD                1,000,000.00000 XTS           10,000.0000 USD
0.9999 USD                115.00000 XTS                   0.008695652174 USD*| 0.100000000000 USD                1,000,000.00000 XTS          100,000.0000 USD
0.9999 USD                150.00000 XTS                   0.006666666667 USD*|
10.0000 USD               2,000.00000 XTS                 0.005000000000 USD*|
99.9999 USD               29,999.99999 XTS                0.003333333333 USD*|
100.0000 USD              40,000.00000 XTS                0.002500000000 USD*|
100.0000 USD              50,000.00000 XTS                0.002000000000 USD*|
49.9999 USD               75,000.00000 XTS                0.000666666667 USD*|
499.9999 USD              825,000.00000 XTS               0.000606060606 USD*|
400.0000 USD              1,000,000.00000 XTS             0.000400000000 USD*|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                             |                                   MARGIN                                 
                                                                             | CALL PRICE                                   QUANTITY                     TOTAL   COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                             | 0.008522727273 USD                      132.00000 XTS                0.9999 USD   176.00000 XTS
                                                                             | 0.006756756757 USD                      832.50000 XTS                4.9999 USD   1,110.00000 XTS
                                                                             | 0.006521739130 USD                    1,725.00000 XTS                9.9999 USD   2,300.00000 XTS

Median Feed Price: 0.00860397119999999 USD / XTS     Maximum Short Price: 0.01147196159999998 USD / XTS     Minimum Cover Price: 0.00573598079999999 USD / XTS
Bid Depth: 2,022,491.99999 XTS     Ask Depth: 2,216,735.50000 XTS     Min Depth: 2,000,000.00000 XTS
Last Error:  Assert Exception (10)
mtrx.ask_paid == xts_paid_by_short:


Details:
10 assert_exception: Assert Exception
mtrx.ask_paid == xts_paid_by_short:
    {"mtrx":{"bid_owner":"XTSCKEphFHw37zAfmoPD7fuya1QjrmQbknuM","ask_owner":"XTS8Gome3eZ3cVcgBvhPPW7xxdhbfbwYfWNo","bid_price":{"ratio":"0.000666666666666666","quote_asset_id":22,"base_asset_id":0},"ask_price":{"ratio":"0.000666666666666666","quote_asset_id":22,"base_asset_id":0},"bid_paid":{"amount":9999,"asset_id":22},"bid_received":{"amount":14998500,"asset_id":0},"ask_paid":{"amount":14998500,"asset_id":0},"ask_received":{"amount":9999,"asset_id":22},"bid_type":"short_order","ask_type":"cover_order","fees_collected":{"amount":0,"asset_id":0}},"xts_paid_by_short":{"amount":15000000,"asset_id":0}}
    th_a  market_engine.cpp:472 pay_current_short

    {"mtrx":{"bid_owner":"XTSCKEphFHw37zAfmoPD7fuya1QjrmQbknuM","ask_owner":"XTS8Gome3eZ3cVcgBvhPPW7xxdhbfbwYfWNo","bid_price":{"ratio":"0.000666666666666666","quote_asset_id":22,"base_asset_id":0},"ask_price":{"ratio":"0.000666666666666666","quote_asset_id":22,"base_asset_id":0},"bid_paid":{"amount":9999,"asset_id":22},"bid_received":{"amount":14998500,"asset_id":0},"ask_paid":{"amount":14998500,"asset_id":0},"ask_received":{"amount":9999,"asset_id":22},"bid_type":"short_order","ask_type":"cover_order","fees_collected":{"amount":0,"asset_id":0}}}
    th_a  market_engine.cpp:506 pay_current_short
>>> approve bitcoiners

Offline bytemaster

CyberSpace, the final frontier
These are the voyages of the BitShares community
Its continuing mission to explore strange new blockchains
To seek out new DACs and new civilizations
To boldly go where no market has gone before.

https://www.youtube.com/watch?v=XsxgcLf0TSY

This update has seen many fixes to the market infrastructure.  We are are offering a $200 BitUSD bounty for bugs that result in changes to the market execution engine.

I would appreciate it if someone could help by providing build instructions for getting on the network.

Things to test... delegates: we are attempting to track down communications getting "Hung" so please try to maintain uptime.

Please Test all of these markets:
User Issued Assets / Trading
User Issued vs BitAssets
BitBTC vs BitUSD
BitUSD vs XTS
BitBTC vs XTS


Note:  use develop branch
« Last Edit: August 13, 2014, 09:47:27 pm by bytemaster »
For the latest updates checkout my blog: http://bytemaster.bitshares.org
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.