Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keyboard Shortcut - Auto Login to a Questrade Account
#1
Lightbulb 
If you invest in stocks, you know that five seconds can be the difference between a gain and a loss. If your trading brokerage is Questrade and want a keyboard shortcut that will automatically log you in, the following AutoHotkey script is for you. The shortcut will open Questrade (https://login.questrade.com/Signin.aspx) in Internet Explorer, enter your username and password in the appropriate fields, and bring you to your Questrade home page.

Need help creating a keyboard shortcut with ShortKeeper using the following AutoHotkey code? This 5-minute tutorial will help!
Username := "YourUserName"
Password := "YourPassword"
URL := "https://login.questrade.com/Signin.aspx"
wb := ComObjCreate("InternetExplorer.Application")
wb.Visible := True
wb.Navigate(URL)
While wb.readyState != 4 || wb.document.readyState != "complete" || wb.busy
  Sleep, 100
wb.document.getElementById("ctl00_DefaultContent_txtUsername").value := Username
wb.document.getElementById("ctl00_DefaultContent_txtPassword").value := Password
wb.document.getElementById("ctl00_DefaultContent_btnLogin").Click()

At lines #1 and #2, “YourUsername” and “YourPassword” must be replaced with the actual user name and password (do not remove quotation marks).

This script will also work if you are already logged into Questrade. It will start Internet Explorer even if this is not your default browser. The script was tested with Windows 7 and 10.

If Questrade changes the way its web page works, this script might stop working. If you experience any problems, please let me know with a post on this thread. You can subscribe to the thread to be notified of any updates.

You can now concentrate on what you do best: trading! And remember... buy the rumor and sell the news Smile
Enterpad: For those who need more than a few shortcuts.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)