Author Topic: FUND受托人教程(自学版)  (Read 7404 times)

0 Members and 1 Guest are viewing this topic.

Offline xfund

  • Full Member
  • ***
  • Posts: 148
    • View Profile
    • FUND投票基金
  • BitShares: xfund
谢谢。是不是价格波动在自定义范围内,程序就不启动喂价动作?
不知为啥喂价频率很低。
« Last Edit: November 26, 2014, 08:52:49 am by xfund »
Asset:FUND

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
config.json中默认的喂价时间间隔是23.5小时,显然得改小些。
那个是喂价过期时间不用改的
建议自定义以下参数
Quote
采样频率: sample_timer,多少秒取一次价格
滤波样本长度:median_length,价格中间值最多缓存多少个点,这个值越大价格越不容易被操控,但价格响应也会越慢
市场深度区间:depth_change,0.05意思是取成交价相差 5%内的深度
自定义权重:scale_xxxx


Offline ebit

  • Committee member
  • Hero Member
  • *
  • Posts: 1905
    • View Profile
  • BitShares: ebit
config.json中默认的喂价时间间隔是23.5小时,显然得改小些。
« Last Edit: November 26, 2014, 08:50:49 am by ebit »
telegram:ebit521
https://weibo.com/ebiter

Offline xfund

  • Full Member
  • ***
  • Posts: 148
    • View Profile
    • FUND投票基金
  • BitShares: xfund
升级用户git pull后,放弃原来的config.json;重新修改模版config-sample.json 。
Asset:FUND

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline xfund

  • Full Member
  • ***
  • Posts: 148
    • View Profile
    • FUND投票基金
  • BitShares: xfund
Asset:FUND

Offline 0dayZh

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
BTS ID: dayzh
keyID: dayzh

Offline mtang

  • Sr. Member
  • ****
  • Posts: 366
  • BTSX id:mtang
    • View Profile
赞一个,能做成图文版本加傻瓜一键完成就更赞了 +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 ripplexiaoshan

  • Moderator
  • Hero Member
  • *****
  • Posts: 2300
    • View Profile
  • BitShares: jademont
BTS committee member:jademont

Offline xfund

  • Full Member
  • ***
  • Posts: 148
    • View Profile
    • FUND投票基金
  • BitShares: xfund
喂价--------------------------------------------------------------------------------------------------------
参考:
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