
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
cryptox is a node.js wrapper for REST API for multiple crypto currency exchanges.
cryptox manages API communication with different exchanges and provides common methods for all exchanges. Differences between the different API's are abstracted away.
npm install cryptox
var Cryptox = require("cryptox");
var account = new Cryptox("btce", {key: "your_key", secret: "your_secret"});
account.getOpenOrders({pair: "LTC_USD"}, function (err, openOrders) {
if (!err)
console.log(openOrders);
});
Example result:
{
"timestamp": "2015-02-03T00:03:27+00:00",
"error": "",
"data": [
{
"order_id": "563489985",
"pair": "LTC_USD",
"type": "buy",
"amount": "1",
"rate": "0.1",
"status": "0",
"created_at": "2015-02-01T19:23:15+00:00"
},
{
"order_id": "563612426",
"pair": "LTC_USD",
"type": "buy",
"amount": "2",
"rate": "0.5",
"status": "0",
"created_at": "2015-02-01T20:59:53+00:00"
}
]
}
if you are interested in extending cryptox for different exchange or a method not yet implemented, check out the document Exchanges
Bitfinex | Bitstamp | BitX | BTC-e | CEX.io | Gdax | Poloniex | OXR [1] | |
---|---|---|---|---|---|---|---|---|
getRate | FI | FI | FI | FI | FI | FI | FI | |
getTicker | FI | FI | FI | FI | FI | FI | — | |
getOrderBook | FI | FI | FI | FI | FI | FI | — | |
getTrades | FI | — | ||||||
getFee | FI | FI | FI | — | ||||
getTransactions | FI | FI | FI | — | ||||
getBalance | FI | FI | FI | FI | FI | — | ||
getMarginPositions | FI | — | ||||||
getOpenOrders | FI | FI | — | |||||
postSellOrder | — | |||||||
postBuyOrder | — | |||||||
cancelOrder | — | |||||||
getLendBook | FI | — | — | — | — | — | — | |
native API calls | FI | FI | FI | FI | — | FI | FI | FI |
FI = Fully Implemented
FR = Fully Implemented, but restrictions apply; refer to notes below (if any)
PI = Partially Implemented; refer to notes below (if any)
— = Not Supported
[1] OXR (Open Exchange Rates) is not a crypto exchange, however it provides exchange rates for world fiat currencies
cryptox module adheres to [Semantic Versioning] (http://semver.org/) for versioning: MAJOR.MINOR.PATCH.
- MAJOR version increments when non-backwards compatible API changes are introduced
- MINOR version increments when functionality in a backwards-compatible manner are introduced
- PATCH version increments when backwards-compatible bug fixes are made
See detailed ChangeLog
See FAQ
[1.2.1] - 2017-03-20
options
parameter { account: 'all' }
to sum up the balances of all accounts (exchange, margin and lending)FAQs
Common API wrapper for multiple crypto currency exchanges
The npm package cryptox receives a total of 6 weekly downloads. As such, cryptox popularity was classified as not popular.
We found that cryptox demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.