Skip to content

Robertndrei/xtb-portfolio-realtime-viewer

Repository files navigation

Realtime XTB portfolio viewer

Example

License

Description

A simple way to view your portfolio in realtime.
Based on Nest framework.

Installation

$ npm install

Configuration

All the configuration is stored in the .env file from the root directory.

PORT=3000   # Webserver port

XTB_WSS_URL=wss://ws.xtb.com/real
XTB_WSS_STREAM_URL=wss://ws.xtb.com/realStream

XTB_ACCOUNT_ID=
XTB_ACCOUNT_PASSWORD=

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Viewer

Just open your browser and go to http://localhost:3000/

Stay in touch

License

This project is licensed under the MIT License - see the License file for details