Author Topic: a script to help trading in CLI wallet(From BitSuperLab)  (Read 344 times)

0 Members and 1 Guest are viewing this topic.

Offline alt

  • Hero Member
  • *****
  • Posts: 2613
    • View Profile
  • BitShares: baozi
a script to help trading in CLI wallet(From BitSuperLab)
« on: September 23, 2014, 12:47:52 pm »

does somebody trade throw the CLI wallet?
I have write a script to help the trading.
l'll upload to github after some improve.
« Last Edit: September 25, 2014, 06:18:47 am by alt »

Offline Riverhead

Re: a script to help trading in CLI wallet
« Reply #1 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.
« Last Edit: September 23, 2014, 12:52:16 pm by Riverhead »

Offline alt

  • Hero Member
  • *****
  • Posts: 2613
    • View Profile
  • BitShares: baozi
Re: a script to help trading in CLI wallet
« Reply #2 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
« Last Edit: September 25, 2014, 06:23:42 am by alt »

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 3008
    • View Profile
    • Steemit Blog
  • BitShares: abit
  • GitHub: abitmore
Re: a script to help trading in CLI wallet(From BitSuperLab)
« Reply #3 on: September 25, 2014, 06:27:05 am »
Good tool +5%, however it's too wide for my laptop  :-[
BTS account: abit
BTS committee member: abit
BTS witness: in.abit

Offline alt

  • Hero Member
  • *****
  • Posts: 2613
    • View Profile
  • BitShares: baozi
Re: a script to help trading in CLI wallet(From BitSuperLab)
« Reply #4 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....

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 3008
    • View Profile
    • Steemit Blog
  • BitShares: abit
  • GitHub: abitmore
Re: a script to help trading in CLI wallet(From BitSuperLab)
« Reply #5 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.
BTS account: abit
BTS committee member: abit
BTS witness: in.abit

Offline alt

  • Hero Member
  • *****
  • Posts: 2613
    • View Profile
  • BitShares: baozi
Re: a script to help trading in CLI wallet(From BitSuperLab)
« Reply #6 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  :)