Commit Graph

317 Commits

Author SHA1 Message Date
Matthias
6b387d320e extract combine_tickers to btanalysis 2019-06-30 10:04:43 +02:00
Matthias
88545d882c Use FTPlots class in plot-scripts 2019-06-30 09:42:10 +02:00
Matthias
c87d27048b align plot_profit to plot_dataframe 2019-06-30 09:28:49 +02:00
Matthias
700bab7279 Rename generate_plot_file to store_plot_file 2019-06-30 09:28:34 +02:00
Matthias
c3db4ebbc3 Revise plot_profit to use pandas functions where possible 2019-06-29 20:52:33 +02:00
Matthias
8aa327cb8a Add load_trades abstraction (to load trades from either DB or file) 2019-06-29 20:52:23 +02:00
Matthias
4218d569de Only read trades once 2019-06-29 20:41:22 +02:00
Matthias
e50eee59cf Seperate plot-name generation and plotting 2019-06-29 20:38:49 +02:00
Matthias
4506832925 Update docstring 2019-06-29 20:07:25 +02:00
Matthias
79b4e2dc85 Rename generate_graph to generate_candlestick_graph 2019-06-29 17:23:33 +02:00
Matthias
0436811cf0 Use mode OTHER, nto backtesting 2019-06-28 06:47:40 +02:00
Matthias
ca5093901b Use build_args for plot script 2019-06-24 20:08:17 +02:00
Matthias
ba7a0dde06 Use build_args for download script 2019-06-24 20:08:17 +02:00
Matthias
ee312ac230 Use build_args for plot_dataframe script 2019-06-24 20:07:04 +02:00
Matthias
eba7327058 Merge branch 'develop' into split_btanalysis_load_trades 2019-06-24 07:15:14 +02:00
Matthias
12d2db5e7b
Merge pull request #1966 from hroff-1902/fix-docstrings
minor: typos in docstrings fixed
2019-06-24 06:17:11 +02:00
hroff-1902
116d8e853e typos in docstrings fixed 2019-06-23 23:10:37 +03:00
Matthias
4cbcb5f36f Move .title to ExchangeResolver (it does not make sense to do this over
and over again)
2019-06-22 16:52:14 +02:00
Matthias
026784efac remove get_tickers_data from plot_dataframe 2019-06-22 16:45:38 +02:00
Matthias
cc56d0e0fc Remove unneeded initialization 2019-06-22 16:40:33 +02:00
Matthias
3e61ada34a Be explicit in what is used, db or trades 2019-06-22 16:18:49 +02:00
Matthias
de38aea164 Fix sequence of loading trades 2019-06-22 15:45:20 +02:00
Matthias
db17b20e26 Don't require pairs but fall back to pair_whitelist instead 2019-06-21 20:21:03 +02:00
Matthias
5d6819bb28 Merge branch 'develop' into feat/plot_module 2019-06-21 19:28:38 +02:00
hroff-1902
8c40a406b6 arguments cleanup 2019-06-19 01:53:38 +03:00
Matthias
765eff23f0 Fix typo 2019-06-16 20:14:31 +02:00
Matthias
0eb109f8f7 Improve some tests 2019-06-16 19:53:48 +02:00
Matthias
488bb971ff Get rid of global conf object 2019-06-16 19:35:21 +02:00
Matthias
3f04930f38 Require pairs argument 2019-06-16 19:35:21 +02:00
Matthias
0300128cb8 Move plot-options to arguments.py 2019-06-16 19:35:15 +02:00
Matthias
1cd8415723 Move extract_trades_of_period to btanlaysis 2019-06-16 19:33:48 +02:00
Matthias
c7643e142b Move load_trades to bt_anlaysis 2019-06-16 19:33:48 +02:00
Matthias
2891d7cccb Add initial plotting test 2019-06-16 19:33:48 +02:00
Matthias
cae2185460 Move generate_plot to plotting.py 2019-06-16 19:33:48 +02:00
Matthias
6347161975 don't use print in plot_dataframe 2019-06-16 19:33:48 +02:00
Matthias
b1a01345f9 Add better hover tip 2019-06-16 19:33:48 +02:00
Matthias
e0a1e5417f sanity checks before plotting, cleanup 2019-06-16 19:33:48 +02:00
Matthias
6df0b39f81 Cleanup plot_dataframe a bit 2019-06-16 19:33:48 +02:00
Matthias
68af6d4151 Move plot-functions to plotting module 2019-06-16 19:33:48 +02:00
Matthias
2965931a78
Merge pull request #1893 from hroff-1902/refactor-download-script
refactoring download_backtest_data.py
2019-06-14 20:12:07 +02:00
hroff-1902
04ea66c977 fix handling timeframes 2019-06-14 02:58:34 +03:00
Matthias
9657b1a17f explict parse to string for ticker-interval 2019-06-13 20:37:17 +02:00
Matthias
e08fda074a Fix bug with timeframe handling 2019-06-13 20:26:47 +02:00
hroff-1902
d55f2be942 make flake happy 2019-06-11 10:21:59 +03:00
hroff-1902
dc0326db27 fix handling --exchange 2019-06-11 10:09:30 +03:00
Matthias
4e45aa1564
Merge pull request #1863 from xmatthias/feat/flask_rest_retry
Add REST API to control the bot
2019-06-02 15:20:12 +02:00
Matthias
e0e5cfa266
Merge pull request #1891 from freqtrade/simplify/persistence_init
persistence.init does not need the config dict
2019-06-02 15:13:06 +02:00
Matthias
338f2a2322 Use kwarg to call persistence.init() 2019-06-01 06:26:03 +02:00
hroff-1902
ef15f2bdc6 log messages slightly improved 2019-05-30 11:19:27 +03:00
hroff-1902
39932627bd typo in log message fixed 2019-05-30 11:03:17 +03:00
hroff-1902
11f535e79f change prints to logging 2019-05-30 10:56:57 +03:00
Matthias
b6e8fecbf5 Change persistence.init parameter
It should describe what it does
2019-05-30 06:33:16 +02:00
hroff-1902
fb88953be3 refactoring download_backtest_data.py 2019-05-29 21:57:14 +03:00
Matthias
15984b5c43 Adjust some tests - implement new "live" method to plot_script 2019-05-29 20:25:07 +02:00
Matthias
d7bebc4385 persistence.init does not need the config dict 2019-05-29 19:54:59 +02:00
Matthias
4fed263885
Merge pull request #1879 from freqtrade/refactor_optimize__init__
Speed up startup time
2019-05-29 06:18:57 +02:00
Matthias
1988662607 Update plot-script to work with exported trades 2019-05-26 20:19:06 +02:00
Matthias
71447e55aa Update missing import 2019-05-25 20:14:31 +02:00
Matthias
febcc3dddc Adapt tests and rest_client to basic_auth 2019-05-25 14:25:36 +02:00
Matthias
1fab884a2f use Authorization for client 2019-05-25 14:15:07 +02:00
Matthias
79cac36b34 Reference reest api in main documentation page 2019-05-18 10:42:18 +02:00
Matthias
f2e4689d0c Cleanup script 2019-05-18 10:31:50 +02:00
Matthias
c272e1ccdf Add default rest config 2019-05-18 10:24:01 +02:00
Matthias
5149ff7b12 Move api to /api/v1 2019-05-18 10:00:07 +02:00
Matthias
6e4b159611 Add forcebuy and forcesell 2019-05-18 09:57:10 +02:00
Matthias
bc4342b2d0 small cleanup 2019-05-18 09:57:10 +02:00
Matthias
cb271f51d1 Add client actions for actions 2019-05-18 09:57:10 +02:00
Matthias
ea8b8eec1c Add edge handler 2019-05-18 09:57:10 +02:00
Matthias
b1964851c9 Add performance handlers 2019-05-18 09:57:10 +02:00
Matthias
0163edc868 rest-client more methods 2019-05-18 09:57:10 +02:00
Matthias
938d7275ba implement some methods 2019-05-18 09:57:10 +02:00
Matthias
8f9b9d31e2 Reorder arguments 2019-05-18 09:57:10 +02:00
Matthias
d1fffab235 Rename internal methods to _ 2019-05-18 09:57:10 +02:00
Matthias
b0ac98a7cd Clean up rest client 2019-05-18 09:57:10 +02:00
Matthias
a132d6e141 Refactor client into class 2019-05-18 09:57:10 +02:00
Matthias
5ba189ffb4 Add more commands to rest client, fix bug in config handling 2019-05-18 09:57:10 +02:00
Matthias
d2c2811249 Move rest-client to scripts 2019-05-18 09:57:10 +02:00
Matthias
577ccd32f0
Merge pull request #1750 from hroff-1902/ccxt-to-exchange-only
minor: limit usage of ccxt to freqtrade/exchange only
2019-04-19 06:51:08 +02:00
Matthias
72657758d5 Restore get_market_pairs from develop 2019-04-19 06:43:12 +02:00
Matthias
a7383ad35d enable ratelimit in download-backtest-data too 2019-04-16 19:54:24 +02:00
Matthias
ed5e76adac
Merge pull request #1755 from hroff-1902/scripts-get_market_pairs
Minor: impoved argument and exception handling in scripts
2019-04-14 10:40:57 +02:00
Misagh
c6d19a4afb
Merge pull request #1758 from freqtrade/fix/rpcheader
Missing /daily header
2019-04-12 10:45:56 +02:00
Matthias
c3b9d69919 Add docstring explaining the source of the script 2019-04-12 07:05:00 +02:00
hroff-1902
c2ca899c7e fixed printed message; cosmetic changes in the code in scripts/download_backtest_data.py 2019-04-11 00:59:53 +03:00
hroff-1902
902ffa6853 impoved argument and exception handling in scripts/get_market_pairs.py 2019-04-11 00:15:17 +03:00
hroff-1902
9fbe573cca limit usage of ccxt to freqtrade/exchange only 2019-04-09 12:27:35 +03:00
hroff-1902
ebf1126351 cosmetic: rename interval, tick_interval, etc --> ticker_interval 2019-04-07 16:28:53 +03:00
hroff-1902
6913bce6a1 flake8, import in script/plot_profit.py 2019-04-04 21:39:38 +03:00
hroff-1902
2aa1b43f01 get rid of TICKER_INTERVAL_MINUTES dict, use ccxt's parse_timeframe() instead 2019-04-04 20:56:40 +03:00
Matthias
83a2427a61 Fix mypy in scripts 2019-03-23 19:37:17 +01:00
Matthias
184b13f2fb Flake8 for scripts 2019-03-23 19:18:10 +01:00
Matthias
9f7f089d8a adjust plot_dataframe to use btanalysis 2019-03-16 17:28:28 +01:00
hroff-1902
da5bef501e cleanup 2019-02-20 17:55:20 +03:00
hroff-1902
87c82dea3d support for multiple --config in the download_backtest_data.py utility 2019-02-20 17:00:35 +03:00
Matthias
02d13645b0 Merge branch 'develop' into feat/dataprovider 2019-01-26 19:29:41 +01:00
Matthias
e5b0224050 remove unused import 2019-01-26 11:00:12 +01:00
Axel Cherubin
e43aaaef9c add macd signal as default indicator2 2019-01-26 11:00:10 +01:00
Axel Cherubin
422a0ce114 better Path usage, remove arg parameter in generate_graph 2019-01-26 11:00:09 +01:00
Matthias
22e7ad8ec1 Change back to LF lineendings 2019-01-26 11:00:08 +01:00
AxelCh
eec7276393 fix crash when backtest-result.json not exist 2019-01-26 11:00:04 +01:00
Matthias
f0af4601f9 Adopt plot_dataframe to work with --live 2019-01-22 07:07:15 +01:00
Matthias
a206777fe5 Rename refresh_tickers to refresh_latest_ohlcv 2019-01-22 07:05:09 +01:00
Matthias
1340b71633 Add RunMode setting to determine bot state 2019-01-22 07:04:19 +01:00
Matthias
1ce8f416ca Reset stake-currency when using config to download pairs 2018-12-27 14:29:26 +01:00
Matthias
b2bc5d9396 Remove convert_backtestdata - this is not usefull anymore 2018-12-26 14:02:17 +01:00
Matthias
34b93eb952 Load config-file in download_backtest_data - 2018-12-25 13:15:41 +01:00
Matthias
8fbeb700d6 move key/secret in download_backtest_data to correct location 2018-12-25 13:00:48 +01:00
Matthias
eb7034c7a7 Rename download_backtest_testdata to download_pair_history 2018-12-16 10:33:08 +01:00
Matthias
043cefd60a allow reloading single pair 2018-12-16 10:17:11 +01:00
Matthias
21aba1620c Replace calls to load_data 2018-12-15 14:10:33 +01:00
Matthias
f261911285 replace os.path with pathlib.Path 2018-12-15 13:54:35 +01:00
Matthias
4ca6aad99a Adjust imports in scripts 2018-12-14 06:32:49 +01:00
Matthias
fe3990af3d Adjust some tests to dataframe passing 2018-12-12 19:17:09 +01:00
Matthias
21a093bcdb extract resolvers to IResolvers and it's own package 2018-11-24 20:00:02 +01:00
Matthias
7f3b4a97dd Reinstate df - which was removed in #1287 2018-11-02 19:14:50 +01:00
Matthias
7f9f53248c Add validate_backtest_data script 2018-10-18 20:25:21 +02:00
Matthias
ce4f0696e1 Add logging to download script and enable ccxt_async_config 2018-10-04 20:38:30 +02:00
Matthias
14e21765f2 Fix missing column to load current backtesting export files 2018-09-17 19:44:40 +02:00
Matthias
9403248e4d have plot-script use async ticker-refresh 2018-08-19 19:48:24 +02:00
Matthias
a107c4c7b4 Download using asyncio 2018-08-10 11:08:28 +02:00
Samuel Husso
398c61786a
Merge pull request #1116 from creslinux/script_get_market_pairs
Script to get market pairs
2018-08-02 13:29:42 +03:00
creslin
7f4472ad77 As requested in issue #1111
A python script to return

 - all exchanges supported by CCXT
 - all markets on a exchange

 Invoked as `python get_market_pairs.py` it will list exchanges
 Invoked as `python get_market_pairs binance` it will list all markets on binance
2018-08-02 10:10:44 +00:00
creslin
a741f1144a missing __init__.py 2018-08-02 08:58:04 +00:00
Matthias
2401fa15d2 Change missed calls to advise_* functions 2018-07-29 21:07:21 +02:00
Matthias
cf83416d69 update script to use new method 2018-07-29 20:55:37 +02:00
Janne Sinivirta
4a26eb34ea fix plot_profit to use strategy instead of Analyze 2018-07-17 11:47:09 +03:00
Janne Sinivirta
50b15b8052 fix plot_dataframe to use strategy instead of Analyze 2018-07-17 11:41:21 +03:00
Matthias
6be6448334 replace "transparent" with rgb to fix exception in plotly 3.0.0 2018-07-09 21:56:29 +02:00
Gert Wohlgemuth
4654792784
Fixing database issues
1. if database is defined in config file, it currently tosses an exception that only export file or db is defined
2. if trades are loaded from databases, plot crashes with an exception 'cannot compare tz-naive and tz-aware datetime-like objects'
3. if Trade is not closed, crashes with exception that NoneType has no field timestamp

all should be fixed
2018-07-08 22:43:34 -07:00
Samuel Husso
21fc933678 convert_backtesting: fstrings in use 2018-07-05 10:11:29 -05:00
Michael Egger
6dd5f85fb6
Merge pull request #954 from freqtrade/feat/allow_backtest_plot
allow backtest ploting
2018-06-29 19:44:06 +02:00
xmatthias
43f1a1d264 rework download_backtest script 2018-06-24 19:52:12 +02:00
xmatthias
660ec6f443 fix parameter type 2018-06-24 13:43:27 +02:00
xmatthias
d8cb63efdd extract load_trades 2018-06-23 20:19:07 +02:00
xmatthias
5055563458 add --plot-limit 2018-06-23 20:14:15 +02:00
xmatthias
f506ebcd62 use Pathlib in the whole script 2018-06-23 19:58:28 +02:00
xmatthias
3cedace2f6 add plotting for backtested trades 2018-06-23 19:54:27 +02:00
xmatthias
488f1717a1 update plot_dataframe script to objectify exchange 2018-06-18 22:32:29 +02:00
xmatthias
2b0ef54595 update download_script for exchange objectify 2018-06-18 22:28:51 +02:00
Janne Sinivirta
0c85febe76 remove all mongodb related code 2018-06-16 09:09:28 +03:00
xmatthias
182f4c603b fix plot-script datadir not working 2018-06-12 21:43:14 +02:00
xmatthias
1f6b9c332b fix default datadir not working in plot-script 2018-06-12 21:38:14 +02:00
xmatthias
40746c3fcb fix downloadscript crash if a pair is not available 2018-06-11 21:10:57 +02:00
gcarq
bea9a3304e use correct return code on error 2018-06-08 02:01:46 +02:00
gcarq
01675f50bf adapt scripts/plot_dataframe to use freqtrade db_url 2018-06-07 18:06:27 +02:00
Gerald Lonlas
5024cd52af Update docstring for generate_graph() 2018-06-04 23:49:16 -07:00
Gerald Lonlas
1b071b1f4a Add example on how to start the script 2018-06-04 21:18:03 -07:00
Gerald Lonlas
8edcef6d32 Add two params to select what indicators to display 2018-06-04 21:18:03 -07:00
Gerald Lonlas
e16fb45d84 Fix typo, remove Bittrex mention 2018-06-04 21:17:20 -07:00
Gerald Lonlas
1c75bfdddd Add more indicators 2018-06-04 21:17:20 -07:00