Matthias
|
1f9ed0beff
|
Add test for wal mode
|
2022-02-22 19:39:55 +01:00 |
|
Matthias
|
508e677d70
|
Fix some tests to call update_trade with order object
|
2022-02-19 16:43:38 +01:00 |
|
Matthias
|
119d4d5204
|
select_order should use ft_order_side, not the exchange specific one
|
2022-02-12 17:06:03 +01:00 |
|
Matthias
|
0c6d92a7a6
|
Merge branch 'develop' into feat/short
|
2022-02-11 17:02:04 +01:00 |
|
Matthias
|
303b12efd8
|
Merge pull request #6273 from freqtrade/pg_migrations
Update database migrations for PG and mariadb
|
2022-02-06 14:39:02 +01:00 |
|
Matthias
|
8f2425e49f
|
Add rudimentary tests for pg-specific stuff
|
2022-02-06 14:06:46 +01:00 |
|
Matthias
|
29879bb415
|
Update wording to entry/exit
|
2022-02-03 19:11:35 +01:00 |
|
Sam Germain
|
e91aaa7d64
|
removed isolated_liq=
|
2022-01-31 12:16:43 -06:00 |
|
Sam Germain
|
a087d03db9
|
Added liquidation_price function
|
2022-01-31 12:15:54 -06:00 |
|
Matthias
|
463714832d
|
Merge branch 'develop' into feat/short
|
2022-01-29 14:19:30 +01:00 |
|
Stefano Ariestasia
|
ed71f777a3
|
Merge branch 'fix-docs' of https://github.com/stash86/freqtrade into fix-docs
|
2022-01-26 07:07:00 +00:00 |
|
Stefano Ariestasia
|
1f26709aca
|
changes
|
2022-01-26 07:06:52 +00:00 |
|
Stefano Ariestasia
|
7c975df42a
|
Merge branch 'freqtrade:develop' into fix-docs
|
2022-01-25 10:30:03 +09:00 |
|
Reigo Reinmets
|
8c79d55739
|
Fix issue #6268
|
2022-01-23 17:44:16 +02:00 |
|
Matthias
|
f090dcc597
|
Merge branch 'develop' into feat/short
|
2022-01-22 17:56:01 +01:00 |
|
Matthias
|
bd4014e1e6
|
Small cleanup
|
2022-01-22 15:01:27 +01:00 |
|
Stefano Ariestasia
|
05046b9eef
|
Add more info on status message
|
2022-01-22 06:54:49 +00:00 |
|
Matthias
|
3d94d7df5c
|
Update migrations for mariadb
|
2022-01-21 19:31:11 +01:00 |
|
Matthias
|
ff646441ce
|
Reduce decimals in test
|
2022-01-17 19:20:42 +01:00 |
|
Matthias
|
bb738b518c
|
FIx funding_fee calculation
|
2022-01-17 19:06:26 +01:00 |
|
Matthias
|
66a479c26a
|
Small doc improvements
|
2022-01-15 15:11:13 +01:00 |
|
Reigo Reinmets
|
320c9ccf90
|
Unify functions and make it easy to get a list of filled buy orders
|
2022-01-14 20:02:35 +02:00 |
|
Reigo Reinmets
|
ffe69535d8
|
These could be properties.
|
2022-01-13 20:31:03 +02:00 |
|
Reigo Reinmets
|
c929d428b2
|
Remove blank line.
|
2022-01-08 17:21:32 +02:00 |
|
Reigo Reinmets
|
0bca07a32a
|
Added min_stake, max_stake. Removed pair as its included in trade.
|
2022-01-08 17:20:02 +02:00 |
|
Matthias
|
35fe7239ed
|
Also test mixed version (both long and short trades)
|
2022-01-02 13:17:49 +01:00 |
|
Sam Germain
|
33ab3c1bea
|
Removed some todo-lev comments
|
2022-01-01 14:10:24 -06:00 |
|
Reigo Reinmets
|
30673f84f9
|
Flake8 compatibility
|
2021-12-18 11:00:25 +02:00 |
|
Reigo Reinmets
|
462270bc5a
|
Fix a case where the amount was not recalculated. Added additional temporary logging.
|
2021-12-16 22:57:56 +02:00 |
|
Reigo Reinmets
|
b2c2852f86
|
Initial backtesting support. This does make it rather slow.
|
2021-12-09 23:21:35 +02:00 |
|
Reigo Reinmets
|
00366c5c88
|
Additional unit-tests
|
2021-12-09 20:03:41 +02:00 |
|
Reigo Reinmets
|
28d0b5165a
|
Add unit-test
|
2021-12-09 19:47:24 +02:00 |
|
Matthias
|
a7eb9f8a58
|
Fix random test failure
|
2021-12-05 09:41:24 +01:00 |
|
Matthias
|
36deced00b
|
Remove more buy_tag references
|
2021-11-21 09:55:10 +01:00 |
|
Matthias
|
7d77aff289
|
Add some compatibility around buy_tag
|
2021-11-21 09:24:20 +01:00 |
|
Matthias
|
f40221dd9f
|
Merge branch 'develop' into feat/short
|
2021-11-18 20:20:01 +01:00 |
|
Sam Germain
|
ca9805112d
|
test_get_trades_proxy and test_select_order for shorts passes
|
2021-11-13 19:28:58 -06:00 |
|
Matthias
|
ebc38159b8
|
Merge branch 'develop' into feat/short
|
2021-11-06 15:24:52 +01:00 |
|
Matthias
|
f7dc47b1c8
|
Add test for exit_timeout_count
|
2021-11-06 13:10:41 +01:00 |
|
Matthias
|
1267374c8a
|
Small fixes to tests
|
2021-10-20 19:21:38 +02:00 |
|
Sam Germain
|
bcbe8f229c
|
Merge branch 'feat/short' into lev-freqtradebot
|
2021-10-13 19:02:57 -06:00 |
|
Sam Germain
|
bdad604fab
|
Added persistence futures tests
|
2021-10-11 07:48:31 -06:00 |
|
Sam Germain
|
01a9e90057
|
Added futures tests to test_persistence.test_calc_profit
|
2021-10-11 07:03:14 -06:00 |
|
Sam Germain
|
ba60aad89d
|
parameterized TradingMode in persistence
|
2021-09-29 22:59:09 -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
|
8123579442
|
added trading mode to persistence tests
|
2021-09-16 23:47:44 -06:00 |
|
Sam Germain
|
e7b6f3bfd1
|
removed changes to test_persistence
|
2021-09-16 23:32:23 -06:00 |
|
Sam Germain
|
0ced05890a
|
removed space between @ and pytest
|
2021-09-16 16:28:23 -06:00 |
|
Sam Germain
|
dec2f377ff
|
Removed utils, moved get_sides to conftest
|
2021-09-16 16:25:02 -06:00 |
|
Sam Germain
|
5fcb69a0b5
|
Parametrized test_persistence
|
2021-09-15 18:29:17 -06:00 |
|
Sam Germain
|
695a8fc73b
|
comment updates, formatting, TODOs
|
2021-09-08 03:09:39 -06:00 |
|
Sam Germain
|
d6d5bae2a1
|
New funding fee methods
|
2021-09-04 16:33:06 -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
|
957551ea97
|
Merge branch 'develop' into feat/short
|
2021-08-24 06:25:06 +02:00 |
|
Matthias
|
e03784d98d
|
Fix filled exception
closes #5404
|
2021-08-12 05:02:56 +00:00 |
|
Matthias
|
cf27968b97
|
Properly preserve trade's low during backtesting
|
2021-08-09 19:38:56 +02:00 |
|
Sam Germain
|
8e941e6836
|
Changed interest implementation
|
2021-08-08 17:09:17 -06:00 |
|
Sam Germain
|
d88e2ae603
|
Merge branch 'develop' into margin-db
|
2021-08-02 23:58:44 -06:00 |
|
Sam Germain
|
047df0c212
|
Removed leverage references
|
2021-08-01 03:01:47 -06:00 |
|
Sam Germain
|
90a61b1765
|
Changed tests in tests/test_persistence.py to use usdt prices
|
2021-07-31 20:44:49 -06:00 |
|
Matthias
|
c5e3348b89
|
Migrations for indexes should run in a seperate session
closes #5349
|
2021-07-31 16:36:28 +02:00 |
|
Sam Germain
|
bc42516f68
|
test_update_limit_order has both a buy and sell leverage short order
|
2021-07-31 01:05:37 -06:00 |
|
Sam Germain
|
26be620f71
|
Removed LocalTrade.set_is_short
|
2021-07-31 00:20:25 -06:00 |
|
Sam Germain
|
fadb0de7c7
|
Removed excess modes stop_loss method, removed models.is_opening_side models.is_closing_side
|
2021-07-31 00:12:53 -06:00 |
|
Sam Germain
|
3fb7f983f8
|
Added is_short and leverage to __repr__
|
2021-07-28 12:25:56 -06:00 |
|
Sam Germain
|
195badeb80
|
Changed liquidation_price to isolated_liq
|
2021-07-28 12:25:56 -06:00 |
|
Sam Germain
|
6ad9b535a9
|
persistence all to one test file, use more regular values like 2.0 for persistence tests
|
2021-07-28 12:25:56 -06:00 |
|
Sam Germain
|
0bd71f87d0
|
made leveraged test names unique
test_adjust_stop_loss_short, test_update_market_order_shortpasses
|
2021-07-28 12:25:55 -06:00 |
|
Sam Germain
|
be3a9390fe
|
Switched migrations.py check for stake_currency back to open_rate, because stake_currency is no longer a variable
|
2021-07-28 12:25:55 -06:00 |
|
Sam Germain
|
78708b27f2
|
Updated tests to new persistence
|
2021-07-28 12:25:55 -06:00 |
|
Matthias
|
e0d42d2eb7
|
Fix migrations, revert some parts related to amount properties
|
2021-07-28 12:25:55 -06:00 |
|
Sam Germain
|
68d3699c19
|
Turned amount into a computed property
|
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
|
d07fe1586c
|
Set leverage and borowed to computed properties
|
2021-07-28 12:25:55 -06:00 |
|
Sam Germain
|
c24ec89dc4
|
Started some pytests for short and leverage
1 short test passes
|
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 |
|
kevinjulian
|
3d8b2d601d
|
fix test persistance
|
2021-07-20 20:23:47 +07:00 |
|
Matthias
|
b41c234440
|
Extract Closed profit calculation to trade object
|
2021-07-12 06:54:06 +02:00 |
|
Matthias
|
b82f7a2dfd
|
Update orders-migrations to work with new sqlalchemy syntax
|
2021-05-27 11:38:28 +02:00 |
|
Matthias
|
a01d05997e
|
Add Trade.commit method for easy use
|
2021-05-27 11:38:28 +02:00 |
|
Matthias
|
c31cb67118
|
Further changes for sqlalchemy 1.4
|
2021-05-27 11:38:28 +02:00 |
|
Matthias
|
44bbc0718e
|
CLosing bracket
|
2021-05-21 20:54:18 +02:00 |
|
Matthias
|
a7216e6279
|
SQLite does not know drop column
|
2021-05-21 20:53:38 +02:00 |
|
Matthias
|
41e3233bab
|
Fix failing test
|
2021-05-21 20:44:11 +02:00 |
|
Matthias
|
6acb2eb2b6
|
Add average column to orders table
|
2021-05-21 20:35:39 +02:00 |
|
Matthias
|
6eb947ae09
|
Move static Trade functions to right class
|
2021-04-28 06:37:40 +02:00 |
|
Matthias
|
9f6f3e0862
|
Address ZeroDivisionExceptiond
closes #4764 closes #4617
|
2021-04-20 21:41:49 +02:00 |
|
Matthias
|
2254f65fa7
|
use binance intests instead of bittrex
|
2021-04-20 12:59:15 +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
|
7132aefd60
|
Rename Trade.session to Trade._session
|
2021-04-05 08:46:12 +02:00 |
|
Matthias
|
ea0b47a7f9
|
Replace test occurances of Trade.session with Trade.query.session
|
2021-04-05 07:38:07 +02:00 |
|
Matthias
|
b7702a1e9f
|
Improve tests to work with new sqlalchemy version
|
2021-03-22 19:39:06 +01:00 |
|
Matthias
|
79d4585dad
|
Add check to ensure close_profit_abs is filled on closed trades
Technically, this should not be possible, but #4554 shows it is.
closes #4554
|
2021-03-16 19:24:03 +01:00 |
|
Matthias
|
0320c8dc92
|
Improve tests for trades_proxy
|
2021-03-13 15:51:27 +01:00 |
|
Matthias
|
d1acc8092c
|
Improve backtest performance
|
2021-03-13 10:17:14 +01:00 |
|
Matthias
|
fc256749af
|
Add test for backtesting _enter_trade
|
2021-02-27 09:33:00 +01:00 |
|