Creating a trading system from scratch

How many lines of code you are comfortable with


  • Total voters
    61
i have been getting exceptions through this code
how to improve this code
how do i open html file
Python:
from selenium import webdriver
driver = webdriver.Chrome("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe")
driver.get('file://C://Users//vinit//Downloads//Github//tutorial2//tradingsystem//zerodha_order.html')
driver.implicitly_wait(4)
driver.find_element_by_class_name("button-primary").click()
driver.quit()
 

VJAY

Well-Known Member
Convert your existing notebook to an Executable script.
View attachment 29447
Now you could use task scheduler to run this task at a specified time daily.
One important thing is we got to change the filename daily before the script runs.
You can try it now so that you get used to it before I automate even that part.
Last few days am trying solve error when try to open task scheduler...done many solutions googling till now I not out from this error!!!!
1539610248336.png
 

UberMachine

Well-Known Member
i have been getting exceptions through this code
how to improve this code
how do i open html file
Python:
from selenium import webdriver
driver = webdriver.Chrome("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe")
driver.get('file://C://Users//vinit//Downloads//Github//tutorial2//tradingsystem//zerodha_order.html')
driver.implicitly_wait(4)
driver.find_element_by_class_name("button-primary").click()
driver.quit()
What result do you get from running the above code?
Does it load the page?
 

Similar threads