Author Topic: Delegates Please Publish Feeds More Often  (Read 13415 times)

0 Members and 1 Guest are viewing this topic.

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
https://github.com/xeroc/pytshares/blob/master/LICENSE

MIT is fine too?

Yours is OK. I'm not sure for alt's . Can it be used/modified freely ?
it's free, GPL is ok

来自我的 HUAWEI P7-L00 上的 Tapatalk

I'm not sure it is enough for you to state it in the forum.
You should include the licence reference with the sources.
However I'm no lawyer and I might be wrong...

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
https://github.com/xeroc/pytshares/blob/master/LICENSE

MIT is fine too?

Yours is OK. I'm not sure for alt's . Can it be used/modified freely ?
it's free, GPL is ok

来自我的 HUAWEI P7-L00 上的 Tapatalk



Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12920
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
If you don't mind ... can I borrow these lines from you ?! :-)

Or better publish appropriate license for that. GPL is fine.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
never mind

来自我的 HUAWEI P7-L00 上的 Tapatalk


Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12920
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
If you don't mind ... can I borrow these lines from you ?! :-)


Ggozzo

  • Guest
Where is the script, and is it easy to implement?

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
Actually I think it may be beneficial to discount all feeds by 0.995 to give the market makers some breathing room and provide a buffer against down trends.
maybe  you should change this  rule at the wallet? discount the short wall price to 0.995*median price
because we'll disable feed price in the future right?

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I have update the script with this rule, delegate should change the parameter "change_min" to 0.5

When attempting to write a market maker the slow movement of the feed can be difficult.

I would recommend the following:

if  REAL_PRICE < MEDIAN and YOUR_PRICE > MEDIAN publish price
if  you haven't published a price in the past 20 minutes
   if  REAL_PRICE > MEDIAN  and  YOUR_PRICE < MEDIAN and abs( YOUR_PRICE - REAL_PRICE ) / REAL_PRICE  > 0.005 publish price

The goal is to force the price down rapidly and allow it to creep up slowly.

By publishing prices more often it helps market makers maintain the peg and minimizes opportunity for shorts to sell USD below the peg that the market makers then have to absorb. 

If we can get updates flowing smoothly then we can gradually reduce the spread in the market maker bots. 

*note: all prices in USD per BTSX

When the price is rising don't publish more often than every 20 minutes...  I also reduced the publishing load if you are already above the median when the price is rising... republishing your price will not move the median so don't bother.
« Last Edit: September 26, 2014, 12:51:48 am by alt »

Offline Riverhead

Is real price last fill on BitsharesX?

Offline bytemaster

Actually I think it may be beneficial to discount all feeds by 0.995 to give the market makers some breathing room and provide a buffer against down trends.   
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline bytemaster

The goal is to force the price down rapidly and allow it to creep up slowly.

If in future one bitAsset >Asset  (bitUSD>USD)
we would recommended to do the opposite, right?

When BitAsset >> real asset there will be no shorts so the feed will be meaningless.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
The goal is to force the price down rapidly and allow it to creep up slowly.

If in future one bitAsset >Asset  (bitUSD>USD)
we would recommended to do the opposite, right?