Bash script to access the oanda-api
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


A simple bash client to access the OANDA API

This client only supports access to the sandbox environment.

Supported commands:

  • accounts - get a list of accounts

  • account - set active account

  • trades - get a list of trades

  • marketOrder new - create a new market order

  • trade get - show trade information

  • rate - show the current rate for a provided instrument

Note: At startup a username is required to access the list of accounts, etc. For information on how to create a test account see the API documentation page, or issue the following command in a terminal.

curl -X POST ""

Required dependencies:

  • curl, sed, perl (for uri_escape... will be removed later)