Closed as not planned
Closed as not planned
Description
Expected Behavior
- How can I access the first candle of the session ? I want to test the strategy which takes the trade on first candle.
Actual Behavior
class Scalping(Strategy):
def init(self):
pass
def next(self):
if len(self.data) == 1:
self..buy()
Steps to Reproduce
- Currently I cannot access the 1st price points
class Scalping(Strategy):
def init(self):
pass
def next(self):
if len(self.data) == 1:
self..buy()
# not executed currently