
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
npm install bitmax
This project is designed to help you make your own projects that interact with the BitMax API in node.js.
( async () => {
const bitmax = require( "bitmax" );
// Load apikey and secret from json
await bitmax.auth( "bitmax-options.json" );
console.log( await bitmax.balances() );
// Load api key and secret with string instead
await bitmax.auth( "[apikey]", "[secret]" );
console.log( await bitmax.balance( "BTC" ) );
} )();
console.log( await bitmax.assets() );
console.log( await bitmax.prevDay() );
console.log( await bitmax.quote( { symbol: "LTC/BTC" } ) );
console.log( await bitmax.trades( { symbol: "LTC/BTC", n: 100 } ) );
console.log( await bitmax.depth( { symbol: "LTC/BTC", n: 10 } ) );
console.log( await bitmax.fees() );
console.log( await bitmax.barinfo() );
console.log( await bitmax.candles( { symbol: "LTC/BTC", interval: 360, start: 1539654780000 } ) );
console.log( await bitmax.userinfo() );
console.log( await bitmax.balances() );
console.log( await bitmax.balance( "BTC" ) );
console.log( await bitmax.transaction( "LTC" ) );
console.log( await bitmax.orderStatus( "..." ) );
console.log( await bitmax.cancel( "..." ) );
console.log( await bitmax.cancelAll() );
console.log( await bitmax.cancelAll( "ETH" ) );
console.log( await bitmax.batchcancel( ["..."] ) );
console.log( await bitmax.order( "limit", "buy", "ETH/BTC", "0.030", "0.1" ) );
FAQs
BitMax Javascript API https://github.com/jaggedsoft/node-bitmax-api
We found that bitmax 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.