Author Topic: Dry Run 12: Call Me Maybe  (Read 13191 times)

0 Members and 1 Guest are viewing this topic.

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Not true, we could do a test net where the shares are backed by PTS set aside for the testing bounty.

But fuck it, too much work
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.

Offline Riverhead

Poker without any skin in the game doesn't work either. People don't make the same decisions. I agree all we can do is make sure the mechanics are solid and turn it loose.
« Last Edit: August 10, 2014, 12:24:26 am by Riverhead »

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile

Testing the economics with fake money is novel idea...
 At the end we will know for sure, if the system works with fake money.
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline arhag

  • Hero Member
  • *****
  • Posts: 1214
    • View Profile
    • My posts on Steem
  • BitShares: arhag
  • GitHub: arhag
LOL! Fingers crossed.

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
This does not test the economics.  Only the mechanics.   The price feed is pegged to btsx real time

Will there be a future dry run to attempt to test the economics? Or will BitAssets launch and hope for the best after the mechanics are thoroughly tested?

BM:

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.

Offline arhag

  • Hero Member
  • *****
  • Posts: 1214
    • View Profile
    • My posts on Steem
  • BitShares: arhag
  • GitHub: arhag
This does not test the economics.  Only the mechanics.   The price feed is pegged to btsx real time

Will there be a future dry run to attempt to test the economics? Or will BitAssets launch and hope for the best after the mechanics are thoroughly tested?

Offline bytemaster

This does not test the economics.  Only the mechanics.   The price feed is pegged to btsx real time


Sent from my iPhone using Tapatalk
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 arhag

  • Hero Member
  • *****
  • Posts: 1214
    • View Profile
    • My posts on Steem
  • BitShares: arhag
  • GitHub: arhag
I don't get how this is going to test much of BitAsset functionality. Doesn't there need to be a centralized exchange between XTS and the thing the BitAsset is tracking so that market participants know how to trade? I suppose we can pretend XTS is 1-to-1 pegged to BTSX and use the exchanges on BTC38 and BTER, but then the price of BTSX won't be fluctuating enough (I hope) to properly test BitAsset functionality.

I propose that in order make these tests a little more useful, things get set up in the following way. Bytemaster should set up a fake centralized exchange that trades XTS for FakeUSD. He would be the central bank of FakeUSD, so he can print as much as he wants. Then on the blockchain we have BitFakeUSD that market participants trade according to price of XTS/FakeUSD on the centralized exchange. Then, bytemaster can manipulate the FakeUSD money supply, and put in the appropriate bids and asks on the exchange, to change the XTS/FakeUSD price as he wishes. This would be done for the purpose of rapid testing of BitAssets under different market conditions.

Obviously all market participants need to still pretend as if XTS and FakeUSD have any value. I don't think there is anyway around that issue in a test environment.

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
Looks like market is active, but for some reason order_history shows empty..

Code: [Select]
>>> wallet_account_transaction_history bitcoiners
...
|2014-08-09T22:11:30 8361      BID-JEsC4g9j        MARKET              6.0000 USD              pay bid @ 0.01 USD / XTS                    2,266.0556 USD          0.00000 XTS         [1f6ef8]|
|                              BID-JEsC4g9j        bitcoiners          600.00000 XTS           bid proceeds @ 0.01 USD / XTS               18,499.30260 XTS                                    |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-09T22:11:30 8361      ASK-FY2jdbfS        MARKET              600.00000 XTS           fill ask @ 0.01 USD / XTS                   18,499.30260 XTS        0.00000 XTS         [7c1ba7]|
|                              ASK-FY2jdbfS        bitcoiners          6.0000 USD              ask proceeds @ 0.01 USD / XTS               2,272.0556 USD                                      |

Code: [Select]
>>> blockchain_market_order_history USD XTS
No Orders.

>>> approve bitcoiners

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
sorry for being annoying, things are running kind of weird for me this run. I submitted orders which did not show up in my order list for an hour or so (they were stuck pending). Now that they show up in my wallet order list, I cannot cancel them:

Code: [Select]
default (unlocked) >>> wallet_market_order_list USD XTS
TYPE        QUANTITY            PRICE                         BALANCE             COST                COLLATERAL          ID                                 
================================================================================================================================
ask_order   14,000.00000 XTS    0.012 USD / XTS               14,000.00000 XTS    168.0000 USD        N/A                 XTSAAFGJvuWzdJ1EdyQb9i2eENcMAQArKxxc
cover_order 30,000.00000 XTS    0.00066666666666666 USD / XTS 20.0000 USD         19.9999 USD         40,000.00000 XTS    XTS52EbKeU2Fg6J4bcg6RJeAvTc8iSfUqbdE
cover_order 30,000.00000 XTS    0.00066666666666666 USD / XTS 20.0000 USD         19.9999 USD         40,000.00000 XTS    XTSFdvENaSr6m1513zH5wyDiAqV1Bd8vgpQP
cover_order 3,333.33333 XTS     0.00599997000599997 USD / XTS 19.9999 USD         19.9998 USD         4,444.44444 XTS     XTS7toteVvLqzYTjcUcY8k4NyiJjvoVoBaP9
cover_order 3,333.33333 XTS     0.00599997000599997 USD / XTS 19.9999 USD         19.9998 USD         4,444.44444 XTS     XTSAQv4pniCqcu2FBWJ7nPA1dAaRRjRi2z4B
cover_order 3,333.33333 XTS     0.00599997000599997 USD / XTS 19.9999 USD         19.9998 USD         4,444.44444 XTS     XTSE71n3GpzaREkiRYJpiEBEtkK5DvYJ5zot
cover_order 3,000.00000 XTS     0.00666666666666666 USD / XTS 20.0000 USD         19.9999 USD         4,000.00000 XTS     XTSGRG2ARbKHcA8aJKnpWe7cM5BaLf66SHf1
cover_order 3,000.00000 XTS     0.00666666666666666 USD / XTS 20.0000 USD         19.9999 USD         4,000.00000 XTS     XTSPqwyGr13os1Wyy4fBsFmdobBJ1vtdsrA2
cover_order 2,727.27271 XTS     0.00733329671311087 USD / XTS 19.9999 USD         19.9998 USD         3,636.36362 XTS     XTSM6Nu8RuUujnPVfgpWxuUgRZ8ZvcMMK2va
default (unlocked) >>> wallet_market_cancel_order XTSAAFGJvuWzdJ1EdyQb9i2eENcMAQArKxxc
20011 unknown_market_order: unknown market order

    {"owner_address":"XTSAAFGJvuWzdJ1EdyQb9i2eENcMAQArKxxc"}
    th_a  wallet.cpp:3868 cancel_market_order

    {"owner_address":"XTSAAFGJvuWzdJ1EdyQb9i2eENcMAQArKxxc"}
    th_a  wallet.cpp:3948 cancel_market_order

    {}
    th_a  common_api_client.cpp:1427 wallet_market_cancel_order

    {"command":"wallet_market_cancel_order"}
    th_a  cli.cpp:544 execute_command
default (unlocked) >>> wallet_market_cancel_order XTS52EbKeU2Fg6J4bcg6RJeAvTc8iSfUqbdE
20011 unknown_market_order: unknown market order

    {"owner_address":"XTS52EbKeU2Fg6J4bcg6RJeAvTc8iSfUqbdE"}
    th_a  wallet.cpp:3868 cancel_market_order

    {"owner_address":"XTS52EbKeU2Fg6J4bcg6RJeAvTc8iSfUqbdE"}
    th_a  wallet.cpp:3948 cancel_market_order

    {}
    th_a  common_api_client.cpp:1427 wallet_market_cancel_order

    {"command":"wallet_market_cancel_order"}
    th_a  cli.cpp:544 execute_command
« Last Edit: August 09, 2014, 10:00:18 pm by maqifrnswa »
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
this is it

market is up and running!!

Quote
default (unlocked) >>> blockchain_market_status USD XTS
{
  "quote_id": 22,
  "base_id": 0,
  "bid_depth": 233096980992,
  "ask_depth": 217700032362,
  "avg_price_24h": {
    "ratio": "0.000899846205545705",
    "quote_asset_id": 22,
    "base_asset_id": 0
  },
  "last_error": null
}




edit::
after
Quote
wallet_market_submit_ask fund 20 XTS 0.005 USD

Quote
ACCOUNT                         BALANCE                     
============================================================
fund                            0.1800 USD
« Last Edit: August 09, 2014, 09:24:50 pm by xeroc »

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
The key is that *AFTER* they match there must still be 2M depth on both sides.
Yhea .. i understand that .. I begin to grasp that this makes a HUGE difference to othere (centralized) exchanges.

Offline bytemaster

The key is that *AFTER* they match there must still be 2M depth on both sides.   
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 xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
We are close to haveing the market execute:
Quote
default (locked) >>> blockchain_market_status USD XTS
{
  "quote_id": 22,
  "base_id": 0,
  "bid_depth": 210892580084,
  "ask_depth": 204630766362,

//edit: theses are the interesting numbers:

Quote
        "data": {
          "reason": "After executing orders there was insufficient depth remaining",
          "market_stat": {
            "quote_id": 22,
            "base_id": 0,
            "bid_depth": 195238095237,
            "ask_depth": 220285251209,

            "avg_price_24h": {
              "ratio": "0.000899811364425413",
              "quote_asset_id": 22,
              "base_asset_id": 0
            },
            "last_error": null
          },
          "(((1000*1000*int64_t(1000)*1000*int64_t(1000)) / 5)/1000)": 200000000000
        }

Once those two numbers are above 2M the market starts

obviously there are only some 50k missing on the bid side ..(shorts)
« Last Edit: August 09, 2014, 09:05:20 pm by xeroc »

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
I'm trying to make a short order. XTS are leaving my account, but not showing up in the market order book. What am I doing wrong?

they were just stuck pending for a long time, they ended up being accepted
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true