Matthias
522496d9e2
Add Compatibility code for BT_DATA_COLUMNS
2022-01-07 17:17:35 +01:00
Matthias
46809f08fe
Merge branch 'develop' into feat/short
2022-01-07 10:13:16 +01:00
Matthias
d64f9030c1
Remove now unused codesegment
2022-01-07 08:04:01 +01:00
Matthias
b3a4ecaf77
Remove old backtest format support
2022-01-06 19:49:25 +01:00
Matthias
a0f9c1bf7b
Avoid failure when calculating max-drawdown
...
occurs if if no winning trade is recorded.
2022-01-06 13:51:15 +01:00
Matthias
4e2b9203d7
Remove no longer used BT_DATA_COLUMNS_MID
2022-01-05 20:40:59 +01:00
Sam Germain
501f473164
Merge branch 'develop' into feat/short
2022-01-04 22:47:33 -06:00
Matthias
7a2b50ce8b
Update drawdown calculation to account drawdown
2022-01-04 17:07:31 +01:00
Matthias
ddfbe55e7c
Merge branch 'develop' into feat/short
2022-01-01 19:16:49 +01:00
Matthias
78ba2d3fc7
Add underwaterplot calculation to btanalysis
2022-01-01 14:39:58 +01:00
Matthias
9becd20f20
Improve "Missing data" messages
2022-01-01 10:37:58 +01:00
Matthias
bd98637ae9
Fail gracefully from plot-profit when no data is provided
...
closes #6132
2021-12-30 10:14:45 +01:00
Matthias
1871165d21
Merge pull request #6127 from wadedyck/download_data_futures_fix
...
Download data futures fix
2021-12-29 19:08:38 +01:00
Wade Dyck
5743b3a0b7
When getting analyzed dataframes, use candle_type_def in the pair_key as that's how they're cached.
2021-12-27 13:29:25 -07:00
Wade Dyck
5b3f907b0c
Fixes a download_data bug when in futures mode.
...
When specifying multiple pairs to download, the json filenames were
inconsistent due to the reassignment of candle_type. Also adds the
candle_type being downloaded to a log message.
2021-12-27 11:16:38 -07:00
Matthias
ddce28c12d
Update data downloading to include funding_fee downloads
2021-12-18 15:32:02 +01:00
Matthias
2679744228
Explicit test for candletype get_default
2021-12-08 16:20:26 +01:00
Matthias
35afc7b478
Fix wrong tradingMOde comparison
2021-12-08 16:07:27 +01:00
Matthias
9b9d61c6d6
Remove SPOT_ candletype
2021-12-08 14:38:09 +01:00
Matthias
d89cbda7b8
Use candle_type_def
where possible
2021-12-08 14:15:54 +01:00
Matthias
222c293602
Add "defaultCandletype"
2021-12-08 13:17:20 +01:00
Matthias
dda7283f3e
Remove unnecessary default parameters
2021-12-08 11:32:58 +01:00
Matthias
ac2fb08aea
Small updates while reviewing
2021-12-07 20:21:49 +01:00
Matthias
f1c5a4d065
Use pair-reconstruction method wherever possible
2021-12-07 20:12:44 +01:00
Matthias
b4d27973b1
Update ohlcv_get_pairs test
2021-12-07 19:57:18 +01:00
Matthias
9d79501c13
Add candletypes argument for convert-data
2021-12-05 10:26:00 +01:00
Matthias
a80c3f6a1b
Use exchange-dependant timeframe/candletype to get mark/index candles
2021-12-05 10:01:44 +01:00
Matthias
69f371bf63
Update download-data to download necessary data for futures
2021-12-03 14:43:49 +01:00
Matthias
2f17fa2765
Update more to use candleType
2021-12-03 14:15:35 +01:00
Matthias
5493212672
More candletype changes
2021-12-03 13:04:31 +01:00
Matthias
f33643cacf
Add candletype from string
2021-12-03 12:46:18 +01:00
Matthias
f9cf59bb4d
Candle_type to enum
2021-12-03 12:32:12 +01:00
Matthias
a87e256737
Add candleType enum
2021-12-03 12:12:33 +01:00
Matthias
b578e31255
Align tests to have futures data in futures/ directory
2021-12-03 07:20:43 +01:00
Matthias
7baf11a497
Futures candles should go into a subdirectory
2021-12-03 07:04:53 +01:00
Matthias
fae7167bf3
Merge branch 'feat/short' into pr/samgermain/5780
2021-12-02 20:25:30 +01:00
Matthias
fb1599d21b
Merge branch 'develop' into feat/short
2021-12-02 20:20:35 +01:00
Matthias
ad5c8f601c
Simplify datahandler classes by exploiting commonalities
2021-12-02 20:19:22 +01:00
Matthias
f4d0abc51a
Merge branch 'feat/short' into pr/samgermain/5780
2021-12-02 07:09:37 +01:00
Matthias
f71b7a4e76
Merge branch 'develop' into feat/short
2021-12-02 06:53:15 +01:00
Matthias
0375a08302
use to_hdf instead of HDFStore
2021-12-01 20:32:23 +01:00
Matthias
cb4efa6d56
Revert unnecessary formatting changes
2021-11-28 15:53:13 +01:00
Matthias
0d6c933935
Improve and fix pair detection from available data
2021-11-28 15:25:57 +01:00
Matthias
7faa7539b4
Further enhance pair retrieval
2021-11-28 15:03:55 +01:00
Matthias
8d70672bee
Enhance Regex to work for mark candles
2021-11-28 14:37:54 +01:00
Matthias
c096c7f5cb
Add explicit tests for ohlcv regex
2021-11-28 14:34:46 +01:00
Sam Germain
392128013f
Updated ohlcv_get_available_data to recognize swap and futures pairs
2021-11-27 03:11:44 -06:00
Sam Germain
8761649fd7
Added candle_type in doc strings
2021-11-27 02:55:42 -06:00
Sam Germain
920151934a
Added candle_type to a lot of methods, wrote some tests
2021-11-21 17:48:14 -06:00
Sam Germain
e2f98a8dab
replaced candle_type: Optional[str] = '' with candle_type: str = ''
2021-11-21 17:48:14 -06:00