Author Topic: 启动BTS内盘资产兑换服务  (Read 8061 times)

0 Members and 1 Guest are viewing this topic.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
这是一次实际测试中的交易记录,从块1753860 到 1753880,
最终成交价格是 0.05795,所有高于它的买单和所有低于它的卖单都按这个价格成交。

Code: [Select]
begin from block 1753860 to 1753880
2015-02-10 14:59:10,927[INFO]: 2015-02-10T14:59:10 1753862 8ff7d372 ask for 2000.0000 BTS at price 0.0575 CNY/BTS from d***
2015-02-10 14:59:21,141[INFO]: 2015-02-10T14:59:20 1753863 66493e15 bid with 100.0000 CNY at price 0.058 CNY/BTS from d***
-------------------------------------------------------------------------------
price is 0.0575  match volume is 1739.1304347826085 BTS balance is 100.0 CNY
-------------------------------------------------------------------------------
2015-02-10 14:59:31,396[INFO]: 2015-02-10T14:59:30 1753864 239a90fb bid with 50.0000 CNY at price 0.0581 CNY/BTS from d***
-------------------------------------------------------------------------------
price is 0.058  match volume is 2000.0 BTS balance is 116.0 CNY
-------------------------------------------------------------------------------
2015-02-10 14:59:52,119[INFO]: 2015-02-10T14:59:50 1753866 448f9fe9 ask for 1000.0000 BTS at price 0.0577 CNY/BTS from d***
-------------------------------------------------------------------------------
price is 0.05785  match volume is 2592.912705272256 BTS balance is 150.0 CNY
-------------------------------------------------------------------------------
2015-02-10 15:00:12,431[INFO]: 2015-02-10T15:00:10 1753868 4c4b29cc bid with 100.0000 CNY at price 0.0581 CNY/BTS from d***
-------------------------------------------------------------------------------
price is 0.058  match volume is 3000.0 BTS balance is 174.0 CNY
-------------------------------------------------------------------------------
2015-02-10 15:00:22,551[INFO]: 2015-02-10T15:00:20 1753869 c9a79573 ask for 2000.0000 BTS at price 0.0577 CNY/BTS from d***
-------------------------------------------------------------------------------
price is 0.0577  match volume is 4332.7556325823225 BTS balance is 250.0 CNY
-------------------------------------------------------------------------------
2015-02-10 15:00:32,680[INFO]: 2015-02-10T15:00:30 1753870 38aedf5a bid with 100.0000 CNY at price 0.0582 CNY/BTS from d***
-------------------------------------------------------------------------------
price is 0.058  match volume is 5000.0 BTS balance is 290.0 CNY
-------------------------------------------------------------------------------
2015-02-10 15:00:52,908[INFO]: 2015-02-10T15:00:50 1753872 86c11c16 ask for 2000.0000 BTS at price 0.0576 CNY/BTS from d***
-------------------------------------------------------------------------------
price is 0.05785  match volume is 6050.129645635263 BTS balance is 349.99999999999994 CNY
-------------------------------------------------------------------------------
2015-02-10 15:01:03,019[INFO]: 2015-02-10T15:01:00 1753873 db279ccd ask for 2000.0000 BTS at price 0.06 CNY/BTS from d***
-------------------------------------------------------------------------------
price is 0.05785  match volume is 6050.129645635263 BTS balance is 349.99999999999994 CNY
-------------------------------------------------------------------------------
2015-02-10 15:01:23,269[INFO]: 2015-02-10T15:01:20 1753875 89619e96 bid with 100.0000 CNY at price 0.05 CNY/BTS from d***
-------------------------------------------------------------------------------
price is 0.05785  match volume is 6050.129645635263 BTS balance is 349.99999999999994 CNY
-------------------------------------------------------------------------------
2015-02-10 15:01:33,367[INFO]: 2015-02-10T15:01:30 1753876 3fad1ee1 bid with 100.0000 CNY at price 0.05795 CNY/BTS from d***
-------------------------------------------------------------------------------
price is 0.05795  match volume is 7000.0 BTS balance is 405.65000000000003 CNY
-------------------------------------------------------------------------------

transfer 1723.9 BTS to dorian with memo "38aedf5a 0.05795"
transfer 861.95 BTS to dorian with memo "239a90fb 0.05795"
transfer 1723.9 BTS to dorian with memo "4c4b29cc 0.05795"
transfer 1723.9 BTS to dorian with memo "66493e15 0.05795"
transfer 44.344 CNY to dorian with memo "3fad1ee1 return"
transfer 959.35 BTS to dorian with memo "3fad1ee1 0.05795"
transfer 115.78 BOTSCNY to dorian with memo "8ff7d372 0.05795"
transfer 115.78 BOTSCNY to dorian with memo "86c11c16 0.05795"
transfer 57.892 BOTSCNY to dorian with memo "448f9fe9 0.05795"
transfer 115.78 BOTSCNY to dorian with memo "c9a79573 0.05795"

Offline Benkit

  • Jr. Member
  • **
  • Posts: 20
    • View Profile

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
现在支持对BTS的限价兑换了

发送 BTS、USD、CNY、EUR、GOLD、SILVER、BOTSCNY 中的一种资产到 auction.btsbots 帐号,
memo 注明期望的成交价,单位是 CNY/BTS。
如果你发送的是BTS,就会被作为BTS卖单,其它任何资产都作为BTS买单。比如我要卖BTS
Code: [Select]
wallet_transfer 10 BTS baozi auction.btsbots 0.056
要买 BTS
Code: [Select]
wallet_transfer 1 CNY baozi auction.btsbots 0.057
限价兑换引擎每360个BLOCK启动一次,兑换成功后立即返还,未成功则进入下一轮。如果24小时后仍未成交则返还。
注意为了简化程序,卖BTS统一获得的是 BOTSCNY
本轮起始块为:from block 1753920 to 1754280
« Last Edit: February 10, 2015, 03:37:41 pm by alt »

Offline xiahui135

  • Sr. Member
  • ****
  • Posts: 496
    • View Profile
赞~

内盘兑换越来越方便了。
« Last Edit: February 07, 2015, 03:10:18 pm by xiahui135 »

Offline botfund

  • Full Member
  • ***
  • Posts: 174
    • View Profile
  • BitShares: botfund
那得bitoil 被世界认可,随时可流通,美国人估计不答应

而且一旦打起来,不认帐了咋办,坦克可不是数字化的

本来只是锚定,到时候可以比如bitOil -> BTS -> USD -> oil,虽然麻烦点,但是基本也是可以做到大致bitOil:oil = 1:1。这个锚定本身跟坦克没有关系,是去中心化的。

Offline btswildpig

  • Hero Member
  • *****
  • Posts: 1424
    • View Profile
alt 出品,必属精品!

我在想,如果国家储备一些BitOil,锁定原油成本,就不必建大量油库来储备大量原油,对国家能源安全具有重大意义。
那得bitoil 被世界认可,随时可流通,美国人估计不答应

而且一旦打起来,不认帐了咋办,坦克可不是数字化的

Bit Tank , 锚定坦克
这个是私人账号,表达的一切言论均不代表任何团队和任何人。This is my personal account , anything I said with this account will be my opinion alone and has nothing to do with any group.

Offline tpfan

  • Jr. Member
  • **
  • Posts: 39
    • View Profile
alt 出品,必属精品!

我在想,如果国家储备一些BitOil,锁定原油成本,就不必建大量油库来储备大量原油,对国家能源安全具有重大意义。
那得bitoil 被世界认可,随时可流通,美国人估计不答应

而且一旦打起来,不认帐了咋办,坦克可不是数字化的

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
谢谢@abit 帮我开了一个网页,界面虽然丑了一点,但基本功能都有了,请大家试用
http://btsx.bitsuperlab.com/exchange.html

Offline 天籁

  • Hero Member
  • *****
  • Posts: 744
    • View Profile
alt 出品,必属精品!

我在想,如果国家储备一些BitOil,锁定原油成本,就不必建大量油库来储备大量原油,对国家能源安全具有重大意义。

Offline Musewhale

  • Hero Member
  • *****
  • Posts: 2881
  • 丑,实在是太丑了 !
    • View Profile
MUSE witness:mygoodfriend     vote for me

Offline tpfan

  • Jr. Member
  • **
  • Posts: 39
    • View Profile

Offline callmeluc

  • Hero Member
  • *****
  • Posts: 552
    • View Profile
人民币前景堪忧,alt就是救星啊,无缝避险

 +5% +5%
BTS_自扯自淡

Offline cnfund

  • Sr. Member
  • ****
  • Posts: 275
  • 我是比特股老黄。
    • View Profile
  • BitShares: cnfund
换了两次100CNY到USD,感觉确实比较方便。
我是比特股老黄。

Offline ssjpts

  • Hero Member
  • *****
  • Posts: 538
    • View Profile
    • 中国BTC
  • BitShares: coolman
试了下,很好用。
新浪微博:剑指未来BTS
BTC:1Bc7gRGotktBmnNFr3BUUM22HFXCCTyxor
BTSX ID:loves,集大众之爱,待到BTS 500刀,10%回退给捐赠者,10%用于运营,剩余80%用于爱心事业和BTS宣传推广。

Offline tpfan

  • Jr. Member
  • **
  • Posts: 39
    • View Profile