Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feature) Backtest history #676

Closed
wants to merge 62 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
e7e3481
Restore Recurring order on FE
dmytroshch Jul 28, 2023
b2f3a8e
HistoryButton: moved to separated component
dmytroshch Aug 14, 2023
d85e64c
Backtest: add history/new test toggler
dmytroshch Aug 14, 2023
37a35ba
PanelButton: align text and icon
dmytroshch Aug 14, 2023
e6b136e
fetch strategy backtests
dmytroshch Aug 14, 2023
7b5bd2e
BT history: recieve data from data-server
dmytroshch Aug 15, 2023
22889b6
BT history: layout list
dmytroshch Aug 15, 2023
d14151e
BT history: restructure components and folders
dmytroshch Aug 16, 2023
23ee4e5
BT history: launch to details tab
dmytroshch Aug 16, 2023
fbdb4f0
BT history: details layout"
dmytroshch Aug 16, 2023
36e0519
fix prop validation
dmytroshch Aug 16, 2023
470ee06
BT history: fix styles
dmytroshch Aug 16, 2023
e4804a1
BT history: results
dmytroshch Aug 17, 2023
be620fd
Revert "Merge pull request #394 from dmytroshch/fix/backtest-clear"
dmytroshch Aug 17, 2023
34e3fbc
fixed: new test button
dmytroshch Aug 17, 2023
b115ac7
BT: add bt to history after execution
dmytroshch Aug 17, 2023
1b00c85
BT: log error messages during execution
dmytroshch Aug 17, 2023
6ce9cdf
BT: update initial messages
dmytroshch Aug 17, 2023
f65425c
BT: fix button style
dmytroshch Aug 17, 2023
879bb32
BT: reset tab state when strategy has changed
dmytroshch Aug 17, 2023
d15cecb
BT: change fetching history logic
dmytroshch Aug 17, 2023
a3a80fb
removed duplicated action
dmytroshch Aug 17, 2023
84a1792
rename method
dmytroshch Aug 17, 2023
4536691
BT: remove history on strategy delete
dmytroshch Aug 17, 2023
dc7efe9
BT history: move some component state properties to redux store
dmytroshch Aug 17, 2023
71e2986
AOs history: fix issue with relaunch Recurring AO
dmytroshch Aug 18, 2023
eb3a47b
StrategyLiveChart: unify data
dmytroshch Aug 18, 2023
e7a2ce0
removed unused
dmytroshch Aug 22, 2023
69ad4e5
resolve useCallback dependecies
dmytroshch Aug 22, 2023
727d18b
Show backtest range in results
dmytroshch Aug 22, 2023
23e2247
fix prop validation
dmytroshch Aug 22, 2023
a595aa5
getting recurring ao atomic orders
dmytroshch Aug 22, 2023
d87a29f
fix failed order layout
dmytroshch Aug 23, 2023
562d042
Resolve issue with recurring AO template selection
dmytroshch Aug 24, 2023
570b83f
OrderHistory: add id property for failed order
dmytroshch Aug 24, 2023
3feb5de
improve formatTime fn
dmytroshch Aug 24, 2023
99cf6eb
update ufx-ui to 0.15.3
dmytroshch Aug 25, 2023
79464dc
DatePicker: fix clipping with parent's container
dmytroshch Aug 25, 2023
fa07588
DatePicker: remove unused
dmytroshch Aug 25, 2023
f8a7f54
Merge branch 'fix/recurring-relaunch' into test-branch
dmytroshch Aug 25, 2023
4418667
DatePicker: limit min/max time, improve onChange handler
dmytroshch Aug 25, 2023
131d8dc
Merge branch 'feature/restore-recurring' into test-branch
dmytroshch Aug 25, 2023
ba12763
Recurring: improve end date input
dmytroshch Aug 25, 2023
a32a89d
DatePicker: improve position
dmytroshch Aug 25, 2023
a3743d0
BacktestOptionsPanel: use DatePicker from ui components
dmytroshch Aug 25, 2023
ed68b6d
BacktestOptionsPanel: resolve issue with time period dropdown which i…
dmytroshch Aug 25, 2023
bc7925a
Message for invalid api creds
dmytroshch Aug 25, 2023
884cde6
Merge branch 'feature/restore-recurring' into feature/bt-history
dmytroshch Aug 25, 2023
bc6470a
resolve conflicts
dmytroshch Aug 25, 2023
90da27d
Merge branch 'feature/bt-history' into test-branch
dmytroshch Aug 25, 2023
9019ef5
fix calendar z-index
dmytroshch Aug 28, 2023
cbba8a2
Merge branch 'feature/restore-recurring' into test-branch
dmytroshch Aug 28, 2023
db410c2
add new condition for order form elements
dmytroshch Aug 28, 2023
5b48470
Recurring: fix some issues with inputs
dmytroshch Aug 28, 2023
e15956c
Merge branch 'feature/restore-recurring' into test-branch
dmytroshch Aug 28, 2023
2044f7b
algo lib dep
dmytroshch Aug 28, 2023
d8e8e7a
updrgrade to node16
dmytroshch Sep 4, 2023
e9bd68e
update reaxt-scripts
dmytroshch Sep 4, 2023
615d9f0
react-scripts downgrade
dmytroshch Sep 4, 2023
7954548
skip preflight check as it throw eslint error
dmytroshch Sep 4, 2023
292c6de
resolve issue with eslint parser
dmytroshch Sep 4, 2023
e6f9f9d
Merge branch 'node16' into test-branch
dmytroshch Sep 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .env-cmdrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"REACT_APP_IS_ELECTRON_APP": "false",
"REACT_APP_COOKIE_DOMAIN": "bitfinex.com",
"REACT_APP_ENVIRONMENT": "production",
"REACT_APP_CHART_URL": "https://hchart.bitfinex.com/v0"
"REACT_APP_CHART_URL": "https://hchart.bitfinex.com/v0",
"SKIP_PREFLIGHT_CHECK": "true"
},
"electron": {
"REACT_APP_WSS_URL": "ws://localhost:45000",
Expand All @@ -27,7 +28,8 @@
"REACT_APP_UFX_WSS_URL": "wss://api-pub.bitfinex.com/ws/2",
"REACT_APP_COOKIE_DOMAIN": "staging.bitfinex.com",
"REACT_APP_IS_ELECTRON_APP": "true",
"REACT_APP_CHART_URL": "https://hchart.bitfinex.com/v0"
"REACT_APP_CHART_URL": "https://hchart.bitfinex.com/v0",
"SKIP_PREFLIGHT_CHECK": "true"
},
"development": {
"REACT_APP_DEV": "true",
Expand Down
44 changes: 36 additions & 8 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
{
"extends": ["airbnb", "eslint:recommended", "plugin:react/recommended"],
"extends": [
"airbnb",
"eslint:recommended",
"plugin:react/recommended"
],
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 2020
"requireConfigFile": false,
"babelOptions": {
"presets": ["@babel/preset-react"]
}
},
"root": true,
"plugins": ["lodash", "react-hooks"],
"plugins": [
"lodash",
"react-hooks"
],
"rules": {
"arrow-body-style": "off",
"arrow-parens": "off",
Expand All @@ -17,7 +28,10 @@
"jsx-a11y/label-has-for": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-quotes": ["error", "prefer-single"],
"jsx-quotes": [
"error",
"prefer-single"
],
"linebreak-style": "off",
"lines-between-class-members": "off",
"max-len": "off",
Expand All @@ -33,13 +47,24 @@
"no-restricted-exports": "off",
"default-param-last": "off",
"react/jsx-no-useless-fragment": "off",
"react/jsx-filename-extension": ["warn", { "extensions": [".js", ".jsx"] }],
"react/jsx-filename-extension": [
"warn",
{
"extensions": [
".js",
".jsx"
]
}
],
"react/jsx-props-no-spreading": "off",
"react/prefer-stateless-function": "off",
"react/prop-types": "warn",
"react/state-in-constructor": "off",
"react/static-property-placement": "off",
"semi": ["warn", "never"],
"semi": [
"warn",
"never"
],
"lodash/prefer-lodash-method": "warn",
"react-hooks/rules-of-hooks": "error", // Checks rules of Hooks
"react-hooks/exhaustive-deps": "warn", // Checks effect dependencie
Expand All @@ -49,12 +74,15 @@
"settings": {
"import/resolver": {
"node": {
"moduleDirectory": ["node_modules", "src"]
"moduleDirectory": [
"node_modules",
"src"
]
}
}
},
"env": {
"browser": true,
"jest": true
}
}
}
6 changes: 3 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:

strategy:
matrix:
node-version: [14.19.x]
node-version: [16.20.x]

steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand Down
Loading