Matthias
|
4f967fed97
|
Improve ccxt tests
|
2022-10-09 10:52:01 +02:00 |
|
Matthias
|
7c702dd106
|
Add cache eviction
|
2022-10-06 14:51:52 +00:00 |
|
Matthias
|
92a1d58df8
|
Evict cache if we didn't get new candles for X hours
|
2022-10-06 14:51:52 +00:00 |
|
Matthias
|
f475c6c305
|
Add Specific, time-sensitive test-case for new behavior
|
2022-10-06 14:51:52 +00:00 |
|
Matthias
|
638515bce5
|
Test advanced caching
|
2022-10-06 14:51:52 +00:00 |
|
Matthias
|
678272e2ef
|
Improve test formatting
|
2022-10-06 14:51:52 +00:00 |
|
Matthias
|
c1d8ade2fa
|
Improve supported exchange check by supporting exchange aliases
|
2022-10-04 19:28:57 +02:00 |
|
Matthias
|
68db0bc647
|
move check_exchange to exchange package
|
2022-10-04 18:25:23 +02:00 |
|
Matthias
|
a96aa568bf
|
Add binance futures mode checks
closes #7505
|
2022-10-01 09:23:41 +02:00 |
|
Matthias
|
98ba57ffaa
|
Better test for contract calculation change
closes #7449
|
2022-09-24 15:25:04 +02:00 |
|
Matthias
|
00b192b4df
|
Add test to verify #7449
|
2022-09-24 14:51:58 +02:00 |
|
Matthias
|
ca6dec3d4c
|
Binance spot also allows market orders
closes #7426
|
2022-09-17 17:11:00 +02:00 |
|
Matthias
|
4182a7891a
|
Allow leverage tier cache to be 4 weeks old.
we've seen from binance that it's not changing this often.
|
2022-09-17 10:41:48 +02:00 |
|
Matthias
|
7b6e465d57
|
Remove gate live test skip
|
2022-09-13 21:28:11 +02:00 |
|
Matthias
|
daf352e6a5
|
Test online candle fetching in futures, too
disable gateio checking on spot markets
|
2022-09-10 16:01:06 +02:00 |
|
Matthias
|
939fb7acb3
|
Fix enum imports
|
2022-09-09 20:31:30 +02:00 |
|
Matthias
|
39b6cadd14
|
Test keyerror case for funding_Fee calculation
|
2022-09-08 07:24:57 +02:00 |
|
Matthias
|
3454a52b95
|
Explicitly test amount_to_contract_precision
|
2022-09-07 06:55:22 +02:00 |
|
Matthias
|
f3c73189d5
|
Remove pointless default on wallet_balance argument
|
2022-09-01 06:49:51 +02:00 |
|
Matthias
|
4aec2db14d
|
Remove isClose from tests in favor of pytest.approx
|
2022-08-31 08:25:56 +00:00 |
|
Matthias
|
71846ecbf2
|
Partially revert prior commit, use correct exchange class
|
2022-08-29 21:51:10 +02:00 |
|
Matthias
|
eee2071e32
|
Fix non-testing liquidation test
|
2022-08-29 21:04:09 +02:00 |
|
Matthias
|
27a9f98d5f
|
Simplify liquidation price structure, improve test cov
|
2022-08-29 07:04:48 +02:00 |
|
Matthias
|
226fa5d93c
|
Simplify liquidation price calling structure
|
2022-08-29 07:04:48 +02:00 |
|
Matthias
|
104a73025d
|
Uppercase TimeInForce (align with ccxt)
|
2022-08-27 10:30:06 +02:00 |
|
Matthias
|
2ef4534fee
|
Fix ccxt / longrun tests
|
2022-08-26 20:44:36 +02:00 |
|
Matthias
|
01126c43f7
|
Fix liquidation price tier calculation
closes #7294
|
2022-08-26 20:14:24 +02:00 |
|
Matthias
|
753d1b2aad
|
Update leverage tier terminology to be clear and aligned with ccxt
|
2022-08-26 19:34:51 +02:00 |
|
Matthias
|
6036018f35
|
Extract contracts_to_amount and amount_to_contracts to standalone functions
|
2022-08-23 06:37:38 +02:00 |
|
Matthias
|
5f38a574ce
|
Add okx broker id
|
2022-08-23 06:37:38 +02:00 |
|
Matthias
|
2dc34779d5
|
Fix line length
|
2022-08-21 18:07:41 +02:00 |
|
Matthias
|
f6d832c6d9
|
Add get_option to expose ft_has via method
|
2022-08-21 17:51:46 +02:00 |
|
Matthias
|
1fb2e9558f
|
Disable caching of leverage tiers in ccxt compat methods
|
2022-08-20 14:39:11 +02:00 |
|
Matthias
|
4511634f3a
|
improve test coverage
|
2022-08-20 14:03:47 +02:00 |
|
Matthias
|
738e95b875
|
Add tests for leverage tiers caching
|
2022-08-20 13:54:54 +02:00 |
|
Matthias
|
15e85797c2
|
Simplify to_precision tests and imports
|
2022-08-15 08:51:15 +02:00 |
|
Matthias
|
0e61c2d057
|
Replace Decimal with FtPrecise in trade_model
|
2022-08-13 08:43:56 +02:00 |
|
Matthias
|
ed004236ce
|
Add float initializer to FtPrecise
|
2022-08-10 11:54:07 +00:00 |
|
Matthias
|
e7cb1b7375
|
Wrap Precise into FtPecise
|
2022-08-10 11:26:06 +00:00 |
|
Matthias
|
b5c5a95b64
|
FTX: Use conditionalOrders endpoint to get proper stop-market order id
closes #7165
|
2022-08-09 20:09:35 +02:00 |
|
Matthias
|
d75e0a9820
|
Fix Flake8 errors after flake update
|
2022-08-01 06:43:59 +02:00 |
|
Kavinkumar
|
a4bada3ebe
|
Partial exit using average price (#6545)
Introduce Partial exits
|
2022-07-31 14:19:04 +02:00 |
|
Matthias
|
bad15f077c
|
Simplify fetch_positions by using already existing method
|
2022-07-30 17:49:06 +02:00 |
|
Matthias
|
ea112fb583
|
Add test for empty order (cancelled order)
|
2022-07-25 17:47:28 +02:00 |
|
Matthias
|
6e691a016d
|
Use leverage-tiers loading in tests
|
2022-07-24 10:24:59 +02:00 |
|
Matthias
|
4172f92bfc
|
simplify dry-run taker/maker selection
|
2022-07-16 17:25:13 +02:00 |
|
Matthias
|
8d2e22f009
|
Merge branch 'develop' into pr/samgermain/6780
|
2022-07-16 15:35:00 +02:00 |
|
Matthias
|
d03dfb3934
|
Oder cost is real cost (including leverage)
|
2022-07-16 13:14:21 +02:00 |
|
Matthias
|
7b8a5585dd
|
Fetch 2ndary stoploss order once the order triggered.
|
2022-07-16 13:14:21 +02:00 |
|
Matthias
|
64f89af69e
|
Add Explicit test for "has" checks
|
2022-07-11 10:43:21 +02:00 |
|
Matthias
|
6ac1aa15f5
|
Reenable ccxt order checks
|
2022-07-11 10:36:19 +02:00 |
|
Matthias
|
f8e35d8760
|
Add TODO to disabled test
|
2022-07-11 10:30:05 +02:00 |
|
Matthias
|
523d8a84a8
|
skip "supports market order" for now until CCXT fixes their assignemnt bugs.
|
2022-07-11 10:22:51 +02:00 |
|
Matthias
|
c98e7ea055
|
Revert allowing empty currency for futures
|
2022-07-09 08:57:15 +02:00 |
|
Matthias
|
b7167ec880
|
Fix wrong fee calclulation for gateio futures
|
2022-07-09 08:51:59 +02:00 |
|
Matthias
|
81f7d77d74
|
Allow fee currency to be empty for futures
|
2022-07-09 08:51:28 +02:00 |
|
Matthias
|
2499276fca
|
Refactor calculate_fee_rate to take separate parameters instead of an "Order"
we passed in a trade object anyway
|
2022-07-09 08:51:28 +02:00 |
|
Matthias
|
53e5483daa
|
Store StopPrice for dry-run orders
closes #6996
|
2022-06-22 06:31:51 +02:00 |
|
Matthias
|
3a0f31fe89
|
Merge pull request #6914 from freqtrade/leverage_tiers_async
Leverage tiers async
|
2022-06-21 10:18:40 +02:00 |
|
Matthias
|
50c19ece53
|
Fix ccxt test gateio flukyness
|
2022-06-20 07:05:51 +02:00 |
|
Matthias
|
fda8248d41
|
Gateio allow market orders on futures markets
|
2022-06-17 22:43:24 +02:00 |
|
Matthias
|
ea537b32c7
|
Update tests for leverage_tier_loading
|
2022-05-31 11:40:14 +00:00 |
|
Matthias
|
a875a7dc40
|
Use unified stopPrice for binance
|
2022-05-29 11:01:01 +02:00 |
|
Matthias
|
24cf044646
|
Fix bybit spot mode
|
2022-05-27 08:18:04 +00:00 |
|
Matthias
|
682daa4e94
|
Reset logging mixin to avoid random test failure
|
2022-05-26 18:05:40 +02:00 |
|
Matthias
|
eb5fe9e3ae
|
Merge pull request #6857 from froggleston/develop
Add support for fudging unavailable funding rates, allowing backtesti…
|
2022-05-23 06:31:51 +02:00 |
|
Matthias
|
ea8fda0dee
|
Slightly improve test
|
2022-05-22 08:36:28 +02:00 |
|
Matthias
|
1ff1e3b43d
|
Merge pull request #6869 from freqtrade/update_levtiers
Update leveraged tiers
|
2022-05-22 08:35:02 +02:00 |
|
Matthias
|
681ef13174
|
Relax dry-run leverage test-case to simplify future updates
|
2022-05-21 16:23:29 +02:00 |
|
Matthias
|
0d388b561b
|
Add test for "combine_funding_and_mark", fix bug
|
2022-05-21 09:03:30 +02:00 |
|
Matthias
|
2cf17e04be
|
Init persistence for tests that use dry-run orders
|
2022-05-20 06:26:16 +02:00 |
|
Matthias
|
d09b462930
|
Add rudimentary tests for Precise "builtin operator" workings
|
2022-05-16 19:21:38 +02:00 |
|
Matthias
|
a793cf8f05
|
Use ccxt's "precise" to do precise math
|
2022-05-16 19:21:38 +02:00 |
|
Matthias
|
9143e9ecb1
|
Add some safety measures for new startup_candles verification
|
2022-05-15 15:12:29 +02:00 |
|
Matthias
|
d60d0f64d2
|
Revert ohlcv_candle_limit logic for okx
|
2022-05-14 19:35:06 +02:00 |
|
Matthias
|
116b58e97c
|
add "date_minus_candles" method
|
2022-05-14 19:30:42 +02:00 |
|
Matthias
|
5767d652bf
|
Add explicit test and document behavior
|
2022-05-14 14:18:51 +02:00 |
|
Matthias
|
bb1b283d95
|
Update some ohlcv_candle_limit calls
|
2022-05-14 13:44:10 +02:00 |
|
Matthias
|
111b04c9e6
|
Okx - conditional candle-length
|
2022-05-14 09:51:44 +02:00 |
|
Matthias
|
64668b11da
|
add ohlcv_has_history - disabling kraken downloads
|
2022-05-14 09:10:38 +02:00 |
|
Matthias
|
dc0c1bf87d
|
Only fetch accounts when authenticated.
|
2022-05-07 13:17:27 +02:00 |
|
Matthias
|
6fdcf3a10a
|
Support both position modes on OKX
|
2022-05-07 10:58:41 +02:00 |
|
Sam Germain
|
10cbb5e67c
|
test_exchange::test_taker_or_maker fixes
|
2022-05-04 00:10:09 -06:00 |
|
Sam Germain
|
86ad5dd02a
|
test_exchange::test_taker_or_maker fixes
|
2022-05-04 00:08:41 -06:00 |
|
Sam Germain
|
dac9931b4a
|
test_create_dry_run_order_fees
|
2022-05-03 23:56:49 -06:00 |
|
Sam Germain
|
5d9aee6b7e
|
test_taker_or_maker
|
2022-05-03 23:56:49 -06:00 |
|
Matthias
|
eb996a152a
|
Fix fee handling for futures trades
|
2022-05-03 19:06:17 +02:00 |
|
Matthias
|
f6a7e6b785
|
Add prepend option to download-data
|
2022-04-30 17:32:50 +02:00 |
|
Matthias
|
cb5c3316d1
|
Simplify log output
|
2022-04-28 19:43:52 +02:00 |
|
Sam Germain
|
591a2fb7fc
|
switch notionalFloor -> minNotional and notionalCap -> maxNotional
|
2022-04-16 21:47:44 -06:00 |
|
Matthias
|
f61d4d36c3
|
Add test for 0 precision amount
|
2022-04-15 14:48:09 +02:00 |
|
Matthias
|
baefda80d1
|
Enable flake8 E226 rule
|
2022-04-11 18:02:06 +02:00 |
|
Matthias
|
39d925c295
|
Change to precise casing instead of .lower()
|
2022-04-02 19:48:01 +02:00 |
|
Matthias
|
dafc2bf361
|
Merge branch 'develop' into feat/short
|
2022-03-30 07:09:41 +02:00 |
|
Matthias
|
8ebef914e2
|
Update pricing documentation
|
2022-03-28 20:20:10 +02:00 |
|
Matthias
|
2d740230f7
|
price_last_balance renaming
|
2022-03-28 19:53:55 +02:00 |
|
Matthias
|
d7c6520268
|
Update remaining tests
|
2022-03-28 19:30:14 +02:00 |
|
Matthias
|
440967e483
|
Update some tests
|
2022-03-28 19:17:22 +02:00 |
|
மனோஜ்குமார் பழனிச்சாமி
|
5552ad779c
|
Corrected test_create_order
|
2022-03-28 19:31:12 +05:30 |
|
Matthias
|
bcf326a035
|
Initial steps to change bid/ask pricing to enter/exit
|
2022-03-27 18:03:49 +02:00 |
|