Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - gghi

Pages: 1 ... 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 ... 34
331
Stakeholder Proposals / Re: [Witness Proposal] roelandp
« on: September 04, 2018, 12:38:49 pm »
there's someways to get smartcoin premium, for bitCNY, you can

1. get the bitCNY deposit/withdraw fee from magicwallet and then calculate out the bitCNY premium.

or

2. from exchange like AEX or ZB get BTS price in CNC or QC, it can be regarded as BTS price in fiat as CNC and

QC are IOU of CNY.  with the BTS price in bitCNY, you can calculate out the premium,
    new feed price=old feed  price*(bitcny/cny+0.02)^3

332
基于abit的这个算法可以实现快速纠偏
Quote
喂价 = BTS市场价 * (bitcny/cny价)^1.8

这种幂函数算法的缺点很明显,就是溢价不是太高时改进效果不明显。

比如当溢价=2%时,喂价=BTS市场价*1.036

而其实溢价2%已经是很严重的通缩了,应该采取足够大的反馈力度了,这时完全可以喂价=BTS市场价*1.08,保证爆仓单可以被吃的安全边际条件下最大化喂价。

不是到很严重的下跌市才需要大力度的反馈,当前也需要!

N是一个可调参数啊,不是非得1.8,可以是2、5、8、10,根据喂价结果来调,测试得到数据后可以以溢价范围为判断条件自动调整N的值。

        无论采用何种计算方法,希望您的算法有效果,目前看到您的喂价0.8629  已经低于系统喂价0.8768了。期待您的改变。

333
SPRING management team is considering to vote witnesses to push the implementation of BSIP42 if the voting WP is accepted at 7th Sep.

we'd like to adopt one metric to judge whether one witness work well on implementing BSIP42: if bitCNY has a more than 2% premium than fiat, then the fed price should be at least 9% higher than BTS price in DEX. currently only bitCNY feed price is considered.

if SPRING holders have any thoughts on this plan, please comment here.

   Support

334
Who is the judge of what the correct fiat price is?
How did you calculate the 9% from the 2%? Could you elaborate that please?

   举例论证公式效果,宽松目标负2%,加速因子N=3
当溢价负0.02时(折扣2%),加速因子喂3。理想喂价 = BTS市场价 * (1-0.02+0.02)^3=BTS市场价 *1^3=BTS市场价 *1,结论:目标达到理想状态,无需调整。
当溢价负0.01时(折扣1%),加速因子喂3。理想喂价 = BTS市场价 * (1-0.01+0.02)^3=BTS市场价 *1.01^3=BTS市场价 *1.030301,结论:市场价提高3%,接近理想目标。
当溢价0时,加速因子喂3。理想喂价 = BTS市场价 * (1+0.02)^3=BTS市场价 *1.02^3=BTS市场价 *1.0612,结论:市场价提高约6%,很满意,也很安全。

当溢价0.01时,加速因子喂3。理想喂价 = BTS市场价 * (1.01+0.02)^3=BTS市场价 *1.03^3=BTS市场价 *1.092727,结论:市场价提高约9.2%,满意,也很安全。
当溢价0.02时,加速因子喂3。理想喂价 = BTS市场价 * (1.02+0.02)^3=BTS市场价 *1.04^3=BTS市场价 *1.125,结论:市场价提高约12%,满意,也安全。
当溢价0.03时,加速因子喂3。理想喂价 = BTS市场价 * (1.03+0.02)^3=BTS市场价 *1.05^3=BTS市场价 *1.157,结论:市场价提高约15%,满意,也安全。

当溢价0.04时,加速因子喂3。理想喂价 = BTS市场价 * (1.04+0.02)^3=BTS市场价 *1.06^3=BTS市场价 *1.191,结论:市场价提高约19%,满意,安全。
     当溢价0.05时,加速因子喂3。理想喂价 = BTS市场价 * (1.05+0.02)^3=BTS市场价 *1.07^3=BTS市场价 *1.225,结论:市场价提高约22%,风险依然可控。

          我们可以看到,随着溢价参数的不断变大,市场价提高呈现线性下降趋缓模式。
实际上如果采用M=0.02,即宽松指标为2%,加速因子N=3,这样的公式后,溢价很难超过1%。因为当溢价达到1%时,喂价相对市场价提高了约9.27%,这个时候相当于MSSR为”0“了。也就是说爆仓单对内盘的价格不再有”压制“作用了,此时的内盘完全有动力和外盘保持价格”一致“。如果内外盘趋于价格持平,就是溢价消失的过程。
      结论:如果采用宽松指数M=0.02,即宽松目标2%,加速因子N=3,那么理论上溢价不会超过2%。


Exemplification of formula effect, loose target negative 2%, acceleration factor N=3
When the premium is negative 0.02 (discount 2%), the acceleration factor is 3. The ideal feeding price = BTS market price * 1-0.02+0.02) ^ 3 = BTS market price * 1 ^ 3 = BTS market price * 1. Conclusion: The target is in an ideal state without adjustment.
When the premium is negative 0.01 (discount 1%), the acceleration factor is 3. Ideal feeding price = BTS market price * 1-0.01+0.02) ^ 3 = BTS market price * 1.01 ^ 3 = BTS market price * 1.030301, conclusion: the market price increases by 3%, close to the ideal target.
When the premium is 0, the acceleration factor is 3. Ideal feeding price = BTS market price * 1 + 0.02) ^ 3 = BTS market price * 1.02 ^ 3 = BTS market price * 1.0612, conclusion: the market price increase of about 6%, very satisfactory and safe.

When the premium is 0.01, the acceleration factor is 3. The ideal feeding price = BTS market price * 1.01 + 0.02) ^ 3 = BTS market price * 1.03 ^ 3 = BTS market price * 1.092727. Conclusion: The market price increases about 9.2%, satisfactory and safe.
When the premium is 0.02, the acceleration factor is 3. The ideal feeding price = BTS market price * 1.02 + 0.02) ^ 3 = BTS market price * 1.04 ^ 3 = BTS market price * 1.125. Conclusion: The market price increases about 12%, satisfactory and safe.
When the premium is 0.03, the acceleration factor is 3. The ideal feeding price = BTS market price * 1.03 + 0.02) ^ 3 = BTS market price * 1.05 ^ 3 = BTS market price * 1.157. Conclusion: The increase of market price is about 15%, satisfactory and safe.

When the premium is 0.04, the acceleration factor is 3. The ideal feeding price = BTS market price * 1.04 + 0.02) ^ 3 = BTS market price * 1.06 ^ 3 = BTS market price * 1.191. Conclusion: The market price increases about 19%, satisfactory and safe.
When the premium is 0.05, the acceleration factor is 3. The ideal feeding price = BTS market price * 1.05 + 0.02) ^ 3 = BTS market price * 1.07 ^ 3 = BTS market price * 1.225, conclusion: the market price increases about 22%, the risk is still controllable.

We can see that with the constant increase of the premium parameters, the market price increases show a linear decline slowing down model.
In fact, if M = 0.02, that is, the easing index is 2%, the accelerating factor N = 3, such a formula, the premium is very difficult to exceed 1%. Because when the premium reaches 1%, the feed price rises by about 9.27% relative to the market price, which is equivalent to the MSSR of "0". That is to say, the explosive warehouse receipt no longer has a "suppressive" effect on the price of the internal market, at this time the internal market is fully motivated and the external market to maintain a "consistent" price. If the internal and external prices tend to be flat, the premium will disappear.
Conclusion: If the easing index M = 0.02, that is, the easing target 2%, the accelerating factor N = 3, then the theoretical premium will not exceed 2%.

335
调喂价和调MCR没有本质区别,只是后者看起来更直观而已。
喂价与内盘价之比高过MSSR,会明显增加黑天鹅的风险,这一点毋庸赘述。

       大螃蟹,您对BTS的发展速度可以说是起到决定作用的人物。目前看到的喂价中GDEX是最高的,如果全部的见证人都这样喂的话,估计溢价很快会消失。
关于上调喂价会明显增加黑天鹅的风险,不一定。
       假如反向操作,下调喂价15%,会是什么后果?推演下,估计内盘迅速瀑布>外盘跟着瀑布>喂价继续下行15%>内盘继续瀑布。这样的恶性后果就是,不到天黑,黑天鹅会出现在我们的面前!
       既然大幅下调会加速黑天鹅的出现,那么大幅上调恰恰是避免黑天鹅的最有效手段。因为市场不是静止的,当我们上调喂价的时候,市场价会跟着上调的。
       结论:适当上调喂价不会增加黑天鹅的风险,恰恰是避免黑天鹅的最有效手段。

336
思来想去,唯有第三点在熊市以及平衡市能较好的满足bitcny的市场增供需求,这里借道问一下A神,修复MCR可调的BUG大概需要多长开发周期?当下系统以单抵押账单黑天鹅的模式修正大概需要多长的开发周期?这些大致的开发周期评估,有利于稳定社区的对比特股预期与发展期望。如果这些BUG能顺利解决,降低MCR将大幅度提高bitcny的稳定供给,逻辑线上有两条:
BUG已经在修了,应该可以在下个协议升级(硬分叉)版本上线,只是具体上线时间不确定,以前说是12月,但我看有点悬。

          喂价相对市场价上调10%的效果,已经可以达到MCR从1.75调到1.65这样的目的了。喂价改革如果成功了,觉得无需修改MCR。
       试想如果开始BM把MCR设为2倍,那么现在喂价上调25%还会认为高于MSSR了,是不安全的么?2-0.25=1.75。现在的MCR=1.75,喂价上调25%,1.75-0.25=1.5,也就是说,即使喂价上调25%了,我们依然有价值1.5倍的BTS资产做背书。
      结论:当MCR=1.75,喂价大幅上调25%也是安全的。

337
基于abit的这个算法可以实现快速纠偏
Quote
喂价 = BTS市场价 * (bitcny/cny价)^1.8

这种幂函数算法的缺点很明显,就是溢价不是太高时改进效果不明显。

比如当溢价=2%时,喂价=BTS市场价*1.036

而其实溢价2%已经是很严重的通缩了,应该采取足够大的反馈力度了,这时完全可以喂价=BTS市场价*1.08,保证爆仓单可以被吃的安全边际条件下最大化喂价。

不是到很严重的下跌市才需要大力度的反馈,当前也需要!

N是一个可调参数啊,不是非得1.8,可以是2、5、8、10,根据喂价结果来调,测试得到数据后可以以溢价范围为判断条件自动调整N的值。

        也对,N足够大的话可以加速纠偏,但是当溢价为0,N再大也没有作用的。也就是说溢价接近零的时候,仅仅调大N作用会变小的。实际上abit的公式可以看作是, 喂价 = BTS市场价 * (bitcny/cny价+M)^N,M=0的一种特殊情况,也就是默认调控目标为0。这个加调控参数M也是根据ABIT的公式改进来的,可以说ABIT的这个算法非常具有闪光点!改进之后,M以及N都是可调参数。有了这两个参数,我们要达到的目标以及精度就可以很好的控制住了。

   喂价 = BTS市场价 * (bitcny/cny价)^N,当溢价2%时,N=5,那么喂价 = BTS市场价 * (1.02)^5=BTS市场价 *1.104,提高约10%。有明显效果。

        考虑到鼓鼓充值费用,承兑商约1%的充提差价,而且QC提现也是1%,QC对人民币贬值约1%,鼓鼓充值为负利于激活内盘。把这些因素综合起来,建议宽松目标2%比较合适。况且宽松目标设为2%,鼓鼓充值费率约负1%左右,看不出对系统有任何伤害。
        结论:值得尝试M=0.02,N=3。这样的话,理论上bitcny/cny会在正负2%之间波动。很可能实现bitcny/cny长期接近“0”的理想状态。
         


338
中文 (Chinese) / Re: BTS下一个版本修改点征集
« on: September 03, 2018, 01:38:44 am »
      我转错二次了!想转给ttt888,结果转到了ttt8,可能是网络不好,加匆忙导致的结果。建议转账增加个选项,账号ID功能。同时输入账号数字ID以及账户名,好似银行账号,要核对姓名(BTS账户名),账号(BTSID)。

339
Stakeholder Proposals / Re: [Witness proposal] btspp-witness(双语)
« on: September 03, 2018, 01:09:13 am »
再来讨论下更加激进的算法,供见证人参考。

           举例论证公式效果,宽松目标负2%,加速因子N=3
当溢价负0.02时(折扣2%),加速因子喂3。理想喂价 = BTS市场价 * (1-0.02+0.02)^3=BTS市场价 *1^3=BTS市场价 *1,结论:目标达到理想状态,无需调整。
当溢价负0.01时(折扣1%),加速因子喂3。理想喂价 = BTS市场价 * (1-0.01+0.02)^3=BTS市场价 *1.01^3=BTS市场价 *1.030301,结论:市场价提高3%,接近理想目标。
当溢价0时,加速因子喂3。理想喂价 = BTS市场价 * (1+0.02)^3=BTS市场价 *1.02^3=BTS市场价 *1.0612,结论:市场价提高约6%,很满意,也很安全。

当溢价0.01时,加速因子喂3。理想喂价 = BTS市场价 * (1.01+0.02)^3=BTS市场价 *1.03^3=BTS市场价 *1.092727,结论:市场价提高约9.2%,满意,也很安全。
当溢价0.02时,加速因子喂3。理想喂价 = BTS市场价 * (1.02+0.02)^3=BTS市场价 *1.04^3=BTS市场价 *1.125,结论:市场价提高约12%,满意,也安全。
当溢价0.03时,加速因子喂3。理想喂价 = BTS市场价 * (1.03+0.02)^3=BTS市场价 *1.05^3=BTS市场价 *1.157,结论:市场价提高约15%,满意,也安全。

当溢价0.04时,加速因子喂3。理想喂价 = BTS市场价 * (1.04+0.02)^3=BTS市场价 *1.06^3=BTS市场价 *1.191,结论:市场价提高约19%,满意,安全。
     当溢价0.05时,加速因子喂3。理想喂价 = BTS市场价 * (1.05+0.02)^3=BTS市场价 *1.07^3=BTS市场价 *1.225,结论:市场价提高约22%,风险依然可控。

          我们可以看到,随着溢价参数的不断变大,市场价提高呈现线性下降趋缓模式。
实际上如果采用M=0.02,即宽松指标为2%,加速因子N=3,这样的公式后,溢价很难超过1%。因为当溢价达到1%时,喂价相对市场价提高了约9.27%,这个时候相当于MSSR为”0“了。也就是说爆仓单对内盘的价格不再有”压制“作用了,此时的内盘完全有动力和外盘保持价格”一致“。如果内外盘趋于价格持平,就是溢价消失的过程。
      结论:如果采用宽松指数M=0.02,即宽松目标2%,加速因子N=3,那么理论上溢价不会超过2%。


Let's discuss the more radical algorithm for reference.

Exemplification of formula effect, loose target negative 2%, acceleration factor N=3
When the premium is negative 0.02 (discount 2%), the acceleration factor is 3. The ideal feeding price = BTS market price *( 1-0.02+0.02) ^ 3 = BTS market price * 1 ^ 3 = BTS market price * 1. Conclusion: The target is in an ideal state without adjustment.
When the premium is negative 0.01 (discount 1%), the acceleration factor is 3. Ideal feeding price = BTS market price * (1-0.01+0.02) ^ 3 = BTS market price * 1.01 ^ 3 = BTS market price * 1.030301, conclusion: the market price increases by 3%, close to the ideal target.
When the premium is 0, the acceleration factor is 3. Ideal feeding price = BTS market price * (1 + 0.02) ^ 3 = BTS market price * 1.02 ^ 3 = BTS market price * 1.0612, conclusion: the market price increase of about 6%, very satisfactory and safe.

When the premium is 0.01, the acceleration factor is 3. The ideal feeding price = BTS market price * (1.01 + 0.02) ^ 3 = BTS market price * 1.03 ^ 3 = BTS market price * 1.092727. Conclusion: The market price increases about 9.2%, satisfactory and safe.
When the premium is 0.02, the acceleration factor is 3. The ideal feeding price = BTS market price * (1.02 + 0.02) ^ 3 = BTS market price * 1.04 ^ 3 = BTS market price * 1.125. Conclusion: The market price increases about 12%, satisfactory and safe.
When the premium is 0.03, the acceleration factor is 3. The ideal feeding price = BTS market price * (1.03 + 0.02) ^ 3 = BTS market price * 1.05 ^ 3 = BTS market price * 1.157. Conclusion: The increase of market price is about 15%, satisfactory and safe.

When the premium is 0.04, the acceleration factor is 3. The ideal feeding price = BTS market price *( 1.04 + 0.02) ^ 3 = BTS market price * 1.06 ^ 3 = BTS market price * 1.191. Conclusion: The market price increases about 19%, satisfactory and safe.
When the premium is 0.05, the acceleration factor is 3. The ideal feeding price = BTS market price * (1.05 + 0.02) ^ 3 = BTS market price * 1.07 ^ 3 = BTS market price * 1.225, conclusion: the market price increases about 22%, the risk is still controllable.

We can see that with the constant increase of the premium parameters, the market price increases show a linear decline slowing down model.
In fact, if M = 0.02, that is, the easing index is 2%, the accelerating factor N = 3, such a formula, the premium is very difficult to exceed 1%. Because when the premium reaches 1%, the feed price rises by about 9.27% relative to the market price, which is equivalent to the MSSR of "0". That is to say, the explosive warehouse receipt no longer has a "suppressive" effect on the price of the internal market, at this time the internal market is fully motivated and the external market to maintain a "consistent" price. If the internal and external prices tend to be flat, the premium will disappear.
Conclusion: If the easing index M = 0.02, that is, the easing target 2%, the accelerating factor N = 3, then the theoretical premium will not exceed 2%.

340
A reference usage of this data is here: https://github.com/sunchao123456/btsprice .
The idea is , the recharge/withdraw price is compensated to the original BTS price through a user defined factor (0-1). For example, now magicwallet.witness set the factor to 0.4, While you can use 1.1 FaitCNY to get 1 bitCNY, it will compute:

   compensated BTS Price = original BTS Price * (1 + (1.1 - 1)*0.4)

if you can use 0.9 FaitCNY to get 1 bitCNY, it will compute:

   compensated BTS Price = original BTS Price * (1 + (0.9 - 1)*0.4)

The original BTS price is from a fork of alt's btsprice (crazybit's one).

Excellent work!

Witness: rnglab
admin@rnglab.org

      voted,  compensated BTS Price = original BTS Price * (bitcny/cny+0.02)^3

341
witness: blckchnd
mail: admin@blckchnd.com

  再来讨论下更加激进的算法,供见证人参考。

           举例论证公式效果,宽松目标负2%,加速因子N=3
当溢价负0.02时(折扣2%),加速因子喂3。理想喂价 = BTS市场价 * (1-0.02+0.02)^3=BTS市场价 *1^3=BTS市场价 *1,结论:目标达到理想状态,无需调整。
当溢价负0.01时(折扣1%),加速因子喂3。理想喂价 = BTS市场价 * (1-0.01+0.02)^3=BTS市场价 *1.01^3=BTS市场价 *1.030301,结论:市场价提高3%,接近理想目标。
当溢价0时,加速因子喂3。理想喂价 = BTS市场价 * (1+0.02)^3=BTS市场价 *1.02^3=BTS市场价 *1.0612,结论:市场价提高约6%,很满意,也很安全。

当溢价0.01时,加速因子喂3。理想喂价 = BTS市场价 * (1.01+0.02)^3=BTS市场价 *1.03^3=BTS市场价 *1.092727,结论:市场价提高约9.2%,满意,也很安全。
当溢价0.02时,加速因子喂3。理想喂价 = BTS市场价 * (1.02+0.02)^3=BTS市场价 *1.04^3=BTS市场价 *1.125,结论:市场价提高约12%,满意,也安全。
当溢价0.03时,加速因子喂3。理想喂价 = BTS市场价 * (1.03+0.02)^3=BTS市场价 *1.05^3=BTS市场价 *1.157,结论:市场价提高约15%,满意,也安全。

当溢价0.04时,加速因子喂3。理想喂价 = BTS市场价 * (1.04+0.02)^3=BTS市场价 *1.06^3=BTS市场价 *1.191,结论:市场价提高约19%,满意,安全。
     当溢价0.05时,加速因子喂3。理想喂价 = BTS市场价 * (1.05+0.02)^3=BTS市场价 *1.07^3=BTS市场价 *1.225,结论:市场价提高约22%,风险依然可控。

          我们可以看到,随着溢价参数的不断变大,市场价提高呈现线性下降趋缓模式。
实际上如果采用M=0.02,即宽松指标为2%,加速因子N=3,这样的公式后,溢价很难超过1%。因为当溢价达到1%时,喂价相对市场价提高了约9.27%,这个时候相当于MSSR为”0“了。也就是说爆仓单对内盘的价格不再有”压制“作用了,此时的内盘完全有动力和外盘保持价格”一致“。如果内外盘趋于价格持平,就是溢价消失的过程。
      结论:如果采用宽松指数M=0.02,即宽松目标2%,加速因子N=3,那么理论上溢价不会超过2%。


Let's discuss the more radical algorithm for reference.

Exemplification of formula effect, loose target negative 2%, acceleration factor N=3
When the premium is negative 0.02 (discount 2%), the acceleration factor is 3. The ideal feeding price = BTS market price * 1-0.02+0.02) ^ 3 = BTS market price * 1 ^ 3 = BTS market price * 1. Conclusion: The target is in an ideal state without adjustment.
When the premium is negative 0.01 (discount 1%), the acceleration factor is 3. Ideal feeding price = BTS market price * 1-0.01+0.02) ^ 3 = BTS market price * 1.01 ^ 3 = BTS market price * 1.030301, conclusion: the market price increases by 3%, close to the ideal target.
When the premium is 0, the acceleration factor is 3. Ideal feeding price = BTS market price * 1 + 0.02) ^ 3 = BTS market price * 1.02 ^ 3 = BTS market price * 1.0612, conclusion: the market price increase of about 6%, very satisfactory and safe.

When the premium is 0.01, the acceleration factor is 3. The ideal feeding price = BTS market price * 1.01 + 0.02) ^ 3 = BTS market price * 1.03 ^ 3 = BTS market price * 1.092727. Conclusion: The market price increases about 9.2%, satisfactory and safe.
When the premium is 0.02, the acceleration factor is 3. The ideal feeding price = BTS market price * 1.02 + 0.02) ^ 3 = BTS market price * 1.04 ^ 3 = BTS market price * 1.125. Conclusion: The market price increases about 12%, satisfactory and safe.
When the premium is 0.03, the acceleration factor is 3. The ideal feeding price = BTS market price * 1.03 + 0.02) ^ 3 = BTS market price * 1.05 ^ 3 = BTS market price * 1.157. Conclusion: The increase of market price is about 15%, satisfactory and safe.

When the premium is 0.04, the acceleration factor is 3. The ideal feeding price = BTS market price * 1.04 + 0.02) ^ 3 = BTS market price * 1.06 ^ 3 = BTS market price * 1.191. Conclusion: The market price increases about 19%, satisfactory and safe.
When the premium is 0.05, the acceleration factor is 3. The ideal feeding price = BTS market price * 1.05 + 0.02) ^ 3 = BTS market price * 1.07 ^ 3 = BTS market price * 1.225, conclusion: the market price increases about 22%, the risk is still controllable.

We can see that with the constant increase of the premium parameters, the market price increases show a linear decline slowing down model.
In fact, if M = 0.02, that is, the easing index is 2%, the accelerating factor N = 3, such a formula, the premium is very difficult to exceed 1%. Because when the premium reaches 1%, the feed price rises by about 9.27% relative to the market price, which is equivalent to the MSSR of "0". That is to say, the explosive warehouse receipt no longer has a "suppressive" effect on the price of the internal market, at this time the internal market is fully motivated and the external market to maintain a "consistent" price. If the internal and external prices tend to be flat, the premium will disappear.
Conclusion: If the easing index M = 0.02, that is, the easing target 2%, the accelerating factor N = 3, then the theoretical premium will not exceed 2%.

342
Witness: elmato
matias[dot]romeo[at]diventi.com.ar

   Let's discuss the more radical algorithm for reference.

Exemplification of formula effect, loose target negative 2%, acceleration factor N=3
When the premium is negative 0.02 (discount 2%), the acceleration factor is 3. The ideal feeding price = BTS market price * 1-0.02+0.02) ^ 3 = BTS market price * 1 ^ 3 = BTS market price * 1. Conclusion: The target is in an ideal state without adjustment.
When the premium is negative 0.01 (discount 1%), the acceleration factor is 3. Ideal feeding price = BTS market price * 1-0.01+0.02) ^ 3 = BTS market price * 1.01 ^ 3 = BTS market price * 1.030301, conclusion: the market price increases by 3%, close to the ideal target.
When the premium is 0, the acceleration factor is 3. Ideal feeding price = BTS market price * 1 + 0.02) ^ 3 = BTS market price * 1.02 ^ 3 = BTS market price * 1.0612, conclusion: the market price increase of about 6%, very satisfactory and safe.

When the premium is 0.01, the acceleration factor is 3. The ideal feeding price = BTS market price * 1.01 + 0.02) ^ 3 = BTS market price * 1.03 ^ 3 = BTS market price * 1.092727. Conclusion: The market price increases about 9.2%, satisfactory and safe.
When the premium is 0.02, the acceleration factor is 3. The ideal feeding price = BTS market price * 1.02 + 0.02) ^ 3 = BTS market price * 1.04 ^ 3 = BTS market price * 1.125. Conclusion: The market price increases about 12%, satisfactory and safe.
When the premium is 0.03, the acceleration factor is 3. The ideal feeding price = BTS market price * 1.03 + 0.02) ^ 3 = BTS market price * 1.05 ^ 3 = BTS market price * 1.157. Conclusion: The increase of market price is about 15%, satisfactory and safe.

When the premium is 0.04, the acceleration factor is 3. The ideal feeding price = BTS market price * 1.04 + 0.02) ^ 3 = BTS market price * 1.06 ^ 3 = BTS market price * 1.191. Conclusion: The market price increases about 19%, satisfactory and safe.
When the premium is 0.05, the acceleration factor is 3. The ideal feeding price = BTS market price * 1.05 + 0.02) ^ 3 = BTS market price * 1.07 ^ 3 = BTS market price * 1.225, conclusion: the market price increases about 22%, the risk is still controllable.

We can see that with the constant increase of the premium parameters, the market price increases show a linear decline slowing down model.
In fact, if M = 0.02, that is, the easing index is 2%, the accelerating factor N = 3, such a formula, the premium is very difficult to exceed 1%. Because when the premium reaches 1%, the feed price rises by about 9.27% relative to the market price, which is equivalent to the MSSR of "0". That is to say, the explosive warehouse receipt no longer has a "suppressive" effect on the price of the internal market, at this time the internal market is fully motivated and the external market to maintain a "consistent" price. If the internal and external prices tend to be flat, the premium will disappear.
Conclusion: If the easing index M = 0.02, that is, the easing target 2%, the accelerating factor N = 3, then the theoretical premium will not exceed 2%.

    再来讨论下更加激进的算法,供见证人参考。

           举例论证公式效果,宽松目标负2%,加速因子N=3
当溢价负0.02时(折扣2%),加速因子喂3。理想喂价 = BTS市场价 * (1-0.02+0.02)^3=BTS市场价 *1^3=BTS市场价 *1,结论:目标达到理想状态,无需调整。
当溢价负0.01时(折扣1%),加速因子喂3。理想喂价 = BTS市场价 * (1-0.01+0.02)^3=BTS市场价 *1.01^3=BTS市场价 *1.030301,结论:市场价提高3%,接近理想目标。
当溢价0时,加速因子喂3。理想喂价 = BTS市场价 * (1+0.02)^3=BTS市场价 *1.02^3=BTS市场价 *1.0612,结论:市场价提高约6%,很满意,也很安全。

当溢价0.01时,加速因子喂3。理想喂价 = BTS市场价 * (1.01+0.02)^3=BTS市场价 *1.03^3=BTS市场价 *1.092727,结论:市场价提高约9.2%,满意,也很安全。
当溢价0.02时,加速因子喂3。理想喂价 = BTS市场价 * (1.02+0.02)^3=BTS市场价 *1.04^3=BTS市场价 *1.125,结论:市场价提高约12%,满意,也安全。
当溢价0.03时,加速因子喂3。理想喂价 = BTS市场价 * (1.03+0.02)^3=BTS市场价 *1.05^3=BTS市场价 *1.157,结论:市场价提高约15%,满意,也安全。

当溢价0.04时,加速因子喂3。理想喂价 = BTS市场价 * (1.04+0.02)^3=BTS市场价 *1.06^3=BTS市场价 *1.191,结论:市场价提高约19%,满意,安全。
     当溢价0.05时,加速因子喂3。理想喂价 = BTS市场价 * (1.05+0.02)^3=BTS市场价 *1.07^3=BTS市场价 *1.225,结论:市场价提高约22%,风险依然可控。

          我们可以看到,随着溢价参数的不断变大,市场价提高呈现线性下降趋缓模式。
实际上如果采用M=0.02,即宽松指标为2%,加速因子N=3,这样的公式后,溢价很难超过1%。因为当溢价达到1%时,喂价相对市场价提高了约9.27%,这个时候相当于MSSR为”0“了。也就是说爆仓单对内盘的价格不再有”压制“作用了,此时的内盘完全有动力和外盘保持价格”一致“。如果内外盘趋于价格持平,就是溢价消失的过程。
      结论:如果采用宽松指数M=0.02,即宽松目标2%,加速因子N=3,那么理论上溢价不会超过2%。

343
A reference usage of this data is here: https://github.com/sunchao123456/btsprice .
The idea is , the recharge/withdraw price is compensated to the original BTS price through a user defined factor (0-1). For example, now magicwallet.witness set the factor to 0.4, While you can use 1.1 FaitCNY to get 1 bitCNY, it will compute:

   compensated BTS Price = original BTS Price * (1 + (1.1 - 1)*0.4)

if you can use 0.9 FaitCNY to get 1 bitCNY, it will compute:

   compensated BTS Price = original BTS Price * (1 + (0.9 - 1)*0.4)

The original BTS price is from a fork of alt's btsprice (crazybit's one).
compensated BTS Price = original BTS Price * (bitcny/cny+0.02)^3
     

344
Witness: xeldal
xeldal [at] cryptolab [dot] net

       voted.

345
负反馈的力度还都太低了。
溢价大于2%的时候,喂价好歹比内盘价高个8%以上吧。
        认同,必须加大反馈力度才可以快速纠偏。建议理想喂价 = BTS市场价 * (bitcny/cny价+M)^N,M表示宽松指标,N为加速因子。比如溢价为零时,宽松目标负2%,加速度1.8,那么,理想喂价 = BTS市场价 * (1+0.02)^1.8,比如溢价为0.001时,宽松目标负1%,加速度1.5,那么,理想喂价 = BTS市场价 * (1.001+0.01)^1.5。

       举例论证公式效果,宽松目标负1%。
当溢价负0.01时(折扣1%),加速因子喂2。理想喂价 = BTS市场价 * (1-0.01+0.01)^2=BTS市场价 *1^2=BTS市场价 *1,结论:目标达到,非常理想。
当溢价0时,加速因子喂2。理想喂价 = BTS市场价 * (1+0.01)^2=BTS市场价 *1.01^2=BTS市场价 *1.02,结论:市场价提高2%,很满意,也很安全。
当溢价0.01时,加速因子喂2。理想喂价 = BTS市场价 * (1.01+0.01)^2=BTS市场价 *1.02^2=BTS市场价 *1.0404,结论:市场价提高约4%,很满意,也很安全。
当溢价0.02时,加速因子喂2。理想喂价 = BTS市场价 * (1.02+0.01)^2=BTS市场价 *1.03^2=BTS市场价 *1.0609,结论:市场价提高约6%,很满意,也很安全。
当溢价0.03时,加速因子喂2。理想喂价 = BTS市场价 * (1.03+0.01)^2=BTS市场价 *1.04^2=BTS市场价 *1.0816,结论:市场价提高越8%,很满意,也很安全。

当溢价0.04时,加速因子喂2。理想喂价 = BTS市场价 * (1.04+0.01)^2=BTS市场价 *1.05^2=BTS市场价 *1.1025,结论:市场价提高约10%,满意,也很安全。
     当溢价0.05时,加速因子喂2。理想喂价 = BTS市场价 * (1.05+0.01)^2=BTS市场价 *1.06^2=BTS市场价 *1.1236,结论:市场价提高约12%,满意,加速纠偏。
     当溢价0.06时,加速因子喂2。理想喂价 = BTS市场价 * (1.06+0.01)^2=BTS市场价 *1.07^2=BTS市场价 *1.1449,结论:市场价提高约14%,满意,加速纠偏
当溢价0.07时,加速因子喂2。理想喂价 = BTS市场价 * (1.07+0.01)^2=BTS市场价 *1.08^2=BTS市场价 *1.1664,结论:市场价提高约16%,满意,加速纠偏
当溢价0.08时,加速因子喂2。理想喂价 = BTS市场价 * (1.08+0.01)^2=BTS市场价 *1.09^2=BTS市场价 *1.1881,结论:市场价提高约18%,满意,加速纠偏
当溢价0.09时,加速因子喂2。理想喂价 = BTS市场价 * (1.09+0.01)^2=BTS市场价 *1.1^2=BTS市场价 *1.21,结论:市场价提高约21%,满意,加速纠偏,风险依然可控。


     认同,必须加大反馈力度才可以快速纠偏。建议理想喂价 = BTS市场价 * (bitcny/cny价+M)^N,M表示宽松指标,N为加速因子。比如溢价为零时,宽松目标负2%,加速度1.8,那么,理想喂价 = BTS市场价 * (1+0.02)^1.8,比如溢价为0.001时,宽松目标负1%,加速度1.5,那么,理想喂价 = BTS市场价 * (1.001+0.01)^1.5。

宽松因子M实际上也是个可调参数,举例说明M为2%的情形。
 
       举例论证公式效果,宽松目标负2%。
当溢价负0.02时(折扣2%),加速因子喂2。理想喂价 = BTS市场价 * (1-0.02+0.02)^2=BTS市场价 *1^2=BTS市场价 *1,结论:目标达到理想状态,无需调整。
当溢价负0.01时(折扣1%),加速因子喂2。理想喂价 = BTS市场价 * (1-0.01+0.02)^2=BTS市场价 *1.01^2=BTS市场价 *1.02,结论:市场价提高2%,接近理想目标。
当溢价0时,加速因子喂2。理想喂价 = BTS市场价 * (1+0.02)^2=BTS市场价 *1.02^2=BTS市场价 *1.0404,结论:市场价提高约4%,很满意,也很安全。

当溢价0.01时,加速因子喂2。理想喂价 = BTS市场价 * (1.01+0.02)^2=BTS市场价 *1.03^2=BTS市场价 *1.0609,结论:市场价提高约6%,很满意,也很安全。
当溢价0.02时,加速因子喂2。理想喂价 = BTS市场价 * (1.02+0.02)^2=BTS市场价 *1.04^2=BTS市场价 *1.0816,结论:市场价提高约8%,很满意,也很安全。
当溢价0.03时,加速因子喂2。理想喂价 = BTS市场价 * (1.03+0.02)^2=BTS市场价 *1.05^2=BTS市场价 *1.1025,结论:市场价提高约10%,满意,也很安全。

当溢价0.04时,加速因子喂2。理想喂价 = BTS市场价 * (1.04+0.02)^2=BTS市场价 *1.06^2=BTS市场价 *1.1236,结论:市场价提高约12%,满意,安全。
     当溢价0.05时,加速因子喂2。理想喂价 = BTS市场价 * (1.05+0.02)^2=BTS市场价 *1.07^2=BTS市场价 *1.1449,结论:市场价提高约14%,满意,加速纠偏。
     当溢价0.06时,加速因子喂2。理想喂价 = BTS市场价 * (1.06+0.02)^2=BTS市场价 *1.08^2=BTS市场价 *1.1664,结论:市场价提高约16%,满意,加速纠偏
当溢价0.07时,加速因子喂2。理想喂价 = BTS市场价 * (1.07+0.02)^2=BTS市场价 *1.08^2=BTS市场价 *1.1881,结论:市场价提高约18%,满意,加速纠偏
当溢价0.08时,加速因子喂2。理想喂价 = BTS市场价 * (1.08+0.02)^2=BTS市场价 *1.1^2=BTS市场价 *1.121,结论:市场价提高约21%,满意,加速纠偏,风险依然可控。
        我们可以看到,随着溢价参数的不断变大,市场价提高呈现线性下降趋缓模式。
实际上如果采用M=0.02,即宽松指标为2%这样的公式后,溢价很难超过3%。因为当溢价达到3%时,喂价相对市场价提高了约10%,这个时候相当于MSSR为”0“了。也就是说爆仓单对内盘的价格不再有”打压“作用了,此时的内盘完全有动力和外盘保持价格”一致“。如果内外盘趋于价格持平,就是溢价消失的过程。
   
  结论:如果采用宽松指数M=0.02,即宽松目标2%,加速因子N=2,那么理论上溢价不会超过3%。
        再来讨论下更加激进的算法,供见证人参考。

           举例论证公式效果,宽松目标负2%,加速因子N=3
当溢价负0.02时(折扣2%),加速因子喂3。理想喂价 = BTS市场价 * (1-0.02+0.02)^3=BTS市场价 *1^3=BTS市场价 *1,结论:目标达到理想状态,无需调整。
当溢价负0.01时(折扣1%),加速因子喂3。理想喂价 = BTS市场价 * (1-0.01+0.02)^3=BTS市场价 *1.01^3=BTS市场价 *1.030301,结论:市场价提高3%,接近理想目标。
当溢价0时,加速因子喂3。理想喂价 = BTS市场价 * (1+0.02)^3=BTS市场价 *1.02^3=BTS市场价 *1.0612,结论:市场价提高约6%,很满意,也很安全。

当溢价0.01时,加速因子喂3。理想喂价 = BTS市场价 * (1.01+0.02)^3=BTS市场价 *1.03^3=BTS市场价 *1.092727,结论:市场价提高约9.2%,满意,也很安全。
当溢价0.02时,加速因子喂3。理想喂价 = BTS市场价 * (1.02+0.02)^3=BTS市场价 *1.04^3=BTS市场价 *1.125,结论:市场价提高约12%,满意,也安全。
当溢价0.03时,加速因子喂3。理想喂价 = BTS市场价 * (1.03+0.02)^3=BTS市场价 *1.05^3=BTS市场价 *1.157,结论:市场价提高约15%,满意,也安全。

当溢价0.04时,加速因子喂3。理想喂价 = BTS市场价 * (1.04+0.02)^3=BTS市场价 *1.06^3=BTS市场价 *1.191,结论:市场价提高约19%,满意,安全。
     当溢价0.05时,加速因子喂3。理想喂价 = BTS市场价 * (1.05+0.02)^3=BTS市场价 *1.07^3=BTS市场价 *1.225,结论:市场价提高约22%,风险依然可控。

          我们可以看到,随着溢价参数的不断变大,市场价提高呈现线性下降趋缓模式。
实际上如果采用M=0.02,即宽松指标为2%,加速因子N=3,这样的公式后,溢价很难超过1%。因为当溢价达到1%时,喂价相对市场价提高了约9.27%,这个时候相当于MSSR为”0“了。也就是说爆仓单对内盘的价格不再有”压制“作用了,此时的内盘完全有动力和外盘保持价格”一致“。如果内外盘趋于价格持平,就是溢价消失的过程。
      结论:如果采用宽松指数M=0.02,即宽松目标2%,加速因子N=3,那么理论上溢价不会超过2%。

Pages: 1 ... 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 ... 34