This repository has been archived by the owner on Jun 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#11 Xchange dependency updated to latest SNAPSHOT
- Loading branch information
Dolezal Zdenek
authored and
Dolezal Zdenek
committed
Jul 14, 2017
1 parent
5096ef3
commit 28fbe69
Showing
3 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...nge-bitstamp/src/main/java/info/bitrich/xchangestream/bitstamp/dto/BitstampOrderBook.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package info.bitrich.xchangestream.bitstamp.dto; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
import java.math.BigDecimal; | ||
import java.util.List; | ||
|
||
public class BitstampOrderBook { | ||
private final List<List<BigDecimal>> bids; | ||
private final List<List<BigDecimal>> asks; | ||
|
||
public BitstampOrderBook(@JsonProperty("bids") List<List<BigDecimal>> bids, @JsonProperty("asks") List<List<BigDecimal>> asks) { | ||
this.bids = bids; | ||
this.asks = asks; | ||
} | ||
|
||
public List<List<BigDecimal>> getBids() { | ||
return bids; | ||
} | ||
|
||
public List<List<BigDecimal>> getAsks() { | ||
return asks; | ||
} | ||
} |