0.1.1 • Published 8 years ago

bux v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

bux

Let's rock the world of finance.. from your terminal!

This is an application with which you can control your BUX trading account using the command line. You can view your positions and products, as well as open new positions, etc.

Based on the libBUX library.

Warning: This application is in early development, therefore is buggy and unstable. Please use your FunBUX accounts for experimenting.

Install

If you have Node.js:

$ npm install -g bux

First steps

Login

At first, you need to log in to your BUX account:

$ bux login

if you are not a BUX user, you can register through its mobile applications: Android, iOS

Explore

For a list of all available commands:

$ bux help

Usage

  Usage: bux [options] <command>


  Commands:

    login                                                    Login to BUX account and create config
    find|f [options] [<pattern>]                             Products list
    product|pro <product-id>                                 Info about specified product
    positions|p [options] [<pattern>]                        Portfolio overview
    position|pos <position-id>                               Info about specified position
    open|o <product-id> <direction> <trade-size> <leverage>  Open position
    close|c [<position-id>]                                  Close position
    fees                                                     Fees
    autoclose|ac <position-id>                               Set autoclose values to position
    balance|b                                                Account balance
    history|h [options] [<pattern>]                          Trade history
    me                                                       Info about you
    profile|pr                                               Basic account info
    friends|fr [options] [<pattern>]                         List your friends

  Options:

    -h, --help          output usage information
    -V, --version       output the version number
    -d, --debug         print verbose debug output to stdout
    -j, --json          output in json
    --server <address>  server api address