fmgo-riskmanager
Risk Manager is a Flamingo module to open BUY and SELL position based on order from one or more trader, market conditions and account informations.
Getting Started
Prerequis
Install node (with nvm)
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
source ~/.bashrc
nvm install --lts
sudo apt-get install build-essential
Install
npm i -g pm2 fmgo-riskmanager
Update
npm update -g fmgo-riskmanager
Usage
FIREBASE_EMAIL=MYFIREBASE@EMAIL.COM \
FIREBASE_PASSWORD=MYFIREBASEPASSWORD \
STRATEGY_NAME=FLAMINGO_ANALYST \
IG_APIKEY=YOURAPIKEY \
IG_IDENTIFIER=YOURIDENTIFIER \
IG_PASSWORD=YOURPASSWORD \
fmgo-trader start
pm2 logs
*Remove the command from your ~/.bash_history if you are in a unsecure environement