Bisq market: Fix for missing prices from /trades
This commit is contained in:
		
							parent
							
								
									866cd77df0
								
							
						
					
					
						commit
						e49eac9f61
					
				@ -172,7 +172,8 @@ class BisqMarketsApi {
 | 
			
		||||
        timestamp_to = new Date().getTime() / 1000;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      const matches = this.getTradesByCriteria(_market, timestamp_to, timestamp_from, trade_id_to, trade_id_from, direction, sort, limit);
 | 
			
		||||
      const matches = this.getTradesByCriteria(_market, timestamp_to, timestamp_from,
 | 
			
		||||
        trade_id_to, trade_id_from, direction, sort, limit, false);
 | 
			
		||||
 | 
			
		||||
      if (sort === 'asc') {
 | 
			
		||||
        matches.sort((a, b) => a.tradeDate - b.tradeDate);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user