Trading
GET Futures Account Balance
Function Name:
getFuturesAccountBalance()Usage:
import { createExchange } from "./exchanges/exchange.js";
let myBlofinExchange = createExchange({
exchange: "blofin",
authenticate: "true",
key: "myKey",
secret: "mySecret",
passphrase: "myPassphrase",
label: "blofin"
});
async function getFuturesAccountBalance(exchange, options) {
try {
let result = await exchange.getFuturesAccountBalance(options);
console.log(result);
} catch (error) {
console.log(error.message);
}
}
let result = await getFuturesAccountBalance(myBlofinExchange,
});GET Positions
Function Name:
Usage:
GET Margin Mode
Function Name:
Usage:
GET Multiple Leverage
Function Name:
Usage:
Set Leverage
Function Name:
Usage:
Place Order
Function Name:
Usage:
Place Multiple Orders
Function Name:
Usage:
Place TPSL Order
Function Name:
Usage:
Cancel Order
Function Name:
Usage:
Cancel Multiple Orders
Function Name:
Usage:
Cancel TPSL Order
Function Name:
Usage:
GET Active Orders
Function Name:
Usage:
GET Active TPSL Orders
Function Name:
Usage:
Close Positions
Function Name:
Usage:
GET TPSL Order History
Function Name:
Usage:
GET Trade History
Function Name:
Usage:
Last updated