Bitcoin Forum
October 31, 2024, 05:14:08 PM *
News: Bitcoin Pumpkin Carving Contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Local / 中文 (Chinese) / 根据交易明细数据讨论庄家购买成本技术讨论 on: December 17, 2013, 06:31:01 AM
       假设庄家每一单买入BTC的数量为10+,那么可以根据BTC的购买数量大致筛选出庄家的买单,如果买家一单的进价为buy_price,数量为buy_amount,且庄家一共分5批买进,那么可以推算出庄家的成本价公式:

  成本价=(buy_price1*buy_amount1+buy_price2*buy_amount2+buy_price3*buy_amount3+buy_price4*buy_amount4+buy_price5*buy_amount5) / (buy_amount1+buy_amount2+buy_amount3+buy_amount4+buy_amount5)


  此公式乃为抛砖引玉,欢迎大家积极参与探讨。亦可加入QQ群:192629413,进行深入探讨。
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!