Author Topic: alt的新版本喂价  (Read 1286 times)

0 Members and 1 Guest are viewing this topic.

Offline ebit

  • Committee member
  • Hero Member
  • *
  • Posts: 1727
    • View Profile
    • 推荐链接
  • BitShares: ebit
alt的新版本喂价
« on: June 08, 2015, 06:12:06 am »
https://bitsharestalk.org/index.php/topic,16170.15.html

Code: [Select]
git clone https://github.com/pch957/python-bts
sudo apt-get install python-setuptools
cd python-bts
python setup.py build
sudo python setup.py install


cp -a config ~/.python-bts
cd ..
cd ~/.python-bts
ls

vi bts_client.json
i
更改"port"\“user”和"password"的值,我的是9989、root、123456
按Esc键
:wq

vi delegate_task.json
i
更改"delegate_list"的值。
按Esc键
:wq


cd..
cd python-bts
python scripts/bts_delegate_task.py


« Last Edit: June 08, 2015, 06:17:27 am by ebit »

Offline ebit

  • Committee member
  • Hero Member
  • *
  • Posts: 1727
    • View Profile
    • 推荐链接
  • BitShares: ebit
Re: alt的新版本喂价
« Reply #1 on: July 12, 2015, 05:08:48 am »
最近又升级了。
顺路可以调调参数,解决喂价在价格盘整时敏感度太低。
Quote
if you want publish imeediately, you need to edit config file ~/.python-bts/delegate_taks.json
change "change_max" to a big number, like 50000

when the feed price is correct, you'd better change that back for safety reason.