Hi All,
I'm trying to trade FNGU on Interactive Brokers through Strategy Monitor. Buy orders place successfully. Sell (Stop) orders , however, result in the error "could not find a matching position to exit".
After substantial troubleshooting, I've found that I can successfully place a sell order for FNGU to IBKR if I do so manually in Order Manager using lower case symbol, i.e., "fngu". The problem is that automated orders placed through Strategy Monitor won't place a trade to a lower case symbol even if I map it as such. Also, I don't encounter this problem with all other symbols, so it may be specific to FNGU.
I've verified that my IBKR API and global settings are correct. Is there a work-around, or does it sound like I'm missing something?
Side note: I"m using trading blocks so I can't specify lower case via code unless I convert my strategy.
Thanks,
Ben.
I'm trying to trade FNGU on Interactive Brokers through Strategy Monitor. Buy orders place successfully. Sell (Stop) orders , however, result in the error "could not find a matching position to exit".
After substantial troubleshooting, I've found that I can successfully place a sell order for FNGU to IBKR if I do so manually in Order Manager using lower case symbol, i.e., "fngu". The problem is that automated orders placed through Strategy Monitor won't place a trade to a lower case symbol even if I map it as such. Also, I don't encounter this problem with all other symbols, so it may be specific to FNGU.
I've verified that my IBKR API and global settings are correct. Is there a work-around, or does it sound like I'm missing something?
Side note: I"m using trading blocks so I can't specify lower case via code unless I convert my strategy.
Thanks,
Ben.
Rename
For IB, case doesn't matter. It's about defining the contract.
Case does matter to us when we look up the contract.
It must be that when you first created the contract, you [possibly accidentally] used lower-case. To check/correct that:
1. File > Open WealthLab User Data Folder.
2. Close WL
3. Open IBContracts.txt and look for "fngu".
4. Copy and paste the record here to help others in the future.
5. That record should look like this:
FNGU=FNGU|USD|STK|SMART|ARCA|FNGU|||0|
If it doesn't, edit it and save.
Case does matter to us when we look up the contract.
It must be that when you first created the contract, you [possibly accidentally] used lower-case. To check/correct that:
1. File > Open WealthLab User Data Folder.
2. Close WL
3. Open IBContracts.txt and look for "fngu".
4. Copy and paste the record here to help others in the future.
5. That record should look like this:
FNGU=FNGU|USD|STK|SMART|ARCA|FNGU|||0|
If it doesn't, edit it and save.
HI Cone,
This is exactly what the problem was! I did see the suggestion in the IBKR extension guidance to delete that txt file and let WL rebuild it on reboot, but I didn't think it was necessary for a simple stock ticker in NYSE. Now I know.
Thanks very much!
Cheers.
Ben.
This is exactly what the problem was! I did see the suggestion in the IBKR extension guidance to delete that txt file and let WL rebuild it on reboot, but I didn't think it was necessary for a simple stock ticker in NYSE. Now I know.
Thanks very much!
Cheers.
Ben.
Your Response
Post
Edit Post
Login is required