OGRE - TradeOgre Console and CLI
OGRE is a simple command-line- and console interface to the TradeOgre trading platform. OGRE is a simple terminal interface, both console and CLI, optimized for swing-trading XMR<->BTC on TradeOgre.
It spares you the hassle of having to log in via a browser just to update orders.
There is no affiliation with the platform.
Installation
- Get OGRE by cloning sxmo-onfire.
 - Install dependencies listed by this command:
_common/assert_environment.sh ogre/ogre.sh 
Usage
To start the interactive menu, run OGRE without providing a command name as parameter:
API_KEY=<key> API_SECRET=<secret> ./ogre.sh
To execute a specific command directly, provide it as first parameter, adding arguments as needed (./ogre.sh <command> [<params>...]). Example:
API_KEY=<key> API_SECRET=<secret> ./ogre.sh ticker
Features
- Instead of provding 
API_KEY=andAPI_SECRET=, aPASSFILEcontaining those on separate lines may be provided. - If the 
PASSFILEname ends in.gpg, decryption is attempted. Otherwise it is considered a plain-text file. In either case, only lines starting withAPI_KEYorAPI_SECRETof the provided file are considered. - Copies of order data in JSON format are stored locally for later reference. Cancelling an order also removes the corresponding copy.
 - To get history-functionality, install rlwrap and launch like this: 
PASSFILE=<file> rlwrap -nN ./ogre.sh. The arrow-up key will then recall previously issued commands. 
Changelog
To avoid unexpected behaviour, be sure to use a tagged commit where available.
- 2024-12-12 extract GUI-initialization as init_gui.sh
 - 2024-06-10 add "ogre" tool