Ejemplo n.º 1
0
                            daily=daily,
                            brokertype=brokertype,
                            since=since,
                            marketdata=marketdata,
                            screener=screener,
                            liquidate=liquidate,
                            watchlistonly=watchlistonly,
                            rth=rth,
                            maxbots=maxbots)

    print("CREATING ALL BOTS...")
    botManager.create_bots()

    print("STARTING ALL BOTS")
    botManager.start_bots()

    print("STOPPING ALL BOTS")
    botManager.stop_bot()

    print("BOT RESULTS")
    botManager.print_bot_balance()

    print("TOTAL BROKER")
    Broker.print_total()

    if plot is True:
        print("PLOT DATA")
        botManager.plot_bot()

    time.sleep(5)
    print("END OF PROGRAM")