-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
28 lines (23 loc) · 1.45 KB
/
.env.example
File metadata and controls
28 lines (23 loc) · 1.45 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
# API2Trade SDK — Environment Configuration
# Copy this file to .env and fill in your values.
#
# Single Account plan (€12/mo):
# Get your API key at: https://app.metatraderapi.dev → Settings
#
# Pro plan users: set API2TRADE_BASE_URL to your dedicated URL and
# use API2TRADE_PRO_USERNAME / API2TRADE_PRO_PASSWORD instead of API key.
# ── Required ──────────────────────────────────────────────────────────────
API2TRADE_API_KEY=your_api_key_here
# ── Set after running example 01 ─────────────────────────────────────────
API2TRADE_ACCOUNT_ID=your_account_uuid_here
# ── Broker credentials (for example 01 only — not sent to any third party) ─
MT_LOGIN=123456
MT_PASS=YourBrokerPassword
MT_SERVER=ICMarkets-Live01
# ── Optional overrides ────────────────────────────────────────────────────
# API2TRADE_BASE_URL=https://api.metatraderapi.dev
# API2TRADE_WS_URL=wss://api.metatraderapi.dev/stream
# ── Pro plan Basic Auth (Pro/Full Pro plans only) ─────────────────────────
# API2TRADE_PRO_USERNAME=
# API2TRADE_PRO_PASSWORD=
# API2TRADE_BASE_URL=https://your-dedicated-url.api2trade.com