Socket
Socket
Sign inDemoInstall

bfx-api-node-rest

Package Overview
Dependencies
135
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.4 to 3.0.5

30

docs/rest2.md

@@ -49,5 +49,7 @@ ## Classes

* [.activeOrders(cb)](#RESTv2+activeOrders) ⇒ <code>Promise</code>
* [.activeOrdersWithIds(ids, cb)](#RESTv2+activeOrdersWithIds) ⇒ <code>Promise</code>
* [.movements(ccy, start, end, limit, cb)](#RESTv2+movements) ⇒ <code>Promise</code>
* [.ledgers(filters, start, end, limit, cb)](#RESTv2+ledgers) ⇒ <code>Promise</code>
* [.orderHistory(symbol, start, end, limit, cb)](#RESTv2+orderHistory) ⇒ <code>Promise</code>
* [.orderHistoryWithIds(ids, cb)](#RESTv2+orderHistoryWithIds) ⇒ <code>Promise</code>
* [.orderTrades(symbol, start, end, limit, orderID, cb)](#RESTv2+orderTrades) ⇒ <code>Promise</code>

@@ -389,3 +391,3 @@ * [.positions(cb)](#RESTv2+positions) ⇒ <code>Promise</code>

**Kind**: instance method of [<code>RESTv2</code>](#RESTv2)
**Returns**: <code>Promise</code> - p
**Returns**: <code>Promise</code> - p
**See**: https://docs.bitfinex.com/v2/reference#rest-auth-orders

@@ -395,4 +397,16 @@

| --- | --- |
| cb | <code>Method</code> |
| cb | <code>Method</code> |
<a name="RESTv2+activeOrdersWithIds"></a>
### resTv2.activeOrdersWithIds(ids, cb) ⇒ <code>Promise</code>
**Kind**: instance method of [<code>RESTv2</code>](#RESTv2)
**Returns**: <code>Promise</code> - p
**See**: https://docs.bitfinex.com/v2/reference#rest-auth-orders
| Param | Type | Description |
| --- | --- | --- |
| ids | <code>array</code> | order ids |
| cb | <code>Method</code> | |
<a name="RESTv2+movements"></a>

@@ -443,2 +457,14 @@

<a name="RESTv2+orderHistoryWithIds"></a>
### resTv2.orderHistoryWithIds(ids, cb) ⇒ <code>Promise</code>
**Kind**: instance method of [<code>RESTv2</code>](#RESTv2)
**Returns**: <code>Promise</code> - p
**See**: https://docs.bitfinex.com/v2/reference#orders-history
| Param | Type | Description |
| --- | --- | --- |
| ids | <code>array</code> | order ids |
| cb | <code>Method</code> | |
<a name="RESTv2+orderTrades"></a>

@@ -445,0 +471,0 @@

@@ -693,2 +693,13 @@ 'use strict'

/**
* @param {array?} ids - order ids
* @param {Method} cb
* @return {Promise} p
* @see https://docs.bitfinex.com/v2/reference#rest-auth-orders
*/
activeOrdersWithIds (ids = [], cb) {
const url = '/auth/r/orders'
return this._makeAuthRequest(url, { id: ids }, cb, Order)
}
/**
* @param {string?} ccy - i.e. ETH

@@ -755,2 +766,13 @@ * @param {number?} start

/**
* @param {array?} ids - order ids
* @param {Method} cb
* @return {Promise} p
* @see https://docs.bitfinex.com/v2/reference#orders-history
*/
orderHistoryWithIds (ids = [], cb) {
const url = '/auth/r/orders/hist'
return this._makeAuthRequest(url, { id: ids }, cb, Order)
}
/**
* @param {string} symbol

@@ -757,0 +779,0 @@ * @param {number} start

2

package.json
{
"name": "bfx-api-node-rest",
"version": "3.0.4",
"version": "3.0.5",
"description": "Official Bitfinex REST v1 & v2 API interfaces",

@@ -5,0 +5,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc