Skip to content

Commit

Permalink
small update to samples
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaron committed Mar 4, 2024
1 parent 722f464 commit 56649a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion tests/samples/close_positions_ibkr.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
for _ in range(10):
sleep(1)
account = ibkr.sync()
print()
print(account)

ibkr.disconnect()
2 changes: 1 addition & 1 deletion tests/samples/tensorboard_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
log_dir = f"""runs/ema_{p1}_{p2}"""
writer = Writer(log_dir)
journal = TensorboardJournal(writer, PNLMetric(), RunMetric(), FeedMetric(), PriceItemMetric("JPM"), AlphaBeta(200))
account = rq.run(feed, s, journal=journal)
rq.run(feed, s, journal=journal)
writer.close()

0 comments on commit 56649a3

Please sign in to comment.