(Object interest, Object... optionalArgs)
| 13631 | } |
| 13632 | |
| 13633 | public Object safeOpenInterest(Object interest, Object... optionalArgs) |
| 13634 | { |
| 13635 | Object market = Helpers.getArg(optionalArgs, 0, null); |
| 13636 | Object symbol = this.safeString(interest, "symbol"); |
| 13637 | if (Helpers.isTrue(Helpers.isEqual(symbol, null))) |
| 13638 | { |
| 13639 | symbol = this.safeString(market, "symbol"); |
| 13640 | } |
| 13641 | final Object finalSymbol = symbol; |
| 13642 | return this.extend(interest, new java.util.HashMap<String, Object>() {{ |
| 13643 | put( "symbol", finalSymbol ); |
| 13644 | put( "baseVolume", Exchange.this.safeNumber(interest, "baseVolume") ); |
| 13645 | put( "quoteVolume", Exchange.this.safeNumber(interest, "quoteVolume") ); |
| 13646 | put( "openInterestAmount", Exchange.this.safeNumber(interest, "openInterestAmount") ); |
| 13647 | put( "openInterestValue", Exchange.this.safeNumber(interest, "openInterestValue") ); |
| 13648 | put( "timestamp", Exchange.this.safeInteger(interest, "timestamp") ); |
| 13649 | put( "datetime", Exchange.this.safeString(interest, "datetime") ); |
| 13650 | put( "info", Exchange.this.safeValue(interest, "info") ); |
| 13651 | }}); |
| 13652 | } |
| 13653 | |
| 13654 | public Object parseLiquidation(Object liquidation, Object... optionalArgs) |
| 13655 | { |
no test coverage detected