Matthias
e0e4369c8e
list-available-pairs should be tradingmode dependent
2021-12-03 08:09:32 +01:00
Matthias
b578e31255
Align tests to have futures data in futures/ directory
2021-12-03 07:20:43 +01:00
Matthias
f4d0abc51a
Merge branch 'feat/short' into pr/samgermain/5780
2021-12-02 07:09:37 +01:00
Matthias
0d6c933935
Improve and fix pair detection from available data
2021-11-28 15:25:57 +01:00
Sam Germain
0183e313ac
Merge branch 'mark-price-candles' of https://github.com/samgermain/freqtrade into mark-price-candles
2021-11-27 02:44:14 -06:00
Sam Germain
0d30b32fdd
Formatting changes
2021-11-27 02:44:06 -06:00
Matthias
cc9ea1d466
Merge pull request #5935 from freqtrade/short_buy_tag_compat
...
Short buy tag compat
2021-11-26 06:29:56 +01:00
Matthias
51e54a666c
Merge branch 'feat/short' into pr/samgermain/5780
2021-11-23 19:01:07 +01:00
Matthias
ce0593c0e1
Merge branch 'develop' into feat/short
2021-11-23 07:35:26 +01:00
Matthias
b8cefd687e
Add api_version to botresponse
2021-11-23 07:08:55 +01:00
Sam Germain
920151934a
Added candle_type to a lot of methods, wrote some tests
2021-11-21 17:48:14 -06:00
Matthias
36deced00b
Remove more buy_tag references
2021-11-21 09:55:10 +01:00
Matthias
7a8978abbb
Make ohlcv data endpoint work correctly with new interface
2021-11-20 20:09:37 +01:00
Matthias
f40221dd9f
Merge branch 'develop' into feat/short
2021-11-18 20:20:01 +01:00
aezo.teo
1ba2e275b8
updated test param format
2021-11-16 14:29:40 +08:00
aezo.teo
c17c1611bd
removed short_trades, updated schema, tests
2021-11-16 14:03:33 +08:00
Sam Germain
ff6b1f4421
Small changes
2021-11-14 21:01:08 -06:00
Matthias
9102590365
Improve tests by also having a "Mixed" case
2021-11-14 19:22:12 +01:00
aezo.teo
22f7c0fdc6
updated test cases
2021-11-14 21:04:24 +08:00
aezo.teo
92997c85f9
adding sides for rate and 1 more test case
2021-11-14 17:37:31 +08:00
Matthias
1dc98cc4d5
Break line
2021-11-14 10:12:19 +01:00
aezo.teo
8df334515f
added logic for is_short and tests
2021-11-14 16:52:38 +08:00
Matthias
5b9cbaf277
Use Close value for trade signal calculation
2021-11-14 09:50:04 +01:00
Sam Germain
01ad65de68
test_rpc_apiserver.py
2021-11-13 19:22:43 -06:00
Matthias
1b271d0840
Improve % outputs to not use explicit "pct" entries
2021-11-11 12:58:38 +01:00
Matthias
25fcab0794
Enhance /show_config endpoint
2021-11-06 16:20:18 +01:00
Matthias
ebc38159b8
Merge branch 'develop' into feat/short
2021-11-06 15:24:52 +01:00
Matthias
dffe76f109
Don't double-loop to generate profits
2021-10-31 10:49:56 +01:00
Sam Germain
3fffc315ac
Merge branch 'develop' into feat/short
2021-10-20 08:11:53 -06:00
Matthias
198f3c5238
Merge branch 'feat/short' into pr/samgermain/5567
2021-10-17 10:41:03 +02:00
Matthias
69fdb8edfa
Merge branch 'develop' into feat/short
2021-10-17 10:40:08 +02:00
Matthias
fb2c8f7621
Rollback after each request
...
This closes the transaction and avoids "sticking" transactions.
2021-10-17 10:30:06 +02:00
Matthias
dcefb3eb9c
Fix delete_Trade api test
2021-10-16 16:48:35 +02:00
Matthias
de5657a91b
Fix test failing when UI is installed
2021-10-16 16:47:28 +02:00
Sam Germain
bcbe8f229c
Merge branch 'feat/short' into lev-freqtradebot
2021-10-13 19:02:57 -06:00
Sam Germain
bd488cc086
Merge branch 'develop' into feat/short
2021-10-13 17:56:40 -06:00
Matthias
cae8ff5949
Merge pull request #5623 from froggleston/rest_sysinfo
...
Add CPU,RAM sysinfo support to the REST API to help with bot system m…
2021-10-09 15:17:21 +02:00
Matthias
992cef56e6
Add test for sysinfo endpoint
2021-10-06 19:36:51 +02:00
Sam Germain
d3f7207fe6
Merge branch 'develop' into feat/short
2021-10-03 02:12:25 -06:00
Sam Germain
3823ca4162
Merge branch 'test-freqtradebot-usdt' into lev-freqtradebot
2021-10-02 20:26:52 -06:00
Sam Germain
96d09b5615
Fixed breaking rpc tests
2021-10-02 01:44:30 -06:00
Sam Germain
1a132758d0
merged with feat/short
2021-09-27 23:26:20 -06:00
Matthias
c791b95405
Use new TestStrategy (V3) by default in tests
2021-09-21 20:24:08 +02:00
Matthias
7a5c7e7020
Update some tests to use StrategyV3
2021-09-21 19:33:33 +02:00
Sam Germain
043bfcd5ad
Fixed a lot of failing tests"
2021-09-19 20:24:22 -06:00
Sam Germain
778f0d9d0a
Merged feat/short into lev-strat
2021-09-19 17:44:12 -06:00
Matthias
ab88217186
Improve /balance output to include starting balance and percentual change
...
closes #5503
2021-09-19 13:17:34 +02:00
Rokas Kupstys
1fdb656334
Add a decorator which can be used to declare populate_indicators() functions for informative pairs.
2021-09-18 10:48:18 +03:00
Matthias
07d71f014f
Rename defaultStrategy file
2021-08-26 19:38:41 +02:00
Matthias
6d96b11279
Rename DefaultStrategy
2021-08-26 07:25:53 +02:00
Matthias
fbf8eb4526
Rename test-legacy strategy
2021-08-26 07:04:33 +02:00
Matthias
60b476611c
Simplify a number of tests by relying on default arguments
2021-08-24 20:51:59 +02:00
Matthias
6b2ef36a56
Prevent directory traversal in UI Serving
...
Checking for directory base
closes #5427
2021-08-16 06:47:53 +02:00
Matthias
abddb3ef25
Add test for directory traversal
2021-08-16 06:45:23 +02:00
Sam Germain
b9356a5564
Autopep8 formatting
2021-08-06 16:35:39 -06:00
Matthias
35bf2a59a8
Improve test reliability (fix fluky test)
2021-07-30 21:02:55 +02:00
kevinjulian
acfaa39e54
revert back test_rpc_api_server
2021-07-23 18:34:18 +07:00
kevinjulian
b01daa8bbc
expose buy_tag to api
2021-07-22 13:09:05 +07:00
kevinjulian
235c1afd09
add buy_tag on telegram
2021-07-22 01:53:15 +07:00
kevinjulian
66a7070170
run linter
2021-07-20 23:56:03 +07:00
Kevin Julian
edf9c08f06
Merge branch 'develop' into feat/kevinjulian/add-buy-signal-name
2021-07-20 19:19:46 +07:00
kevinjulian
ed30c023cd
fix some testcase
2021-07-20 19:08:14 +07:00
Matthias
e4b42b2b5b
Merge pull request #5284 from samgermain/merge_get_buy_sell_rate
...
Merge get_buy_rate and get_sell_rate
2021-07-20 06:54:47 +02:00
Matthias
7b7d9c02d7
Merge pull request #5243 from freqtrade/feat/webservermode_progress
...
Introduce webserver mode subcommand
2021-07-18 10:48:55 +02:00
Sam Germain
7c27525bd8
Merge get_buy_rate and get_sell_rate
2021-07-17 22:51:20 -06:00
Matthias
02d716a8be
Fix api test
2021-07-14 21:03:57 +02:00
Matthias
72a103f32d
Properly test webserver startup in standalone mode
2021-07-10 10:21:25 +02:00
Matthias
b7a9853d9a
Increase test coverage
2021-07-06 21:04:52 +02:00
Matthias
005da97183
extract backtesting abort functionality
2021-07-06 19:48:28 +02:00
Matthias
b44d215b90
Add test for backtest via APII
2021-07-06 19:48:28 +02:00
Matthias
edb8c4f0e5
Fix tests for webserver mode
2021-07-06 19:48:28 +02:00
Matthias
dec523eef0
Display verison of installed FreqUI
2021-07-06 07:20:05 +02:00
Matthias
40545e62af
Merge pull request #5082 from freqtrade/dry_run_order
...
Dry run order filling
2021-06-25 18:26:01 +02:00
Matthias
9c34304cb9
Move state enums to enums package
2021-06-08 21:20:35 +02:00
Matthias
c389d44e9a
Improve filling logic
2021-06-05 15:22:52 +02:00
Matthias
1e988c97ad
Update dry-run order handling to use realistic fill prices
...
closes #3389
2021-06-05 09:09:39 +02:00
Matthias
bd1984386e
Move get_sell_rate to exchange class
2021-06-02 11:41:13 +02:00
Matthias
6b2a38ccfb
Add absolute Profit to apiserver
2021-05-15 19:39:46 +02:00
Matthias
09756e3007
Subplots should always be included in responses
2021-05-14 06:36:50 +02:00
Matthias
05ce3acc46
Improve tests for api_trades
2021-04-20 21:29:16 +02:00
Matthias
bd92ce938c
trade_history should paginate through results
...
this avoids huge results
2021-04-20 21:04:44 +02:00
Matthias
2254f65fa7
use binance intests instead of bittrex
2021-04-20 12:59:15 +02:00
Matthias
44bfb53668
Don't use current rate for closed trades
2021-04-17 19:29:34 +02:00
Matthias
c52edcff4d
Merge pull request #4677 from mads03dk/get_trade
...
Add API endpoint for getting a specific trade
2021-04-16 19:57:58 +02:00
Matthias
aeb81f90ff
Implement errorhandling for /trade endpoint
2021-04-16 19:35:56 +02:00
Matthias
9a58a85347
Don't export "hum" date versions for trade objects.
...
They are not used and have a rather high performance penalty due to
using arrow.get
2021-04-13 06:17:11 +02:00
Matthias
aaf9872ef3
Simplify webserver test
2021-04-10 19:53:00 +02:00
Matthias
4d30c32ad2
Improve resiliancy of a test
2021-04-07 17:10:20 +02:00
Matthias
431f0a3db4
Merge pull request #4671 from freqtrade/fix/sqlalchemy
...
sqlalchemy database locked bug
2021-04-05 14:09:35 +02:00
Matthias
ea0b47a7f9
Replace test occurances of Trade.session with Trade.query.session
2021-04-05 07:38:07 +02:00
Matthias
41cb2a6451
Merge branch 'develop' into pr/rokups/4596
2021-04-03 17:00:37 +02:00
Mads Sørensen
ede26091b9
Add validation in the right places...
2021-04-02 14:35:19 +02:00
Mads Sørensen
2c0079b00b
Add profit_fiat to tests, use ANY, as price changes...
2021-04-02 13:16:52 +02:00
Matthias
71e2134694
Add some simple tests for hyperoptParameters
2021-03-27 11:26:26 +01:00
Matthias
e39cff522d
Remove duplicate dict keys in test
2021-03-22 17:30:16 +01:00
Matthias
6389e86ed6
Add test for uvloop fix
2021-03-13 16:09:07 +01:00
Matthias
5196306407
Remove deprecated profit return value
2021-03-05 20:03:49 +01:00
Matthias
6640156ac7
Support deleting locks via API
2021-03-01 19:50:39 +01:00
Matthias
228e51b60b
Fix #4405
2021-02-22 13:34:52 +01:00
Matthias
5e4730b73b
Add test confirming #4405
2021-02-22 11:44:39 +01:00
Matthias
fedbb5c0c4
Remove last flask occurance from setup.py
...
fixes #4390
2021-02-17 20:47:11 +01:00
Matthias
024849d844
Merge pull request #4285 from freqtrade/ui_deploy
...
Deploy FreqUI into webserver
2021-02-03 20:09:31 +01:00
Matthias
2c80388b40
Fix valueerror in case of empty array files
2021-02-01 06:28:49 +01:00
Matthias
e4a085027b
Add test for UI methods
2021-01-31 15:27:00 +01:00
Matthias
27970b424d
Add webUI serving to api-server
2021-01-31 14:50:54 +01:00
Matthias
406682c3bb
Fix random api failure in slow cases
2021-01-30 10:20:40 +01:00
Matthias
c42241986e
further investigate random test failure
2021-01-21 19:20:38 +01:00
Matthias
53c208197d
Add bot_name setting
...
allows naming the bot to simply differentiate when running different
bots.
2021-01-16 16:19:49 +01:00
Matthias
572f5f9186
Fix fstring syntax error
2021-01-16 10:05:47 +01:00
Matthias
9f338ba6ed
Debug random test failure in CI
2021-01-16 10:01:31 +01:00
Matthias
adb3fb123e
Fix typo
2021-01-12 19:35:02 +01:00
Matthias
ac43591c44
Fix failing api when max_open_trades is unlimited
2021-01-12 19:24:37 +01:00
Matthias
8631a54514
Fix test due to pyjwt2.0
2021-01-08 19:34:01 +01:00
Matthias
e69dac2704
Fix bug in RPC history mode when no data is found
2021-01-06 15:38:46 +01:00
Matthias
84ced92002
Fix mock-tests missing some fields
2021-01-03 06:49:07 +01:00
Matthias
29f4dd1dcd
Enhance some response models
2021-01-03 06:49:07 +01:00
Matthias
b2ab553a31
Rename api_server2 module to apiserver
2021-01-03 06:49:04 +01:00
Matthias
eb20f6e7d0
Align auth token to flask version to prevent user-logout
2021-01-03 06:49:04 +01:00
Matthias
1717121f10
Properly use JWT secret key
2021-01-03 06:49:04 +01:00
Matthias
790f833653
Some more tests around api_auth
2021-01-03 06:49:04 +01:00
Matthias
776ce57f55
Remove api_server
2021-01-03 06:49:04 +01:00
Matthias
54a50b1fb4
Fix some tests
2021-01-03 06:49:04 +01:00
Matthias
9f873305eb
Improve response models
2021-01-03 06:49:04 +01:00
Matthias
9350f505bc
Implement missing methods
2021-01-03 06:49:04 +01:00
Matthias
e23898d17b
Improve some tests
2021-01-03 06:49:04 +01:00
Matthias
9ee1d88355
Implement more endpoints
2021-01-03 06:49:04 +01:00
Matthias
a18d66e108
Add more endpoints to fastapi
2021-01-03 06:49:04 +01:00
Matthias
f37ea4ba24
Fix some initial tests towards fastAPI
2021-01-03 06:49:04 +01:00
Matthias
9feabe707f
Fix RPC methods to allow wildcards (and validate wildcards)
2020-12-30 09:57:31 +01:00
Matthias
0d4cf32086
Slightly adapt to pandas incompatibility
2020-12-28 09:50:48 +01:00
Matthias
a87c273903
Refactor RPC modules so handlers don't inherit RPC directly
2020-12-24 09:09:23 +01:00
Matthias
011ba1d9ae
Adapt tests to use async methods
2020-12-15 20:49:46 +01:00
Matthias
c784e5780e
Merge pull request #4054 from freqtrade/models_open_price
...
Models open price
2020-12-11 06:31:02 +01:00
Matthias
201cc67e05
Rename open_trade_price to "open_trade_value"
2020-12-10 19:21:20 +01:00
Matthias
3ab5514697
Add API endpoint for /stats
2020-12-07 15:07:08 +01:00
Matthias
2af1c80fd5
Convert _rpc_show_config to static method
2020-11-08 11:26:02 +01:00
Matthias
d1dab23283
Remove deprecated api fields
2020-11-03 08:59:11 +01:00
Matthias
cf89a773da
Standardize trade api outputs
...
there should be no difference between current_profit and close_profit
it's always profit, and the information if it's a closed trade is available elsewhere
2020-11-03 08:58:57 +01:00
Matthias
9c54c9a2bf
Use correct timezone for tests
2020-10-27 07:06:07 +01:00
Matthias
e602ac3406
Introduce Pairlocks middleware
2020-10-27 07:06:06 +01:00
Matthias
5f63fdd8ad
Use better lock message
2020-10-20 19:40:39 +02:00
Matthias
cd2866eaec
Add rest endpoint for /locks
2020-10-20 19:21:13 +02:00
Matthias
66b77d2f53
Fix some types
2020-10-02 06:52:43 +02:00
Matthias
b38f68b3b0
Add 404 when strategy is not found
2020-09-29 06:35:47 +02:00
Matthias
becccca3d1
Add test for __code__ loading
2020-09-29 06:35:47 +02:00
Matthias
816c8295f1
Add test for pair_history
2020-09-29 06:35:47 +02:00
Matthias
f82d39e1b0
Enhance restclient and add tests for new api methods
2020-09-29 06:35:47 +02:00
Matthias
c0654f3caf
Add resiliancy against not having a analyzed dataframe yet
2020-09-29 06:35:47 +02:00
Matthias
1de248fe38
add list_available_pairs endpoint
2020-09-29 06:35:47 +02:00
Matthias
6a59740f83
Strategies should be a nested object
2020-09-29 06:35:47 +02:00
Matthias
32e6ea314c
Return strategy with analyzed data
2020-09-29 06:35:47 +02:00
Matthias
18bbfdd341
Add /strategies endpoint
2020-09-29 06:35:47 +02:00
Matthias
bf0e75e2a5
Include data start and end date in dataframe api
2020-09-29 06:35:47 +02:00
Matthias
482f1faa88
Don't fail if no buy-signal is present
2020-09-29 06:35:46 +02:00
Matthias
f5dc10e4ae
Add pair_history endpoint
2020-09-29 06:35:46 +02:00
Matthias
677078350f
Add plot_config endpoint
2020-09-29 06:35:46 +02:00
Matthias
d528c44974
Add test for pair_history
2020-09-29 06:35:46 +02:00
Matthias
9df366d943
Apply isort to tests
2020-09-28 19:43:15 +02:00
Matthias
50f0483d9a
FIx fluky test in test_api_logs
2020-09-11 20:00:36 +02:00
Matthias
b8773de5b0
scoped sessions should be closed after requests
2020-09-11 06:44:20 +02:00
Matthias
c18441f36f
Fix typo in reloading_conf
2020-09-05 16:44:23 +02:00
Matthias
a9e7ee8113
Merge pull request #3683 from freqtrade/logging_endpoints
...
Logging endpoints
2020-08-27 15:11:17 +02:00
Matthias
309ea1246a
Update config to use single quotes
2020-08-26 20:52:09 +02:00
Matthias
605ed90567
Merge pull request #3592 from freqtrade/stoploss_distance
...
Add stoploss-distance (to current price) to /status output
2020-08-25 19:56:23 +02:00
Matthias
9659e516c8
Remove queue import
...
Improve tests
2020-08-14 20:35:15 +02:00
Matthias
9ad8e74247
Add tests for log-endpoints
2020-08-14 19:41:27 +02:00
Matthias
9999d0ffb5
Merge branch 'develop' into fix/3579
2020-08-12 15:28:51 +02:00
Matthias
9163c7f3d3
Improve api response
2020-08-04 19:43:05 +02:00
Matthias
26c7341b7d
Add test for api-server DELETE trade
2020-08-04 14:41:38 +02:00
Matthias
fdc84eef59
/trades shall only return closed trades
2020-07-23 07:50:45 +02:00
Matthias
98f2e79f27
Adjust tests to use correctly trimmed amount
2020-07-15 20:55:33 +02:00
Matthias
c1c018d8fe
Fix tests that require amount_requested
2020-07-15 20:27:00 +02:00
Matthias
82c68f07cd
Add stoploss-distance (to current price) to /status output
2020-07-14 20:16:18 +02:00
Matthias
01f325a9e4
Send timeframe min and ms in show_config response
2020-07-13 21:15:33 +02:00
Theagainmen
f32e522bd7
Update API test, removed 'ANY'
2020-07-02 20:03:15 +02:00
Theagainmen
39fa589735
Update API test, currently just with 'ANY'
2020-07-02 13:39:02 +02:00
Matthias
cf1bbb1afb
Merge pull request #3517 from freqtrade/rpc/winlossratio
...
Show winning vs. losing trades
2020-06-30 07:48:18 +02:00
Matthias
5423d8588e
Test for cors settings
2020-06-24 20:32:35 +02:00
Matthias
0509b9a8fc
Show winning vs. losing trades
2020-06-24 06:43:19 +02:00
Matthias
a3506f4d8e
Merge branch 'develop' into timeframe
2020-06-15 06:35:55 +02:00
Theagainmen
ac92834693
reload_conf & reload_config now both accepted, code is more consistent now
2020-06-10 19:28:02 +02:00
Matthias
ed1268cf39
Merge branch 'develop' into ask_strategy_verbosity
2020-06-06 17:23:19 +02:00
hroff-1902
a86863c032
Merge pull request #3440 from freqtrade/rpc_status_fields
...
Rpc status fields
2020-06-05 23:59:01 +03:00
Matthias
8c32d691c7
Add information about bid and ask strategy to /showconfig
2020-06-05 20:31:40 +02:00
Matthias
7bd55aa2f1
Use correct calcuation for "locked in profit"
2020-06-04 07:04:32 +02:00
Matthias
412b50dac5
Add current stoploss calculations
2020-06-04 06:59:48 +02:00
Matthias
5c5dc6fffe
Update test to reflect real trade after one cycle
2020-06-04 06:56:30 +02:00
Matthias
6997524a04
Fix tests for additional info
2020-06-03 19:40:49 +02:00
Matthias
02fca141a0
Readd ticker_interval to trade api response
2020-06-02 19:43:15 +02:00
Matthias
1a5dba9a79
Revert "Fix tests after merge"
...
This reverts commit edf8e39bc1
.
2020-06-02 19:39:17 +02:00
hroff-1902
edf8e39bc1
Fix tests after merge
2020-06-02 17:57:45 +03:00
hroff-1902
64881a94e2
Merge branch 'develop' into timeframe
2020-06-02 15:56:34 +03:00
hroff-1902
4c82f127b3
Merge pull request #3419 from freqtrade/api_trade_response
...
Api trade response
2020-06-02 15:53:58 +03:00
hroff-1902
5435df84bd
Merge pull request #3387 from freqtrade/rpc_blacklist
...
Improve RPC Blacklist by adding feedback
2020-06-02 04:10:33 +03:00
Matthias
b2c241e607
Replace ticker_interval in all rpc files
2020-06-01 20:43:20 +02:00
Matthias
d2b7016dff
Add stop_loss_abs ...
2020-06-01 11:05:37 +02:00
Matthias
6dec508c5e
Add new fields to tests
2020-06-01 10:57:29 +02:00
hroff-1902
84c50bf16c
Merge pull request #3390 from freqtrade/rpc/profit
...
improve /profit to not raise an exception if no trade is closed
2020-05-30 22:06:22 +03:00
Matthias
97905f86be
Add missing fields to to_json output of trade
2020-05-30 11:34:39 +02:00
Matthias
1d6e3fea85
Update /profit telegram message to support non-closed trades
2020-05-29 09:38:12 +02:00