from rival_regions_wrapper.middleware import LocalAuthentication import time from datetime import datetime import SellBot import buy_bot authentication = LocalAuthentication(True) authentication.set_credentials("mail@gmail.com","password","google") while True: soorten = ['oil','ore', 'uranium', 'diamonds','liquid_oxygen','helium-3','rivalium','antirad','spacerockets','lss','tanks','aircrafts','missiles','bombers','battleships','laser_drones','moon_tanks','space_stations'] verkoopprijs = [164,150,1999,1500000,4000,800000,500000000,500000000,500000000,500000000,500000000,500000000,500000000,500000000,500000000,500000000,500000000,19888000] koopprijs = [100,100,1000,100000,2000,100000,1,1,1,1,1,1,1,1,1,1,1,1] i = 0 for x in soorten: buy_bot.BuyMarket(authentication).info(soorten[i], koopprijs[i]) SellBot.MarketBot(authentication).info(soorten[i], verkoopprijs[i]) i = i+1 now = datetime.now() current_time = now.strftime("%H:%M:%S") print("Current Time =", current_time) time.sleep(301)