mirror of
https://github.com/luxfi/futures.git
synced 2026-10-30 16:25:11 +00:00
Standalone Go module for futures/FCM trading with pluggable provider backends. Includes FuturesProvider interface, Apex Futures and IBKR stubs, env-based registration, HTTP server, Dockerfile, and compose.yml.
16 lines
448 B
YAML
16 lines
448 B
YAML
services:
|
|
futuresd:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "8090:8090"
|
|
environment:
|
|
LISTEN_ADDR: ":8090"
|
|
APEX_FUTURES_API_KEY: "${APEX_FUTURES_API_KEY}"
|
|
APEX_FUTURES_API_SECRET: "${APEX_FUTURES_API_SECRET}"
|
|
APEX_FUTURES_SANDBOX: "true"
|
|
IBKR_FUTURES_ENABLED: "${IBKR_FUTURES_ENABLED:-false}"
|
|
IBKR_FUTURES_PAPER: "${IBKR_FUTURES_PAPER:-true}"
|
|
restart: unless-stopped
|