BitShares Forum

Main => 中文 (Chinese) => 新手入门 => Topic started by: ebit on June 08, 2015, 06:12:06 am

Title: alt的新版本喂价
Post by: ebit 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


Title: Re: alt的新版本喂价
Post by: ebit 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.