Frequently Asked Questions
What is the IB Lightning Command Line Interface (CLI)?
IB Lightning CLI is a command line application for Interactive Brokers that lets you input trades immediately with a command line, bypassing slow web sites, mouse clicks, and swipes.
The CLI is a complement to 'Trader Workstation' and all its features.
Who is IB Lightning for?
IB Lightning is for traders who are new to IB Trader Workstation, Professionals who need more control of their trades, and Developers who need a fast, extensible way to work with the platform.
Why Would I use IB Lighting CLI instead of the API directly?
The IBKR API is confusing. You need to code around quite a bit to get it to interact with anything and do anything. IB Lighting CLI lets you skip straight to more fun tasks like making trades from the command line.
What do I need to use IB Lightning?
While you can run IB Lighting CLI on any Windows machine, for the best experience you should have the Interactive Brokers (IBKR) Trader Workstation desktop application and an IBKR account.
You should also check the "Enable ActiveX and Socket Clients" option in the Trader Workstation API configuration options. Specifically:
Does IB Lightning CLI support mobile or other operating systems besides Windows?
No. Trader Workstation is a Windows desktop application and hence IB Lightning CLI requires the same system.
Can i use Python, another scripting language, or other executables with it?
Yes! You can call any command you want from within the command line.
Is it safe to use Lightning CLI?
The CLI is a process that runs locally on your computer and interfaces directly with the TraderWorkstation and IB programming interfaces. There are no remote components or server interactions of any kind aside from license key related functions.