Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Unable to set limit order to close position #32

Open
shep-analytics opened this issue Mar 26, 2021 · 1 comment
Open

Unable to set limit order to close position #32

shep-analytics opened this issue Mar 26, 2021 · 1 comment

Comments

@shep-analytics
Copy link

The 'close_position' custom function is great; however, I can't seem to find a way to close with a limit order.

@verata-veritatis
Copy link
Owner

verata-veritatis commented Mar 27, 2021

close_position is meant to be used as a quick emergency market close. The method still requires an API call to fetch position, so I didn't feel it necessary to create a limit close_position because the user can simply just fetch their position then place an opposing order. However, if it gets asked about, I'll consider adding it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants