BitShares Forum

Main => General Discussion => Topic started by: dxtr on October 03, 2014, 07:08:57 am

Title: [SOLVED] Issue with automatic short cover
Post by: dxtr on October 03, 2014, 07:08:57 am
I have a problem:

On Sept. 1st I made a short BTC transaction for 1BTC and payed for it over 16k BTSX.

Code: [Select]
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 2014-09-01T09:33:57 370964    dxtr                SHORT-b91fd116      16,080.00000 BTSX       short BTC @ 0.000062189054726368 BTC / BTSX 0.10000 BTSX        745bd638
------------------------------------------------------------------------------------------------------------------------------------------------------------------------


------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-09-02T20:37:50 383456    SHORT-b91fd116      MARGIN-b91fd116     16,067.53600 BTSX       add collateral                              0.00000 BTSX        [51eb35]|
|                              MARKET              MARGIN-b91fd116     16,067.53600 BTSX       add collateral                                                          |
|                              MARGIN-b91fd116     MARKET              0.99922487 BTC          short proceeds @ 0.000062189054726368 BT...                             |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Up until about a week ago (didn't check later until now) I was able to see my short position under Windows GUI client and I was able to cover it with Cover button (as I did with some other shorts).

Now it's gone (my short order), and so are my BTSX which I've payed as collateral.
In my transaction history there is nothing more than what I've pasted regarding this short.

Since we are post block 640k and automatic covers are supposed to work I assume that my order disappearance is a result of this functionality.

Now if I have no collateral back on my account, that means it doesn't work at all.

In https://bitsharestalk.org/index.php?topic=9506.0 (https://bitsharestalk.org/index.php?topic=9506.0) you offered a 1000$ bounty for finding a market issue.
I guess I just did - if not where are my 16 000+ BTSX from this BTC short?

Can someone explain this to me?

(I did rescan blockchain and I even recreated it from beginning, but it didn't help.)
Title: Re: Issue with automatic short cover
Post by: bytemaster on October 03, 2014, 02:38:11 pm
Can you ask the console to list open orders?
Title: Re: Issue with automatic short cover
Post by: dxtr on October 04, 2014, 05:12:33 am
Yes, sorry for late reply, here it is ( I can see some cover order for BTC and it looks like it suits my short, but then why GUI doesn't reflect that?):

Code: [Select]
>> wallet_account_order_list dxtr

[[
[...]
    "ebcc52471e0250f8bb6e4cec83a31177cd7d6deb",{
      "type": "cover_order",
      "market_index": {
        "order_price": {
          "ratio": "0.04664179104477612",
          "quote_asset_id": 4,
          "base_asset_id": 0
        },
        "owner": "BTSX2TacAmjBvzGiFJrqtCTjsYvhFx21Bx4sq"
      },
      "state": {
        "balance": 99999999,
        "short_price_limit": null,
        "last_update": "19700101T000000"
      },
      "collateral": 3216000000,
      "expiration": null
    }
  ]
]
Title: Re: Issue with automatic short cover
Post by: dxtr on October 04, 2014, 05:20:50 am
OK, I'm dumb. :-[

Sorry for wasting your time - I just didn't take time to get used to new GUI layout.

It is all in the right place, all but my perceptiveness. :)