Commit Graph

197 Commits

Author SHA1 Message Date
misagh 24364a56ea keeping mypy happy 2018-09-26 17:03:10 +02:00
misagh 75ba6578a3 unused library + trailing whitespaces removed. 2018-09-26 16:36:41 +02:00
Matthias 88ccdc0366 Fix exception when order cannot be found 2018-09-25 20:45:01 +02:00
misagh 027ec4d98e test_sell_profit_only_enable_loss and test_create_trade_limit_reached
fixed
2018-09-24 15:47:07 +02:00
misagh 308428644b test_process_trade_creation log message changed: in reality the buy
signal is actually triggered
2018-09-24 15:27:26 +02:00
misagh fbc77c1f28 moving stake_currency line back to its initial place 2018-09-21 21:55:36 +02:00
misagh 3b925e46be removing default pair value of _get_trade_stake_amount 2018-09-21 21:48:27 +02:00
misagh 4fd037f83f removing pdb 2018-09-21 18:00:37 +02:00
misagh ef52c7b510 edge positioning put into package 2018-09-21 17:41:31 +02:00
misagh 5f68834ccc merging develop into money_mgt (updated to async) 2018-09-14 19:20:49 +02:00
Matthias 54ddd908e6 Merge branch 'develop' into ccxt-async 2018-08-29 19:43:09 +02:00
Matthias 9f8e68ce02 Merge branch 'develop' into order-book 2018-08-29 19:32:44 +02:00
Nullart2 b6b89a464f move order_book config out of experimental 2018-08-29 17:38:43 +08:00
misagh bc6b80ff38 Edge functionality drafted 2018-08-24 11:59:10 +02:00
Matthias ff8ed564f1 Refactor refresh_pairs to exchange and fix tests 2018-08-16 12:15:09 +02:00
misagh e6e2799f03 Keeping cached Klines only in exchange and renaming _cached_klines to
klines.
2018-08-16 11:37:31 +02:00
misagh a2d9126917 Merge branch 'develop' into ccxt-async 2018-08-15 15:09:35 +02:00
Matthias 76914c2c07 remove todo comment as this is actually done 2018-08-15 12:57:27 +02:00
Nullart2 1edbc494ee refactor 2018-08-15 12:37:30 +08:00
Nullart2 b34aa46181 additional tests 2018-08-15 12:05:56 +08:00
Nullart2 2bc7a668a3 informative startup 2018-08-15 10:39:32 +08:00
Matthias 69cc6aa958 Add test to async 2018-08-14 16:02:03 +02:00
Nullart2 78610bb47f mock order_book and additional test 2018-08-14 18:12:44 +08:00
misagh cb26085229 Moving should_not_update logic to async function per pair. if there is
no new candle, async function will just return the last cached candle
locally and doesn’t hit the API
2018-08-09 12:47:26 +02:00
Nullart2 c9c0e108ab refactor 2018-08-07 18:29:37 +08:00
Matthias 255f303850 Fix tests and flake8 2018-08-07 08:56:06 +02:00
Nullart2 1309c2b14f tests update 2018-08-05 22:56:14 +08:00
Nullart2 7143b64fb7 tests for coverage 2018-08-05 22:41:58 +08:00
Nullart2 26d591ea43 mypy fix 2018-08-05 21:08:07 +08:00
Nullart2 4a9bf78770 Order Book with tests 2018-08-05 12:41:06 +08:00
misagh 3ce4d20ab9 using constants instead of stripping the string 2018-08-04 13:04:16 +02:00
misagh af93b18475 Do not refresh candles on "process_throttle_secs" but on intervals 2018-08-03 18:10:03 +02:00
misagh 59b9a6d94d Break the loop as soon as one buy signal is found. 2018-08-03 14:49:55 +02:00
misagh 2ec2f1abce async branch updated to reflect develop branch changes 2018-08-02 16:48:21 +02:00
creslin f619cd1d2a renamed/refactored get_ticker_history to get_candle_history
as it does not fetch any ticker data only candles
and is causing confusion when developer are talking about candles /tickers
incorreclty.

OHLCV < candles and Tickers are two seperate datafeeds from the exchange
2018-08-02 08:45:28 +00:00
Matthias 9c08cdc81d Fix typehints 2018-08-01 21:58:32 +02:00
Matthias 52065178e1 use .get all the time 2018-07-31 20:53:32 +02:00
Matthias b45d465ed8 init _klines properly 2018-07-31 20:50:59 +02:00
Matthias 31870abd25 Refactor async-refresh to it's own function 2018-07-31 20:43:32 +02:00
Matthias a486b1d01c Use Dict instead of tuplelist, run in _process 2018-07-31 20:25:10 +02:00
misagh c8f125dbb9 ccxt async POC 2018-07-31 12:47:32 +02:00
Matthias 48cd468b6c Don't do all network calls at once without async 2018-07-27 07:40:27 +01:00
Matthias df3e76a65d Remove legacy code, fix missed call 2018-07-26 19:11:51 +01:00
Matthias f2a9be3684 Adjust tests and remove legacy variable 2018-07-26 19:06:25 +01:00
Matthias 3324cdfcbe add mock for get_history in patch_get_signal 2018-07-26 18:58:49 +01:00
Matthias 484103b957 extract get_history_data from get_signal 2018-07-26 18:23:42 +01:00
Janne Sinivirta 726b94b077
Merge pull request #1069 from freqtrade/feat/movefiatconverttorpc
Feat/movefiatconverttorpc
2018-07-26 14:25:58 +03:00
Matthias 1a9ead45eb fix missed fiat_display_currency config value 2018-07-24 08:00:56 +01:00
Matthias 0775a371fe rename sellreason to sell_Reason, fix typos 2018-07-23 00:54:20 +01:00
Matthias 9467461160 only init FIATConvert when telegram is enabled 2018-07-21 20:13:32 +02:00
Matthias 4fb9823cfb fix rebase problem 2018-07-19 19:50:06 +02:00
Matthias a452864b41 Use namedtuple for sell_return 2018-07-19 19:39:08 +02:00
Matthias 426c25f631 record ticker_interval and strategyname 2018-07-19 19:34:14 +02:00
Matthias f991109b0a Add sell-reason to sell-tree 2018-07-19 13:29:42 +02:00
Matthias 64f933477d
Merge pull request #1007 from freqtrade/remove-analyze
Remove Analyze
2018-07-19 10:12:36 +02:00
Matthias 7134c15e86
Merge pull request #1024 from freqtrade/feature/webhook
Feature/webhook
2018-07-18 20:39:57 +02:00
Luis Felipe Diaz Chica ee8e890f50 Add docs to get_trade_stake_amount function 2018-07-18 01:36:39 -05:00
Janne Sinivirta e11ec28962 remove leftover commented-out code 2018-07-17 11:13:35 +03:00
Janne Sinivirta aeb4102bcb refactor Analyze class methods to base Strategy class 2018-07-16 08:23:39 +03:00
Janne Sinivirta a74147c472 move strategy initialization outside Analyze 2018-07-16 08:23:39 +03:00
Matthias 144d308e5e Allow enabling of webhook 2018-07-14 13:32:35 +02:00
gcarq 0920fb6120 use more granular msg dict for buy/sell notifications 2018-07-12 17:16:31 +02:00
gcarq 4cb1aa1d97 use dict as argument for rpc.send_msg 2018-07-12 17:12:42 +02:00
Jean-Baptiste LE STANG 773fb5953b Reafcotring Create Trade 2018-07-10 15:10:56 +02:00
Samuel Husso 7dca3c6d03 freqtradebot,main,hyperopt: fstrings in use 2018-07-05 10:11:29 -05:00
Janne Sinivirta bf4d0a9b70 sort imports 2018-07-04 10:31:35 +03:00
Michael Egger e2127f5af1
Merge pull request #969 from xmatthias/split_unfilled
separating unfulfilled timeouts for buy and sell
2018-07-01 19:47:24 +02:00
xmatthias 2dc881558d address PR comments 2018-07-01 19:41:19 +02:00
Nullart 98108a78f1 separating unfulfilled timeouts for buy and sell 2018-06-30 13:44:42 +02:00
xmatthias 2d4ce593b5 catch crash with cobinhood
fixes #959
2018-06-28 19:53:51 +02:00
Anton f82b809fcf Merge with develop 2018-06-23 16:50:27 +03:00
xmatthias cbfee51f32 introduce experimental variable and fix test naming 2018-06-22 20:51:21 +02:00
xmatthias 8a44dff595 don't sell if buy is still active 2018-06-22 20:23:23 +02:00
xmatthias 896afe7118 convert get_name and get_id to properties 2018-06-18 22:20:50 +02:00
xmatthias 2b099a89e4 fix styling issues 2018-06-17 23:38:07 +02:00
xmatthias 75d02df60d add exchange to call get_singal 2018-06-17 23:38:07 +02:00
xmatthias 21edcbdc27 Refactor exchange to class 2018-06-17 23:38:07 +02:00
Anton eb909068c5 Add minimal pair stake amount check 2018-06-17 02:23:12 +03:00
Anton 708320318c Check minimal amount 2018-06-12 01:05:43 +03:00
Anton 90025d0ac4 Fix check 2018-06-11 16:38:10 +03:00
Anton ce663f6af5 Merge with develop 2018-06-11 16:25:05 +03:00
Anton 3676015184 Fix check 2018-06-11 16:21:57 +03:00
Janne Sinivirta c46e50864b
Merge pull request #886 from freqtrade/feature/reload-conf
Reload bot config without restarting
2018-06-11 10:47:00 +03:00
Janne Sinivirta 8db3dfa8c6
Merge pull request #880 from freqtrade/fix/636
Fixes issue 636
2018-06-09 08:59:12 +03:00
Samuel Husso 38c32f0e10 flake8 fix 2018-06-09 08:40:32 +03:00
Samuel Husso 62b4efb881 freqtradebot: fstrings in use 2018-06-09 08:27:39 +03:00
gcarq 74db82d759 main: don't touch freqbot state in cleanup()
cleanup() should be only called after the main loop has been exited.
At that point the state shouldn't be modified.
2018-06-09 01:19:42 +02:00
gcarq 10e12ec1b9 fix flake8 warning 2018-06-08 02:37:12 +02:00
gcarq 7f881cce85 add additional None check for trade.open_order_id 2018-06-08 02:34:44 +02:00
Anton b1b87731b1 Support case when _get_trade_stake_amount returns None 2018-06-08 00:54:46 +03:00
Anton b4138f29c8 Merge with develop 2018-06-08 00:29:44 +03:00
gcarq e2aa78c11b remove obsolete param 2018-06-07 05:27:27 +02:00
Anton 12d8a8b1a3 Fix review comments 2018-06-06 00:14:28 +03:00
Anton 87f750da35 Merge with develop 2018-06-04 01:50:10 +03:00
xmatthias 32300f6d5f don't initialize with None where it's not necessary 2018-06-02 13:55:06 +02:00
xmatthias 6106822d10 typing 2018-06-02 13:44:41 +02:00
Anton 3427c7eb54 Use constants 2018-05-25 17:04:08 +03:00
Anton 9be98cd8f7 Add ability to set unlimited stake_amount 2018-05-23 13:15:03 +03:00
Matthias Voppichler 263bf918b1 Fix bug pointed out in #679 2018-05-15 19:49:28 +02:00
Matthias Voppichler d3fb2e4516 Add open_rate_requested and close_rate_requested for slippage detection 2018-05-05 12:57:07 +02:00