Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

aldazabalycia/ibkr-ts

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive Brokers Web API TypeScript example

This is an example of how to use the Interactive Brokers Web API in TypeScript using Bun.

Prerequisites

  • Interactive Brokers account
  • Allowed IBRK OAuth in account link
  • Interactive Brokers OAuth API credentials

Details

IbkrOAuth

This class is responsible for everything related to the OAuth process. It is used to create the Live Session Token (LST) and then create the standard OAuth header for the API calls.

IbkrClient

This class is responsible for everything related to the API calls. It adds the standard OAuth header and other requested headers.

To install dependencies:

bun install

To run example:

bun run index.ts

This project was created using bun init in bun v1.2.18. Bun is a fast all-in-one JavaScript runtime.

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.