BitShares Forum

Main => General Discussion => Topic started by: alt on September 23, 2014, 12:47:52 pm

Title: a script to help trading in CLI wallet(From BitSuperLab)
Post by: alt on September 23, 2014, 12:47:52 pm
(http://ww4.sinaimg.cn/large/5d9c0487gw1ekmp07tfw4j211e0gz0zt.jpg)
does somebody trade throw the CLI wallet?
I have write a script to help the trading.
l'll upload to github after some improve.
Title: Re: a script to help trading in CLI wallet
Post by: Riverhead on September 23, 2014, 12:48:49 pm
This would be really handy. I have been working on a bot a some market monitoring scripts but they are really primitive.
Title: Re: a script to help trading in CLI wallet
Post by: alt on September 25, 2014, 06:14:52 am
here is the source:
https://github.com/bitsuperlab/operation_tools/blob/master/btsx_market/btsx_order_book.py

1. start tmux(or screen if you like),  split the window, here is the hotkey:
Code: [Select]
C-b "    #split window
C-b Up #selet-pane -U
C-b Down #selet-pane -D
2. run wallet at window below
3. run this script at window up
Code: [Select]
watch -t -n 5 ./btsx_order_book.py
Title: Re: a script to help trading in CLI wallet(From BitSuperLab)
Post by: abit on September 25, 2014, 06:27:05 am
Good tool +5%, however it's too wide for my laptop  :-[
Title: Re: a script to help trading in CLI wallet(From BitSuperLab)
Post by: alt on September 25, 2014, 06:31:34 am
Good tool +5%, however it's too wide for my laptop  :-[
you can use a small font,  for ubuntu 1404, the hotkey is  ctrl  -/ctrl +
or change the source to fit your screen....
Title: Re: a script to help trading in CLI wallet(From BitSuperLab)
Post by: abit on September 25, 2014, 06:41:37 am
Good tool +5%, however it's too wide for my laptop  :-[
you can use a small font,  for ubuntu 1404, the hotkey is  ctrl  -/ctrl +
or change the source to fit your screen....
Thanks!
I'm tweaking the source.. the font size is already too small for me.
An advice: it's better to use '>' when formatting numbers.
Title: Re: a script to help trading in CLI wallet(From BitSuperLab)
Post by: alt on September 25, 2014, 06:50:30 am
Good tool +5%, however it's too wide for my laptop  :-[
you can use a small font,  for ubuntu 1404, the hotkey is  ctrl  -/ctrl +
or change the source to fit your screen....
Thanks!
I'm tweaking the source.. the font size is already too small for me.
An advice: it's better to use '>' when formatting numbers.
you are right ,thank you
I have change it  :)