ig-python / trading-ig

A lightweight Python wrapper for the IG Markets API
https://trading-ig.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
313 stars 197 forks source link

added parameter time_in_force to close_open_position() and create_open_position() #304

Closed zansibal closed 1 year ago

zansibal commented 1 year ago

PR for issue #303. This allows the user to specify how the order should be treated if the broker cannot fill it completely.