grid-trading

grid-trading is a simple implementation of grid trading method.(Algorithm only without any dependencies)

MIT License

Stars
4

grid-trading

grid-trading ()

grid-trading is a simple implementation of grid trading method.(Algorithm only without any dependencies)

(How to run the example ?)

  • Githubgrid-trading
    Clone grid-trading from GitHub
git clone https://github.com/WayneChang65/grid-trading.git
  • grid-trading
    Get into grid-trading directory
cd grid-trading
  • node.js
    Run it with node.js.
node main.js

(How to use it ?)

  • constructor(currentPrice, tradeParam),

  • currentPrice:

  • tradeParam:

  • trade(currentPrice),

  • currentPrice:

  • showProfitPercent(),

  • showGrids(),

  • showWallet(), a-coin, b-coin ( a-coin/b-coin)

Related Projects