Package org.knowm.xchange.bitz.service
Class BitZTradeServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.bitz.service.BitZBaseService
org.knowm.xchange.bitz.service.BitZTradeServiceRaw
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
BitZTradeService
-
Field Summary
Fields inherited from class org.knowm.xchange.bitz.service.BitZBaseService
bitz
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddEntrustSheet
(String symbol, String type, BigDecimal price, BigDecimal number) 提交委托单(下订单)批量取消委托cancelEntrustSheet
(String entrustSheetId) 取消委托单getEntrustSheetInfo
(String entrustSheetId) 获取委托单详情获取个人资产getUserHistoryEntrustSheet
(String coinFrom, String coinTo, Integer type, Integer page, Integer pageSize, String startTime, String endTime) 获取个人历史委托单列表Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Constructor Details
-
BitZTradeServiceRaw
-
-
Method Details
-
addEntrustSheet
public BitZTradeAddResult addEntrustSheet(String symbol, String type, BigDecimal price, BigDecimal number) throws IOException 提交委托单(下订单)- Parameters:
symbol
-type
- 购买类型 1买进 2 卖出price
-number
-- Returns:
- Throws:
IOException
-
cancelEntrustSheet
取消委托单- Parameters:
entrustSheetId
-- Returns:
- Throws:
IOException
-
cancelAllEntrustSheet
批量取消委托- Parameters:
ids
-- Returns:
- Throws:
IOException
-
getUserHistoryEntrustSheet
public BitZUserHistoryResult getUserHistoryEntrustSheet(String coinFrom, String coinTo, Integer type, Integer page, Integer pageSize, String startTime, String endTime) throws IOException 获取个人历史委托单列表- Parameters:
coinFrom
-coinTo
-type
-page
-pageSize
-startTime
-endTime
-- Returns:
- Throws:
IOException
-
getUserHistoryEntrustSheet
- Throws:
IOException
-
getEntrustSheetInfo
获取委托单详情- Parameters:
entrustSheetId
-- Returns:
- Throws:
IOException
-
getUserAssets
获取个人资产- Returns:
- Throws:
IOException
-