python error problem
def initialize(state):
state.counter = 0
@schedule(interval="1h",symbol="BTCUSDT")
if state.counter<4:
state.counter += 1
Else:
state.counter = 0
if counter == 4: (every four hours)
macd = data.macd(12,26,9)
signalLine = macd[‘macd_signal’]
– Check if bot […]
See original post by invalid@example.com (fisher garry)
Leave a Reply
You must be logged in to post a comment.