binary-com/binary-indicators

View on GitHub
src/macd.js

Summary

Maintainability
A
1 hr
Test Coverage

Function macdArray has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const macdArray = (data: Candle[], config: MacdConfig): MacdEntry[] => {
    const { field, fastEmaPeriod = 12, slowEmaPeriod = 26,
        signalEmaPeriod = 9, pipSize = 2 } = config;

    const vals = takeField(data, field);
Severity: Minor
Found in src/macd.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status