Skip to content

Commit

Permalink
A field was renamed on this indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu2301 committed Oct 18, 2023
1 parent efa30dd commit 9792936
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/indicators.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ describe('Indicators', () => {

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

expect(lastResult.VWAP).toBeTypeOf('number');
expect(lastResult.RSIMFI_Area).toBeTypeOf('number');
expect(lastResult.rsiMFI).toBeTypeOf('number');
expect(lastResult.Buy_and_sell_circle).toBeTypeOf('number');

CipherB.remove();
Expand Down

0 comments on commit 9792936

Please sign in to comment.