Matthias
17a820e5c0
Move tests from test_optimize to test_history
2018-12-14 06:32:49 +01:00
Matthias
92c800d925
Adjust tests to data.history
2018-12-14 06:32:49 +01:00
Matthias
0250a96feb
Sort imports
2018-12-14 06:32:49 +01:00
Matthias
b38195e9b3
Rename to converter
2018-12-14 06:32:49 +01:00
Matthias
453f62cdfa
Adjust imports
2018-12-14 06:32:49 +01:00
Matthias
030ecbfc17
move exchange_helpers to data module
2018-12-14 06:32:49 +01:00
Matthias
5c3dcf3e2b
Test for wrong inputs (empty / none-dataframes) in get_signal
2018-12-12 19:35:51 +01:00
Matthias
d6ba4f0e81
Fix last 2 tests to use DF as data container
2018-12-12 19:17:09 +01:00
Matthias
7a533de1a8
Use list ticker history for backtesting
2018-12-12 19:17:09 +01:00
Matthias
fe3990af3d
Adjust some tests to dataframe passing
2018-12-12 19:17:09 +01:00
misagh
8d8b53f4d1
added tests for IOC and FOK
2018-12-12 13:05:55 +01:00
Matthias
81b4940eef
Adjust tests to new fiat-convert location
2018-12-11 20:27:54 +01:00
Matthias
0f2c547805
Move fiat-convert to subfolder
2018-12-11 20:26:53 +01:00
Matthias
0ab8ac1c1d
Add test to verify downloading history does not modify
...
_pairs_last_refresh_time
2018-12-11 19:18:28 +01:00
Matthias
e2bff9d5cb
Remove assigning klines from download method
2018-12-10 20:22:21 +01:00
misagh
adcaa8439e
test_strategy_override_order_tif added
2018-12-10 19:17:56 +01:00
misagh
e6fd7da43f
adding test: create order should consider TIF
2018-12-10 19:09:20 +01:00
misagh
866b7aee8e
tests fixed
2018-12-09 16:22:21 +01:00
Matthias
3b951c3817
Drop indexes on renamed table
...
avoid naming conflicts on recreate (indexes are not renamed, and keeping
them on backup tables does not really make sense).
fixes #1396
2018-12-09 09:03:17 +01:00
Matthias
2c27736dfe
Merge pull request #1390 from freqtrade/feat/dynamic_provider
...
Dynamic Pairlist provider
2018-12-09 08:39:53 +01:00
Matthias
aa579bafa4
Merge pull request #1365 from mishaker/edge_position
...
Fix edge position sizing.
2018-12-06 20:02:31 +01:00
Matthias
a63f123b6d
Check if number_assets is defined, as it's required by VolumePairList
2018-12-06 19:36:33 +01:00
misagh
0ea7dc9272
test added for total open trade stake amount from schalchemy
2018-12-06 13:51:06 +01:00
Matthias
0c10719037
Specify JsonValidatorversion explicitly
...
without doing that, it exclusiveMaximum raises an exception
as jsonschema defaults to the latest version (Draft6)
which changes behaviour of this property.
fixes #1233
2018-12-06 06:57:07 +01:00
Matthias
2f0d7a1aea
Add specific test
2018-12-05 20:45:11 +01:00
Matthias
6ab907bef1
Rename config whitelist to pairlist
2018-12-04 20:24:45 +01:00
Matthias
4143e2c032
adapt tests to send sell-reason in sell-message
2018-12-04 19:58:43 +01:00
misagh
24f9ea29c6
tests fixed
2018-12-04 17:13:46 +01:00
Matthias
bf678164c7
remove default param - fix tests
2018-12-04 07:16:34 +01:00
Matthias
0929f59680
Refactor pairlist-tests
2018-12-03 20:48:51 +01:00
Matthias
18ad3388b4
Some more tests adapted to pairlists
2018-12-03 20:38:15 +01:00
Matthias
ef1208b366
Fix rpc messages
2018-12-03 20:31:25 +01:00
Matthias
1b3ecb8343
Deprecate --dynamic-whitelist
2018-12-03 20:00:18 +01:00
Matthias
3360e777a1
Fix flake adn mypy
2018-12-03 19:29:35 +01:00
Matthias
26187ef6c7
patch exchange_has
2018-12-02 22:18:14 +01:00
Matthias
d09dbfe2e6
Add volumePairList - refactor tests to correct file
2018-12-02 22:07:09 +01:00
Matthias
58c7adae0a
Test for blacklist
2018-12-02 22:07:09 +01:00
Matthias
8fd713f3ae
validate_whitelist should return the list again
2018-12-02 22:07:09 +01:00
Matthias
1738633efc
Fix refresh_whitelist tests
2018-12-02 22:07:09 +01:00
Matthias
bb828c308f
Remove unnecessary test-file
2018-12-02 16:03:34 +01:00
misagh
237dc8290f
conflict resolved0
2018-12-01 12:00:03 +01:00
misagh
bd673178ce
constants removed
2018-12-01 11:56:53 +01:00
misagh
33f1cc13b3
fixing tests
2018-12-01 11:56:16 +01:00
misagh
b1c81acfcb
another futile one
2018-12-01 10:53:21 +01:00
misagh
042e631f87
rollback on futile change
2018-12-01 10:52:36 +01:00
misagh
bf990ec599
test fixed and flake
2018-12-01 10:50:41 +01:00
misagh
f100432fe8
conflict resolved0
2018-12-01 10:43:26 +01:00
Matthias
e31963f6e1
Merge pull request #1341 from mishaker/stoploss_on_exchange
...
Stoploss on exchange
2018-12-01 09:46:37 +01:00
Matthias
d4f83a7516
Fix missing mock in test_add_stoploss_on_exchange
2018-11-30 20:15:56 +01:00
Matthias
f04655c012
Test exceptions in sell-stoploss
2018-11-30 20:13:50 +01:00
Matthias
3ac2106a16
Merge pull request #1290 from freqtrade/fix/backtest_toomanyopen
...
fix backtesting not respecting max_open_trades
2018-11-30 19:17:09 +01:00
misagh
7e86ec31be
tests added for wallet additional functions
2018-11-30 18:23:16 +01:00
misagh
12471e012e
added tests for position sizing
2018-11-30 17:59:51 +01:00
misagh
abd88767f8
Merge branch 'develop' into edge_position
2018-11-30 17:50:06 +01:00
misagh
9d005678c3
Merge branch 'develop' into stoploss_on_exchange
2018-11-30 15:13:43 +01:00
misagh
8ff82e3dac
Merge branch 'develop' into fix_dry_run_stop_price
2018-11-30 10:37:58 +01:00
Matthias
efcec736b5
refactor startup_messages to rpc_manger
...
this cleans up freqtradebot slightly
2018-11-29 20:02:12 +01:00
misagh
74ca34f2de
flaking8
2018-11-29 18:45:37 +01:00
misagh
3d37c5d767
edge non existing stoploss fixed. solves #1370
2018-11-29 18:31:08 +01:00
misagh
1a5465fb50
logs enriched in case of stop loss on exchange, test fixed
2018-11-28 19:35:10 +01:00
misagh
fb755880fa
logs added in case stop loss on exchange is hit
2018-11-28 14:16:50 +01:00
misagh
29f680ec5d
fix order type test
2018-11-27 17:26:06 +01:00
misagh
159ac6e657
edge tests fixed for position sizing
2018-11-27 14:02:34 +01:00
misagh
6351fe7a7f
test added: stoploss_order_id should be null after migration
2018-11-26 20:24:13 +01:00
misagh
86354ed258
conflict resolved
2018-11-26 19:08:58 +01:00
misagh
1f1770ad5a
migration script and and error handling on stop loss order
2018-11-26 18:46:59 +01:00
misagh
b2634e8e08
typo corrected
2018-11-26 18:28:13 +01:00
Samuel Husso
823bc3abb6
Merge pull request #1361 from freqtrade/wallets/add_live_test
...
Test live mode of get_free
2018-11-26 15:15:42 +02:00
Matthias
854af9c124
Merge pull request #1355 from freqtrade/fix/async_followup
...
async followup PR
2018-11-26 06:55:10 +01:00
Matthias
ad8592f316
Test live mode of get_free
2018-11-26 06:40:20 +01:00
misagh
6c38bde24a
some formatting fixed
2018-11-25 20:21:50 +01:00
misagh
b579768618
dry run set explicitly to False for live stop loss
2018-11-25 20:20:11 +01:00
misagh
5c257730a8
test added for dry run stop loss sell
2018-11-25 20:16:53 +01:00
misagh
a80c984323
flake8
2018-11-25 19:09:11 +01:00
misagh
92930b2343
test fixed
2018-11-25 19:03:28 +01:00
misagh
3e29fbb17a
stoploss on exchange added as a parameter to order_types
2018-11-25 17:22:56 +01:00
Matthias
ebaf58b0fe
Only sort data if necessary
2018-11-25 15:00:50 +01:00
Matthias
8a43611992
Remove get_candle_history (it's now async)
...
convert sort-test to async
2018-11-25 14:48:15 +01:00
Matthias
317eba2139
Remove dual instanciation of pairinfo named tuple
2018-11-25 14:38:06 +01:00
Matthias
fd7184718b
replace lambda with Magicmock in test
2018-11-25 14:31:46 +01:00
Matthias
200484ab8b
Merge pull request #1352 from freqtrade/combine_resolvers
...
Combine resolvers
2018-11-25 13:52:48 +01:00
misagh
dcae3a2644
test of check_consistency added
2018-11-25 11:29:04 +01:00
Matthias
20de8c82e4
Convert to Pathlib
2018-11-24 20:39:16 +01:00
Matthias
cc7b820978
Move hyperoptresolver to resolvers package
2018-11-24 20:14:08 +01:00
Matthias
21a093bcdb
extract resolvers to IResolvers and it's own package
2018-11-24 20:00:02 +01:00
misagh
c8a0956e1b
fixed test handle_stoploss_on_exchange
2018-11-24 19:12:00 +01:00
misagh
b5192880df
[WIP] adding tests for handle_stoploss_on_exchange.
2018-11-24 19:00:59 +01:00
misagh
b2c0b20a58
added real tests for stop on exchange in dry-run
2018-11-24 18:26:04 +01:00
misagh
000711b025
added stoploss_limit_order for dry-run
2018-11-24 18:08:11 +01:00
misagh
63c2ea110a
Not sure why those arguments were there !
2018-11-24 16:41:17 +01:00
misagh
29347a6931
adding get_free to wallet
2018-11-24 16:37:28 +01:00
Matthias
805f509498
Merge branch 'develop' into fix/backtest_toomanyopen
2018-11-24 10:39:16 +01:00
misagh
9144a8f79d
tests fixed
2018-11-23 20:28:01 +01:00
misagh
fea77824d0
handle stop loss on exchange added
2018-11-23 15:17:36 +01:00
misagh
a9f04609d3
tests fixed
2018-11-23 10:17:10 +01:00
misagh
1dde56790c
final broken test fixed
2018-11-22 21:12:49 +01:00
misagh
7faafea8a2
added test for cancelling stop loss before sell
2018-11-22 21:01:39 +01:00
misagh
07ac902451
test exchange added
2018-11-22 20:30:31 +01:00
misagh
ecb2c4dca3
bloody flake8
2018-11-22 19:38:20 +01:00
misagh
cc1422d448
flake8
2018-11-22 19:27:32 +01:00
misagh
3418592908
freqtradebot test added for orders on exchange
2018-11-22 19:25:26 +01:00
misagh
24df093a85
test: only implemented for binance
2018-11-22 17:41:01 +01:00
Matthias
1810fc9efa
Merge pull request #1346 from mishaker/fix_python_beginner_mistake
...
Refactoring a bit ...
2018-11-22 06:02:15 +01:00
Matthias
8e62fc1c03
Merge pull request #1337 from mishaker/wallet
...
Wallet data structure added. it is initialized on boot then updated right after any trade happens on the exchange.
2018-11-22 06:00:49 +01:00
misagh
eb53281434
python beginner problem resolved
2018-11-22 00:04:20 +01:00
misagh
cb3cf960d7
tests added in case of missing data
2018-11-21 19:47:28 +01:00
Matthias
64028647a0
Merge pull request #571 from stephendade/userhyper
...
Separated out custom hyperopts
2018-11-21 19:14:30 +01:00
misagh
aeb372c2f0
test wallet when api return changes
2018-11-21 17:54:14 +01:00
misagh
68f81aa2af
test wallets moved to tests folder
2018-11-21 17:27:45 +01:00
Matthias
d72e605cb7
Merge pull request #1330 from freqtrade/feat/diff_order_types
...
Add support for different order types
2018-11-19 19:55:30 +01:00
misagh
606e41d574
wallet tests added
2018-11-17 22:58:27 +01:00
Matthias
b3e08831f7
Remove rate for market orders
2018-11-17 20:14:50 +01:00
Matthias
c11984d943
Check if exchange supports all configured market types
2018-11-17 19:54:55 +01:00
Matthias
492868a966
Seperate different tests within one test clearer
2018-11-17 13:34:23 +01:00
Matthias
a9a157af0f
Align tests and test if ordertype is passed to ccxt correctly
2018-11-17 13:29:42 +01:00
Matthias
543873263a
remove need for escaping quote
2018-11-17 13:13:16 +01:00
Matthias
e485aff597
Test failed load on invalid ordertypes
2018-11-17 13:12:11 +01:00
Matthias
24ed9a8b7d
Add loading order_types from config file
2018-11-17 10:14:18 +01:00
Matthias
de57da3249
Merge pull request #1328 from mishaker/edge_cli
...
Edge cli
2018-11-15 20:14:03 +01:00
Matthias
98df3c8103
Fix missing mock in backtesting
2018-11-15 20:02:48 +01:00
Matthias
44c682724d
Merge pull request #1327 from mishaker/max_open_trades
...
Ignoring max_open_trades if it is -1 in config.
2018-11-15 19:40:05 +01:00
Matthias
e6baa9ccf2
Switch tests to kwarguments
2018-11-15 19:31:24 +01:00
misagh
f666d1596b
renaming edge to edge_cli for command line version
2018-11-15 10:31:56 +01:00
Matthias
6a71f80a9e
Add support for different order types
2018-11-15 06:58:24 +01:00
misagh
bb9a1e5f9f
edge cli tests added
2018-11-14 19:14:34 +01:00
Matthias
23958ba96a
Merge pull request #1322 from freqtrade/feat/add_whitelist_rpc
...
Feat/add whitelist rpc
2018-11-14 19:13:00 +01:00
misagh
ac0c931492
adding number of trades + average trade duration to edge info
2018-11-14 13:38:04 +01:00
misagh
51dfd2bf47
If max_open_trade=-1 means it should be ignored.
2018-11-14 11:37:53 +01:00
Matthias
08ef2730a9
Add /whitelist call to telegram
2018-11-10 20:15:06 +01:00
Matthias
02527eeea4
Add rpc_whitelist call
2018-11-10 20:07:09 +01:00
misagh
9bbaeb4e6f
mypy expression
2018-11-10 18:39:49 +01:00
misagh
aacc1d5004
removing total capital in favour of stake amount
2018-11-10 18:28:05 +01:00
misagh
d613553306
base position on stake amount instead of total capital
2018-11-10 18:22:34 +01:00
misagh
7dd74c374a
flake happiness provided
2018-11-10 18:09:32 +01:00
misagh
97fd33d752
adding test for process
2018-11-10 18:03:46 +01:00
misagh
523a9a603c
fix tests
2018-11-10 17:20:11 +01:00
misagh
12e735e831
1) extracting edge_conf to a fixture
...
2) test cased adjusted to Backtesting
3) Formatted backtesting_details a bit
2018-11-09 20:51:15 +01:00
Matthias
59cd4fe0ef
Remove boilerplate comments
2018-11-09 19:34:46 +01:00
Matthias
292962d64d
Fix tests
2018-11-09 19:34:18 +01:00
Matthias
5c5fe4c13a
Fix test
2018-11-09 07:14:43 +01:00
Matthias
272ff51d51
correctly patch exchange
2018-11-09 07:13:20 +01:00
Matthias
56dcf080a9
Add explicit test for parallel trades
2018-11-09 07:13:20 +01:00
Matthias
9cd2ed5a16
fix hyperopt get_timeframe mock
2018-11-09 07:13:20 +01:00
Matthias
fa4c199aa6
fix some mismatches after rebase
2018-11-09 07:13:20 +01:00
Matthias
2371d1e696
Fix backtest test (don't use 8m file if we use 1m tickers)
2018-11-09 07:13:20 +01:00
Matthias
83a8d79115
Fix alternate buy/sell (this should respect the sell signal!)
2018-11-09 07:13:20 +01:00
Matthias
db17ccef2b
Adapt backtesting-tests to new backtest-logic
2018-11-09 07:13:20 +01:00
Matthias
03cda8e23e
remove meaningless backtesting test
2018-11-09 07:12:41 +01:00
Matthias
6729dfa6d3
Add get_timeframe mock for hyperopt
2018-11-09 07:12:41 +01:00
misagh
6d80c03877
removing raise KeyError in test
2018-11-08 00:28:20 +01:00