refactor: remove get_all_products method from market API wrappers and update documentation

This commit is contained in:
2025-10-01 21:14:09 +02:00
parent 9c471948ff
commit ebd4275017
10 changed files with 21 additions and 56 deletions

View File

@@ -73,10 +73,6 @@ class CoinBaseWrapper(BaseWrapper):
assets = self.client.get_products(product_ids=all_asset_ids)
return [get_product(asset) for asset in assets.products]
def get_all_products(self) -> list[ProductInfo]:
assets = self.client.get_products()
return [get_product(asset) for asset in assets.products]
def get_historical_prices(self, asset_id: str = "BTC", limit: int = 100) -> list[Price]:
asset_id = self.__format(asset_id)
end_time = datetime.now()