Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bfx-api-node-rest

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bfx-api-node-rest - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

34

docs/rest2.md

@@ -87,2 +87,4 @@ ## Classes

* [.cancelOrder(id, cb)](#RESTv2+cancelOrder)
* [.cancelOrderWithCid(cid, cb)](#RESTv2+cancelOrderWithCid)
* [.cancelOrderWithDate(cid, cb)](#RESTv2+cancelOrderWithDate)
* [.claimPosition(id, cb)](#RESTv2+claimPosition)

@@ -391,3 +393,3 @@ * [.submitFundingOffer(offer, cb)](#RESTv2+submitFundingOffer)

**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

@@ -397,3 +399,3 @@

| --- | --- |
| cb | <code>Method</code> |
| cb | <code>Method</code> |

@@ -403,5 +405,5 @@ <a name="RESTv2+activeOrdersWithIds"></a>

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

@@ -911,2 +913,26 @@ | Param | Type | Description |

<a name="RESTv2+cancelOrderWithCid"></a>
### resTv2.cancelOrderWithCid(cid, cb)
Cancel existing order using the cID
**Kind**: instance method of [<code>RESTv2</code>](#RESTv2)
| Param | Type |
| --- | --- |
| cid | <code>int</code> |
| cb | <code>Method</code> |
<a name="RESTv2+cancelOrderWithDate"></a>
### resTv2.cancelOrderWithDate(cid, cb)
Cancel existing order using the cID date
**Kind**: instance method of [<code>RESTv2</code>](#RESTv2)
| Param | Type |
| --- | --- |
| cid | <code>int</code> |
| cb | <code>Method</code> |
<a name="RESTv2+claimPosition"></a>

@@ -913,0 +939,0 @@

@@ -1213,2 +1213,24 @@ 'use strict'

/**
* Cancel existing order using the cID
*
* @param {int} cid
* @param {Method} cb
*/
cancelOrderWithCid (cid, cb) {
return this._makeAuthRequest('/auth/w/order/cancel', { cid }, cb)
.then(_takeResNotify)
}
/**
* Cancel existing order using the cID date
*
* @param {int} cid
* @param {Method} cb
*/
cancelOrderWithDate (date, cb) {
return this._makeAuthRequest('/auth/w/order/cancel', { cid_date: date }, cb)
.then(_takeResNotify)
}
submitOrderMulti () {

@@ -1215,0 +1237,0 @@ return Promise.reject(new Error('Not implemented - requires work on WS as well'))

2

package.json
{
"name": "bfx-api-node-rest",
"version": "3.0.5",
"version": "3.0.6",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc