feat: implement Split-Account Mode for ISA/CFD hybrid execution
This commit is contained in:
+12
-2
@@ -1,8 +1,18 @@
|
||||
TRADING212_API_KEY_ID=your_practice_api_key_id_here
|
||||
TRADING212_API_KEY=your_practice_api_key_here
|
||||
# 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user