Skip to content

Commit

Permalink
examples/res2: add claim positione example
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobPlaster authored and JacobPlaster committed Oct 2, 2019
1 parent 7dc2d01 commit 7739a5a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/rest2/positions.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const debug = require('debug')('bfx:examples:rest2_positions')
const bfx = require('../bfx')
const rest = bfx.rest(2, { transform: true })


const PL_ENABLED = process.argv[2] === 'pl'
const tableColWidths = [20, 10, 20, 20, 20]
const tableHeaders = [
Expand Down Expand Up @@ -75,7 +76,11 @@ const example = async () => {
t.push(data)
}

console.log(t.toString())
// claim all position
// positions.map((p) => {
// p.claim()
// })
}


example().catch(debug)

0 comments on commit 7739a5a

Please sign in to comment.