- ago

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?
0
552
Solved
10 Replies

Reply

Bookmark

Sort
Glitch8
 ( 12.53% )
- ago
#1
It sounds like the Trading Thresholds in Trading Preferences might do the trick here.
0
Best Answer
- ago
#2
I don't understand. It's about life trading, not backtesting. Can you please explain this in more detail?
0
fred99998
 ( 19.59% )
- ago
#4
Probably means the Trading tab (Not backtesting)

2
Glitch8
 ( 12.53% )
- ago
#5
Yes thanks, I edited my comment to correct that.
0
- ago
#6
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?
0
Cone8
 ( 6.17% )
- ago
#7
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.
0
- ago
#8
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.
0
Cone8
 ( 6.17% )
- ago
#9
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.

0
- ago
#10
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.
0

Reply

Bookmark

Sort