Skip to content

Commit 33b9706

Browse files
committed
Bittrex api v3 migration
1 parent 9e3a6f5 commit 33b9706

25 files changed

+3380
-2971
lines changed

.babelrc

-20
This file was deleted.

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.eslintrc.js

.eslintrc.js

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
module.exports = {
2+
parser: '@typescript-eslint/parser',
3+
parserOptions: {
4+
project: 'tsconfig.json',
5+
sourceType: 'module'
6+
},
7+
root: true,
8+
plugins: ['jest', '@typescript-eslint', 'promise'],
9+
extends: [
10+
'semistandard',
11+
'plugin:@typescript-eslint/recommended',
12+
'plugin:promise/recommended',
13+
'plugin:prettier/recommended',
14+
'prettier/@typescript-eslint'
15+
],
16+
env: {
17+
node: true,
18+
jest: true
19+
},
20+
rules: {
21+
'@typescript-eslint/no-unused-vars': 'error',
22+
'@typescript-eslint/no-unused-expressions': [
23+
'error',
24+
{
25+
allowShortCircuit: true,
26+
allowTernary: true,
27+
allowTaggedTemplates: true
28+
}
29+
],
30+
'import/order': [
31+
'error',
32+
{
33+
'newlines-between': 'always',
34+
alphabetize: {
35+
order: 'asc',
36+
caseInsensitive: true
37+
},
38+
groups: [
39+
'builtin',
40+
'external',
41+
'internal',
42+
'parent',
43+
'sibling',
44+
'index'
45+
],
46+
pathGroups: [
47+
{
48+
pattern: '#**/*',
49+
group: 'external'
50+
}
51+
]
52+
}
53+
],
54+
'no-unused-expressions': 'off',
55+
'no-useless-constructor': 'off'
56+
}
57+
};

.gitignore

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
build
2-
lib
1+
dist
32
node_modules
4-
.idea
3+
.idea
4+
5+
yarn-error.log

Dockerfile

-19
This file was deleted.

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 Wertarbyte
3+
Copyright (c) 2021 Wertarbyte
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+3-7
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,12 @@ https://www.theforexchronicles.com/the-ema-5-and-ema-20-crossover-trading-strate
1212

1313
## Usage
1414

15-
Add `apiKey` and `apiSecret` from bittrex to your `./config/index.js`
15+
Add `apiKey` and `apiSecret` from bittrex to your `./config.ts`
1616
See https://support.coinigy.com/hc/en-us/articles/360001123973-How-do-I-find-my-API-key-on-Bittrex-com-
1717

1818
Tweak the other configuration options to your liking.
1919

2020
```
21-
npm i
22-
npm run start:dev
21+
yarn
22+
yarn start:dev
2323
```
24-
25-
You can also use the included `Dockerfile` to build an image and deploy it wherever you want.
26-
27-
![Screenshot](screenshot.png)

docker-compose.yml

-6
This file was deleted.

0 commit comments

Comments
 (0)