Add Support for IBKR-TWS as Local Market Data Source via API Wrapper#147
Open
DanielGMorena wants to merge 173 commits intoEleven-Trading:candlesticksfrom
Open
Add Support for IBKR-TWS as Local Market Data Source via API Wrapper#147DanielGMorena wants to merge 173 commits intoEleven-Trading:candlesticksfrom
DanielGMorena wants to merge 173 commits intoEleven-Trading:candlesticksfrom
Conversation
added 30 commits
April 20, 2024 12:00
* candlesticks: minor css changes : using arrow and added tooltip Added OHLC "memory" so gets only if symbol and date does not already exist. Repairs after merging branches no message Modified the look of chart markers refactored removed console.log Modified zoom to find nearest point Changed ohlcDates to store milliseconds Zoom and marks work with swing Fixed chart not showing after close Changed charts markers to triangles Displayed error for charts Added markers for entries and exits. Implemented zooming Refactored getOHLC updates, based on selectedTrade + removed passive events module candlesticks for testing WIP working on candlestick charts in daily
…n exitTime not zero
# Conflicts: # package-lock.json # package.json # src/stores/globals.js
…trades in order to improve loading speed. Next will be to make this customizable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces a two-step integration to allow retrieving historical market data directly from a local Interactive Brokers TWS (Trader Workstation) instance, as an alternative to third-party APIs like Databento or Polygon, which may incur costs.
Key Features
1. Local API Wrapper for IBKR
.exefor ease of use.2. Custom Host and Port Configuration
3. Timezone Handling Fixes
IBKR exports times in
America/New_York(Eastern) by default.Adjusted the IBKR import logic to:
timeZoneTrade.Notes
Screenshots