INNER CODE UNIT · Python

run

nkaz001/sample-trading-bot · tradingbot/custom_strategy.py:51

def run():
    order_manager = CustomOrderManager()

    # Try/except just keeps ctrl-c from printing an ugly stacktrace
    try:
        order_manager.run_loop()
    except (KeyboardInterrupt, SystemExit):
        sys.exit()

run()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…