Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

uqee/mkt-optionpnl-local

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What

This application provides realtime quotes from your Interactive Brokers terminal for the online option risk calculator www.optionpnl.info. Other data providers currently available (Google and Yahoo Finance) deliver delayed quotes only.

Installation

  1. Download and install node.js.
  2. Download and unarchive this app.
  3. Open terminal, navigate to the app directory and run npm install to install dependencies.

Using

  1. Start IB Gateway.
  2. Run npm start from the app's directory (if it crashes, please, make sure port 9999 is available).
  3. Open www.optionpnl.info in your browser.
  4. To stop the service press Ctrl-C in a terminal where it was started.

Parameters

Set them before the launch command, like env LOG_LEVEL=4 npm start.

Environment variable Default value
IB_HOST 127.0.0.1
IB_PORT 7496
IB_CLIENTID 0
LOG_LEVEL 2

About

Interactive Brokers realtime datafeed for www.optionpnl.info

Resources

Stars

Watchers

Forks

Packages

No packages published