Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I am opening a position (self.buy(), self.sell(), and then closing it by issuing an opposite side order but not calling self.close()
I see that my position does get flattened out, however the trade object is never updated to be closed. is that expected behavior ?
@adamb032 Trade position gets closed every time the units for the position reaches or crosses zero. See the docs here.