Only attempt to write if any arbitrages
This commit is contained in:
parent
6c727fb1f6
commit
28081de807
@ -49,6 +49,7 @@ def write_arbitrages(
|
||||
}
|
||||
)
|
||||
|
||||
if len(arbitrage_models) > 0:
|
||||
db_session.bulk_save_objects(arbitrage_models)
|
||||
db_session.execute(
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user