Class TheRockOrder
- java.lang.Object
-
- org.knowm.xchange.therock.dto.trade.TheRockOrder
-
public class TheRockOrder extends Object
- Author:
- Matija Mazi, Pnk
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TheRockOrder.Side
static class
TheRockOrder.Type
-
Constructor Summary
Constructors Modifier Constructor Description protected
TheRockOrder()
TheRockOrder(TheRock.Pair fundId, TheRockOrder.Side side, TheRockOrder.Type type, BigDecimal amount, BigDecimal price)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
getAmount()
BigDecimal
getAmountUnfilled()
String
getCloseOn()
BigDecimal
getConditionalPrice()
String
getConditionalType()
String
getDate()
TheRock.Pair
getFundId()
Long
getId()
BigDecimal
getLeverage()
long
getPositionId()
BigDecimal
getPrice()
TheRockOrder.Side
getSide()
String
getStatus()
TheRockOrder.Type
getType()
boolean
isDark()
String
toString()
-
-
-
Constructor Detail
-
TheRockOrder
protected TheRockOrder()
-
TheRockOrder
public TheRockOrder(TheRock.Pair fundId, TheRockOrder.Side side, TheRockOrder.Type type, BigDecimal amount, BigDecimal price)
-
-
Method Detail
-
getId
public Long getId()
-
getFundId
public TheRock.Pair getFundId()
-
getSide
public TheRockOrder.Side getSide()
-
getType
public TheRockOrder.Type getType()
-
getStatus
public String getStatus()
-
getAmount
public BigDecimal getAmount()
-
getAmountUnfilled
public BigDecimal getAmountUnfilled()
-
getPrice
public BigDecimal getPrice()
-
getConditionalType
public String getConditionalType()
-
getConditionalPrice
public BigDecimal getConditionalPrice()
-
getDate
public String getDate()
-
getCloseOn
public String getCloseOn()
-
isDark
public boolean isDark()
-
getLeverage
public BigDecimal getLeverage()
-
getPositionId
public long getPositionId()
-
-