Commit 3ec55276 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 7cea5122
......@@ -31,12 +31,15 @@ async function test () {
// let d = await exchange.createMarketOrder('BTCUSDT', 'Buy', 0.001, 0)
// console.log(d)
const exchange = new ccxt.bybit ({
apiKey: "jCTVo1KpLd14YuLRiN",
secret: "ZxJ3LruKNMCisPVCyckTpRwcZazyqg3JRNM9",
apiKey: "OpMZ5chXF11tVYRFCI",
secret: "iZrJsWz3CvgwrkwgfmgbX2Zz1tUxrpLtfvqS",
enableRateLimit: true,
})
console.log(exchange.symbols)
exchange.urls['api'] = exchange.urls['test'];
let d=await exchange.fetchBalance()
console.log(d.info.result.USDT.equity)
// console.log(exchange.symbols)
// let d=await exchange.symbols('BTC/USDT')
// console.log(d)
// console.log(d)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment