19 lines
674 B
Bash
19 lines
674 B
Bash
# Primary Account (ISA - for LONG trades)
|
|
TRADING212_API_KEY_ID=your_isa_api_key_id_here
|
|
TRADING212_API_KEY=your_isa_api_key_here
|
|
TRADING212_BASE_URL=https://demo.trading212.com/api/v0/
|
|
|
|
# Optional: Secondary Account (CFD - for SHORT trades)
|
|
# If provided, SPLIT_ACCOUNT_MODE will allow direct shorting of any stock.
|
|
CFD_API_KEY_ID=your_cfd_api_key_id_here
|
|
CFD_API_KEY=your_cfd_api_key_here
|
|
CFD_BASE_URL=https://demo.trading212.com/api/v0/
|
|
|
|
SPLIT_ACCOUNT_MODE=True
|
|
|
|
# Optional: Override the demo account's large starting balance (e.g. 5000)
|
|
# with a smaller amount to keep position sizing realistic for your future live account.
|
|
VIRTUAL_STARTING_BALANCE=250
|
|
ISA_MODE=True
|
|
|