feat: brokerage abstraction layer with Alpaca implementation
This commit is contained in:
parent
9f46071502
commit
5696da6472
4 changed files with 877 additions and 0 deletions
11
shared/broker/__init__.py
Normal file
11
shared/broker/__init__.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
"""Brokerage abstraction layer.
|
||||
|
||||
Provides :class:`BaseBroker` (the interface) and :class:`AlpacaBroker`
|
||||
(the default Alpaca implementation). Additional brokerage adapters can be
|
||||
added by subclassing ``BaseBroker`` and implementing its abstract methods.
|
||||
"""
|
||||
|
||||
from shared.broker.alpaca_broker import AlpacaBroker
|
||||
from shared.broker.base import BaseBroker
|
||||
|
||||
__all__ = ["AlpacaBroker", "BaseBroker"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue