Generates a static site featuring a trader's performance data.
- Bybit
- NodeJS, NPM
- API keys from a supported broker
- Git with SSH profile (Vitrine Page HTTP push untested)
- A Github page repository
- Git Clone (Recommended)
- Zip Download
npm install
Open vitrine.config.json
. Located at the root of the directory.
tradersName
: Name of your choiceshowAvatar
: Whether the file./public/avatar.png
should be displayed next to your nameapiHost
: API base URLapiKey
: API public keyapiSecret
: API private keyapiRecvWindow
: API recv window
If set, a deployment will be executed at the end of the building process.
vitrinePageGitSSH
: SSH path to Github Page repositoryvitrinePageDomain
: Github Page domain name (to set in CNAME)
As an example here is the config that I use.
{
"tradersName": "Xav",
"showAvatar": true,
"apiHost": "https://api.bybit.com",
"apiKey": "xxxx",
"apiSecret": "xxxx",
"apiRecvWindow": 5000,
"vitrinePageGitSSH": "[email protected]:WildXav/vitrine-page.git",
"vitrinePageDomain": "trades.xaviers.sh"
}
npm run build
- Dynamically set HTML title
- Bypass PnL retrieval when doing
preview
orserve
- TBD