Skip to content

pikers.broker.ib subpackage#334

Closed
goodboy wants to merge 5 commits intoflexxinfrom
lifo_pps_ib
Closed

pikers.broker.ib subpackage#334
goodboy wants to merge 5 commits intoflexxinfrom
lifo_pps_ib

Conversation

@goodboy
Copy link
Copy Markdown
Contributor

@goodboy goodboy commented Jun 6, 2022

A conversion of piker.brokers.ib.py into a sub-package with the following new modules:

  • ib.api.py containing the core ib_insync wrapper Client and low level trio-asyncio wrapping / translation layer using tractor.to_asyncio
  • ib.feed.py which contains all data related endpoints for historical and real time feeds
  • ib.broker.py which contains the required trade endpoint(s) needed to integrate with piker's EMS~

@goodboy goodboy marked this pull request as ready for review June 6, 2022 23:30
goodboy added 5 commits June 6, 2022 19:33
The single-file module was getting way out of hand size-wise with the
new flex report parsing stuff so this starts the process of breaking
things up into smaller modules oriented around trade, data, and ledger
related endpoints.

Add support for backends to declare sub-modules to enable in
a `__enable_modules__: list[str]` module var which is parsed by the
daemon spawning code passed to `tractor`'s `enable_modules: list[str]`
input.
@goodboy
Copy link
Copy Markdown
Contributor Author

goodboy commented Jun 6, 2022

it's actually #335

@goodboy goodboy closed this Jun 6, 2022
@goodboy goodboy mentioned this pull request Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant