I am not able to get sell orders both Manual and Auto to Interactive Brokers nor Tradier. They do work in WL Dummy Broker tho. The Buy orders go thru to the brokers with no issues.
Can't figure out why. It is only the sell orders strange. Please advise. Thank you.
Can't figure out why. It is only the sell orders strange. Please advise. Thank you.
Rename
Is your WL8 and extension versions all up to date?
What happens with the sells?
What happens with the sells?
I have V 79 current. I can see the sells go thru the Order Manager (They show for a second) but they don't get sent and shown in the Broker's platform sell orders. The Longs stay Long in other words.
The image below shows Longs keep bein sent and no Sells. The only one SLD you see I manually took in IB Workstation to test it.
The image below shows Longs keep bein sent and no Sells. The only one SLD you see I manually took in IB Workstation to test it.
Turn off any of the Auto Remove check boxes in the Order Manager so we can see what is happening with your sells.
You're creating cash-balances; probably you'll find that the sells were rejected because there is no "Position".
In the Help, see Interactive Brokers > Forex for more information and a link on trading Forex using CFDs.
In the Help, see Interactive Brokers > Forex for more information and a link on trading Forex using CFDs.
It was working fine with IB before. As you can see in screenshot below the sell orders were being sent before Feb 15. Something got changed after Build 79. Maybe a setting?
See Glitch's Post #3.
There's more information available.
There's more information available.
@Cone, Maybe we can do an hour session via the Concierge Service so you can guide me how to set up Auto trading for various brokers namely IB and Tradier if that's ok with you.
What about the suggestion in Post #3?
I just ran a test with currencies myself. The problem is like I mentioned - that EUR.USD is not a "Position" that shows up in the IB Accounts > Portfolio section, which is required for it to show up in WL Accounts for position match. I can't tell why it worked for you before, but from a little testing today, sometimes the position is reported, but usually it is not.
Instead if you buy Euros (EUR.USD for example), you're just buying cash in the Euro denomination by selling USD. Euros is not a position, it's just cash. Furthermore, if you tried to buy euros with JPY (EUR.JPY), this trade would fail if you don't have JPY to sell. IB does not allow negative cash balances.
You need to create contracts with CFDs to trade these currencies, or, as suggested in our Help guide, you can also use currency future contracts.
Instead if you buy Euros (EUR.USD for example), you're just buying cash in the Euro denomination by selling USD. Euros is not a position, it's just cash. Furthermore, if you tried to buy euros with JPY (EUR.JPY), this trade would fail if you don't have JPY to sell. IB does not allow negative cash balances.
You need to create contracts with CFDs to trade these currencies, or, as suggested in our Help guide, you can also use currency future contracts.
I turned OFF Auto-Remove but not showing any historical orders I can see them when triggered by the strategy go thru the Order Manager for one second but then do not stay visible.
Please UNCHECK the boxes marked in orange and try some Sells.
You're auto-removing completed and canceled orders by checking the boxes you circled.
Don't check any.
Don't check any.
QUOTE:.. but here's an educated guess:
I can't tell why it worked for you before
Probably you owned enough USD to buy EUR and then enough EUR to buy USD for the reverse trade. That will work as long as you don't "Block Exit Orders" for positions not owned.
If that preference is enabled, it depends on IB reporting EUR.USD as a position. For me, it's working - but I don't expect it to because it's cash that doesn't show up in account balances.
What I'm telling you is that we can't support cash trades as Positions. If you want to do it, use the Help guidance to trade CFDs.
CFDs will show as Positions here:
=
... and then in WealthLab Accounts -
Hmmm, but we're going to have to fix that CFD symbol. Probably I need to set it up in IBContracts.txt.
QUOTE:Looks like we'll need IB Provider 44 for that. Stay tuned.
we're going to have to fix that CFD symbol.
Looks like it is working with stocks with no issues.
QUOTE:
You're auto-removing completed and canceled orders by checking the boxes you circled.
Don't check any.
Now they show and remain thanks. Although when I reopen WL they don't show anymore, can I keep historical orders ON?
I am getting this error "Could not find a matching position to sell". I think that might be because I executed a manual order and thru the strategy positions off. Is there a way to combine strategy with manual orders in synch?
No.
QUOTE:
No
Maybe if your strategy exit amount is based on current position size rather than a fixed amount?
Are you controlling the "exit amount" in the Strategy? If you assign Transaction.Quantity in the strategy, WealthLab won't interfere with your position sizing.
However, if you want to sync your strategy exit size to the size in the broker account, just check the Portfolio Sync options in Preferences > Trading for that purpose (and do not assign Transaction.Quantity).
However, if you want to sync your strategy exit size to the size in the broker account, just check the Portfolio Sync options in Preferences > Trading for that purpose (and do not assign Transaction.Quantity).
QUOTE:
Are you controlling the "exit amount" in the Strategy?
No. I am using blocks in this strategy, I suppose I could code it in. I wonder if there is a block for custom "entry/exit amount"?
IB Provider 44 will fully support trading CFDs.
You can already trade CFD contracts with WealthLab, but the problem is that CFDs do not have data associated with them - then need to pull the BarHistory from actual Stock or Cash contract. Build 44 will do that job will do that job for you behind the scenes (where it's required). When it's available, make sure to see the Help to set up the contracts correctly in IBContracts.txt.
You can already trade CFD contracts with WealthLab, but the problem is that CFDs do not have data associated with them - then need to pull the BarHistory from actual Stock or Cash contract. Build 44 will do that job will do that job for you behind the scenes (where it's required). When it's available, make sure to see the Help to set up the contracts correctly in IBContracts.txt.
Here is the Order Manager window showing Sell Errors. Also I am not sure why the amounts do not match the "Fixed Value" amounts I have set them all to 10000 as shown in image below.
Which ones should I check OFF here?
Right, I don't expect success Forex Cash trading unless you have the Cash positions for both sides of the trade. If you Buy AUD.JPY you need to have JPY to sell to buy AUD because IB will not allow a negative cash balance.
To trade Forex without having the cash balances, you need to use CFDs. However, as the following IB article states, "All clients can trade our CFDs, except residents of the USA, Canada, and Hong Kong."
https://www.ibkrguides.com/kb/article-2707.htm
If you're a resident of one of those 3 countries, then you'll have to trade Cash Forex - making sure that you have balances in all the currencies you're trading.
To trade Forex without having the cash balances, you need to use CFDs. However, as the following IB article states, "All clients can trade our CFDs, except residents of the USA, Canada, and Hong Kong."
https://www.ibkrguides.com/kb/article-2707.htm
If you're a resident of one of those 3 countries, then you'll have to trade Cash Forex - making sure that you have balances in all the currencies you're trading.
I've traded cash FX with Forex.com with no problems. I've never trader Fx cash with IB before. Is there another cash FX broker that WL8 has a connection?
QUOTE:
I don't expect success Forex Cash trading unless you have the Cash positions for both sides of the trade.
Upon checking my IB demo account balance it looks like I have enough cash to cover those trades.
Where's your JPY? If you want to buy AUD/JPY, you have to sell JPY to buy AUD.
I'm not making the rules, you can direct your complaints to the broker.
I'm not making the rules, you can direct your complaints to the broker.
QUOTE:
If you want to buy AUD/JPY, you have to sell JPY to buy AUD
You mean sell USD.JPY before buying AUD/JPY or?
The symbols with USD work fine. Like EUR.USD USD.JPY etc.
The broker will tell you why it's failing in the order message that you have still not shown us. Look at my example in Post #26.
I had no issues today. It went very smoothly Buys and Sells.
Thanks for your help I will keep you posted if anything goes on.
Thanks for your help I will keep you posted if anything goes on.
It will fail again when you have a large enough negative balance in one of the currencies.
You don't need to post about that.
You don't need to post about that.
Your Response
Post
Edit Post
Login is required