Binance trade station with automatic quantity calculation
212
The image will capture the live futures prices of BTCUSDT, ETHUSDT and BNBUSDT from binance futures websocket.
The user have to enter the risk in USDT if stoploss is hit, risk to reward ratio and the stoploss price.
The application will calculate the take profit price and the quantity to be traded.
The following environments will be needed to run the application properly.
API_KEY: value - (text format) Binance api key
SECRET_OR_PRIVATE_KEY: value - (text format) "SECRET" or "PRIVATE_KEY" to mention whether the user is using the HMAC secret key or RSA private key
API_SECRET_OR_PRIVATE_KEY: value - (text format) if the above variable is "SECRET", this will be the secret key received during the API key generation otherwise the value must be the base64 format of the private key whose public key has been provided to binance to generate the API key
GOOGLE_CLIENT_ID: value (text format) for login with google
GOOGLE_CLIENT_SECRET: value (text format) for login with google
ALLOWED_USER: value - (email format) must be gmail. A single gmail is allowed to access the application and execute the trade
example docker-compose.yml
services:
trade_station:
image: khantmg/binance-trade-station
environment:
- API_KEY=your-api-key
- SECRET_OR_PRIVATE_KEY=SECRET-or-PRIVATE_KEY
- API_SECRET_OR_PRIVATE_KEY=API-secret-or-private-key-in-base64-format
- GOOGLE_CLIENT_ID=your-google-client-id
- GOOGLE_CLIENT_SECRET=your-google-client-secret
- [email protected]
ports:
- "3000:3000"
Content type
Image
Digest
sha256:3a1924054…
Size
57.4 MB
Last updated
over 1 year ago
docker pull khantmg/binance-trade-station