The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

buy - Buy Stocks for Free from the Command Line

SYNOPSIS

buy -symbol=... -quantity=... [options]

 Examples:
   buy -username=getMoney -password=*** -symbol=MSFT -quantity=2000
   buy -token=9afcdbe... -symbol=MSFT -quantity=2000

 Options:
   -username        your Robinhood username
   -password        your Robinhood password
   -token           your Robinhood access token
   -symbol          trading symbol of the security *
   -quantity        number of shares to buy *

   -help            brief help message
   -man             full documentation

    * required arguments

OPTIONS

-username

Your Robinhood username.

-password

Your Robinhood password.

-token

Robinhood provides access tokens for authorization which is great because you don't need to keep providing your username or password on the command line!

You can get it by passing a false -token arg along with your -username and -password:

    $ buy -username=secret -password=supersecret -token=0 -symbol=MSFT -quantity=200

And on subsequent runs, just provide the -token:

    $ buy -token=a9c321... -symbol=RHT -quantity=50
-symbol

The ticker symbol of the security you'd like to place an order for.

-quantity

The number of shares you'd like to order.

-verbose

Dumps a lot of random debugging stuff to the terminal including private keys.

Be very careful where you use this!

-help

Print a brief help message and exits.

-man

Prints the manual page and exits.

DESCRIPTION

buy will place a market order for the security of your choice to be executed immediatly.