BitShares Forum

Main => 中文 (Chinese) => 新手入门 => Topic started by: xfund on September 28, 2014, 02:00:29 pm

Title: FUND受托人教程(自学版)
Post by: xfund 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 (http://daslab.io/scheme/btsx/she.bitrose/approve)
Code: [Select]
[url=http://daslab.io/scheme/btsx/she.bitrose/approve]Approve she.bitrose[/url]
Title: Re: FUND受托人教程(自学版)
Post by: ripplexiaoshan on September 28, 2014, 03:07:01 pm
 +5%
Title: Re: FUND受托人教程(自学版)
Post by: mtang on September 29, 2014, 01:35:23 am
赞一个,能做成图文版本加傻瓜一键完成就更赞了 +5% +5%
Title: Re: FUND受托人教程(自学版)
Post by: 0dayZh on October 07, 2014, 04:35:43 pm
前来赞个!
Title: Re: FUND受托人教程(自学版)
Post by: xfund on October 11, 2014, 06:00:23 am
建立feed node
Title: Re: FUND受托人教程(自学版)
Post by: sfinder on October 14, 2014, 05:55:56 pm
建立feed node

nice work
Title: Re: FUND受托人教程(自学版)
Post by: xfund on November 26, 2014, 03:37:08 am
升级用户git pull后,放弃原来的config.json;重新修改模版config-sample.json 。
Title: Re: FUND受托人教程(自学版)
Post by: ebit on November 26, 2014, 06:43:18 am
config.json中默认的喂价时间间隔是23.5小时,显然得改小些。
Title: Re: FUND受托人教程(自学版)
Post by: alt on November 26, 2014, 06:50:33 am
config.json中默认的喂价时间间隔是23.5小时,显然得改小些。
那个是喂价过期时间不用改的
建议自定义以下参数
Quote
采样频率: sample_timer,多少秒取一次价格
滤波样本长度:median_length,价格中间值最多缓存多少个点,这个值越大价格越不容易被操控,但价格响应也会越慢
市场深度区间:depth_change,0.05意思是取成交价相差 5%内的深度
自定义权重:scale_xxxx

Title: Re: FUND受托人教程(自学版)
Post by: xfund on November 26, 2014, 08:50:05 am
谢谢。是不是价格波动在自定义范围内,程序就不启动喂价动作?
不知为啥喂价频率很低。