Skip to content

Commit 0fe17e2

Browse files
committed
Add get market credentials support
1 parent a16e530 commit 0fe17e2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

investing_algorithm_framework/app/context.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1459,3 +1459,12 @@ def get_market_credential(self, market) -> MarketCredential:
14591459
MarketCredential: The market credential for the given market
14601460
"""
14611461
return self.market_credential_service.get(market)
1462+
1463+
def get_market_credentials(self) -> List[MarketCredential]:
1464+
"""
1465+
Function to get all market credentials.
1466+
1467+
Returns:
1468+
List[MarketCredential]: A list of all market credentials
1469+
"""
1470+
return self.market_credential_service.get_all()

0 commit comments

Comments
 (0)