Author Topic: Covered a short position but margin order still open?  (Read 3640 times)

0 Members and 1 Guest are viewing this topic.

Offline checkrasier

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
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/

Thanks for the help.  It was pretty easy to update once I figured out how to kill the screen session

How to kill screen session:

screen -ls

Find the PID running bitshares

screen -X -S [PID] kill


Update Bitsharesx:

cd bitsharesx
git pull
git  checkout v0.4.15-a
git submodule update
cmake .
make

Launch updated client:

cd ~/bitsharesx/programs/client
screen
gdb ./bitshares_client
>run
 

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Update on this issue.  Since the margin order was still open I selected the cover option again. 
It appears that .0001 BitUSD was still owed for this transaction.  I paid required amount (and a second .1 BTSX transaction fee) at the BTSX collateral was returned.

Is there anyway to prevent this in the future? 

If I slightly over pay when covering a short will the system automatically return any possible over payment?
The system will not retuen any overpayment in contrast to other exchanges .. You will get what you askd for .. any overpay will be paid as fee


i am not sure about the .0001 bitUSD ...

Offline checkrasier

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Update on this issue.  Since the margin order was still open I selected the cover option again. 
It appears that .0001 BitUSD was still owed for this transaction.  I paid required amount (and a second .1 BTSX transaction fee) at the BTSX collateral was returned.

Is there anyway to prevent this in the future? 

If I slightly over pay when covering a short will the system automatically return any possible over payment?

Offline checkrasier

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
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

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
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/

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
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 checkrasier

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
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 xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
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' ..

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
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: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
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 »

Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
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 tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile
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 Shentist

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 1601
    • View Profile
    • metaexchange
  • BitShares: shentist
here

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


Offline Method-X

  • Hero Member
  • *****
  • Posts: 1131
  • VIRAL
    • View Profile
    • Learn to code
  • BitShares: methodx
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?