(self, symbol: str, price: str)
| 1654 | return amountString |
| 1655 | |
| 1656 | def get_price(self, symbol: str, price: str): |
| 1657 | if price is None: |
| 1658 | return price |
| 1659 | market = self.market(symbol) |
| 1660 | emptyPrecisionPrice = (market['precision']['price'] is None) |
| 1661 | if not emptyPrecisionPrice: |
| 1662 | return self.price_to_precision(symbol, price) |
| 1663 | return price |
| 1664 | |
| 1665 | def get_cost(self, symbol: str, cost: str): |
| 1666 | market = self.market(symbol) |
no test coverage detected