He Shiming at GitHub

Fusion Walkthrough Videos for 4N

Walking through Fusion’s user interface. Linking IBKR account, order preparation and placement, Parabolic SAR based stop management.

Fusion’s ETF Portfolio Builder

Explaining how the ‘N-least correlated ETF portfolio builder’ works.

Fusion’s Fractalerts email trade following

Setting up Fractalerts email-based trade following in indices and commodities

Fusion quick preview: placing orders

Placing simple market orders in Fusion

Introducing IBGA

IBGA is IB Gateway in headless mode. It is a container image preloaded with scripts for automating user interactions with IBG.

Benefits:

  • A “docker compose” flavored configuration
  • Store username, password, time zone and other options in one place
  • Automatic installation and easy upgrade of IBG
  • Automatic handling of daily restarts beyond the one week limit, upon exit or crash
  • Automatic handling of paper trading confirmation and options dialog
  • Automatic daily export of logs
  • Retaining of settings after an upgrade
  • A disposable container design

Under the hood:

  • IBGA runs in a set of bash scripts.
  • IBGA relies on JAuto, a JVMTI agent to determine screen locations of windows, text boxes, and buttons.
  • IBGA relies on xdotool to simulate keyboard and mouse input.
  • IBGA relies on Xvfb, x11vnc, novnc to provide a VNC-capable X11 environment for IBG.

Introducing JAuto

JAuto is an open-source lightweight agent for automating Java GUI apps. It lets you keep track of UI components, their coordinates, and states. Talk to JAuto via bash scripts and perform automation using an input simulator.