Delegates Please Publish Feeds More Often

Started by bytemaster, September 25, 2014, 07:54:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

emski

Quote from: alt on September 26, 2014, 07:53:01 AM
Quote from: emski on September 26, 2014, 07:28:09 AM
Quote from: xeroc on September 26, 2014, 07:24:51 AM
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...
[url="https://bitsharestalk.org/index.php/topic,9857.0.html"]https://bitsharestalk.org/index.php/topic,9857.0.html[/url]

alt

Quote from: emski on September 26, 2014, 07:28:09 AM
Quote from: xeroc on September 26, 2014, 07:24:51 AM
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


emski

[url="https://bitsharestalk.org/index.php/topic,9857.0.html"]https://bitsharestalk.org/index.php/topic,9857.0.html[/url]

xeroc


emski

Quote from: xeroc on September 26, 2014, 07:07:11 AM
If you don't mind ... can I borrow these lines from you ?! :-)

Or better publish appropriate license for that. GPL is fine.
[url="https://bitsharestalk.org/index.php/topic,9857.0.html"]https://bitsharestalk.org/index.php/topic,9857.0.html[/url]

alt

never mind

来自我的 HUAWEI P7-L00 上的 Tapatalk


xeroc

If you don't mind ... can I borrow these lines from you ?! :-)


Ggozzo

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

alt

Quote from: bytemaster on September 25, 2014, 09:40:08 PM
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?

alt

#9
I have update the script with this rule, delegate should change the parameter "change_min" to 0.5

Quote from: bytemaster on September 25, 2014, 08:17:54 PM
Quote from: bytemaster on September 25, 2014, 07:54:46 PM
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.

Riverhead


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: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

bytemaster

Quote from: liondani on September 25, 2014, 08:55:34 PM
Quote from: bytemaster on September 25, 2014, 07:54:46 PM
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: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

liondani

Quote from: bytemaster on September 25, 2014, 07:54:46 PM
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?
[url="https://www.steempeak.com/@liondani"]https://www.steempeak.com/@liondani[/url]