jrhurley2 / TDInterface-Public

Windows Form application that uses TD Ameritrade Apis
3 stars 1 forks source link

Flatten Position #75

Closed brandoncorry closed 1 year ago

brandoncorry commented 1 year ago

Need an easy way to flatten a position - if you open a position and have a OCO, you can't just click the 100% market button - as it throws an error with the existing OCO in place.

Would need to either update the specific 100% button(s) to cancel any orders and send order to close all - or crate a 'flatten' button similar to Active Trader in ToS.

brandoncorry commented 1 year ago

@jrhurley2 I think this was fixed with your latest update as part of the TradeStation integration?

jrhurley2 commented 1 year ago

Yes. If you hit 100% it should flatten. Only in tda

Sent via the Samsung Galaxy S21 Ultra 5G, an AT&T 5G smartphone Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Brandon Corry @.> Sent: Wednesday, March 1, 2023 3:24:00 PM To: jrhurley2/TDInterface-Public @.> Cc: jrhurley2 @.>; Mention @.> Subject: Re: [jrhurley2/TDInterface-Public] Flatten Position (Issue #75)

@jrhurley2https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjrhurley2&data=05%7C01%7C%7Cde1887e2f5ae43d5fb0408db1a92e514%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638132990432109286%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Td4np9dHWWCniHhfJZcmPQsqK3P6WkhBhzAKKglvX9w%3D&reserved=0 I think this was fixed with your latest update as part of the TradeStation integration?

— Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjrhurley2%2FTDInterface-Public%2Fissues%2F75%23issuecomment-1450798853&data=05%7C01%7C%7Cde1887e2f5ae43d5fb0408db1a92e514%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638132990432109286%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oVCbyQP0hm3q1yUWhCET4tkT2C%2B%2B1Mm4IxokXg7WbTs%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADHPG4JCQZ325XCDVRVGYPTWZ6V6BANCNFSM6AAAAAAU76FUFE&data=05%7C01%7C%7Cde1887e2f5ae43d5fb0408db1a92e514%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638132990432109286%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UDrZoDkeVyhKXJKhUkFxmvE6MeW9KaYQotajlGzcSfk%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

brandoncorry commented 1 year ago

This should be resolved with the updates to cancel OCO when exit buttons are clicked. Closing as this was part of the tradestation integration.