GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together. The result of technical analysis are two binary trees describing strategies for buy and sell signals which produced profit in a certain period of time specified by the input OHLC data set. Then run the install npm command to download and install all dependencies. It also compiles the ta-lib dependency and builds the source code. This function is invoked when one generation passes.
It contains three arguments: Where strategy stands for the currently best strategy found in a certain generation. Fitness is a fitness value of a certain strategy calculated by fitness evaluation algorithm. Generation is the number of generation which was just completed. The strategy parameter describes which strategy it shall use as a referential. This parameter is not mandatory. The returning value is a promise which when it's resolved passes one argument with the best found strategy.
Returns suggestion whether to buy or sell current for the last candlestick in the candlesticks array passed in as a first parameter. Returns an array of trades that were performed on a provided candlestick array with given strategy candlesticks array passed in as a first parameter. Where buy stands for whether the specific trade was made on a profit from a rising or falling market.
MaximumLoss describes how far the price movement went against the wanted direction. MaximumProfit describes how far the price movement went on the wanted direction. ProfitBeforeLoss indicates whether the maximum profit was reached before maximum loss. Latest commit dad1 Sep 10, mkmarek Update. Permalink Failed to load latest commit information. Running the source First if you don't have it yet. It also compiles the ta-lib dependency and builds the source code npm install To do further builds you can use node-gyp build You can run embedded examples which are located in the examples folder cd examples node example NPM You can install forex.
You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Fix build failure on Win Fixing build issues on OSX. Using lookback functions, build fix. Missing talib files - build fix no. License info, library dependencies structure change. Indicator data retrieval bugfix, fitness function updates, documentat…. Testing findStrategy function, small refactoring.
Version increment to v0.More...