BitShares Forum

Main => General Discussion => Topic started by: toast on August 08, 2014, 11:39:00 pm

Title: Dry Run 12: Call Me Maybe
Post by: toast on August 08, 2014, 11:39:00 pm
https://www.youtube.com/watch?v=fWNaR-rxAic

Hey, I just shorted
and I am lazy
but here's my margin
so call me maybe


Examples:

Code: [Select]
default (unlocked) >>>  wallet_market_submit_ask bytemaster 20 XTS 1.1 USD        // selling 20 XTS @ 1.1 USD per XTS
default (unlocked) >>> wallet_market_submit_bid bytemaster 20 XTS 1.1 USD        // buying 20 XTS @ 1.1 USD per XTS
default (unlocked) >>> wallet_market_submit_short bytemaster 20 1.1 USD            // selling 20 USD @ 1.1 USD per XTS
default (unlocked) >>> wallet_market_order_list USD XTS
TYPE        QUANTITY            PRICE                         BALANCE             COST                COLLATERAL          ID
================================================================================================================================
ask_order   0.00006 XTS         0.74 USD / XTS                0.00006 XTS         0.0000 USD          N/A                 XTSPpSx4FEbjmMZe66JSYz3qbdiCSi2zVkde
ask_order   20.00000 XTS        0.9 USD / XTS                 20.00000 XTS        18.0000 USD         N/A                 XTSHwdSwKKe8ot5dPUrfAQmvY7HhwoHB8DrJ
cover_order 7.99999 XTS         0.49998812498515623 USD / XTS 3.9999 USD          3.9998 USD          10.66666 XTS        XTS9wijezuMgNbQtKb6sbqV1m5adjQuj7fty
cover_order 9.00000 XTS         0.55555555555555555 USD / XTS 5.0000 USD          4.9999 USD          12.00000 XTS        XTSF6ArKNCbMLoTg8dG11Z27dbcnnTgyVX2a
cover_order 7.50000 XTS         0.66666666666666666 USD / XTS 5.0000 USD          4.9999 USD          10.00000 XTS        XTSMsF41gy1skiMXsDny5KTzTRsjEULtJ3MR

default (unlocked) >>> wallet_market_cover bytemaster 1 USD XTSF6ArKNCbMLoTg8dG11Z27dbcnnTgyVX2a              // pay off 1 USD on your order



Code: [Select]
default2 (unlocked) >>> blockchain_market_order_book USD XTS
                  BIDS (* Short Order)                                       |                                   ASKS
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
8.2000 USD                                                      MARKET PRICE | 0.74 USD / XTS                            0.00006 XTS                0.0000 USD
                                                                             | 0.75 USD / XTS                           89.33334 XTS               67.0000 USD
                                                                             | 0.9 USD / XTS                            20.00000 XTS               18.0000 USD
                                                                             | 1.1 USD / XTS                            20.00000 XTS               22.0000 USD
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                             |                                   MARGIN
                                                                             | CALL PRICE                                   QUANTITY                     TOTAL   COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                             | 0.99999549999774999 USD / XTS            19.99999 XTS               19.9999 USD   26.66666 XTS
                                                                             | 0.66666666666666666 USD / XTS             7.50000 XTS                5.0000 USD   10.00000 XTS
                                                                             | 0.55555555555555555 USD / XTS             9.00000 XTS                5.0000 USD   12.00000 XTS
                                                                             | 0.49998812498515623 USD / XTS             7.99999 XTS                3.9999 USD   10.66666 XTS

Median Feed Price: 1. USD / XTS     Maximum Short Price: 1.5 USD / XTS     Minimum Cover Price: 0.66666666666666666 USD / XTS
Bid Depth: 29.66666 XTS     Ask Depth: 171.00000 XTS

Delegates can adjust their price feed via:
Code: [Select]
wallet_publish_price_feed delegate_name 1.1 USD  // set the price to 1.1 USD per XTS

The median price feed is used to restrict market operations for creating new shorts or executing margin calls.   This is used for bootstrapping the network.

Code: [Select]
git clone https://github.com/BitShares/bitshares_toolkit
git checkout develop

Dry Run Snapshot
This dry run uses a new genesis block using a snapshot of the AGS and PTS chains from July 18th which was the last day of AGS donations. We need to verify this genesis snapshot. Everyone please check your genesis balances and see if they are the expected amount.
Title: Re: Dry Run 12: Call Me Maybe
Post by: Riverhead on August 08, 2014, 11:42:29 pm
Haha, best intro to a dry run ever.
Title: Re: Dry Run 12: Call Me Maybe
Post by: toast on August 09, 2014, 12:12:07 am
Whoops, current develop won't work b/c our changes are a hard fork far in the future.
I will fix after dinner, wait up.
Title: Re: Dry Run 12: Call Me Maybe
Post by: toast on August 09, 2014, 01:59:44 am
vikram says it's ok now

probably not enough depth to trade bitassets... anyone got 4m btsx?
Title: Re: Dry Run 12: Call Me Maybe
Post by: fuzzy on August 09, 2014, 03:46:58 am
Haha, best intro to a dry run ever.
+5%
Title: Re: Dry Run 12: Call Me Maybe
Post by: HackFisher on August 09, 2014, 04:01:51 am
I need 4 million.
XTS5TpccJBKr5qpebZWDMTiQzoTya9eDeR9TChYc6g2yGnxZTEQFB
Title: Re: Dry Run 12: Call Me Maybe
Post by: xeroc on August 09, 2014, 06:02:34 am
seed nodes are down .. cannot connect to network .. => cannot send you some funds ..
Title: Re: Dry Run 12: Call Me Maybe
Post by: crazybit on August 09, 2014, 09:56:41 am
can anybody share an available seed node?
Title: Re: Dry Run 12: Call Me Maybe
Post by: xeroc on August 09, 2014, 10:43:48 am
i compiled the wrong branch .. recompiling .. let me check

edit:// I was on the wrong github branch ... @ crazybit you might be too .. branch is called "develop"

edit2:// cant wait to see what happens once the market gets rock'n rolling :)
Title: Re: Dry Run 12: Call Me Maybe
Post by: crazybit on August 09, 2014, 12:40:16 pm
i compiled the wrong branch .. recompiling .. let me check

edit:// I was on the wrong github branch ... @ crazybit you might be too .. branch is called "develop"

edit2:// cant wait to see what happens once the market gets rock'n rolling :)

i compiled on the branch "develop",connected to network finally. can someone please send me some test XTS?
Title: Re: Dry Run 12: Call Me Maybe
Post by: Riverhead on August 09, 2014, 12:59:46 pm
i compiled the wrong branch .. recompiling .. let me check

edit:// I was on the wrong github branch ... @ crazybit you might be too .. branch is called "develop"

edit2:// cant wait to see what happens once the market gets rock'n rolling :)

i compiled on the branch "develop",connected to network finally. can someone please send me some test XTS?


Sure, post your public key?
Title: Re: Dry Run 12: Call Me Maybe
Post by: crazybit on August 09, 2014, 01:06:49 pm
i compiled the wrong branch .. recompiling .. let me check

edit:// I was on the wrong github branch ... @ crazybit you might be too .. branch is called "develop"

edit2:// cant wait to see what happens once the market gets rock'n rolling :)

i compiled on the branch "develop",connected to network finally. can someone please send me some test XTS?


Sure, post your public key?

XTS5wGaDnWFoxTJKbwSuMKZDUprcN5MFy7eLkM5mqFvRSzVzvSd8J

thanks in advance.
Title: Re: Dry Run 12: Call Me Maybe
Post by: xeroc on August 09, 2014, 01:13:06 pm
here you go .. sent almost all I have left as I cannot really participate in that market testing ..
Title: Re: Dry Run 12: Call Me Maybe
Post by: Riverhead on August 09, 2014, 01:21:08 pm
I sent him 1000 XTS. You want some too, xeroc?
Title: Re: Dry Run 12: Call Me Maybe
Post by: xeroc on August 09, 2014, 01:21:38 pm
no thanks .. have some little left ..
Title: Re: Dry Run 12: Call Me Maybe
Post by: crazybit on August 09, 2014, 01:26:37 pm
@Riverhead @xeroc thanks both,have got  your fund.
Title: Re: Dry Run 12: Call Me Maybe
Post by: Riverhead on August 09, 2014, 01:43:52 pm
So I've tried to short 5 bitUSD into existence. Does something else have to happen for it to execute?
Title: Re: Dry Run 12: Call Me Maybe
Post by: crazybit on August 09, 2014, 02:02:02 pm
So I've tried to short 5 bitUSD into existence. Does something else have to happen for it to execute?
your order should not be executed,coz the market does not reach to the required market depth yet.
Title: Re: Dry Run 12: Call Me Maybe
Post by: Riverhead on August 09, 2014, 02:03:44 pm
Ah ya, we're not even close.  About 199,999,000 shallow :)
Title: Re: Dry Run 12: Call Me Maybe
Post by: bytemaster on August 09, 2014, 02:07:04 pm
Anyone have 4M XTS?    I don't have access to mine at the moment.
Title: Re: Dry Run 12: Call Me Maybe
Post by: maqifrnswa on August 09, 2014, 02:18:47 pm
also, something weird is going on such that only init delegates and producing blocks
Code: [Select]
ID    NAME (* next in line)           APPROVAL       PRODUCED MISSED   RELIABILITY   PAY RATE PAY BALANCE         LAST BLOCK
============================================================================================================================
299   bitcoiners                      0.0199999963 % 18       29       38.30 %       100 %    0.02553 XTS         5511     
302   spartako                        0.0150000000 % 0        1        0.00 %        50 %     0.00000 XTS         NONE     
301   crazybit                        0.0066795708 % 0        3        0.00 %        100 %    0.00000 XTS         NONE     
304   maqifrnswa                      0.0033349950 % 0        1        0.00 %        100 %    0.00000 XTS         NONE     
169   fox                             0.0005000011 % 25       28       47.17 %       100 %    0.02256 XTS         5214     
129   boombastic                      0.0000015000 % 0        7        0.00 %        100 %    0.00000 XTS         NONE     
204   koocaa                          0.0000015000 % 0        6        0.00 %        100 %    0.00000 XTS         NONE     
53    init52                          0.0000000033 % 59       0        100.00 %      100 %    0.06572 XTS         5550     
13    init12                          0.0000000033 % 60       0        100.00 %      100 %    0.06555 XTS         5586     
48    init47                          0.0000000033 % 58       0        100.00 %      100 %    0.06500 XTS         5567     
56    init55                          0.0000000032 % 58       0        100.00 %      100 %    0.06443 XTS         5585     
58    init57                          0.0000000032 % 58       0        100.00 %      100 %    0.06398 XTS         5581     
85    init84                          0.0000000032 % 59       0        100.00 %      100 %    0.06390 XTS         5535     
97    init96                          0.0000000032 % 58       0        100.00 %      100 %    0.06362 XTS         5577     
93    init92                          0.0000000032 % 57       1        98.28 %       100 %    0.06360 XTS         5582     
54    init53                          0.0000000032 % 58       0        100.00 %      100 %    0.06352 XTS         5551     
11    init10                          0.0000000032 % 58       0        100.00 %      100 %    0.06346 XTS         5574     
96    init95                          0.0000000032 % 57       0        100.00 %      100 %    0.06341 XTS         5562     
6     init5                           0.0000000032 % 58       0        100.00 %      100 %    0.06327 XTS         5558     
80    init79                          0.0000000032 % 57       0        100.00 %      100 %    0.06314 XTS         5575   
Title: Re: Dry Run 12: Call Me Maybe
Post by: xeroc on August 09, 2014, 02:21:06 pm
yhea .. those guys voted for themselfs and havent noticed that they so have to produce blocks ..
Title: Re: Dry Run 12: Call Me Maybe
Post by: maqifrnswa on August 09, 2014, 02:24:28 pm
Here's my info
Code: [Select]
  "blockchain_head_block_num": 5693,
  "blockchain_head_block_age": "18 seconds old",
  "blockchain_head_block_timestamp": "2014-08-09T14:36:20",
  "blockchain_average_delegate_participation": "94.39 %",
  "blockchain_confirmation_requirement": 1,
  "blockchain_accumulated_fees": "270.19296 XTS",
  "blockchain_delegate_pay_rate": "0.00223 XTS",
  "blockchain_share_supply": "1,999,999,999.80838 XTS",
  "blockchain_blocks_left_in_round": 64,
  "blockchain_next_round_time": "10 minutes in the future",
  "blockchain_next_round_timestamp": "2014-08-09T14:47:00",
  "blockchain_random_seed": "2c3013966326ddd792aec2f5c9e783c69d2e2f1a",
  "client_data_dir": "/home/showard/.BitSharesXTS",
  "network_num_connections": 4,
  "network_num_connections_max": 200,
  "ntp_time": "2014-08-09T14:36:38",
  "ntp_time_error": 0.072883000000000003,
  "wallet_open": true,
  "wallet_unlocked": true,
  "wallet_unlocked_until": "3 years 2 months in the future",
  "wallet_unlocked_until_timestamp": "2017-10-09T23:57:10",
  "wallet_scan_progress": "100.00 %",
  "wallet_block_production_enabled": true,
  "wallet_next_block_production_time": "8 seconds ago",
  "wallet_next_block_production_timestamp": "2014-08-09T14:36:30"

you can see the current ime is correct, the "wallet_next_block_production_timestamp": "2014-08-09T14:36:30" is in the past 10 seconds, and the last block is correct - the settings are all correct. It just doesn't produce for some reason
Title: Re: Dry Run 12: Call Me Maybe
Post by: bytemaster on August 09, 2014, 02:36:10 pm
Very odd...  does you client report any errors or log messages?

Title: Re: Dry Run 12: Call Me Maybe
Post by: maqifrnswa on August 09, 2014, 02:40:33 pm
no messages,

here is get_info during my 10 second slot:
Code: [Select]
  "blockchain_head_block_num": 5693,
  "blockchain_head_block_age": "18 seconds old",
  "blockchain_head_block_timestamp": "2014-08-09T14:36:20",
  "blockchain_average_delegate_participation": "94.39 %",
  "blockchain_confirmation_requirement": 1,
  "blockchain_accumulated_fees": "270.19296 XTS",
  "blockchain_delegate_pay_rate": "0.00223 XTS",
  "blockchain_share_supply": "1,999,999,999.80838 XTS",
  "blockchain_blocks_left_in_round": 64,
  "blockchain_next_round_time": "10 minutes in the future",
  "blockchain_next_round_timestamp": "2014-08-09T14:47:00",
  "blockchain_random_seed": "2c3013966326ddd792aec2f5c9e783c69d2e2f1a",
  "client_data_dir": "/home/showard/.BitSharesXTS",
  "network_num_connections": 4,
  "network_num_connections_max": 200,
  "ntp_time": "2014-08-09T14:36:38",
  "ntp_time_error": 0.072883000000000003,
  "wallet_open": true,
  "wallet_unlocked": true,
  "wallet_unlocked_until": "3 years 2 months in the future",
  "wallet_unlocked_until_timestamp": "2017-10-09T23:57:10",
  "wallet_scan_progress": "100.00 %",
  "wallet_block_production_enabled": true,
  "wallet_next_block_production_time": "8 seconds ago",
  "wallet_next_block_production_timestamp": "2014-08-09T14:36:30"

everything looks right, maybe there aren't enough connections to propagate the block in time?
Title: Re: Dry Run 12: Call Me Maybe
Post by: Riverhead on August 09, 2014, 02:45:01 pm
I see some of the init delegates are missing blocks as well.
Title: Re: Dry Run 12: Call Me Maybe
Post by: boombastic on August 09, 2014, 03:56:31 pm
I have my Keyhotee ID private key imported, it appears to be a blockchain registered account (expected), but also it's been activated as delegate automatically (is this expected?).  I didn't enable my wallet to produce blocks resulting the missing blocks.
Title: Re: Dry Run 12: Call Me Maybe
Post by: maqifrnswa on August 09, 2014, 04:27:24 pm
looks fine now, it was like a switch, suddenly everyone started producing blocks at once...
Title: Re: Dry Run 12: Call Me Maybe
Post by: xeroc on August 09, 2014, 04:27:59 pm
I have my Keyhotee ID private key imported, it appears to be a blockchain registered account (expected), but also it's been activated as delegate automatically (is this expected?).  I didn't enable my wallet to produce blocks resulting the missing blocks.
Yes that is expected .. however .. keyhotee names should have zero votes/approvals initially and thus not be nominated to produce blocks
Title: Re: Dry Run 12: Call Me Maybe
Post by: boombastic on August 09, 2014, 04:31:17 pm
I did transferred about 30 xts from another test laptop to this account voting myself
Title: Re: Dry Run 12: Call Me Maybe
Post by: maqifrnswa on August 09, 2014, 06:16:30 pm
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?

Code: [Select]
default (unlocked) >>> wallet_market_submit_short maqifrnswa 20 .01 USD
{
  "expiration": "20140809T201507",
  "delegate_slate_id": null,
  "operations": [{
      "type": "withdraw_op_type",
      "data": {
        "balance_id": "XTSHXiVKSa89YZLy7V9c8uutXog1YueoijBj",
        "amount": 200010000,
        "claim_input_data": ""
      }
    },{
      "type": "short_op_type",
      "data": {
        "amount": 200000000,
        "short_index": {
          "order_price": {
            "ratio": "0.001",
            "quote_asset_id": 22,
            "base_asset_id": 0
          },
          "owner": "XTSPqwyGr13os1Wyy4fBsFmdobBJ1vtdsrA2"
        }
      }
    }
  ],
  "signatures": [
    "1fbcb91544fdf03af7474f8411b3cc5b23e327efb8888461fb3bb94ce2fe6dba1eb64950eb47306174ec1c4dfea76e4782ced54a28a4ffdb17cbea5d8bef7e5071",
    "20de21d0df5c25a17a0327f47d5cd4540159f45d28d1ced6c64d291e3103d98ea9f052164c41fdb84ccd9830780efbe35a55fe52a25dab4f45238a02c1ddf313ff"
  ]
}
default (unlocked) >>> wallet_account_balance maqifrnswa
ACCOUNT                         BALANCE                     
============================================================
maqifrnswa                      20,690.24473 XTS           
                                0.02715 XTS (pay)           
default (unlocked) >>> wallet_market_submit_short maqifrnswa 20 .01 USD
{
  "expiration": "20140809T201519",
  "delegate_slate_id": null,
  "operations": [{
      "type": "withdraw_op_type",
      "data": {
        "balance_id": "XTSHXiVKSa89YZLy7V9c8uutXog1YueoijBj",
        "amount": 200010000,
        "claim_input_data": ""
      }
    },{
      "type": "short_op_type",
      "data": {
        "amount": 200000000,
        "short_index": {
          "order_price": {
            "ratio": "0.001",
            "quote_asset_id": 22,
            "base_asset_id": 0
          },
          "owner": "XTSGRG2ARbKHcA8aJKnpWe7cM5BaLf66SHf1"
        }
      }
    }
  ],
  "signatures": [
    "20df17e7aa78f60db81011bfa2a8f5696cba485fe383fa5d0f7fdc5bce2eda9600ef6aa466ca8ae066e600159af082126951cdc802779bd95143659b0cd15cf531",
    "1ff3118ddcaf116c8fbc0e508fb0b4f9b95c6b08e4d3bd7c2e8c0af3f65cf3d82c5bb7b4963125b57cdf63ab9f1b5084bef8c321d8d6a485adb2d7b331e4f4ac84"
  ]
}
default (unlocked) >>> wallet_market_order_list USD XTS
No market orders found.
default (unlocked) >>> wallet_account_balance maqifrnswa
ACCOUNT                         BALANCE                     
============================================================
maqifrnswa                      18,690.14473 XTS           
                                0.02715 XTS (pay)
Title: Re: Dry Run 12: Call Me Maybe
Post by: Riverhead on August 09, 2014, 06:44:06 pm
Check your orders list.  You can cancel unsuccessful orders.  Try 0.01 instead of .01.  This short worked for me:



riverheadtest (unlocked) >>> wallet_market_submit_short riverhead-test 5 0.01 USD







Title: Re: Dry Run 12: Call Me Maybe
Post by: HackFisher on August 09, 2014, 07:08:18 pm
The testnet init delegates seems down.
Title: Re: Dry Run 12: Call Me Maybe
Post by: xeroc on August 09, 2014, 07:22:41 pm
all submitted shorts I made got stuck pending :(
Title: Re: Dry Run 12: Call Me Maybe
Post by: maqifrnswa on August 09, 2014, 08:52:32 pm
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
Title: Re: Dry Run 12: Call Me Maybe
Post by: xeroc on August 09, 2014, 09:02:54 pm
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)
Title: Re: Dry Run 12: Call Me Maybe
Post by: bytemaster on August 09, 2014, 09:06:52 pm
The key is that *AFTER* they match there must still be 2M depth on both sides.   
Title: Re: Dry Run 12: Call Me Maybe
Post by: xeroc on August 09, 2014, 09:08:18 pm
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.
Title: Re: Dry Run 12: Call Me Maybe
Post by: xeroc on August 09, 2014, 09:16:44 pm
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
Title: Re: Dry Run 12: Call Me Maybe
Post by: maqifrnswa on August 09, 2014, 09:58:13 pm
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
Title: Re: Dry Run 12: Call Me Maybe
Post by: bitcoinerS on August 09, 2014, 10:17:16 pm
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.

Title: Re: Dry Run 12: Call Me Maybe
Post by: arhag on August 09, 2014, 11:08:45 pm
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.
Title: Re: Dry Run 12: Call Me Maybe
Post by: bytemaster on August 09, 2014, 11:29:56 pm
This does not test the economics.  Only the mechanics.   The price feed is pegged to btsx real time


Sent from my iPhone using Tapatalk (http://tapatalk.com/m?id=1)
Title: Re: Dry Run 12: Call Me Maybe
Post by: arhag on August 09, 2014, 11:41:12 pm
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?
Title: Re: Dry Run 12: Call Me Maybe
Post by: toast on August 09, 2014, 11:42:36 pm
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:

(http://www.quickmeme.com/img/9a/9af84fc95c0789fe0985d18c8993b75e6ac00114df951c380711b03500ada3b2.jpg)
Title: Re: Dry Run 12: Call Me Maybe
Post by: arhag on August 09, 2014, 11:48:27 pm
LOL! Fingers crossed.
Title: Re: Dry Run 12: Call Me Maybe
Post by: tonyk on August 10, 2014, 12:04:26 am

Testing the economics with fake money is novel idea...
 At the end we will know for sure, if the system works with fake money.
Title: Re: Dry Run 12: Call Me Maybe
Post by: Riverhead on August 10, 2014, 12:09:24 am
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.
Title: Re: Dry Run 12: Call Me Maybe
Post by: toast on August 10, 2014, 12:14:46 am
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
Title: Re: Dry Run 12: Call Me Maybe
Post by: arhag on August 10, 2014, 12:38:21 am
Yeah, but we need to be careful in how it's done.

Bytemaster would have to initially choose the set of market participants (testers) in a way that he is confident they are unique individuals. More on why that is important later. That is easy enough to do; he can just rely on well known forum members.

He would then need to set up the genesis block to give each of these testers a equal amount of starting value. He would also give them an equal amount of FakeUSD on his centralized exchange. Then, the test net could launch and people could do their thing: speculate on whether the value of XTS will rise or fall with respect to FakeUSD to make money. At some point, when the test is complete, bytemaster takes a snapshot of the current state of the blockchain and the centralized exchange. He already can tell who has how much FakeUSD on the exchange. He just needs people to prove to him how much BitFakeUSD and XTS they have on the blockchain by signing the appropriate statements. He can use the last known prices on the blockchain and centralized exchanges to convert the BitFakeUSD and XTS values to FakeUSD and add that to the testers' balances. Then the tester who has the highest balance wins a prize (some PTS bounty).

It is important to make sure the market participants are unique individuals to avoid a Sybil attack: one person makes lots of fake accounts and then just moves all of his initial funds into one account so that he beat all the other testers and win the bounty.

So, it can be done. But it is a lot of work and it is not clear if it is worth it compared to just launching and seeing what happens.
Title: Re: Dry Run 12: Call Me Maybe
Post by: tonyk on August 10, 2014, 12:54:12 am
I have several questions, in addition to the one you have yourselves, regarding how useful such test is going to be:

How long this test gonna run? – a day, a week, 2 weeks?

Do you have at least 50 physical humans participating?

Setting outside ‘centralized’ bank? – If this is indeed part of the test, it seems like  waaaaay to much work, for not much benefit.

Even if the test fails – are you not going to try it for real?
Title: Re: Dry Run 12: Call Me Maybe
Post by: bitcoinerS on August 10, 2014, 01:29:50 am
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?

Maybe we can create a small, but 'real' market to test economics?
A Dry Run with a limed issue base coin, something like XTS-M which would be pegged to BTSX (1000:1).
I3 could (sell/buy back) these XTS-M for testers.
Title: Re: Dry Run 12: Call Me Maybe
Post by: bytemaster on August 10, 2014, 01:44:01 am
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?

Maybe we can create a small, but 'real' market to test economics?
A Dry Run with a limed issue base coin, something like XTS-M which would be pegged to BTSX (1000:1).
I3 could (sell/buy back) these XTS-M for testers.

If the economics don't work there is little we can do with the mechanics to fix it.   I see no point in testing the economics because BTSX is in itself a giant experiment just like BTC.   
Title: Re: Dry Run 12: Call Me Maybe
Post by: Riverhead on August 10, 2014, 02:00:21 am
Agreed. Will be fun to watch it all unfold and grow. Release the hounds (once we know it's mechanically sound)!  :D
Title: Re: Dry Run 12: Call Me Maybe
Post by: sfinder on August 10, 2014, 02:08:37 am
FYI.
bm, following are all loaded questions. Better to skip

I have several questions, in addition to the one you have yourselves, regarding how useful such test is going to be:

How long this test gonna run? – a day, a week, 2 weeks?

Do you have at least 50 physical humans participating?

Setting outside ‘centralized’ bank? – If this is indeed part of the test, it seems like  waaaaay to much work, for not much benefit.

Even if the test fails – are you not going to try it for real?
Title: Re: Dry Run 12: Call Me Maybe
Post by: alt on August 10, 2014, 08:17:01 am
order can't match ...
the bid depth only include short order, right?

Code: [Select]
test (unlocked) >>> blockchain_market_order_book USD XTS
                  BIDS (* Short Order)                                       |                                   ASKS                                 
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATE
RAL
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
109.0000 USD              12,111.11112 XTS         0.0089999999999999993 USD*| 0.0089999999999999993 USD           146,667.00000 XTS            1,320.0030 USD
99.9999 USD               11,111.11111 XTS         0.0089999999999999993 USD*| 0.01 USD                            128,685.97360 XTS            1,286.8597 USD
999.9999 USD              111,111.11111 XTS        0.0089999999999999993 USD*| 0.010999999999999999 USD              1,818.18181 XTS               19.9999 USD
9.9999 USD                1,111.11111 XTS          0.0089999999999999993 USD*| 0.010999999999999999 USD              1,818.18181 XTS               19.9999 USD
99.9999 USD               11,111.11111 XTS         0.0089999999999999993 USD*| 0.010999999999999999 USD                 20.00000 XTS                0.2200 USD
590.0000 USD              100,000.00000 XTS        0.0058999999999999999 USD | 0.012 USD                            14,000.00000 XTS              168.0000 USD
295.0000 USD              50,000.00000 XTS         0.0058999999999999999 USD | 0.098000000000000004 USD              5,000.00000 XTS              490.0000 USD
0.0059 USD                1.00000 XTS              0.0058999999999999999 USD | 0.10000000000000001 USD               1,000.00000 XTS              100.0000 USD
10.0000 USD               2,500.00000 XTS          0.0040000000000000001 USD*| 0.5 USD                                 600.00000 XTS              300.0000 USD
899.9999 USD              1,285,714.28571 XTS     0.00069999999999999002 USD*| 0.80000000000000004 USD                 200.00000 XTS              160.0000 USD
399.9999 USD              666,666.66666 XTS       0.00059999999999998997 USD*| 1 USD                                   100.00000 XTS              100.0000 USD
                                                                             | 1.1000000000000001 USD                   60.00000 XTS               66.0000 USD
                                                                             | 1.5 USD                              60,000.00000 XTS           90,000.0000 USD
                                                                             | 1.5 USD                             600,000.00000 XTS          900,000.0000 USD
                                                                             | 15 USD                              300,000.00000 XTS        4,500,000.0000 USD
                                                                             | 500 USD                                  10.00000 XTS            5,000.0000 USD
                                                                             | 1000 USD                            100,000.00000 XTS      100,000,000.0000 USD
---------------------------------
Median Feed Price: 0.0088 USD / XTS     Maximum Short Price: 0.01173333333333333 USD / XTS     Minimum Cover Price: 0.00586666666666666 USD / XTS
Bid Depth: 2,101,436.50793 XTS     Ask Depth: 3,155,162.25400 XTS     Min Depth: 2,000,000.00000 XTS
Last Error:  insufficient depth (37005)


Details:
37005 insufficient_depth: insufficient depth

    {"reason":"After executing orders there was insufficient depth remaining","market_stat":{"quote_id":22,"base_id":0,"bid_depth":195488095237,"ask_depth":330171780956,"avg_price_24h":{"ratio":"0.000903014461335713","quote_asset_id":22,"base_asset_id":0},"last_error":null},"(((1000*1000*int64_t(1000)*1000*int64_t(1000)) / 5)/1000)":200000000000}
    th_a  chain_database.cpp:414 execute
Title: Re: Dry Run 12: Call Me Maybe
Post by: alt on August 10, 2014, 09:50:36 am
why don't you call me? ......
Code: [Select]
test (unlocked) >>> blockchain_market_order_book USD XTS
                  BIDS (* Short Order)                                       |                                   ASKS                                 
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATE
RAL
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
1,599.9995 USD            262,295.00000 XTS        0.0061000000000000004 USD | 0.0089999999999999993 USD               111.44444 XTS                1.0029 USD
10.0000 USD               2,500.00000 XTS          0.0040000000000000001 USD*| 0.01 USD                            128,685.97360 XTS            1,286.8597 USD
1,460.0000 USD            1,825,000.00000 XTS     0.00080000000000000004 USD | 0.010999999999999999 USD              1,818.18181 XTS               19.9999 USD
........
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
                                                                             |                                   MARGIN                                 
                                                                             | CALL PRICE                                   QUANTITY                     TOTAL   COLLATE
RAL
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
                                                                             | 0.0077999999978333699 USD            27,692.80770 XTS              216.0039 USD   36,923.
74360 XTS
                                                                             | 0.00779999948031199 USD             192,307.69230 XTS            1,499.9999 USD   256,410
.25640 XTS
                                                                             | 0.0077999993932504896 USD           164,614.88460 XTS            1,283.9960 USD   219,486
......
Median Feed Price: 0.009 USD / XTS     Maximum Short Price: 0.012 USD / XTS     Minimum Cover Price: 0.006 USD / XTS
Bid Depth: 2,138,985.58012 XTS     Ask Depth: 3,301,717.80956 XTS     Min Depth: 2,000,000.00000 XTS
Last Error:  insufficient collateral (37004)



Details:
37004 insufficient_collateral: insufficient collateral

    {"_current_bid":{"type":"short_order","market_index":{"order_price":{"ratio":"0.0004","quote_asset_id":22,"base_asset_id":0},"owner":"XTS9k7n6XpYABEhyEVZUv4absBw8y3Zqgpbo"},"state":{"balance":250000000},"collateral":null},"cover_ask":{"type":"cover_order","market_index":{"order_price":{"ratio":"0.000779999939325049","quote_asset_id":22,"base_asset_id":0},"owner":"XTS5s3Zm33dyMZEwUcKrw92LStxMFYV7aS9R"},"state":{"balance":12839960},"collateral":21948651280},"cover_ask.get_highest_cover_price()":{"ratio":"0.000584999954493787","quote_asset_id":22,"base_asset_id":0}}
    th_a  chain_database.cpp:665 get_next_ask

    {}
    th_a  chain_database.cpp:700 get_next_ask
two questions :
1. the first bid price should be  0.0061, why the error message is 0.0004?
2. in the error message, the bid price 0.004 become 0.0004, the cover price 0.00779 become 0.000779
Title: Re: Dry Run 12: Call Me Maybe
Post by: taoljj on August 10, 2014, 09:56:51 am
Only short, I think so.


order can't match ...
the bid depth only include short order, right?

Code: [Select]
test (unlocked) >>> blockchain_market_order_book USD XTS
                  BIDS (* Short Order)                                       |                                   ASKS                                 
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATE
RAL
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
109.0000 USD              12,111.11112 XTS         0.0089999999999999993 USD*| 0.0089999999999999993 USD           146,667.00000 XTS            1,320.0030 USD
99.9999 USD               11,111.11111 XTS         0.0089999999999999993 USD*| 0.01 USD                            128,685.97360 XTS            1,286.8597 USD
999.9999 USD              111,111.11111 XTS        0.0089999999999999993 USD*| 0.010999999999999999 USD              1,818.18181 XTS               19.9999 USD
9.9999 USD                1,111.11111 XTS          0.0089999999999999993 USD*| 0.010999999999999999 USD              1,818.18181 XTS               19.9999 USD
99.9999 USD               11,111.11111 XTS         0.0089999999999999993 USD*| 0.010999999999999999 USD                 20.00000 XTS                0.2200 USD
590.0000 USD              100,000.00000 XTS        0.0058999999999999999 USD | 0.012 USD                            14,000.00000 XTS              168.0000 USD
295.0000 USD              50,000.00000 XTS         0.0058999999999999999 USD | 0.098000000000000004 USD              5,000.00000 XTS              490.0000 USD
0.0059 USD                1.00000 XTS              0.0058999999999999999 USD | 0.10000000000000001 USD               1,000.00000 XTS              100.0000 USD
10.0000 USD               2,500.00000 XTS          0.0040000000000000001 USD*| 0.5 USD                                 600.00000 XTS              300.0000 USD
899.9999 USD              1,285,714.28571 XTS     0.00069999999999999002 USD*| 0.80000000000000004 USD                 200.00000 XTS              160.0000 USD
399.9999 USD              666,666.66666 XTS       0.00059999999999998997 USD*| 1 USD                                   100.00000 XTS              100.0000 USD
                                                                             | 1.1000000000000001 USD                   60.00000 XTS               66.0000 USD
                                                                             | 1.5 USD                              60,000.00000 XTS           90,000.0000 USD
                                                                             | 1.5 USD                             600,000.00000 XTS          900,000.0000 USD
                                                                             | 15 USD                              300,000.00000 XTS        4,500,000.0000 USD
                                                                             | 500 USD                                  10.00000 XTS            5,000.0000 USD
                                                                             | 1000 USD                            100,000.00000 XTS      100,000,000.0000 USD
---------------------------------
Median Feed Price: 0.0088 USD / XTS     Maximum Short Price: 0.01173333333333333 USD / XTS     Minimum Cover Price: 0.00586666666666666 USD / XTS
Bid Depth: 2,101,436.50793 XTS     Ask Depth: 3,155,162.25400 XTS     Min Depth: 2,000,000.00000 XTS
Last Error:  insufficient depth (37005)


Details:
37005 insufficient_depth: insufficient depth

    {"reason":"After executing orders there was insufficient depth remaining","market_stat":{"quote_id":22,"base_id":0,"bid_depth":195488095237,"ask_depth":330171780956,"avg_price_24h":{"ratio":"0.000903014461335713","quote_asset_id":22,"base_asset_id":0},"last_error":null},"(((1000*1000*int64_t(1000)*1000*int64_t(1000)) / 5)/1000)":200000000000}
    th_a  chain_database.cpp:414 execute
Title: Re: Dry Run 12: Call Me Maybe
Post by: Riverhead on August 10, 2014, 10:01:37 am
Maybe that's why my order isn't going through.  Though I can't seem to cancel it either.

Code: [Select]
wallet_market_order_list USD XTS
TYPE        QUANTITY            PRICE                         BALANCE             COST                COLLATERAL          ID                                 
================================================================================================================================
ask_order   1,000.00000 XTS     0.1 USD / XTS                 1,000.00000 XTS     100.0000 USD        N/A                 XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx
cover_order 750.00000 XTS       0.00666666666666666 USD / XTS 5.0000 USD          4.9999 USD          1,000.00000 XTS     XTSBZPJww7ubo92wEtewUW4TDPdYEktNTUwW
riverheadtest (unlocked) >>> wallet_market_cancel_order XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx
20011 unknown_market_order: unknown market order

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

    {"owner_address":"XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx"}
    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
Title: Re: Dry Run 12: Call Me Maybe
Post by: taoljj on August 10, 2014, 10:09:14 am
Me too,bid 1 0.0078,bid 2 0.0077,bid 4 0.0060 are mine, but no cover call me.

why don't you call me? ......
Code: [Select]
test (unlocked) >>> blockchain_market_order_book USD XTS
                  BIDS (* Short Order)                                       |                                   ASKS                                 
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATE
RAL
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
1,599.9995 USD            262,295.00000 XTS        0.0061000000000000004 USD | 0.0089999999999999993 USD               111.44444 XTS                1.0029 USD
10.0000 USD               2,500.00000 XTS          0.0040000000000000001 USD*| 0.01 USD                            128,685.97360 XTS            1,286.8597 USD
1,460.0000 USD            1,825,000.00000 XTS     0.00080000000000000004 USD | 0.010999999999999999 USD              1,818.18181 XTS               19.9999 USD
........
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
                                                                             |                                   MARGIN                                 
                                                                             | CALL PRICE                                   QUANTITY                     TOTAL   COLLATE
RAL
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
                                                                             | 0.0077999999978333699 USD            27,692.80770 XTS              216.0039 USD   36,923.
74360 XTS
                                                                             | 0.00779999948031199 USD             192,307.69230 XTS            1,499.9999 USD   256,410
.25640 XTS
                                                                             | 0.0077999993932504896 USD           164,614.88460 XTS            1,283.9960 USD   219,486
......
Median Feed Price: 0.009 USD / XTS     Maximum Short Price: 0.012 USD / XTS     Minimum Cover Price: 0.006 USD / XTS
Bid Depth: 2,138,985.58012 XTS     Ask Depth: 3,301,717.80956 XTS     Min Depth: 2,000,000.00000 XTS
Last Error:  insufficient collateral (37004)



Details:
37004 insufficient_collateral: insufficient collateral

    {"_current_bid":{"type":"short_order","market_index":{"order_price":{"ratio":"0.0004","quote_asset_id":22,"base_asset_id":0},"owner":"XTS9k7n6XpYABEhyEVZUv4absBw8y3Zqgpbo"},"state":{"balance":250000000},"collateral":null},"cover_ask":{"type":"cover_order","market_index":{"order_price":{"ratio":"0.000779999939325049","quote_asset_id":22,"base_asset_id":0},"owner":"XTS5s3Zm33dyMZEwUcKrw92LStxMFYV7aS9R"},"state":{"balance":12839960},"collateral":21948651280},"cover_ask.get_highest_cover_price()":{"ratio":"0.000584999954493787","quote_asset_id":22,"base_asset_id":0}}
    th_a  chain_database.cpp:665 get_next_ask

    {}
    th_a  chain_database.cpp:700 get_next_ask
Title: Re: Dry Run 12: Call Me Maybe
Post by: toast on August 10, 2014, 04:00:51 pm
You can read the details:

Code: [Select]
Details:
37004 insufficient_collateral: insufficient collateral

Someone needs to enter bids at around 0.0055 or higher
Title: Re: Dry Run 12: Call Me Maybe
Post by: alt on August 10, 2014, 04:12:19 pm
You can read the details:

Code: [Select]
Details:
37004 insufficient_collateral: insufficient collateral

Someone needs to enter bids at around 0.0055 or higher
but the first  bid is 0.0061
Title: Re: Dry Run 12: Call Me Maybe
Post by: toast on August 10, 2014, 04:50:26 pm
You can read the details:

Code: [Select]
Details:
37004 insufficient_collateral: insufficient collateral

Someone needs to enter bids at around 0.0055 or higher
but the first  bid is 0.0061

But all 3 of the current covers need to be filled, first bid is not enough
Title: Re: Dry Run 12: Call Me Maybe
Post by: alt on August 10, 2014, 11:40:44 pm
You can read the details:

Code: [Select]
Details:
37004 insufficient_collateral: insufficient collateral

Someone needs to enter bids at around 0.0055 or higher
but the first  bid is 0.0061

But all 3 of the current covers need to be filled, first bid is not enough
I don't know if it's the best way.
I prefer to fill the first cover. If can't try second, then third ....
After all these cover position checked, execute bid(short) order and ask order normally.

and I am thinking, If there is a suddenly price fall(In fact this had happened in BTC), many covers can't be filled.  the marketing function will freeze, never execute until price come back? This is very weired
Title: Re: Dry Run 12: Call Me Maybe
Post by: alt on August 10, 2014, 11:49:25 pm
this is not reasonable. at  the short order, the amount of XTS can be very higher with a very low short price.
so this depth check is meaningless. If really want to check, should check the amount of bitUSD > (depth of XTS) * feed price

And I don't  get the reason for market depth limit. because we have a feed price now.
without the market depth limit, how to attack the system?

order can't match ...
the bid depth only include short order, right?

Code: [Select]
test (unlocked) >>> blockchain_market_order_book USD XTS
                  BIDS (* Short Order)                                       |                                   ASKS                                 
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATE
RAL
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
109.0000 USD              12,111.11112 XTS         0.0089999999999999993 USD*| 0.0089999999999999993 USD           146,667.00000 XTS            1,320.0030 USD
99.9999 USD               11,111.11111 XTS         0.0089999999999999993 USD*| 0.01 USD                            128,685.97360 XTS            1,286.8597 USD
999.9999 USD              111,111.11111 XTS        0.0089999999999999993 USD*| 0.010999999999999999 USD              1,818.18181 XTS               19.9999 USD
9.9999 USD                1,111.11111 XTS          0.0089999999999999993 USD*| 0.010999999999999999 USD              1,818.18181 XTS               19.9999 USD
99.9999 USD               11,111.11111 XTS         0.0089999999999999993 USD*| 0.010999999999999999 USD                 20.00000 XTS                0.2200 USD
590.0000 USD              100,000.00000 XTS        0.0058999999999999999 USD | 0.012 USD                            14,000.00000 XTS              168.0000 USD
295.0000 USD              50,000.00000 XTS         0.0058999999999999999 USD | 0.098000000000000004 USD              5,000.00000 XTS              490.0000 USD
0.0059 USD                1.00000 XTS              0.0058999999999999999 USD | 0.10000000000000001 USD               1,000.00000 XTS              100.0000 USD
10.0000 USD               2,500.00000 XTS          0.0040000000000000001 USD*| 0.5 USD                                 600.00000 XTS              300.0000 USD
899.9999 USD              1,285,714.28571 XTS     0.00069999999999999002 USD*| 0.80000000000000004 USD                 200.00000 XTS              160.0000 USD
399.9999 USD              666,666.66666 XTS       0.00059999999999998997 USD*| 1 USD                                   100.00000 XTS              100.0000 USD
                                                                             | 1.1000000000000001 USD                   60.00000 XTS               66.0000 USD
                                                                             | 1.5 USD                              60,000.00000 XTS           90,000.0000 USD
                                                                             | 1.5 USD                             600,000.00000 XTS          900,000.0000 USD
                                                                             | 15 USD                              300,000.00000 XTS        4,500,000.0000 USD
                                                                             | 500 USD                                  10.00000 XTS            5,000.0000 USD
                                                                             | 1000 USD                            100,000.00000 XTS      100,000,000.0000 USD
---------------------------------
Median Feed Price: 0.0088 USD / XTS     Maximum Short Price: 0.01173333333333333 USD / XTS     Minimum Cover Price: 0.00586666666666666 USD / XTS
Bid Depth: 2,101,436.50793 XTS     Ask Depth: 3,155,162.25400 XTS     Min Depth: 2,000,000.00000 XTS
Last Error:  insufficient depth (37005)


Details:
37005 insufficient_depth: insufficient depth

    {"reason":"After executing orders there was insufficient depth remaining","market_stat":{"quote_id":22,"base_id":0,"bid_depth":195488095237,"ask_depth":330171780956,"avg_price_24h":{"ratio":"0.000903014461335713","quote_asset_id":22,"base_asset_id":0},"last_error":null},"(((1000*1000*int64_t(1000)*1000*int64_t(1000)) / 5)/1000)":200000000000}
    th_a  chain_database.cpp:414 execute
Title: Re: Dry Run 12: Call Me Maybe
Post by: merockstar on August 11, 2014, 03:02:58 am
https://www.youtube.com/watch?v=Wb_Xt8Nyijc
Title: Re: Dry Run 12: Call Me Maybe
Post by: bytemaster on August 11, 2014, 02:03:13 pm
this is not reasonable. at  the short order, the amount of XTS can be very higher with a very low short price.
so this depth check is meaningless. If really want to check, should check the amount of bitUSD > (depth of XTS) * feed price

And I don't  get the reason for market depth limit. because we have a feed price now.
without the market depth limit, how to attack the system?

order can't match ...
the bid depth only include short order, right?

Code: [Select]
test (unlocked) >>> blockchain_market_order_book USD XTS
                  BIDS (* Short Order)                                       |                                   ASKS                                 
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATE
RAL
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
109.0000 USD              12,111.11112 XTS         0.0089999999999999993 USD*| 0.0089999999999999993 USD           146,667.00000 XTS            1,320.0030 USD
99.9999 USD               11,111.11111 XTS         0.0089999999999999993 USD*| 0.01 USD                            128,685.97360 XTS            1,286.8597 USD
999.9999 USD              111,111.11111 XTS        0.0089999999999999993 USD*| 0.010999999999999999 USD              1,818.18181 XTS               19.9999 USD
9.9999 USD                1,111.11111 XTS          0.0089999999999999993 USD*| 0.010999999999999999 USD              1,818.18181 XTS               19.9999 USD
99.9999 USD               11,111.11111 XTS         0.0089999999999999993 USD*| 0.010999999999999999 USD                 20.00000 XTS                0.2200 USD
590.0000 USD              100,000.00000 XTS        0.0058999999999999999 USD | 0.012 USD                            14,000.00000 XTS              168.0000 USD
295.0000 USD              50,000.00000 XTS         0.0058999999999999999 USD | 0.098000000000000004 USD              5,000.00000 XTS              490.0000 USD
0.0059 USD                1.00000 XTS              0.0058999999999999999 USD | 0.10000000000000001 USD               1,000.00000 XTS              100.0000 USD
10.0000 USD               2,500.00000 XTS          0.0040000000000000001 USD*| 0.5 USD                                 600.00000 XTS              300.0000 USD
899.9999 USD              1,285,714.28571 XTS     0.00069999999999999002 USD*| 0.80000000000000004 USD                 200.00000 XTS              160.0000 USD
399.9999 USD              666,666.66666 XTS       0.00059999999999998997 USD*| 1 USD                                   100.00000 XTS              100.0000 USD
                                                                             | 1.1000000000000001 USD                   60.00000 XTS               66.0000 USD
                                                                             | 1.5 USD                              60,000.00000 XTS           90,000.0000 USD
                                                                             | 1.5 USD                             600,000.00000 XTS          900,000.0000 USD
                                                                             | 15 USD                              300,000.00000 XTS        4,500,000.0000 USD
                                                                             | 500 USD                                  10.00000 XTS            5,000.0000 USD
                                                                             | 1000 USD                            100,000.00000 XTS      100,000,000.0000 USD
---------------------------------
Median Feed Price: 0.0088 USD / XTS     Maximum Short Price: 0.01173333333333333 USD / XTS     Minimum Cover Price: 0.00586666666666666 USD / XTS
Bid Depth: 2,101,436.50793 XTS     Ask Depth: 3,155,162.25400 XTS     Min Depth: 2,000,000.00000 XTS
Last Error:  insufficient depth (37005)


Details:
37005 insufficient_depth: insufficient depth

    {"reason":"After executing orders there was insufficient depth remaining","market_stat":{"quote_id":22,"base_id":0,"bid_depth":195488095237,"ask_depth":330171780956,"avg_price_24h":{"ratio":"0.000903014461335713","quote_asset_id":22,"base_asset_id":0},"last_error":null},"(((1000*1000*int64_t(1000)*1000*int64_t(1000)) / 5)/1000)":200000000000}
    th_a  chain_database.cpp:414 execute

The depth limit keeps the price closer to reality and is effectively a more accurate "price feed" than the ones from the delegates.   The price feed is not meant to be a long-term solution. 
Title: Re: Dry Run 12: Call Me Maybe
Post by: tonyk on August 11, 2014, 03:18:01 pm
Can somebody send me some funds, please. Thanks.

XTS7ANJ2jYfjfFnWC6Yo4TLqGfaKXytSn7m9yaAWtDFnswKaXpQch
Title: Re: Dry Run 12: Call Me Maybe
Post by: bytemaster on August 11, 2014, 03:21:20 pm
Can somebody send me some funds, please. Thanks.

XTS7ANJ2jYfjfFnWC6Yo4TLqGfaKXytSn7m9yaAWtDFnswKaXpQch

Sent
Title: Re: Dry Run 12: Call Me Maybe
Post by: tonyk on August 11, 2014, 03:27:35 pm
Thanks 1000 received.
Title: Re: Dry Run 12: Call Me Maybe
Post by: Riverhead on August 11, 2014, 03:28:27 pm
Can't cancel order. Is there a business reason for this or is it a bug?


Code: [Select]
riverheadtest (unlocked) >>> wallet_market_order_list
base_symbol: USD
quote_symbol: XTS
TYPE        QUANTITY            PRICE                         BALANCE             COST                COLLATERAL          ID                                 
================================================================================================================================
ask_order   1,000.00000 XTS     0.1 USD / XTS                 1,000.00000 XTS     100.0000 USD        N/A                 XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx
riverheadtest (unlocked) >>> wallet_market_cancel_order XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx
20011 unknown_market_order: unknown market order


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


    {"owner_address":"XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx"}
    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
Title: Re: Dry Run 12: Call Me Maybe
Post by: bytemaster on August 11, 2014, 03:40:22 pm
Can't cancel order. Is there a business reason for this or is it a bug?


Code: [Select]
riverheadtest (unlocked) >>> wallet_market_order_list
base_symbol: USD
quote_symbol: XTS
TYPE        QUANTITY            PRICE                         BALANCE             COST                COLLATERAL          ID                                 
================================================================================================================================
ask_order   1,000.00000 XTS     0.1 USD / XTS                 1,000.00000 XTS     100.0000 USD        N/A                 XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx
riverheadtest (unlocked) >>> wallet_market_cancel_order XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx
20011 unknown_market_order: unknown market order


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


    {"owner_address":"XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx"}
    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

Did the order get executed?
Title: Re: Dry Run 12: Call Me Maybe
Post by: Riverhead on August 11, 2014, 04:02:44 pm
I don't think so:


In blockchain_market_list_asks:

ask_order   1,000.00000 XTS     0.1 USD / XTS                 1,000.00000 XTS     100.0000 USD        N/A                 XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx

Title: Re: Dry Run 12: Call Me Maybe
Post by: bytemaster on August 11, 2014, 04:17:49 pm
I don't think so:


In blockchain_market_list_asks:

ask_order   1,000.00000 XTS     0.1 USD / XTS                 1,000.00000 XTS     100.0000 USD        N/A                 XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx

Looks like a bug in the wallet...
Title: Re: Dry Run 12: Call Me Maybe
Post by: maqifrnswa on August 11, 2014, 05:00:14 pm
I don't think so:


In blockchain_market_list_asks:

ask_order   1,000.00000 XTS     0.1 USD / XTS                 1,000.00000 XTS     100.0000 USD        N/A                 XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx

Looks like a bug in the wallet...

I've somehow been hit lots of bugs, I couldn't do any real testing.
1) All my orders short are marked as "expired," but I think they were actually executed since I saw them in the Margins list. Neither XTS nor USD showed up back in my account after they were executed or expired:
Code: [Select]
>>> wallet_account_transaction_history
 RECEIVED            BLOCK     FROM                TO                  AMOUNT                  MEMO                                        FEE                 ID     
========================================================================================================================================================================
|2014-07-17T00:00:06 0         GENESIS             maqifrnswa          60,525.43383 XTS        claim Ppf3WEcqakR7CarJWYQ41D5H7UWZKTz5vd    0.00000 XTS         [5afce1]|
|                              GENESIS             maqifrnswa          247.73200 XTS           claim Pn5cHQPYxzJAso16hpvCCSjj7HEnuccJbs                                |
|                              GENESIS             maqifrnswa          5,958.39818 XTS         claim 1DXCqXn8M7VJ7c1K5H5qhMSkZKkpSesQ8o                                |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 2014-08-09T13:59:35 5485      maqifrnswa          maqifrnswa          0.00000 XTS             register maqifrnswa as a delegate           0.11525 XTS         11a1426e
 2014-08-09T14:03:06 5503      maqifrnswa          maqifrnswa          66,700.00000 XTS                                                    0.10000 XTS         62df82ab
 2014-08-09T22:03:27 8316      maqifrnswa          ASK-Eb6YL3Da        200.00000 XTS           sell XTS @ 0.8 USD / XTS                    0.10000 XTS         f4f14494
 2014-08-10T03:33:53 10271     maqifrnswa          maqifrnswa          25.00000 XTS            payday                                      0.10000 XTS         b9430368
 2014-08-09T14:12:29 EXPIRED   maqifrnswa          maqifrnswa          0.00000 XTS             publish price 0.0089 USD / XTS              0.10000 XTS         8086563d
 2014-08-09T16:28:22 EXPIRED   maqifrnswa          maqifrnswa          0.00000 XTS             publish price 0.0089 USD / XTS              0.10000 XTS         3bbba831
 2014-08-09T18:05:12 EXPIRED   maqifrnswa          SHORT-52EbKeU2      20,000.00000 XTS        short USD @ 0.001 USD / XTS                 0.10000 XTS         8665298f
 2014-08-09T18:09:57 EXPIRED   maqifrnswa          SHORT-FdvENaSr      20,000.00000 XTS        short USD @ 0.001 USD / XTS                 0.10000 XTS         9d9439b6
 2014-08-09T18:12:08 EXPIRED   maqifrnswa          SHORT-E71n3Gpz      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         02e37e94
 2014-08-09T18:12:30 EXPIRED   maqifrnswa          SHORT-M6Nu8RuU      1,818.18181 XTS         short USD @ 0.011 USD / XTS                 0.10000 XTS         274aa40a
 2014-08-09T18:15:07 EXPIRED   maqifrnswa          SHORT-PqwyGr13      2,000.00000 XTS         short USD @ 0.01 USD / XTS                  0.10000 XTS         3a65cc6f
 2014-08-09T18:15:19 EXPIRED   maqifrnswa          SHORT-GRG2ARbK      2,000.00000 XTS         short USD @ 0.01 USD / XTS                  0.10000 XTS         75c582ac
 2014-08-09T18:19:32 EXPIRED   maqifrnswa          SHORT-AQv4pniC      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         32e5141e
 2014-08-09T20:49:46 EXPIRED   maqifrnswa          SHORT-7toteVvL      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         0396d67a
 2014-08-09T21:13:31 EXPIRED   maqifrnswa          ASK-AAFGJvuW        14,000.00000 XTS        sell XTS @ 0.012 USD / XTS                  0.10000

60,000 XTS are missing:
Code: [Select]
>>> wallet_account_balance maqifrnswa
ACCOUNT                         BALANCE                     
============================================================
maqifrnswa                      70.30029 XTS               
                                4.12144 XTS (pay)

2) I can't cancel any order:
Code: [Select]
>>> 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
--- there are now 9 active connections to the p2p network
--- there are now 10 active connections to the p2p network
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

neither the "expired" shorts nor the pending asks are can be cancelled.

3) After a day, suddenly all of my "expired" short sales, which I did not have access to USD from nor could cover or cancel got called:
Code: [Select]
>>> wallet_account_transaction_history
 RECEIVED            BLOCK     FROM                TO                  AMOUNT                  MEMO                                        FEE                 ID     
========================================================================================================================================================================
|2014-07-17T00:00:06 0         GENESIS             maqifrnswa          60,525.43383 XTS        claim Ppf3WEcqakR7CarJWYQ41D5H7UWZKTz5vd    0.00000 XTS         [5afce1]|
|                              GENESIS             maqifrnswa          247.73200 XTS           claim Pn5cHQPYxzJAso16hpvCCSjj7HEnuccJbs                                |
|                              GENESIS             maqifrnswa          5,958.39818 XTS         claim 1DXCqXn8M7VJ7c1K5H5qhMSkZKkpSesQ8o                                |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 2014-08-09T13:59:35 5485      maqifrnswa          maqifrnswa          0.00000 XTS             register maqifrnswa as a delegate           0.11525 XTS         11a1426e
 2014-08-09T14:03:06 5503      maqifrnswa          maqifrnswa          66,700.00000 XTS                                                    0.10000 XTS         62df82ab
 2014-08-09T22:03:27 8316      maqifrnswa          ASK-Eb6YL3Da        200.00000 XTS           sell XTS @ 0.8 USD / XTS                    0.10000 XTS         f4f14494
 2014-08-10T03:33:53 10271     maqifrnswa          maqifrnswa          25.00000 XTS            payday                                      0.10000 XTS         b9430368
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T12:37:39 18238     COVER-M6Nu8RuU      MARKET              2,857.12857 XTS         sell collateral @ 0.007 USD / XTS           38.96175 XTS        [a4756d]|
|                              MARKET              COVER-M6Nu8RuU      19.9999 USD             payoff debt @ 0.007 USD / XTS                                           |
|                              COVER-M6Nu8RuU      maqifrnswa          740.27325 XTS           cover proceeds - 5% margin call fee                                     |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T12:37:39 18250     COVER-PqwyGr13      MARKET              1.00000 XTS             sell collateral @ 0.006 USD / XTS           0.00000 XTS         [cd9152]|
|                              MARKET              COVER-PqwyGr13      0.0060 USD              payoff debt @ 0.006 USD / XTS                                           |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T12:37:39 18256     COVER-GRG2ARbK      MARKET              3,333.33333 XTS         sell collateral @ 0.006 USD / XTS           33.33333 XTS        [04cfae]|
|                              MARKET              COVER-GRG2ARbK      20.0000 USD             payoff debt @ 0.006 USD / XTS                                           |
|                              COVER-GRG2ARbK      maqifrnswa          633.33327 XTS           cover proceeds - 5% margin call fee                                     |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T12:37:39 18256     COVER-PqwyGr13      MARKET              3,332.33333 XTS         sell collateral @ 0.006 USD / XTS           33.33333 XTS        [8e5589]|
|                              MARKET              COVER-PqwyGr13      19.9940 USD             payoff debt @ 0.006 USD / XTS                                           |
|                              COVER-PqwyGr13      maqifrnswa          633.33327 XTS           cover proceeds - 5% margin call fee                                     |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T13:50:30 22146     ASK-AAFGJvuW        MARKET              1,065.37500 XTS         fill ask @ 0.012 USD / XTS                  0.00000 XTS         [7c5889]|
|                              ASK-AAFGJvuW        maqifrnswa          12.7845 USD             ask proceeds @ 0.012 USD / XTS                                          |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T14:11:10 22265     ASK-AAFGJvuW        MARKET              10,000.00000 XTS        fill ask @ 0.012 USD / XTS                  0.00000 XTS         [f8d1ec]|
|                              ASK-AAFGJvuW        maqifrnswa          120.0000 USD            ask proceeds @ 0.012 USD / XTS                                          |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 2014-08-09T14:12:29 EXPIRED   maqifrnswa          maqifrnswa          0.00000 XTS             publish price 0.0089 USD / XTS              0.10000 XTS         8086563d
 2014-08-09T16:28:22 EXPIRED   maqifrnswa          maqifrnswa          0.00000 XTS             publish price 0.0089 USD / XTS              0.10000 XTS         3bbba831
 2014-08-09T18:05:12 EXPIRED   maqifrnswa          SHORT-52EbKeU2      20,000.00000 XTS        short USD @ 0.001 USD / XTS                 0.10000 XTS         8665298f
 2014-08-09T18:09:57 EXPIRED   maqifrnswa          SHORT-FdvENaSr      20,000.00000 XTS        short USD @ 0.001 USD / XTS                 0.10000 XTS         9d9439b6
 2014-08-09T18:12:08 EXPIRED   maqifrnswa          SHORT-E71n3Gpz      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         02e37e94
 2014-08-09T18:12:30 EXPIRED   maqifrnswa          SHORT-M6Nu8RuU      1,818.18181 XTS         short USD @ 0.011 USD / XTS                 0.10000 XTS         274aa40a
 2014-08-09T18:15:07 EXPIRED   maqifrnswa          SHORT-PqwyGr13      2,000.00000 XTS         short USD @ 0.01 USD / XTS                  0.10000 XTS         3a65cc6f
 2014-08-09T18:15:19 EXPIRED   maqifrnswa          SHORT-GRG2ARbK      2,000.00000 XTS         short USD @ 0.01 USD / XTS                  0.10000 XTS         75c582ac
 2014-08-09T18:19:32 EXPIRED   maqifrnswa          SHORT-AQv4pniC      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         32e5141e
 2014-08-09T20:49:46 EXPIRED   maqifrnswa          SHORT-7toteVvL      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         0396d67a
 2014-08-09T21:13:31 EXPIRED   maqifrnswa          ASK-AAFGJvuW        14,000.00000 XTS        sell XTS @ 0.012 USD / XTS                  0.10000 XTS         7ca9c194

After they were called, I got access to USD in my account, finally:
Code: [Select]
>>> wallet_account_balance maqifrnswa
ACCOUNT                         BALANCE                     
============================================================
maqifrnswa                      132.7845 USD               
                                2,077.24027 XTS             
                                68.17919 XTS (pay)

Maybe this has something to do with making orders before the market was un-frozen?
Title: Re: Dry Run 12: Call Me Maybe
Post by: bytemaster on August 11, 2014, 05:43:22 pm
I am fairly certain your issues are wallet <-> blockchain sync/caching issues.   We are looking into many of these right now.  Thanks for reporting them.

 
Title: Re: Dry Run 12: Call Me Maybe
Post by: ElMato on August 11, 2014, 06:07:18 pm
I don't think so:


In blockchain_market_list_asks:

ask_order   1,000.00000 XTS     0.1 USD / XTS                 1,000.00000 XTS     100.0000 USD        N/A                 XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx

Looks like a bug in the wallet...

I've somehow been hit lots of bugs, I couldn't do any real testing.
1) All my orders short are marked as "expired," but I think they were actually executed since I saw them in the Margins list. Neither XTS nor USD showed up back in my account after they were executed or expired:
Code: [Select]
>>> wallet_account_transaction_history
 RECEIVED            BLOCK     FROM                TO                  AMOUNT                  MEMO                                        FEE                 ID     
========================================================================================================================================================================
|2014-07-17T00:00:06 0         GENESIS             maqifrnswa          60,525.43383 XTS        claim Ppf3WEcqakR7CarJWYQ41D5H7UWZKTz5vd    0.00000 XTS         [5afce1]|
|                              GENESIS             maqifrnswa          247.73200 XTS           claim Pn5cHQPYxzJAso16hpvCCSjj7HEnuccJbs                                |
|                              GENESIS             maqifrnswa          5,958.39818 XTS         claim 1DXCqXn8M7VJ7c1K5H5qhMSkZKkpSesQ8o                                |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 2014-08-09T13:59:35 5485      maqifrnswa          maqifrnswa          0.00000 XTS             register maqifrnswa as a delegate           0.11525 XTS         11a1426e
 2014-08-09T14:03:06 5503      maqifrnswa          maqifrnswa          66,700.00000 XTS                                                    0.10000 XTS         62df82ab
 2014-08-09T22:03:27 8316      maqifrnswa          ASK-Eb6YL3Da        200.00000 XTS           sell XTS @ 0.8 USD / XTS                    0.10000 XTS         f4f14494
 2014-08-10T03:33:53 10271     maqifrnswa          maqifrnswa          25.00000 XTS            payday                                      0.10000 XTS         b9430368
 2014-08-09T14:12:29 EXPIRED   maqifrnswa          maqifrnswa          0.00000 XTS             publish price 0.0089 USD / XTS              0.10000 XTS         8086563d
 2014-08-09T16:28:22 EXPIRED   maqifrnswa          maqifrnswa          0.00000 XTS             publish price 0.0089 USD / XTS              0.10000 XTS         3bbba831
 2014-08-09T18:05:12 EXPIRED   maqifrnswa          SHORT-52EbKeU2      20,000.00000 XTS        short USD @ 0.001 USD / XTS                 0.10000 XTS         8665298f
 2014-08-09T18:09:57 EXPIRED   maqifrnswa          SHORT-FdvENaSr      20,000.00000 XTS        short USD @ 0.001 USD / XTS                 0.10000 XTS         9d9439b6
 2014-08-09T18:12:08 EXPIRED   maqifrnswa          SHORT-E71n3Gpz      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         02e37e94
 2014-08-09T18:12:30 EXPIRED   maqifrnswa          SHORT-M6Nu8RuU      1,818.18181 XTS         short USD @ 0.011 USD / XTS                 0.10000 XTS         274aa40a
 2014-08-09T18:15:07 EXPIRED   maqifrnswa          SHORT-PqwyGr13      2,000.00000 XTS         short USD @ 0.01 USD / XTS                  0.10000 XTS         3a65cc6f
 2014-08-09T18:15:19 EXPIRED   maqifrnswa          SHORT-GRG2ARbK      2,000.00000 XTS         short USD @ 0.01 USD / XTS                  0.10000 XTS         75c582ac
 2014-08-09T18:19:32 EXPIRED   maqifrnswa          SHORT-AQv4pniC      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         32e5141e
 2014-08-09T20:49:46 EXPIRED   maqifrnswa          SHORT-7toteVvL      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         0396d67a
 2014-08-09T21:13:31 EXPIRED   maqifrnswa          ASK-AAFGJvuW        14,000.00000 XTS        sell XTS @ 0.012 USD / XTS                  0.10000

60,000 XTS are missing:
Code: [Select]
>>> wallet_account_balance maqifrnswa
ACCOUNT                         BALANCE                     
============================================================
maqifrnswa                      70.30029 XTS               
                                4.12144 XTS (pay)

2) I can't cancel any order:
Code: [Select]
>>> 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
--- there are now 9 active connections to the p2p network
--- there are now 10 active connections to the p2p network
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

neither the "expired" shorts nor the pending asks are can be cancelled.

3) After a day, suddenly all of my "expired" short sales, which I did not have access to USD from nor could cover or cancel got called:
Code: [Select]
>>> wallet_account_transaction_history
 RECEIVED            BLOCK     FROM                TO                  AMOUNT                  MEMO                                        FEE                 ID     
========================================================================================================================================================================
|2014-07-17T00:00:06 0         GENESIS             maqifrnswa          60,525.43383 XTS        claim Ppf3WEcqakR7CarJWYQ41D5H7UWZKTz5vd    0.00000 XTS         [5afce1]|
|                              GENESIS             maqifrnswa          247.73200 XTS           claim Pn5cHQPYxzJAso16hpvCCSjj7HEnuccJbs                                |
|                              GENESIS             maqifrnswa          5,958.39818 XTS         claim 1DXCqXn8M7VJ7c1K5H5qhMSkZKkpSesQ8o                                |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 2014-08-09T13:59:35 5485      maqifrnswa          maqifrnswa          0.00000 XTS             register maqifrnswa as a delegate           0.11525 XTS         11a1426e
 2014-08-09T14:03:06 5503      maqifrnswa          maqifrnswa          66,700.00000 XTS                                                    0.10000 XTS         62df82ab
 2014-08-09T22:03:27 8316      maqifrnswa          ASK-Eb6YL3Da        200.00000 XTS           sell XTS @ 0.8 USD / XTS                    0.10000 XTS         f4f14494
 2014-08-10T03:33:53 10271     maqifrnswa          maqifrnswa          25.00000 XTS            payday                                      0.10000 XTS         b9430368
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T12:37:39 18238     COVER-M6Nu8RuU      MARKET              2,857.12857 XTS         sell collateral @ 0.007 USD / XTS           38.96175 XTS        [a4756d]|
|                              MARKET              COVER-M6Nu8RuU      19.9999 USD             payoff debt @ 0.007 USD / XTS                                           |
|                              COVER-M6Nu8RuU      maqifrnswa          740.27325 XTS           cover proceeds - 5% margin call fee                                     |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T12:37:39 18250     COVER-PqwyGr13      MARKET              1.00000 XTS             sell collateral @ 0.006 USD / XTS           0.00000 XTS         [cd9152]|
|                              MARKET              COVER-PqwyGr13      0.0060 USD              payoff debt @ 0.006 USD / XTS                                           |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T12:37:39 18256     COVER-GRG2ARbK      MARKET              3,333.33333 XTS         sell collateral @ 0.006 USD / XTS           33.33333 XTS        [04cfae]|
|                              MARKET              COVER-GRG2ARbK      20.0000 USD             payoff debt @ 0.006 USD / XTS                                           |
|                              COVER-GRG2ARbK      maqifrnswa          633.33327 XTS           cover proceeds - 5% margin call fee                                     |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T12:37:39 18256     COVER-PqwyGr13      MARKET              3,332.33333 XTS         sell collateral @ 0.006 USD / XTS           33.33333 XTS        [8e5589]|
|                              MARKET              COVER-PqwyGr13      19.9940 USD             payoff debt @ 0.006 USD / XTS                                           |
|                              COVER-PqwyGr13      maqifrnswa          633.33327 XTS           cover proceeds - 5% margin call fee                                     |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T13:50:30 22146     ASK-AAFGJvuW        MARKET              1,065.37500 XTS         fill ask @ 0.012 USD / XTS                  0.00000 XTS         [7c5889]|
|                              ASK-AAFGJvuW        maqifrnswa          12.7845 USD             ask proceeds @ 0.012 USD / XTS                                          |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T14:11:10 22265     ASK-AAFGJvuW        MARKET              10,000.00000 XTS        fill ask @ 0.012 USD / XTS                  0.00000 XTS         [f8d1ec]|
|                              ASK-AAFGJvuW        maqifrnswa          120.0000 USD            ask proceeds @ 0.012 USD / XTS                                          |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 2014-08-09T14:12:29 EXPIRED   maqifrnswa          maqifrnswa          0.00000 XTS             publish price 0.0089 USD / XTS              0.10000 XTS         8086563d
 2014-08-09T16:28:22 EXPIRED   maqifrnswa          maqifrnswa          0.00000 XTS             publish price 0.0089 USD / XTS              0.10000 XTS         3bbba831
 2014-08-09T18:05:12 EXPIRED   maqifrnswa          SHORT-52EbKeU2      20,000.00000 XTS        short USD @ 0.001 USD / XTS                 0.10000 XTS         8665298f
 2014-08-09T18:09:57 EXPIRED   maqifrnswa          SHORT-FdvENaSr      20,000.00000 XTS        short USD @ 0.001 USD / XTS                 0.10000 XTS         9d9439b6
 2014-08-09T18:12:08 EXPIRED   maqifrnswa          SHORT-E71n3Gpz      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         02e37e94
 2014-08-09T18:12:30 EXPIRED   maqifrnswa          SHORT-M6Nu8RuU      1,818.18181 XTS         short USD @ 0.011 USD / XTS                 0.10000 XTS         274aa40a
 2014-08-09T18:15:07 EXPIRED   maqifrnswa          SHORT-PqwyGr13      2,000.00000 XTS         short USD @ 0.01 USD / XTS                  0.10000 XTS         3a65cc6f
 2014-08-09T18:15:19 EXPIRED   maqifrnswa          SHORT-GRG2ARbK      2,000.00000 XTS         short USD @ 0.01 USD / XTS                  0.10000 XTS         75c582ac
 2014-08-09T18:19:32 EXPIRED   maqifrnswa          SHORT-AQv4pniC      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         32e5141e
 2014-08-09T20:49:46 EXPIRED   maqifrnswa          SHORT-7toteVvL      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         0396d67a
 2014-08-09T21:13:31 EXPIRED   maqifrnswa          ASK-AAFGJvuW        14,000.00000 XTS        sell XTS @ 0.012 USD / XTS                  0.10000 XTS         7ca9c194

After they were called, I got access to USD in my account, finally:
Code: [Select]
>>> wallet_account_balance maqifrnswa
ACCOUNT                         BALANCE                     
============================================================
maqifrnswa                      132.7845 USD               
                                2,077.24027 XTS             
                                68.17919 XTS (pay)

Maybe this has something to do with making orders before the market was un-frozen?


Exact same problem here.
After some time my shorts get canceled and my XTS balance was back.
I tried resending the pending transactions without luck.
Title: Re: Dry Run 12: Call Me Maybe
Post by: toast on August 11, 2014, 08:13:51 pm
Preparing for dry run 13 with FDIC
Title: Re: Dry Run 12: Call Me Maybe
Post by: bytemaster on August 11, 2014, 08:55:59 pm
Dry Run 13 has launched...