@icgio/icg-utils 1.7.25 → 1.7.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/utils.js +43 -43
  2. package/package.json +1 -1
package/lib/utils.js CHANGED
@@ -421,49 +421,49 @@ module.exports.combine_orderbooks = (orderbooks_dict, length = undefined) => {
421
421
  return { asks, bids }
422
422
  }
423
423
 
424
- console.log(
425
- module.exports.combine_orderbooks(
426
- {
427
- // binance: {
428
- // // asks: [
429
- // // [1, 1],
430
- // // [2, 2],
431
- // // [3, 3],
432
- // // ],
433
- // // bids: [
434
- // // [0.9, 0.9],
435
- // // [0.5, 0.5],
436
- // // [0.3, 0.2],
437
- // // ],
438
- // },
439
- bittrex: {
440
- // asks: [
441
- // // [4, 4],
442
- // // [5, 5],
443
- // // [8, 8],
444
- // ],
445
- bids: [
446
- [0.6, 0.9],
447
- [0.5, 0.2],
448
- [0.2, 0.2],
449
- ],
450
- },
451
- poloniex: {
452
- // asks: [
453
- // // [1, 1],
454
- // // [6, 6],
455
- // // [7, 7],
456
- // ],
457
- bids: [
458
- [0.95, 0.9],
459
- [0.7, 0.5],
460
- [0.4, 0.2],
461
- ],
462
- },
463
- },
464
- 100
465
- )
466
- )
424
+ // console.log(
425
+ // module.exports.combine_orderbooks(
426
+ // {
427
+ // binance: {
428
+ // asks: [
429
+ // [1, 1],
430
+ // [2, 2],
431
+ // [3, 3],
432
+ // ],
433
+ // bids: [
434
+ // // [0.9, 0.9],
435
+ // // [0.5, 0.5],
436
+ // // [0.3, 0.2],
437
+ // ],
438
+ // },
439
+ // bittrex: {
440
+ // // asks: [
441
+ // // // [4, 4],
442
+ // // // [5, 5],
443
+ // // // [8, 8],
444
+ // // ],
445
+ // bids: [
446
+ // [0.6, 0.9],
447
+ // [0.5, 0.2],
448
+ // [0.2, 0.2],
449
+ // ],
450
+ // },
451
+ // poloniex: {
452
+ // asks: [
453
+ // [1, 1],
454
+ // [6, 6],
455
+ // [7, 7],
456
+ // ],
457
+ // bids: [
458
+ // [0.95, 0.9],
459
+ // [0.7, 0.5],
460
+ // [0.4, 0.2],
461
+ // ],
462
+ // },
463
+ // },
464
+ // 100
465
+ // )
466
+ // )
467
467
  // console.log(module.exports.combine_orderbooks({}, 100))
468
468
 
469
469
  module.exports.arb_opportunities_from_combined_orderbook = (orderbook_combined, profit_percentage = 0, amount_cap = 0) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icgio/icg-utils",
3
- "version": "1.7.25",
3
+ "version": "1.7.26",
4
4
  "description": "Utils package.",
5
5
  "main": "index.js",
6
6
  "directories": {