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

0 Members and 1 Guest are viewing this topic.

Offline ebit

  • Committee member
  • Hero Member
  • *
  • Posts: 1905
    • View Profile
  • BitShares: ebit
最近又升级了。
顺路可以调调参数,解决喂价在价格盘整时敏感度太低。
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.
telegram:ebit521
https://weibo.com/ebiter

Offline ebit

  • Committee member
  • Hero Member
  • *
  • Posts: 1905
    • View Profile
  • BitShares: ebit
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 »
telegram:ebit521
https://weibo.com/ebiter