in the:
def next(self)
...
if self.position:
print(self.position.price)
it works for me, also in a parallel environment.
in the:
def next(self)
...
if self.position:
print(self.position.price)
it works for me, also in a parallel environment.