The goal of the project is to provide better monitoring of forex accounts.
You need only to have registered public monitoring, for example on myfxbook platform.
This guide assumes you're using Unix-like operating system, but you can adopt instruction commands for Windows, etc.
- Install Golang as described here.
wget https://dl.google.com/go/go$GOVERSION.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go$GOVERSION.linux-amd64.tar.gz
- Install
dep
utility as described here.
sudo curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
-
Download the source code of the project.
-
Unpack the archive and go to the project directory:
$GOPATH/src/fxbd
- Create configuration file
$GOPATH/src/fxbd/application_config.json
with your settings:
{
"port": 8080,
"stats_dir": "/tmp/fxbd-stats",
"accounts": [
{
"name": "My Account 1",
"location": "https://www.myfxbook.com/members/user1/account1/id",
"refresh_seconds": 300,
"currency_divider": 100
}
]
}
where:
port
- exposed port of application available on.stats_dir
- folder where downloaded statistics located (must be writable).accounts
- list of monitored accounts.name
- Visible name of account on dashboard.location
- url to original Forex monitoring page (currently supports myfxbook only).refresh_seconds
- time period to download statistics (in seconds).currency_divider
- adjust currency values (for cent accounts use 100).
- Get dependencies:
dep init
dep ensure -v
- Build the project:
go build .
- Run executable:
./fxbd
- Check the page http://localhost:8080/.
You need properly configure you original monitoring platform.
Feel free to bring your ideas improving the visual or functionality of the project in Issues or Pull Requests.