Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Covered a short position but margin order still open?  (Read 533 times)

0 Members and 1 Guest are viewing this topic.

Offline checkrasier

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Covered a short position but margin order still open?
« on: September 15, 2014, 07:09:57 PM »

I recently covered an short position in the bitusd market.  The bitusd was subtracted from my wallet and the network paid the yield in that transaction.  My problem is the btsx collateral was not returned and the margin order is showing as open.

Using the win32 gui updated to 0.4.15a and re scanned the blockchain but still showing the margin order.

Any ideas on how to resolve this?

 

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1120
  • VIRAL
    • View Profile
    • Learn to code
  • BTS: methodx
Re: Covered a short position but margin order still open?
« Reply #1 on: September 15, 2014, 07:17:12 PM »
Median price feed isn't showing for BitUSD and BitCNY either.

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3309
    • View Profile
Re: Covered a short position but margin order still open?
« Reply #2 on: September 15, 2014, 07:28:47 PM »
Median price feed isn't showing for BitUSD and BitCNY either.

I think we have insufficient depth. I do not know if it is due to the fork or some other issue, but somebody must have cancelled quite a few orders.
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1120
  • VIRAL
    • View Profile
    • Learn to code
  • BTS: methodx
Re: Covered a short position but margin order still open?
« Reply #3 on: September 15, 2014, 07:38:30 PM »
Median price feed isn't showing for BitUSD and BitCNY either.

I think we have insufficient depth. I do not know if it is due to the fork or some other issue, but somebody must have cancelled quite a few orders.

Wouldn't market depth have to be below 500k for that to be the case though?

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1120
  • VIRAL
    • View Profile
    • Learn to code
  • BTS: methodx

Online Shentist

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 1605
    • View Profile
    • metaexchange
  • BTS: shentist
Re: Covered a short position but margin order still open?
« Reply #5 on: September 15, 2014, 07:43:51 PM »
here

at the moment no median price provided and i think it is the reason why it shows this way at the moment.

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3309
    • View Profile
Re: Covered a short position but margin order still open?
« Reply #6 on: September 15, 2014, 07:48:57 PM »
Median price feed isn't showing for BitUSD and BitCNY either.

I think we have insufficient depth. I do not know if it is due to the fork or some other issue, but somebody must have cancelled quite a few orders.

Wouldn't market depth have to be below 500k for that to be the case though?
When did go from 5 mil to 500K?
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1120
  • VIRAL
    • View Profile
    • Learn to code
  • BTS: methodx
Re: Covered a short position but margin order still open?
« Reply #7 on: September 15, 2014, 07:52:02 PM »
Median price feed isn't showing for BitUSD and BitCNY either.

I think we have insufficient depth. I do not know if it is due to the fork or some other issue, but somebody must have cancelled quite a few orders.

Wouldn't market depth have to be below 500k for that to be the case though?
When did go from 5 mil to 500K?

Couple days ago I think?

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12065
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Covered a short position but margin order still open?
« Reply #8 on: September 15, 2014, 08:05:35 PM »
I am sorry guys .. my machine didn't update the feeds properly .. and maybe because of this we fell below the 51 valid feeds ..

I restarted my deamon and published new feeds ..

BTW: what are the other delegates doing?

//edit: that is BTW one of the reasons I do not want to run 6 delegates: https://bitsharestalk.org/index.php?topic=7673.0
too much power and responsibility
« Last Edit: September 15, 2014, 08:09:50 PM by xeroc »
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1120
  • VIRAL
    • View Profile
    • Learn to code
  • BTS: methodx
Re: Covered a short position but margin order still open?
« Reply #9 on: September 15, 2014, 08:22:37 PM »
I am sorry guys .. my machine didn't update the feeds properly .. and maybe because of this we fell below the 51 valid feeds ..

I restarted my deamon and published new feeds ..

BTW: what are the other delegates doing?

//edit: that is BTW one of the reasons I do not want to run 6 delegates: https://bitsharestalk.org/index.php?topic=7673.0
too much power and responsibility

You mean all other delegates are not publishing price feeds? Lets make a list and vote them out.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12065
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Covered a short position but margin order still open?
« Reply #10 on: September 15, 2014, 08:32:27 PM »
You mean all other delegates are not publishing price feeds? Lets make a list and vote them out.
Ahm .. maybe they also had an issue (mine was self-made 100%) .. but there are 101 delegates .. and less then 50 had a feed published .. if it was bitEUR .. or any other asset I wouldn't mind .. but the current flagship? .. out of fuel .. I am aware that I am part of this fuck-up .. but shouldn't there be a backup of at least 30 delegates? So 80+ fresh available price feeds AT ANY TIME?

maybe we should figure out some stats about published price feeds ... and commence some discussions before 'voting out' ..
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline checkrasier

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Re: Covered a short position but margin order still open?
« Reply #11 on: September 15, 2014, 09:13:54 PM »
So I setup a delegate this weekend on a linux VPS.  I am a novice at best on linux but the instruction were pretty straight forward so thank you to everyone making this process relatively straight forward.

Two question that I am sure have been answered previously but I have been unable to locate the related posts:

Is there instruction on how to update and rebuild the linux client version as new releases come out?  I am guessing there is some way to get an update from github and then recomplie but any command help would be appreciated.

How do I start publishing price feeds and client version information?



Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
Re: Covered a short position but margin order still open?
« Reply #12 on: September 15, 2014, 09:20:53 PM »
I found my script stalled:
Code: [Select]
./btsx_feed_auto.py USD BTC CNY GLD

with only this output:
Code: [Select]
Fetch: rate usd/cny 6.142
Fetch: rate xau/cny 7580.7637
Fetch: rate usd/cny 6.142
Fetch: rate xau/cny 7578.3066
Fetch: rate usd/cny 6.142
Fetch: rate xau/cny 7579.8423

My last feeds were still active but they weren't updated correctly, now I have done a git update of repository and launched the new command with also EUR feed:
Code: [Select]
./btsx_feed_auto.py USD BTC CNY GLD EUR

Now It seems working fine and spartako,spartako1,spartako2 have updated their feeds:
Code: [Select]
2014-09-15T21:04:04 495139    spartako1           spartako1           0.00000 BTSX            publish price 0.000070099999999999 BTC /... 0.10000 BTSX        1afce364
2014-09-15T21:04:04 495139    spartako1           spartako1           0.00000 BTSX            publish price 0.2022 CNY / BTSX             0.10000 BTSX        1d193e42
2014-09-15T21:04:04 495139    spartako2           spartako2           0.00000 BTSX            publish price 0.2022 CNY / BTSX             0.10000 BTSX        2b4ad213
2014-09-15T21:04:04 495139    spartako            spartako            0.00000 BTSX            publish price 0.03292301680343884 USD / ... 0.10000 BTSX        318bf73b
2014-09-15T21:04:04 495139    spartako            spartako            0.00000 BTSX            publish price 0.2022 CNY / BTSX             0.10000 BTSX        70b34fd8
2014-09-15T21:04:04 495139    spartako1           spartako1           0.00000 BTSX            publish price 0.00002669181347032 GLD / ... 0.10000 BTSX        7250f539
2014-09-15T21:04:04 495139    spartako2           spartako2           0.00000 BTSX            publish price 0.00002669181347032 GLD / ... 0.10000 BTSX        728aa9d5
2014-09-15T21:04:04 495139    spartako2           spartako2           0.00000 BTSX            publish price 0.03292301680343884 USD / ... 0.10000 BTSX        75aaa435
2014-09-15T21:04:04 495139    spartako2           spartako2           0.00000 BTSX            publish price 0.000070099999999999 BTC /... 0.10000 BTSX        817109f3
2014-09-15T21:04:04 495139    spartako            spartako            0.00000 BTSX            publish price 0.000070099999999999 BTC /... 0.10000 BTSX        8c644ffd
2014-09-15T21:04:04 495139    spartako1           spartako1           0.00000 BTSX            publish price 0.03292301680343884 USD / ... 0.10000 BTSX        92e50d6a
2014-09-15T21:04:04 495139    spartako            spartako            0.00000 BTSX            publish price 0.00002669181347032 GLD / ... 0.10000 BTSX        d2dc6add
2014-09-15T21:04:36 495142    spartako            spartako            0.00000 BTSX            publish price 0.02544228301079598 EUR / ... 0.10000 BTSX        213c5927
2014-09-15T21:04:36 495142    spartako            spartako            0.00000 BTSX            publish price 0.00002669181347032 GLD / ... 0.10000 BTSX        2951406e
2014-09-15T21:04:36 495142    spartako1           spartako1           0.00000 BTSX            publish price 0.00006927 BTC / BTSX         0.10000 BTSX        2faf77ef
2014-09-15T21:04:36 495145    spartako2           spartako2           0.00000 BTSX            publish price 0.2022 CNY / BTSX             0.10000 BTSX        30ba80fb
2014-09-15T21:04:36 495142    spartako1           spartako1           0.00000 BTSX            publish price 0.02544228301079598 EUR / ... 0.10000 BTSX        553ceb2f
2014-09-15T21:04:36 495142    spartako1           spartako1           0.00000 BTSX            publish price 0.03292301680343884 USD / ... 0.10000 BTSX        8d83c84c
2014-09-15T21:04:36 495143    spartako            spartako            0.00000 BTSX            publish price 0.2022 CNY / BTSX             0.10000 BTSX        9b848cd7
2014-09-15T21:04:36 495142    spartako2           spartako2           0.00000 BTSX            publish price 0.00002669181347032 GLD / ... 0.10000 BTSX        a728200c
2014-09-15T21:04:36 495142    spartako            spartako            0.00000 BTSX            publish price 0.03292301680343884 USD / ... 0.10000 BTSX        b3826e9d
2014-09-15T21:04:36 495145    spartako1           spartako1           0.00000 BTSX            publish price 0.2022 CNY / BTSX             0.10000 BTSX        cf042754
2014-09-15T21:04:36 495142    spartako1           spartako1           0.00000 BTSX            publish price 0.00002669181347032 GLD / ... 0.10000 BTSX        d800a69a
2014-09-15T21:04:36 495142    spartako2           spartako2           0.00000 BTSX            publish price 0.02544228301079598 EUR / ... 0.10000 BTSX        e16791ce
2014-09-15T21:04:36 495142    spartako2           spartako2           0.00000 BTSX            publish price 0.03292301680343884 USD / ... 0.10000 BTSX        e5a529f7
2014-09-15T21:04:36 495142    spartako2           spartako2           0.00000 BTSX            publish price 0.00006927 BTC / BTSX         0.10000 BTSX        f276c909
2014-09-15T21:04:36 495143    spartako            spartako            0.00000 BTSX            publish price 0.00006927 BTC / BTSX         0.10000 BTSX        fac3f8f8
wallet_account_set_approval spartako

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12065
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Covered a short position but margin order still open?
« Reply #13 on: September 15, 2014, 09:23:53 PM »
Is there instruction on how to update and rebuild the linux client version as new releases come out?  I am guessing there is some way to get an update from github and then recomplie but any command help would be appreciated.
I will write one tomorrow .. it's pretty easy:

git pull; git submodule update;
cmake .
make


if you also want GUI:

make forebuildweb
make BitSharesX

Quote
How do I start publishing price feeds and client version information?
Is your delegate already vote up to the top 101 delegates? I am not sure if you can publish a price feed if not ..
the command is "wallet_publish_price_feed" ... stick a "help" in front and it will tell you what to do.

there is also a script that can help automate things:
https://github.com/Bitsuperlab/operation_tools/blob/master/btsxfeed/
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline checkrasier

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Re: Covered a short position but margin order still open?
« Reply #14 on: September 15, 2014, 10:22:12 PM »
Excellent thanks for the info.

I am not yet voted into the top 101 as I just got the dedicated server up this weekend.

I will work on getting in the top 101 and then publish price feeds

 

Google+