Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Difference between self.position.close() and self.sell() #1156

alexmulo started this conversation in General
Discussion options

Dear all,

I had a look in the documentation and in the code but I could find the difference between the above methods. Could you please explain me when I use the one or the other? Do you have any example? Thanks

You must be logged in to vote

Replies: 1 comment 2 replies

Comment options

self.sell() = take short position
self.position.close() = exit position

You must be logged in to vote
2 replies
Comment options

what do you mean "take short position"? Do you mean short selling or just step partially back from the market?

Comment options

A short position would be a short sale, yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /