-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): Publish v0.0.1-next.3
- Loading branch information
Showing
28 changed files
with
1,350 additions
and
1,346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
{ | ||
"packages/**/*.{js,ts}": [ | ||
"eslint --ext js,ts --fix" | ||
"*.[tj]s?(x)": [ | ||
"eslint --fix", | ||
"git add" | ||
], | ||
"*.(spec|test).[tj]s?(x)": [ | ||
"yarn test" | ||
] | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
module.exports = { | ||
extends: ['@rocketseat/commitlint-config'], | ||
extends: ['@commitlint/config-conventional'], | ||
rules: { | ||
'subject-case': [2, 'always', ['sentence-case']], | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import '../../loadEnv' | ||
|
||
import { Hemes } from '@hemes/core' | ||
import { IQOptionProvider, BaseIQOptionProvider } from '@hemes/iqoption' | ||
|
||
async function run() { | ||
const hemes = new Hemes(IQOptionProvider).getProvider<BaseIQOptionProvider>() | ||
|
||
const account = await hemes.logIn({ | ||
email: String(process.env.TEST_IQOPTION_ACCOUNT_EMAIL), | ||
password: String(process.env.TEST_IQOPTION_ACCOUNT_PASSWORD), | ||
}) | ||
|
||
const candles = await account.getCandles('EURUSD-OTC', 'm15', 2) | ||
|
||
const fixedCandlesTime = candles.map(candle => ({ | ||
...candle, | ||
open: Number(candle.open.toFixed(5)), | ||
close: Number(candle.close.toFixed(5)), | ||
})) | ||
|
||
console.log('\n', 'Candles', fixedCandlesTime, '\n') | ||
} | ||
|
||
run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.