theluxaz
b51f946ee0
Fixed models and rpc performance functions, added skeletons for tests.
2021-10-25 23:43:22 +03:00
Sam Germain
bcbe8f229c
Merge branch 'feat/short' into lev-freqtradebot
2021-10-13 19:02:57 -06:00
Sam Germain
70db228f24
Merge branch 'feat/short' into funding-fee
2021-10-03 02:15:54 -06: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
af6afd0ac2
Revert "Replace datetime.utcnow with datetime.now(timezone.utc)"
...
This reverts commit c4ac876183
.
2021-09-29 22:27:21 -06:00
Sam Germain
c4ac876183
Replace datetime.utcnow with datetime.now(timezone.utc)
2021-09-29 22:16:44 -06:00
Sam Germain
043bfcd5ad
Fixed a lot of failing tests"
2021-09-19 20:24:22 -06:00
Sam Germain
d54117990b
Added funding_fee method headers to exchange, and implemented some of the methods
2021-09-09 01:19:34 -06:00
Sam Germain
d6d5bae2a1
New funding fee methods
2021-09-04 16:33:06 -06:00
Sam Germain
b854350e8d
Changed funding fee implementation
2021-09-04 16:31:09 -06:00
Sam Germain
b7891485b3
Created FundingFee class and added funding_fee to LocalTrade and freqtradebot
2021-09-04 16:20:07 -06:00
Matthias
f4242106d9
Merge branch 'develop' into feat/short
2021-08-24 20:53:21 +02:00
Matthias
60b476611c
Simplify a number of tests by relying on default arguments
2021-08-24 20:51:59 +02:00
Sam Germain
d88e2ae603
Merge branch 'develop' into margin-db
2021-08-02 23:58:44 -06:00
Matthias
d8d8261f1b
Merge pull request #5318 from samgermain/combined_exchange_buy_sell
...
combined exchange.buy and exchange.sell
2021-08-02 20:11:09 +02:00
Sam Germain
25c527ee67
combined exchange.buy and exchange.sell, Adding dummy mock to create_order in tests in test_freqtradebot
2021-07-28 14:55:06 -06:00
Sam Germain
195badeb80
Changed liquidation_price to isolated_liq
2021-07-28 12:25:56 -06:00
Sam Germain
0ffc85fed9
Set default leverage to 1.0
2021-07-28 12:25:55 -06:00
Sam Germain
78708b27f2
Updated tests to new persistence
2021-07-28 12:25:55 -06:00
Sam Germain
efcc2adacf
About 15 margin tests pass
2021-07-28 12:25:55 -06:00
Sam Germain
000932eed0
Adding templates for leverage/short tests
...
All previous pytests pass
2021-07-28 12:25:55 -06:00
kevinjulian
235c1afd09
add buy_tag on telegram
2021-07-22 01:53:15 +07:00
kevinjulian
49886874aa
rename to buy_tag
2021-07-21 20:05:35 +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
Sam Germain
7c27525bd8
Merge get_buy_rate and get_sell_rate
2021-07-17 22:51:20 -06:00
Rokas Kupstys
0e4466ca1e
Implement strategy-controlled stake sizes. Expose self.wallet
to a strategy.
2021-07-11 12:38:58 +03: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
bd1984386e
Move get_sell_rate to exchange class
2021-06-02 11:41:13 +02:00
Matthias
8bef7217ec
Forgot to save :O
2021-05-27 11:24:01 +02:00
Matthias
a6cd353655
Address random ci failure
2021-05-27 11:22:22 +02:00
Eugene Schava
459fae6d80
Total row for telegram "/status table" command
...
fixes
2021-05-17 16:22:48 +03:00
Eugene Schava
3ad8fa2f38
Total row for telegram "/status table" command
...
moved sum calculation to API
2021-05-17 15:59:03 +03:00
Matthias
2254f65fa7
use binance intests instead of bittrex
2021-04-20 12:59:15 +02:00
Matthias
ba38e398e4
Add type hint
2021-04-13 22:17:42 +02:00
Matthias
c316531c49
make tests 3.7 compatible
2021-04-13 22:07:01 +02:00
Matthias
c2f35ce416
/balance should use cached tickers when possible
2021-04-13 20:21:03 +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
Mads Sørensen
ede26091b9
Add validation in the right places...
2021-04-02 14:35:19 +02:00
Matthias
5196306407
Remove deprecated profit return value
2021-03-05 20:03:49 +01:00
Matthias
007ac7abb5
Add telegram pair unlocking
2021-03-01 20:09:40 +01:00
Matthias
3d65ba2dcb
Add rpc method to delete locks
2021-03-01 07:51:33 +01:00
Matthias
c659150d9f
Also print trade_duration in seconds to json
2021-01-25 19:42:34 +01:00
Matthias
3b51545d23
Add trade_duration to to_json
2021-01-24 08:58:41 +01:00
Matthias
9feabe707f
Fix RPC methods to allow wildcards (and validate wildcards)
2020-12-30 09:57:31 +01:00
Matthias
1508e08ea5
Move fiatconvert init to RPC class
2020-12-24 08:39:00 +01:00
Matthias
201cc67e05
Rename open_trade_price to "open_trade_value"
2020-12-10 19:21:20 +01:00
Matthias
5ed85963a9
Allow forcebuy price to be a string by converting it to float
...
fix #3970
2020-11-21 10:39:49 +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
9df366d943
Apply isort to tests
2020-09-28 19:43:15 +02:00
Matthias
a0fd7f4644
Update tests to merged version
2020-09-06 15:27:16 +02:00
Matthias
5fba446e9a
Merge branch 'develop' into db_keep_orders
2020-09-06 15:22:13 +02:00
Matthias
a78d61150c
Deleting must delete orders first
2020-09-06 14:28:24 +02:00
Matthias
d6d3a02a23
Merge branch 'develop' into db_keep_orders
2020-09-01 07:51:16 +02:00
Matthias
5e75caa917
Adjust tests to new forcesell
2020-08-26 21:55:31 +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
4ecb67d1d1
Merge branch 'develop' into db_keep_orders
2020-08-23 10:36:56 +02:00
Matthias
e206cc9c21
Adjust tests
2020-08-18 20:15:41 +02:00
Matthias
ee7b235cdc
Improve tests to use open_order mock where applicable
2020-08-14 09:52:46 +02:00
Matthias
420a8c2b1c
Improve tests for rpc/forcebuy
2020-08-14 09:52:46 +02:00
Matthias
9999d0ffb5
Merge branch 'develop' into fix/3579
2020-08-12 15:28:51 +02:00
Matthias
817f5289db
/delete should Cancel open orders (and stoploss orders)
2020-08-04 19:43:22 +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
92c70fb903
Rename get_order to fetch_order (to align to ccxt naming)
2020-06-28 16:27:35 +02:00
Matthias
29d3ff1bc9
Adjust tests to work with ExchangeError
2020-06-28 16:04:04 +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
6a88eb603b
Update failing test
2020-06-04 07:20:50 +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
6261aef314
Return /profit even if no trade is closed
2020-05-29 09:03:48 +02:00
Matthias
0e8f95effd
Improve blacklist adding with proper feedback
2020-05-28 06:51:53 +02:00
Matthias
3e3cce4559
Use pct instead of _perc
2020-05-26 19:25:03 +02:00
Matthias
bbd7579aa8
Fix more tests
2020-05-24 09:07:24 +02:00
Matthias
859b619a0b
Align tests to new output
2020-05-24 08:47:10 +02:00
Matthias
5a9a31351a
Adjust empty f-strings to be non-fstrings
2020-05-18 11:40:25 +02:00
hroff-1902
fd7fa3116a
Merge pull request #3321 from freqtrade/rpc/improve_daily
...
Improve daily API format
2020-05-18 01:29:28 +03:00
Matthias
943a2a08f8
Improve daily API format
2020-05-17 20:12:01 +02:00
Matthias
1e76bff1bd
Add sell_order_status to keep track of cancellations
2020-05-17 10:52:20 +02:00
Matthias
7936120afc
Adapt tests to support new db fields
2020-04-30 06:58:55 +02:00
Matthias
bdc85ec89b
Move create_mock_tests to conftest and add test for test_trade-history
2020-04-07 19:42:16 +02:00
Ork Blutt
815660c070
fix tests
2020-04-06 11:32:00 +02:00
Matthias
acea49beaf
Fix tests / test mocks
2020-03-07 13:01:26 +01:00
Matthias
e7b9891335
Adapt rpc tests to corrected price side
2020-02-26 19:39:12 +01:00
hroff-1902
e6d003f8f2
Merge pull request #2973 from freqtrade/support_non_pairs
...
Support non pairs
2020-02-26 12:20:45 +03:00
Matthias
31ac4598ba
Fix last occurances of pair splitting
2020-02-25 07:16:37 +01:00
Matthias
97e6e5e976
Implement caching in the correct place
2020-02-22 11:12:33 +01:00
Matthias
f5b4a6d3d7
Remove fetch_ticker caching
2020-02-22 11:10:05 +01:00
Yazeed Al Oyoun
f3b1161640
wide notifications fixes
2020-02-08 21:02:52 +01:00
Matthias
fa1e9dd70d
Adjust tests to allow updating within safe_sell_amount
2020-01-15 21:53:04 +01:00
Matthias
3327ebf2b1
Merge pull request #2720 from hroff-1902/refactor-create-trades
...
Refactor create trades
2019-12-31 15:34:12 +01:00
hroff-1902
fd7af587da
Rename process_maybe_execute_buys() --> enter_positions()
2019-12-30 22:50:56 +03:00
Matthias
1ffda29fd2
Adjust improts to new exception location
2019-12-30 15:02:17 +01:00
Matthias
df7ceb4ccb
Fix misinformation in /status table
2019-12-29 19:53:02 +01:00
hroff-1902
ce84f74528
Adjust tests
2019-12-29 05:00:22 +03:00
Matthias
21622ac313
Rename get_ticker to fetch_ticker
2019-12-18 16:34:30 +01:00
Matthias
c741b67c3c
Adjust tests for dry_run wallet simulation
2019-12-15 10:39:52 +01:00
Matthias
5b996920f2
Merge branch 'develop' into configvalidation
2019-11-27 19:48:21 +01:00
Matthias
a3415e52c0
Fix some test-types
2019-11-25 07:05:30 +01:00
Matthias
1bf8d8cff3
show /balance in stake currency
2019-11-24 19:30:09 +01:00
Matthias
62d50f512d
add tests for balance from get-tickers
2019-11-24 19:30:09 +01:00
Matthias
09b302abf7
Merge pull request #2442 from freqtrade/volumeList_enhanced_filter
...
Pairlists enhanced filter options
2019-11-19 20:19:10 +01:00
Matthias
c22b00b303
move pairlist filters out of config[]
2019-11-19 06:37:06 +01:00
Matthias
df9bfb6c2e
Add FIAT currency to status-table
2019-11-12 14:58:41 +01:00
Matthias
ab9506df48
simplify status_table command
2019-11-12 13:55:18 +01:00
Matthias
c74d766275
move from name to name_list
2019-11-09 14:00:32 +01:00
Matthias
32df73c056
flake
2019-10-26 13:28:04 +02:00
Matthias
f5351e60e7
Adjust markets mock
2019-10-26 13:23:37 +02:00
hroff-1902
a9ecdc7764
Use patched exchange instead
2019-09-11 00:53:35 +03:00
hroff-1902
869a5b4901
Eliminate asyncio warnings in tests
2019-09-10 13:45:30 +03:00
Matthias
26d76cdb19
Adjust imports in tests to new path
2019-09-08 19:05:23 +02:00
Matthias
65a516e229
Move tests out of freqtrade module
2019-09-08 19:05:22 +02:00