Bincentive Trader Client
Kind: global class
- BincentiveClient
- new BincentiveClient(email, password, sandbox)
- .timeout(ms)
- .addOrder(strategyId, exchangeId, baseCurrency, quoteCurrency, orderType, orderSide, unit, limitPrice)
- .getHistoryList()
- .getOrderInfo(orderId)
- .getAvailableExchanges()
- .getAvailableSymbols(exchange_name)
- .getCurrentPrice(exchange_name, symbol_name)
- .getStrategyList()
- .getApprovedStrategyList()
- .getExchangeList()
- .addApiKey(apiKey, secretKey, exchangeId, apiNickname, fixApiAssign)
- .deleteApiKey(exchangeId)
- .getApiKeyList()
bincentive Trader Client
| Param | Type | Default |
|---|---|---|
string |
||
| password | string |
|
| sandbox | boolean |
true |
set client default timeout
Kind: instance method of BincentiveClient
| Param | Type |
|---|---|
| ms | number |
bincentiveClient.addOrder(strategyId, exchangeId, baseCurrency, quoteCurrency, orderType, orderSide, unit, limitPrice)
add market order to specify strategy id
Kind: instance method of BincentiveClient
| Param | Type |
|---|---|
| strategyId | number |
| exchangeId | number |
| baseCurrency | string |
| quoteCurrency | string |
| orderType | string |
| orderSide | string |
| unit | number |
| limitPrice | number |
get order history
Kind: instance method of BincentiveClient
get order detail info
Kind: instance method of BincentiveClient
| Param | Type |
|---|---|
| orderId | number |
get supported exchanges
Kind: instance method of BincentiveClient
get exhange supported symbols
Kind: instance method of BincentiveClient
| Param | Type |
|---|---|
| exchange_name | string |
get symbol current price
Kind: instance method of BincentiveClient
| Param | Type |
|---|---|
| exchange_name | string |
| symbol_name | string |
get strategy list
Kind: instance method of BincentiveClient
get approved stragtegy list
Kind: instance method of BincentiveClient
get exchange list
Kind: instance method of BincentiveClient
add exchange api key
Kind: instance method of BincentiveClient
| Param | Type |
|---|---|
| apiKey | string |
| secretKey | string |
| exchangeId | number |
| apiNickname | string |
| fixApiAssign | boolean |
delete exchange api key by id
Kind: instance method of BincentiveClient
| Param | Type |
|---|---|
| exchangeId | number |
get exchange api key list
Kind: instance method of BincentiveClient