-
Notifications
You must be signed in to change notification settings - Fork 17
Ib 1m hist #401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Ib 1m hist #401
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
220981e
Add 1m ohlc sample rate support to `Client.bars()`; frame query is 1 day
goodboy 2a866dd
Make history routines `timeframe` aware
goodboy bf7d5e9
Make `marketstore` storage api timeframe aware
goodboy fce7055
Make `binance` history api accept a timeframe
goodboy e7ec01b
Pass in default history time of 1 min
goodboy 6b34c9e
Temporarily disable error on pos size mismatch
goodboy 72dfeb2
Pass back interal cancel scope from data reset task
goodboy 25b90af
Add `timeframe` input to `kraken` history api
goodboy 7396624
Rework history frame request concurrency
goodboy 61ca5f7
Drop `trimeter`-ized concurrent history querying
goodboy 54567d3
More correct no-data output handling
goodboy 811d21e
Explicit fast chart naming, auto-yrange the fast chart on increment
goodboy ede67ed
Return history-frame duration from `.bars()`
goodboy 23d0353
Drop duplicate frame request
goodboy 90a395a
Support no-disconnect on `open_aio_clients()` exit
goodboy daebb78
Re-request quote feed on data reset events
goodboy a11f20f
Fix `piker services`; `tractor.run()` is done..
goodboy 55dc27a
Subtract duration instead of passing to `.subtract()` (facepalm)
goodboy 27bd3c0
Comment format tweak
goodboy c7f57b9
Add back adhoc symbol lookup support, some exchs info is off
goodboy 330d162
Add data-reset-task global state var
goodboy 956c7d3
Add concurrent multi-time-frame history loading
goodboy 143e86a
Handle super annoying mkts query bug..
goodboy b7ef059
Drop remaining timeframe scanning from `.read_ohlcv()`
goodboy f7ec663
Only get dbus user on sudo-user-present
goodboy 0000d9a
Handle backends with no 1s OHLC history
goodboy 5b63585
Pack multi-chart region linking into helper
goodboy 4ca7817
Use feed-shm offsets in fill-arrow indexing arithmetic
goodboy dc1edee
Do tsdb backloading to shm concurrently
goodboy 2f7b272
Make `ib` client's `.get_head_time()` (only) expect an fqsn
goodboy 553d055
Raise `DataUnavailable` when a contract's 'earliest time' is hit
goodboy a1a24da
Make `binance` reject 1s OHLC history requests
goodboy 286228c
Only wait on backfill if provider supports timeframe
goodboy 2b231ba
Lul, fix timeframe key when writing history
goodboy 610fb5f
Drop `NoData` handler, just let it bubble
goodboy d5b357b
Raise `DataUnavailable` on >= 6 no data error events
goodboy fb4f173
Drop key error again
goodboy df16726
Just wipe wrong timeframe filled tsdb colseries for now
goodboy ceca0d9
Order ledger entries by processed datetime
goodboy 1fadf58
Add todo for order duration setting `goodTillDuration`
goodboy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this is how we indicate that a
brokerdcan't deliver 1s OHLC.