Class BitflyerOrderbook
java.lang.Object
info.bitrich.xchangestream.bitflyer.dto.BitflyerOrderbook
Created by Lukas Zaoralek on 14.11.17.
-
Constructor Summary
ConstructorDescriptionBitflyerOrderbook
(CurrencyPair pair, BitflyerLimitOrder[] asks, BitflyerLimitOrder[] bids) -
Method Summary
Modifier and TypeMethodDescriptionvoid
createFromLevels
(BitflyerLimitOrder[] levels, Order.OrderType side) getAsks()
getBids()
getLevels
(Order.OrderType side) static List<LimitOrder>
toLimitOrders
(BitflyerLimitOrder[] levels, Order.OrderType side, CurrencyPair pair) void
updateLevels
(BitflyerLimitOrder[] levels, Order.OrderType side)
-
Constructor Details
-
BitflyerOrderbook
-
BitflyerOrderbook
-
-
Method Details
-
createFromLevels
-
getLevels
-
getAsks
-
getBids
-
toLimitOrders
public static List<LimitOrder> toLimitOrders(BitflyerLimitOrder[] levels, Order.OrderType side, CurrencyPair pair) -
toOrderBook
-
updateLevels
-