r/interactivebrokers • u/Beginning_Tie2187 • 23h ago
General Question Interactive Brokers virtual fx position completely breaks fx trading
I am using the interactive brokers python api to send orders to IDEALPRO to turn USD into EUR positions and then close them. When a round trip completes, for example, I get 20000 EUR in exchange for some amount of USD, then get rid of 20000 EUR to get back some amount of USD, I get this completely garbage "virtual fx position" that shows i'm short 20000 EUR. This isn't just some cosmetic artifact in TWS. IBKR actually USES THIS NUMBER FOR MARGIN CALCULATION. This is complete garbage because it then says "oh, you're adding too much margin so we reject your next order". My actual number of EUR in my account is 0 but it shows this fake negative amount of EUR with this fake virtual position. I don't get how this is even possible... I'm not going to restart my TWS every time to get rid of this fake virtual fx position. I am using the api so this is so stupid. I tried using FXCONV but this gives:
Code: 321 | Message: Error validating request.-'PlaceOrder(3)' : cause - Pseudo FX destination is not allowed
•
u/AutoModerator 23h ago
Thank you for your post. This is the UNOFFICIAL subreddit of Interactive Brokers.
There is official contact information to the side of this sub, and you may want to try r/IBKR_Official, which is the OFFICIAL Reddit sub for Interactive Brokers.
Official phone numbers: https://www.interactivebrokers.com/en/support/customer-service.php?p=contact
Official contact: https://www.interactivebrokers.com/en/general/contact/newContact/contact.php
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.