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 |
Sets client default timeout
Kind: instance method of BincentiveClient
Param | Type |
---|---|
ms | number |
bincentiveClient.addOrder(strategyId, exchangeId, baseCurrency, quoteCurrency, orderType, orderSide, unit, limitPrice)
Adds an order for a specific strategy
Kind: instance method of BincentiveClient
Param | Type |
---|---|
strategyId | number |
exchangeId | number |
baseCurrency | string |
quoteCurrency | string |
orderType | string |
orderSide | string |
unit | number |
limitPrice | number |
Gets the historical data of all transactions
Kind: instance method of BincentiveClient
Gets Bincentive order number
Kind: instance method of BincentiveClient
Param | Type |
---|---|
orderId | number |
Gets the list of exchanges currently available
Kind: instance method of BincentiveClient
Gets an exchange's available trading pairs
Kind: instance method of BincentiveClient
Param | Type |
---|---|
exchange_name | string |
Gets the current price of a trading pair
Kind: instance method of BincentiveClient
Param | Type |
---|---|
exchange_name | string |
symbol_name | string |
Gets the list of strategies
Kind: instance method of BincentiveClient
Gets the list of approved strategies
Kind: instance method of BincentiveClient
Gets the list of exchanges
Kind: instance method of BincentiveClient
Adds all the keys of each transaction
Kind: instance method of BincentiveClient
Param | Type |
---|---|
apiKey | string |
secretKey | string |
exchangeId | number |
apiNickname | string |
fixApiAssign | boolean |
Deletes all the keys of a transaction
Kind: instance method of BincentiveClient
Param | Type |
---|---|
exchangeId | number |
Gets API key list
Kind: instance method of BincentiveClient