Skip to content

Commit 9792936

Browse files
committed
A field was renamed on this indicator
1 parent efa30dd commit 9792936

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/indicators.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,13 @@ describe('Indicators', () => {
120120

121121
console.log('MarketCipher B last values:', {
122122
VWAP: Math.round(lastResult.VWAP * 1000) / 1000,
123-
moneyFlow: (lastResult.RSIMFI_Area >= 0) ? 'POSITIVE' : 'NEGATIVE',
123+
moneyFlow: (lastResult.rsiMFI >= 0) ? 'POSITIVE' : 'NEGATIVE',
124124
buyCircle: lastResult.Buy_and_sell_circle && lastResult.VWAP > 0,
125125
sellCircle: lastResult.Buy_and_sell_circle && lastResult.VWAP < 0,
126126
});
127127

128128
expect(lastResult.VWAP).toBeTypeOf('number');
129-
expect(lastResult.RSIMFI_Area).toBeTypeOf('number');
129+
expect(lastResult.rsiMFI).toBeTypeOf('number');
130130
expect(lastResult.Buy_and_sell_circle).toBeTypeOf('number');
131131

132132
CipherB.remove();

0 commit comments

Comments
 (0)