How to Place Trades in Multiple Accounts from a Single Alert: Video Explanation
How to Place Trades in Multiple Accounts: Example Alert Structure
Code
{
"symbol": "{{ticker}}",
"date": "{{timenow}}",
"data": "buy",
"quantity": "3",
"risk_percentage": "0",
"price": "{{close}}",
"tp": "0",
"sl": "0",
"trail": "0",
"update_tp": "false",
"update_sl": "false",
"token":
"At1tGt9tTt834345tWtEt8tYtMtRt712",
"duplicate_position_allow":
"false",
"reverse_order_close": "true",
"account_id": "",
"multiple_accounts":
[
{
"token":
"At1tGt9tTt3453458tWtEt8tYtMtRt712",
"account_id":
"DEMO291396",
"risk_percentage":
"0",
"quantity_multiplier":
"2",
},
{
"token":
"At1tGt9tTt3453458tWtEt8tYtMtRt712",
"account_id":
"DEMO291396",
"risk_percentage":
"0",
"quantity_multiplier":
"2",
}
],
}
How to Place Trades in Multiple Accounts from a Single Alert
We've introduced a powerful feature that streamlines your trading process: the ability to execute trades across multiple accounts of Tradovate using a single alert from TradingView. Whether you're managing 10 or 100 client accounts, this feature simplifies your workflow.
It would allow you to place trades in all accounts listed in your Tradovate login, and you can automate other user trades in Tradovate as well. This works like a trade copier to Tradovate.
In case you want to automate other user trades from TradingView to Tradovate, they have to create a PickMyTrade account, connect their Tradovate account with PickMyTrade, and share their token and account name with you.
Step 1:
Click on Add Multiple Account in Generate Alert.
Step 2:
And then Click Add User.
Step 3:
You then add a user, and in case you want to add your account, the PickMyTrade token should be of your account. If you want to automate your friend's account, ask for their PickMyTrade token and Tradovate account name.
Please check this page to understand the complete process of setting up alerts.
Understanding the multiple_accounts Tag
- token: The unique token identifying the user's account (e.g., your client's token or the token for an account you manage).
- account_id: The specific Tradovate account ID where the trade should be placed for that user.
- risk_percentage: (Optional) Control trade quantity based on account value and stop loss. If used, set quantity to 0. Calculation for qty would be like this: quantity = ((account_value_in_tradovate * risk_percentage) / 100) / abs(sl price - entry price) / lotsize. In the case of Trading Strategy, you can’t do risk percentage.
- quantity_multiplier: (Optional) Adjust the quantity for individual accounts. If the main quantity is 3 and you want 50% for this account, set it to 0.5.
Important Notes
- Unlimited Accounts: The multiple_accounts tag can accommodate an unlimited number of accounts.
- Specify All Accounts: When using multiple_accounts, include all your target accounts within this tag. Don't leave any out.