Author Topic: delegate,这里有自动喂价程序(BitSuperLab 出品)  (Read 17030 times)

0 Members and 1 Guest are viewing this topic.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
随便在哪个目录的,调用的是 client 的 api

Offline ripplexiaoshan

  • Moderator
  • Hero Member
  • *****
  • Posts: 2300
    • View Profile
  • BitShares: jademont
多谢alt. 多问一句,运行这个程序的目录必须在programs/client目录吗
BTS committee member:jademont

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
https://github.com/Bitsuperlab/operation_tools/tree/master/btsxfeed

本来以为手动喂价就够了,看来没这么简单,最好还是自动喂价,让启动价格和交易所不要相差太远。
复制 config.json.sample 为 config.json,修改其中相关配置,主要是rpc端口、密码,delegate名称。
比如要对 CNY,USD喂价,运行命令:
Code: [Select]
  ./btsx_feed_auto.py  CNY USD
如果不带参数运行,不会发布喂价,只实时显示价格。
« Last Edit: August 28, 2014, 02:13:25 am by alt »