Hi,
my trading system generates daily limit orders for entry. I transmit the orders via API to IB.
Since I never know which orders will be executed, I don't know how many positions will be in the market.
So I have to monitor the real capital on. Otherwise the system continues to buy on margin.
So I am looking for a solution that prevents further buying when a certain investment capital is invested in real time.
I can't find a solution for this myself in the interaction WL and IB.
Does anyone have an idea?
Rename
It sounds like the Trading Thresholds in Trading Preferences might do the trick here.
I don't understand. It's about life trading, not backtesting. Can you please explain this in more detail?
Probably means the Trading tab (Not backtesting)
Yes thanks, I edited my comment to correct that.
Unfortunately, this does not solve my problem as I run several trading systems in parallel and have a separate sub-account with IB for each.
It would have to be separately adjustable for each strategy or even be part of the strategy.
Is there a possibility?
It would have to be separately adjustable for each strategy or even be part of the strategy.
Is there a possibility?
Although Account Buying Power and Cash are tested on a per account basis, the setting is the same for all accounts. And, the rest of the Thresholds apply to all accounts collectively.
If there isn't already one, we'll need a feature request to redesign Trading Thresholds to configure and apply on a per-account basis.
fwiw, maybe a better approach than putting a complicated dialog in Preferences would be to configure Trading Thresholds at the same time the account is configured for a Strategy.
If there isn't already one, we'll need a feature request to redesign Trading Thresholds to configure and apply on a per-account basis.
fwiw, maybe a better approach than putting a complicated dialog in Preferences would be to configure Trading Thresholds at the same time the account is configured for a Strategy.
QUOTE:
fwiw, maybe a better approach than putting a complicated dialog in Preferences would be to configure Trading Thresholds at the same time the account is configured for a Strategy.
Do you mean at the broker?
I have not found anything at IB where you can limit something. A margin account can theoretically be leveraged 5-6 times.
This is exactly what happens when you run the system, if necessary until the margin call.
No, I mean in WealthLab where you set up the broker/account in any of the Auto-Trade tools. This way, the Thresholds would be most accessible and per account.
.. but I'm just jabbering. There's probably a more practical way to get it done.
.. but I'm just jabbering. There's probably a more practical way to get it done.
For starters, limiting the number of positions per account would be enough for me. Better, of course, would be to monitor the account or even both. In the backtest I can also limit the max. number of positions. Why is that not automatically in live trading also so. Somehow I do not get on here.
Your Response
Post
Edit Post
Login is required