Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: FUND受托人教程(自学版)  (Read 890 times)

Offline xfund

FUND受托人教程(自学版)
« on: September 28, 2014, 02:00:29 PM »

喂价--------------------------------------------------------------------------------------------------------
参考:
https://bitsharestalk.org/index.php?topic=7528.0
https://bitsharestalk.org/index.php?topic=7787.0

(1)git clone https://github.com/Bitsuperlab/operation_tools.git
cd operation_tools/btsxfeed
cp config-sample.json  config.json

(2)安装配套程序:
apt-get install python3
apt-get install python3-requests
apt-get install python3-numpy

(3)按自己的要求修改
vi config.json
i编辑
服务器用户名 服务器密码

 "delegate_list": ["delegate.baozi", "delegate2.baozi"]
按esc :wq
-----------------------------------------
(4)以新的方式运行client(每次都需要)
去./bitshares_client  --server --httpport 9989 --rpcuser 服务器用户名 --rpcpassword 服务器密码

(5)再回到operation_tools/btsxfeed目录
screen
./bts_feed_auto.py USD CNY GOLD BTC

投票链接-----------------------------------------------------------------------------------------

只需要更改自己的名字

Approve she.bitrose
Code: [Select]
[url=http://daslab.io/scheme/btsx/she.bitrose/approve]Approve she.bitrose[/url]
« Last Edit: November 26, 2014, 08:50:36 AM by xfund »
Asset:FUND

Offline ripplexiaoshan

  • Moderator
  • Hero Member
  • *****
  • Posts: 1947
    • View Profile
  • BTS: xiaoshan
Re: FUND受托人教程(自学版)
« Reply #1 on: September 28, 2014, 03:07:01 PM »
 +5%
BTS ID:xiaoshan                   www.btsabc.org

Offline mtang

  • Sr. Member
  • ****
  • Posts: 366
  • BTSX id:mtang
    • View Profile
Re: FUND受托人教程(自学版)
« Reply #2 on: September 29, 2014, 01:35:23 AM »
赞一个,能做成图文版本加傻瓜一键完成就更赞了 +5% +5%
BTSX:wallet_approve_delegate btsx.outofcontrol true
DNS :wallet_account_set_approval mtang true
感谢给我们的受托人团队“失控”btsx.outofcontro以及she.bitrose投票。请关注FUND数字资产运作计划//立足兢兢业业的standby delegate//weibo ID:汤O包

Offline 0dayZh

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Re: FUND受托人教程(自学版)
« Reply #3 on: October 07, 2014, 04:35:43 PM »
前来赞个!
BTS ID: dayzh
keyID: dayzh

Offline xfund

Re: FUND受托人教程(自学版)
« Reply #4 on: October 11, 2014, 06:00:23 AM »
建立feed node
Asset:FUND

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
Re: FUND受托人教程(自学版)
« Reply #5 on: October 14, 2014, 05:55:56 PM »
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline xfund

Re: FUND受托人教程(自学版)
« Reply #6 on: November 26, 2014, 03:37:08 AM »
升级用户git pull后,放弃原来的config.json;重新修改模版config-sample.json 。
Asset:FUND


Offline alt

Re: FUND受托人教程(自学版)
« Reply #8 on: November 26, 2014, 06:50:33 AM »
config.json中默认的喂价时间间隔是23.5小时,显然得改小些。
那个是喂价过期时间不用改的
建议自定义以下参数
Quote
采样频率: sample_timer,多少秒取一次价格
滤波样本长度:median_length,价格中间值最多缓存多少个点,这个值越大价格越不容易被操控,但价格响应也会越慢
市场深度区间:depth_change,0.05意思是取成交价相差 5%内的深度
自定义权重:scale_xxxx


Offline xfund

Re: FUND受托人教程(自学版)
« Reply #9 on: November 26, 2014, 08:50:05 AM »
谢谢。是不是价格波动在自定义范围内,程序就不启动喂价动作?
不知为啥喂价频率很低。
« Last Edit: November 26, 2014, 08:52:49 AM by xfund »
Asset:FUND

 

Google+