@react-financial-charts/indicators
Advanced tools
Comparing version 1.0.0-alpha.14 to 1.0.0-alpha.15
@@ -6,2 +6,10 @@ # Change Log | ||
# [1.0.0-alpha.15](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.14...v1.0.0-alpha.15) (2020-09-03) | ||
**Note:** Version bump only for package @react-financial-charts/indicators | ||
# [1.0.0-alpha.14](https://github.com/reactivemarkets/react-financial-charts/compare/v1.0.0-alpha.13...v1.0.0-alpha.14) (2020-09-02) | ||
@@ -8,0 +16,0 @@ |
@@ -1,3 +0,4 @@ | ||
import { functor, isNotDefined, merge, path } from "@react-financial-charts/core"; | ||
import { functor, isNotDefined, path } from "@react-financial-charts/core"; | ||
import atr from "./atr"; | ||
import { merge } from "../utils"; | ||
import { Kagi as defaultOptions } from "./defaultOptionsForComputation"; | ||
@@ -4,0 +5,0 @@ export default function () { |
@@ -1,2 +0,3 @@ | ||
import { functor, isNotDefined, merge } from "@react-financial-charts/core"; | ||
import { functor, isNotDefined } from "@react-financial-charts/core"; | ||
import { merge } from "../utils"; | ||
import atr from "./atr"; | ||
@@ -3,0 +4,0 @@ import { Renko as defaultOptions } from "./defaultOptionsForComputation"; |
@@ -1,2 +0,3 @@ | ||
import { identity, merge, slidingWindow } from "@react-financial-charts/core"; | ||
import { identity, slidingWindow } from "@react-financial-charts/core"; | ||
import { merge } from "../utils"; | ||
export default function () { | ||
@@ -3,0 +4,0 @@ let windowSize = 1; |
import { atr } from "../calculator"; | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import baseIndicator from "./baseIndicator"; | ||
@@ -4,0 +4,0 @@ const ALGORITHM_TYPE = "ATR"; |
import { scaleOrdinal } from "d3-scale"; | ||
import { noop } from "@react-financial-charts/core"; | ||
const defaultColors = ["#F44336", "#2196F3", "#8BC34A", "#FF5722", "#3F51B5", "#03A9F4", "#9C27B0", "#4CAF50"]; | ||
@@ -13,3 +12,5 @@ let i = 0; | ||
let type; | ||
const baseIndicator = () => noop; | ||
const baseIndicator = () => () => { | ||
/** Do Nothing */ | ||
}; | ||
baseIndicator.id = (newId) => { | ||
@@ -16,0 +17,0 @@ if (newId === undefined) { |
@@ -1,2 +0,2 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { bollingerband } from "../calculator"; | ||
@@ -3,0 +3,0 @@ import baseIndicator from "./baseIndicator"; |
import { change } from "../calculator"; | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import baseIndicator from "./baseIndicator"; | ||
@@ -4,0 +4,0 @@ const ALGORITHM_TYPE = "Change"; |
@@ -1,2 +0,2 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { compare } from "../calculator"; | ||
@@ -3,0 +3,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,2 +0,3 @@ | ||
import { isDefined, isNotDefined, merge, rebind, slidingWindow } from "@react-financial-charts/core"; | ||
import { isDefined, isNotDefined, slidingWindow } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import baseIndicator from "./baseIndicator"; | ||
@@ -3,0 +4,0 @@ import { ElderImpulse as appearanceOptions } from "./defaultOptionsForAppearance"; |
import { elderRay } from "../calculator"; | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import baseIndicator from "./baseIndicator"; | ||
@@ -4,0 +4,0 @@ const ALGORITHM_TYPE = "ElderRay"; |
@@ -1,2 +0,2 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { ema } from "../calculator"; | ||
@@ -3,0 +3,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,2 +0,2 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { forceIndex } from "../calculator"; | ||
@@ -3,0 +3,0 @@ import baseIndicator from "./baseIndicator"; |
import { heikinAshi } from "../calculator"; | ||
import baseIndicator from "./baseIndicator"; | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
const ALGORITHM_TYPE = "HeikinAshi"; | ||
@@ -5,0 +5,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { rebind } from "@react-financial-charts/core"; | ||
import { rebind } from "../utils"; | ||
import { kagi } from "../calculator"; | ||
@@ -3,0 +3,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,2 +0,2 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { macd } from "../calculator"; | ||
@@ -3,0 +3,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,2 +0,2 @@ | ||
import { rebind } from "@react-financial-charts/core"; | ||
import { rebind } from "../utils"; | ||
import { pointAndFigure } from "../calculator"; | ||
@@ -3,0 +3,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,2 +0,2 @@ | ||
import { rebind } from "@react-financial-charts/core"; | ||
import { rebind } from "../utils"; | ||
import { renko } from "../calculator"; | ||
@@ -3,0 +3,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,2 +0,2 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { rsi } from "../calculator"; | ||
@@ -3,0 +3,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,2 +0,2 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { sar } from "../calculator"; | ||
@@ -3,0 +3,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,2 +0,2 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { sma } from "../calculator"; | ||
@@ -3,0 +3,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,2 +0,2 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { sto } from "../calculator"; | ||
@@ -3,0 +3,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,2 +0,2 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { tma } from "../calculator"; | ||
@@ -3,0 +3,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,2 +0,2 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { wma } from "../calculator"; | ||
@@ -3,0 +3,0 @@ import baseIndicator from "./baseIndicator"; |
{ | ||
"name": "@react-financial-charts/indicators", | ||
"version": "1.0.0-alpha.14", | ||
"version": "1.0.0-alpha.15", | ||
"description": "Indicators for react-financial-charts", | ||
@@ -41,3 +41,3 @@ "publishConfig": { | ||
"dependencies": { | ||
"@react-financial-charts/core": "^1.0.0-alpha.14", | ||
"@react-financial-charts/core": "^1.0.0-alpha.15", | ||
"d3-array": "^2.5.0", | ||
@@ -50,3 +50,3 @@ "d3-scale": "^3.2.1" | ||
}, | ||
"gitHead": "3d5d01041abb8b11ae7528d0c08c6d984ff587a7" | ||
"gitHead": "629968753ea1c094dab3931cf7eea194062cdc38" | ||
} |
import { sum } from "d3-array"; | ||
import { isDefined, last, slidingWindow } from "@react-financial-charts/core"; | ||
import { ATR as defaultOptions } from "./defaultOptionsForComputation"; | ||
@@ -6,0 +4,0 @@ |
@@ -1,4 +0,4 @@ | ||
import { functor, isNotDefined, merge, path } from "@react-financial-charts/core"; | ||
import { functor, isNotDefined, path } from "@react-financial-charts/core"; | ||
import atr from "./atr"; | ||
import { merge } from "../utils"; | ||
import { Kagi as defaultOptions } from "./defaultOptionsForComputation"; | ||
@@ -5,0 +5,0 @@ |
@@ -1,3 +0,3 @@ | ||
import { functor, isNotDefined, merge } from "@react-financial-charts/core"; | ||
import { functor, isNotDefined } from "@react-financial-charts/core"; | ||
import { merge } from "../utils"; | ||
import atr from "./atr"; | ||
@@ -4,0 +4,0 @@ |
@@ -1,2 +0,3 @@ | ||
import { identity, merge, slidingWindow } from "@react-financial-charts/core"; | ||
import { identity, slidingWindow } from "@react-financial-charts/core"; | ||
import { merge } from "../utils"; | ||
@@ -3,0 +4,0 @@ export interface Algorithm { |
import { atr } from "../calculator"; | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { ATROptions } from "../calculator/atr"; | ||
@@ -5,0 +4,0 @@ import baseIndicator from "./baseIndicator"; |
import { scaleOrdinal } from "d3-scale"; | ||
import { noop } from "@react-financial-charts/core"; | ||
@@ -33,3 +32,5 @@ const defaultColors = ["#F44336", "#2196F3", "#8BC34A", "#FF5722", "#3F51B5", "#03A9F4", "#9C27B0", "#4CAF50"]; | ||
const baseIndicator = () => noop; | ||
const baseIndicator = () => () => { | ||
/** Do Nothing */ | ||
}; | ||
@@ -36,0 +37,0 @@ baseIndicator.id = (newId?: number) => { |
@@ -1,3 +0,2 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { bollingerband } from "../calculator"; | ||
@@ -4,0 +3,0 @@ import { BollingerBandOptions } from "../calculator/bollingerband"; |
import { change } from "../calculator"; | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { ChangeOptions } from "../calculator/change"; | ||
@@ -5,0 +4,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,5 +0,3 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { compare } from "../calculator"; | ||
import { CompareOptions } from "../calculator/compare"; | ||
@@ -6,0 +4,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,3 +0,3 @@ | ||
import { isDefined, isNotDefined, merge, rebind, slidingWindow } from "@react-financial-charts/core"; | ||
import { isDefined, isNotDefined, slidingWindow } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import baseIndicator from "./baseIndicator"; | ||
@@ -4,0 +4,0 @@ import { ElderImpulse as appearanceOptions } from "./defaultOptionsForAppearance"; |
import { elderRay } from "../calculator"; | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { ElderRayOptions } from "../calculator/elderRay"; | ||
@@ -5,0 +4,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,3 +0,2 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { ema } from "../calculator"; | ||
@@ -4,0 +3,0 @@ import { EMAOptions } from "../calculator/ema"; |
@@ -1,5 +0,3 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { forceIndex } from "../calculator"; | ||
import { ForceIndexOptions } from "../calculator/forceIndex"; | ||
@@ -6,0 +4,0 @@ import baseIndicator from "./baseIndicator"; |
import { heikinAshi } from "../calculator"; | ||
import baseIndicator from "./baseIndicator"; | ||
import { merge, rebind } from "../utils"; | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
const ALGORITHM_TYPE = "HeikinAshi"; | ||
@@ -7,0 +6,0 @@ |
@@ -1,3 +0,2 @@ | ||
import { rebind } from "@react-financial-charts/core"; | ||
import { rebind } from "../utils"; | ||
import { kagi } from "../calculator"; | ||
@@ -4,0 +3,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,5 +0,3 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { macd } from "../calculator"; | ||
import { MACDOptions } from "../calculator/macd"; | ||
@@ -6,0 +4,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,3 +0,2 @@ | ||
import { rebind } from "@react-financial-charts/core"; | ||
import { rebind } from "../utils"; | ||
import { pointAndFigure } from "../calculator"; | ||
@@ -4,0 +3,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,3 +0,2 @@ | ||
import { rebind } from "@react-financial-charts/core"; | ||
import { rebind } from "../utils"; | ||
import { renko } from "../calculator"; | ||
@@ -4,0 +3,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,5 +0,3 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { rsi } from "../calculator"; | ||
import { RSIOptions } from "../calculator/rsi"; | ||
@@ -6,0 +4,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,5 +0,3 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { sar } from "../calculator"; | ||
import { SAROptions } from "../calculator/sar"; | ||
@@ -6,0 +4,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,3 +0,2 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { sma } from "../calculator"; | ||
@@ -4,0 +3,0 @@ import { SMAOptions } from "../calculator/sma"; |
@@ -1,3 +0,2 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { sto } from "../calculator"; | ||
@@ -4,0 +3,0 @@ import { STOOptions } from "../calculator/sto"; |
@@ -1,5 +0,3 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { tma } from "../calculator"; | ||
import { TMAOptions } from "../calculator/tma"; | ||
@@ -6,0 +4,0 @@ import baseIndicator from "./baseIndicator"; |
@@ -1,5 +0,3 @@ | ||
import { merge, rebind } from "@react-financial-charts/core"; | ||
import { merge, rebind } from "../utils"; | ||
import { wma } from "../calculator"; | ||
import { WMAOptions } from "../calculator/wma"; | ||
@@ -6,0 +4,0 @@ import baseIndicator from "./baseIndicator"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
317660
200
6121