-
Hey People, My goal is to create a new order based on the filled order's data. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
kernc
Feb 6, 2023
Replies: 1 comment
-
There is nothing else besides the API, which should be simple enough to wrap one's head around. You can track trades like so: def init(self):
self.seen_trades = set()
def next(self):
for trade in self.trades:
if trade not in self.seen_trades:
self.seen_trades.add(trade)
... # Create new order based on filled order's data
... |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
yoavweber
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is nothing else besides the API, which should be simple enough to wrap one's head around.
You can track trades like so: