-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (23 loc) · 1.14 KB
/
Copy path.env.example
File metadata and controls
30 lines (23 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copy this file to `.env` and fill in your own values.
# `.env` is gitignored - never commit real credentials.
#
# NOTE: none of these settings have been validated against a live DXtrade
# server. See the "Project Status" section of the README before spending time
# here. FTMO in particular disabled DXtrade REST access for clients in April
# 2024, so no combination of values below will work against FTMO.
# Base URL of your broker's DXtrade deployment (no trailing slash).
DXTRADE_BASE_URL=https://dxtrade.your-broker.com
# Credentials for the trading account.
DXTRADE_USERNAME=
DXTRADE_PASSWORD=
# The broker's domain/vendor identifier, sent alongside the credentials.
DXTRADE_DOMAIN_VENDOR=default
# REST prefix for the DXtrade SCA API. Every REST path is built under this.
DXTRADE_API_PREFIX=/dxsca-web
# Login path, relative to DXTRADE_API_PREFIX.
DXTRADE_LOGIN_PATH=/login
# Account code / id. The login response does not reliably contain one, and the
# wrapper now raises instead of guessing, so set it explicitly if you have it.
DXTRADE_ACCOUNT=
# WebSocket path. Unverified - differs between broker deployments.
DXTRADE_WEBSOCKET_PATH=/websocket/events