feat: brokerage abstraction layer with Alpaca implementation

This commit is contained in:
Viktor Barzin 2026-02-22 15:26:41 +00:00
parent 9f46071502
commit 5696da6472
No known key found for this signature in database
GPG key ID: 0EB088298288D958
4 changed files with 877 additions and 0 deletions

11
shared/broker/__init__.py Normal file
View 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"]