fin-infra 0.5.0__py3-none-any.whl → 0.5.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fin_infra/providers/base.py +27 -0
- {fin_infra-0.5.0.dist-info → fin_infra-0.5.1.dist-info}/METADATA +1 -1
- {fin_infra-0.5.0.dist-info → fin_infra-0.5.1.dist-info}/RECORD +6 -6
- {fin_infra-0.5.0.dist-info → fin_infra-0.5.1.dist-info}/LICENSE +0 -0
- {fin_infra-0.5.0.dist-info → fin_infra-0.5.1.dist-info}/WHEEL +0 -0
- {fin_infra-0.5.0.dist-info → fin_infra-0.5.1.dist-info}/entry_points.txt +0 -0
fin_infra/providers/base.py
CHANGED
|
@@ -32,6 +32,13 @@ from ..models import Candle, Quote
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
class MarketDataProvider(ABC):
|
|
35
|
+
"""Abstract base class for stock and equity market data providers.
|
|
36
|
+
|
|
37
|
+
Implement this class to integrate with market data sources like
|
|
38
|
+
Yahoo Finance, Alpha Vantage, or Polygon.io for real-time quotes
|
|
39
|
+
and historical price data.
|
|
40
|
+
"""
|
|
41
|
+
|
|
35
42
|
@abstractmethod
|
|
36
43
|
def quote(self, symbol: str) -> Quote:
|
|
37
44
|
pass
|
|
@@ -44,6 +51,12 @@ class MarketDataProvider(ABC):
|
|
|
44
51
|
|
|
45
52
|
|
|
46
53
|
class CryptoDataProvider(ABC):
|
|
54
|
+
"""Abstract base class for cryptocurrency market data providers.
|
|
55
|
+
|
|
56
|
+
Implement this class to integrate with crypto exchanges like
|
|
57
|
+
Binance, Coinbase, or Kraken for ticker data and OHLCV candles.
|
|
58
|
+
"""
|
|
59
|
+
|
|
47
60
|
@abstractmethod
|
|
48
61
|
def ticker(self, symbol_pair: str) -> Any:
|
|
49
62
|
pass
|
|
@@ -90,6 +103,13 @@ class BankingProvider(ABC):
|
|
|
90
103
|
|
|
91
104
|
|
|
92
105
|
class BrokerageProvider(ABC):
|
|
106
|
+
"""Abstract base class for brokerage trading integrations.
|
|
107
|
+
|
|
108
|
+
Implement this class to integrate with trading platforms like
|
|
109
|
+
Alpaca, Interactive Brokers, or TD Ameritrade for order execution,
|
|
110
|
+
position management, and portfolio tracking.
|
|
111
|
+
"""
|
|
112
|
+
|
|
93
113
|
@abstractmethod
|
|
94
114
|
def submit_order(
|
|
95
115
|
self,
|
|
@@ -185,6 +205,13 @@ class IdentityProvider(ABC):
|
|
|
185
205
|
|
|
186
206
|
|
|
187
207
|
class CreditProvider(ABC):
|
|
208
|
+
"""Abstract base class for credit data providers.
|
|
209
|
+
|
|
210
|
+
Implement this class to integrate with credit bureaus like
|
|
211
|
+
Experian, Equifax, or TransUnion for credit score retrieval
|
|
212
|
+
and full credit report access.
|
|
213
|
+
"""
|
|
214
|
+
|
|
188
215
|
@abstractmethod
|
|
189
216
|
def get_credit_score(self, user_id: str, **kwargs: Any) -> Any:
|
|
190
217
|
pass
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: fin-infra
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.1
|
|
4
4
|
Summary: Financial infrastructure toolkit: banking connections, market data, credit, cashflows, and brokerage integrations
|
|
5
5
|
License: MIT
|
|
6
6
|
Keywords: finance,banking,plaid,brokerage,markets,credit,tax,cashflow,fintech,infra
|
|
@@ -128,7 +128,7 @@ fin_infra/providers/__init__.py,sha256=jxhQm79T6DVXf7Wpy7luL-p50cE_IMUbjt4o3apzJ
|
|
|
128
128
|
fin_infra/providers/banking/base.py,sha256=KeNU4ur3zLKHVsBF1LQifcs2AKX06IEE-Rx_SetFeAs,102
|
|
129
129
|
fin_infra/providers/banking/plaid_client.py,sha256=8Nvd9Ow_v6Scnw79R86uSvRcBRHPgc3ytsQze50E7aM,6524
|
|
130
130
|
fin_infra/providers/banking/teller_client.py,sha256=733Eq-o9Yt7Sm_aWOeunJU4EWYRAaZNS7vgDVGqR0W4,10279
|
|
131
|
-
fin_infra/providers/base.py,sha256=
|
|
131
|
+
fin_infra/providers/base.py,sha256=qKRv8C3TBP7r9J9gFxqeSU3Podh6w_eKI5iCPa15Ta8,8668
|
|
132
132
|
fin_infra/providers/brokerage/alpaca.py,sha256=BObiI_dFQZ3fOpTfmZMkri8sVrsz5uW6i5ZVUb0etCU,9923
|
|
133
133
|
fin_infra/providers/brokerage/base.py,sha256=JJFH0Cqca4Rg4rmxfiwcQt-peRoBf4JpG3g6jx8DVks,106
|
|
134
134
|
fin_infra/providers/credit/experian.py,sha256=r7lpFecgOdNEhb_Lxz2Z-BG8R3p2n0XlqDKL7y8NZ-0,482
|
|
@@ -174,8 +174,8 @@ fin_infra/utils/deprecation.py,sha256=DTcqv7ECnrWOOwoA07JOnRci4Hqqo9YtKSSmoS-DVP
|
|
|
174
174
|
fin_infra/utils/http.py,sha256=rDEgYsEBrEe75ml5RA-iSs3xeU5W-3j-czJlT7WbrM4,632
|
|
175
175
|
fin_infra/utils/retry.py,sha256=YiyTgy26eJ1ah7fE2_-ZPa4hv4bIT4OzjYolkNWb5j0,1057
|
|
176
176
|
fin_infra/version.py,sha256=4t_crzhrLum--oyowUMxtjBTzUtWp7oRTF22ewEvJG4,49
|
|
177
|
-
fin_infra-0.5.
|
|
178
|
-
fin_infra-0.5.
|
|
179
|
-
fin_infra-0.5.
|
|
180
|
-
fin_infra-0.5.
|
|
181
|
-
fin_infra-0.5.
|
|
177
|
+
fin_infra-0.5.1.dist-info/LICENSE,sha256=wK-Ya7Ylxa38dSIZRhvNj1ZVLIrHC-BAI8v38PNADiA,1061
|
|
178
|
+
fin_infra-0.5.1.dist-info/METADATA,sha256=u93UU3fU8TPtAPA7YcnL32rFqo7o8VIxQfVeZ6970aA,10842
|
|
179
|
+
fin_infra-0.5.1.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
|
180
|
+
fin_infra-0.5.1.dist-info/entry_points.txt,sha256=Sr1uikvALZMeKm-DIkeKG4L9c4SNqysXGO_IRF8_9eU,53
|
|
181
|
+
fin_infra-0.5.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|