Commit Graph

12163 Commits

Author SHA1 Message Date
Sam Germain
1bcab12b8f Added tests for interest and assigning leverage 2021-06-28 03:30:21 -06:00
Sam Germain
9cb2bdec29 Added test for is_opening_trade, is_closing_trade 2021-06-28 02:43:25 -06:00
Sam Germain
562f4309db test_calc_profit on shorts 2021-06-28 02:31:25 -06:00
Sam Germain
820944e5cd shorting test_calc_close_trade_price 2021-06-28 01:10:51 -06:00
Sam Germain
c5add66fda test_update_open_order and test_calc_open_trade_value for shorts 2021-06-28 00:02:54 -06:00
Sam Germain
3376b80cf4 test_update_open_order for shorts 2021-06-27 23:54:02 -06:00
Sam Germain
c41f6554f7 margin test_calc_close_trade_price_exception 2021-06-27 23:51:37 -06:00
Sam Germain
c98b9ab768 margin test_trade_close 2021-06-27 23:46:22 -06:00
Sam Germain
9a53aeec10 Third test passes 2021-06-27 07:30:23 -06:00
Sam Germain
5d280b70cb Put the first 2 margin tests back in 2021-06-27 05:05:24 -06:00
Sam Germain
26fb904512 Third test should pass, but it's always slightly off 2021-06-27 04:55:30 -06:00
Sam Germain
e030620566 Created a third test,this one throws the time error 2021-06-27 04:12:42 -06:00
Sam Germain
be2a004a5e Updated comments for test_update_with_binance on margin 2021-06-27 03:58:18 -06:00
Sam Germain
13ec7610bf Two margin tests pass now, although 3 persistance tests fail due the field in Trade being _leverage instead of leverage 2021-06-27 03:38:56 -06:00
Sam Germain
5667c1ef23 added exception checks to LocalTrade.leverage and LocalTrade.borrowed 2021-06-27 00:19:58 -06:00
Sam Germain
57896e9ee9 Added types to setters 2021-06-26 21:34:58 -06:00
Sam Germain
4bd8a1b595 Set leverage and borowed to computed properties 2021-06-26 21:10:50 -06:00
Sam Germain
b77f39cfcb Wrote 1 test for shorting, not 2 tests, definately not 3 tests, 1 single test 2021-06-26 02:18:00 -06:00
Sam Germain
5518ca3a98 Merge branch 'develop' into margin-db 2021-06-22 22:38:37 -06:00
Sam Germain
e00a93a92b Started some pytests for short and leverage 2021-06-22 22:26:10 -06:00
Sam Germain
c6a818eb17 Created interest function 2021-06-22 21:17:14 -06:00
Matthias
dce01b0542
Merge pull request #5159 from freqtrade/dependabot/pip/develop/scipy-1.7.0
Bump scipy from 1.6.3 to 1.7.0
2021-06-22 19:46:48 +02:00
Matthias
74b9be82a2
Merge pull request #5152 from robcaulk/patch-2
Fix errors during ubuntu install
2021-06-22 15:56:02 +02:00
Robert Caulk
10e94350e9
Update installation.md 2021-06-22 14:59:43 +02:00
Sam Germain
16ba8a284f Merge branch 'develop' of https://github.com/freqtrade/freqtrade into margin-db 2021-06-22 03:07:48 -06:00
Sam Germain
759f563631 All previous pytests pass 2021-06-22 02:55:53 -06:00
Sam Germain
85632eec05 A lot of the pytests pass now, 1562 pass, 3 fail 2021-06-22 02:22:16 -06:00
Sam Germain
5bc3aaf96f Merge branch 'margin-db' of https://github.com/samgermain/freqtrade into margin-db 2021-06-21 21:42:26 -06:00
Sam Germain
bbf1240170 merged 2021-06-21 21:41:32 -06:00
Sam Germain
5c97e47cbd merged 2021-06-21 21:35:44 -06:00
Sam Germain
a9bd0700ed Adding templates for leverage/short tests 2021-06-21 21:26:31 -06:00
Matthias
b8d6e68916
Merge pull request #5163 from freqtrade/dependabot/pip/develop/types-filelock-0.1.4
Bump types-filelock from 0.1.3 to 0.1.4
2021-06-21 15:08:24 +02:00
dependabot[bot]
8c1484ed5e
Bump types-filelock from 0.1.3 to 0.1.4
Bumps [types-filelock](https://github.com/python/typeshed) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-filelock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 06:06:08 +00:00
Matthias
dda0a48dfa
Merge pull request #5162 from freqtrade/dependabot/pip/develop/types-tabulate-0.1.1
Bump types-tabulate from 0.1.0 to 0.1.1
2021-06-21 08:05:19 +02:00
Matthias
b7a5f9d138
Merge pull request #5161 from freqtrade/dependabot/pip/develop/types-cachetools-0.1.8
Bump types-cachetools from 0.1.7 to 0.1.8
2021-06-21 08:04:49 +02:00
dependabot[bot]
2d05a8bea1
Bump types-cachetools from 0.1.7 to 0.1.8
Bumps [types-cachetools](https://github.com/python/typeshed) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-cachetools
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 04:35:56 +00:00
Matthias
147ecb2063
Merge pull request #5164 from freqtrade/dependabot/pip/develop/prompt-toolkit-3.0.19
Bump prompt-toolkit from 3.0.18 to 3.0.19
2021-06-21 05:28:36 +01:00
dependabot[bot]
fdc04e27a4
Bump types-tabulate from 0.1.0 to 0.1.1
Bumps [types-tabulate](https://github.com/python/typeshed) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-tabulate
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 04:25:59 +00:00
Matthias
9f18decd92
Merge pull request #5166 from freqtrade/dependabot/pip/develop/pycoingecko-2.2.0
Bump pycoingecko from 2.1.0 to 2.2.0
2021-06-21 05:20:46 +01:00
Matthias
b4bb88cad3
Merge pull request #5160 from freqtrade/dependabot/pip/develop/ccxt-1.51.77
Bump ccxt from 1.51.40 to 1.51.77
2021-06-21 05:20:07 +01:00
Matthias
b85fdf11b4
Merge pull request #5165 from freqtrade/dependabot/pip/develop/types-requests-0.1.13
Bump types-requests from 0.1.11 to 0.1.13
2021-06-21 05:19:32 +01:00
dependabot[bot]
bb0ee837bc
Bump pycoingecko from 2.1.0 to 2.2.0
Bumps [pycoingecko](https://github.com/man-c/pycoingecko) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/man-c/pycoingecko/releases)
- [Changelog](https://github.com/man-c/pycoingecko/blob/master/CHANGELOG.md)
- [Commits](https://github.com/man-c/pycoingecko/commits)

---
updated-dependencies:
- dependency-name: pycoingecko
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 03:01:22 +00:00
dependabot[bot]
a6628fc65f
Bump types-requests from 0.1.11 to 0.1.13
Bumps [types-requests](https://github.com/python/typeshed) from 0.1.11 to 0.1.13.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-requests
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 03:01:21 +00:00
dependabot[bot]
eab6399490
Bump prompt-toolkit from 3.0.18 to 3.0.19
Bumps [prompt-toolkit](https://github.com/prompt-toolkit/python-prompt-toolkit) from 3.0.18 to 3.0.19.
- [Release notes](https://github.com/prompt-toolkit/python-prompt-toolkit/releases)
- [Changelog](https://github.com/prompt-toolkit/python-prompt-toolkit/blob/master/CHANGELOG)
- [Commits](https://github.com/prompt-toolkit/python-prompt-toolkit/compare/3.0.18...3.0.19)

---
updated-dependencies:
- dependency-name: prompt-toolkit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 03:01:17 +00:00
dependabot[bot]
fc7b372ce4
Bump ccxt from 1.51.40 to 1.51.77
Bumps [ccxt](https://github.com/ccxt/ccxt) from 1.51.40 to 1.51.77.
- [Release notes](https://github.com/ccxt/ccxt/releases)
- [Changelog](https://github.com/ccxt/ccxt/blob/master/exchanges.cfg)
- [Commits](https://github.com/ccxt/ccxt/compare/1.51.40...1.51.77)

---
updated-dependencies:
- dependency-name: ccxt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 03:01:06 +00:00
dependabot[bot]
17f8936f42
Bump scipy from 1.6.3 to 1.7.0
Bumps [scipy](https://github.com/scipy/scipy) from 1.6.3 to 1.7.0.
- [Release notes](https://github.com/scipy/scipy/releases)
- [Commits](https://github.com/scipy/scipy/compare/v1.6.3...v1.7.0)

---
updated-dependencies:
- dependency-name: scipy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 03:00:59 +00:00
Sam Germain
8f944283da Added TODO list 2021-06-20 15:43:44 -06:00
Sam Germain
de17bf4312 Added TODO list 2021-06-20 15:41:01 -06:00
Sam Germain
beb5d78058 Merge branch 'develop' into margin-db 2021-06-20 15:36:46 -06:00
Sam Germain
9891c6e111 Fixed breaking changes, can run the bot again 2021-06-20 15:34:05 -06:00