Skip to content

Commit

Permalink
using new syntax in calling nordpool-node
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmr committed Mar 1, 2023
1 parent 4c16c86 commit 27dd859
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1,800 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import schedule from 'node-schedule';
import {nordpool} from 'nordpool';
import {Prices} from 'nordpool'
import moment from 'moment-timezone';
import {config} from './config.js';
import findStreak from 'findstreak';
import request from 'request';

const prices = new nordpool.Prices();
const prices = new Prices()
const lowEvent = 'nordpool_price_low';
const normEvent = 'nordpool_price_normal';
const highEvent = 'nordpool_price_high';
Expand Down
Loading

0 comments on commit 27dd859

Please sign in to comment.