(self, symbol, amount)
| 575 | return Precise.string_mul(amount, precision) |
| 576 | |
| 577 | def amount_to_precision(self, symbol, amount): |
| 578 | symbol = self.safe_symbol(symbol) |
| 579 | market = self.market(symbol) |
| 580 | oldPrecision = self.safe_value(self.options, 'oldPrecision') |
| 581 | if market['spot'] and not oldPrecision: |
| 582 | amount = self.convert_from_real_amount(market['base'], amount) |
| 583 | return super(bitmex, self).amount_to_precision(symbol, amount) |
| 584 | |
| 585 | def convert_from_raw_quantity(self, symbol, rawQuantity, currencySide='base'): |
| 586 | if self.safe_value(self.options, 'oldPrecision'): |
no test coverage detected