Ork Blutt
200111fef6
fix method return value
2020-04-06 16:07:43 +02:00
Ork Blutt
6256025c73
various adjustement from PR discussion
2020-04-06 11:00:31 +02:00
Ork Blutt
8555c5b211
fix return value
2020-04-05 17:03:51 +02:00
Ork Blutt
15c45b984d
removing whitespace
2020-04-05 16:47:46 +02:00
Ork Blutt
0a14d5ec46
trades history RPC
2020-04-05 16:14:02 +02:00
Matthias
f14c496ce9
Remove calc_close_profit from RPC
...
This is now possible - but only for closed trades, so certain occurances
need to remain.
2020-03-22 11:28:18 +01:00
hroff-1902
e411717de9
No percent where ratio is to be used
2020-02-28 12:36:39 +03:00
Matthias
1021ffa1c3
Apply suggestions from code review
...
Add suggested changes to comments
Co-Authored-By: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
2020-02-26 07:00:08 +01:00
Matthias
31ac4598ba
Fix last occurances of pair splitting
2020-02-25 07:16:37 +01:00
Yazeed Al Oyoun
180939a962
winner, readability, with brackets as fix
2020-02-15 21:01:45 +01:00
Yazeed Al Oyoun
6e71f2f166
my fix
2020-02-15 20:55:12 +01:00
Yazeed Al Oyoun
47874a4527
added logic to differentiate sell orders with double asterisk
2020-02-12 21:45:55 +01:00
Yazeed Al Oyoun
fc29564974
Fixed messages and readability
2020-02-11 15:58:40 +01:00
Yazeed Al Oyoun
f3b1161640
wide notifications fixes
2020-02-08 21:02:52 +01:00
hroff-1902
f3d500085c
Add some type hints
2020-02-02 07:00:40 +03:00
Matthias
aad10ceee3
Add threading lock object for /forcesell
...
Protects against stoploss_on_exchange order recreation
in case of /forcesell (it's a timing issue, so may or may not happen).
2020-01-22 20:50:09 +01:00
Matthias
58ceda4b90
update wallets after forcesell
2020-01-22 19:54:55 +01:00
Matthias
1bf475fa1a
Remove .get calls for dry_run - it's a mandatory property
2020-01-20 20:24:40 +01:00
Matthias
c8806a16a1
Allow wallet update from /balance
2020-01-15 06:43:41 +01: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
b6d1c5b17a
_get_trade_stake_amount() is not private
2019-12-28 01:44:51 +03:00
Matthias
a105e5664a
Align /balance output to show everything in stake currency
...
the conversation to BTC does not make sense
2019-12-24 06:58:30 +01:00
Matthias
a2964afd42
Rename profit_percent to profit_ratio to be consistent
2019-12-17 08:53:30 +01:00
Matthias
23d467eb0d
Show simulation note also in restserver
2019-12-15 10:41:57 +01:00
Matthias
50350a09cd
use wallets instead of doing a direct call to /balance
2019-11-24 19:41:51 +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
8c64be3cfd
get tickers only once to show balance
2019-11-24 19:22:43 +01:00
hroff-1902
dfe3d78767
Merge pull request #2541 from freqtrade/rpc/show_config
...
[Rpc] - show config
2019-11-20 18:42:41 +03: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
e4e8a611be
Add tests for telegram
2019-11-17 15:13:24 +01:00
Matthias
2c976bdd24
Add show_config endpoint
2019-11-17 15:03:38 +01:00
Matthias
11f7ab61b9
Remove decimal import from rpc
2019-11-12 15:11:31 +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
748fe94603
Merge branch 'develop' into volumeList_enhanced_filter
2019-11-09 15:34:47 +01:00
Matthias
c74d766275
move from name to name_list
2019-11-09 14:00:32 +01:00
Matthias
b7b1e66c6e
Convert to % as part of RPC to allow users to use unrounded ratio
2019-10-30 11:12:49 +01:00
Matthias
b37c5e4878
use get_trades in rpc modules
2019-10-30 11:12:49 +01:00
Matthias
ab117527c9
Refactor get_best_pair to persistence
2019-10-30 11:12:49 +01:00
Matthias
f20f5cebbe
Move performance-calculation to persistence
2019-10-30 11:12:49 +01:00
hroff-1902
849d694c27
Don't inherit from object
2019-09-12 04:39:52 +03:00
Matthias
e8f37666ea
Fix Problem when ccxt reports None as values
2019-09-05 20:02:18 +02:00
Matthias
e2e0015119
Don't rename dict ... we can use it as is
2019-09-05 20:02:01 +02:00
Matthias
1a85e3b4cd
Fix numpy warning
2019-08-11 13:48:41 +02:00
Matthias
fcdbe846e5
Fix #1981 - Detect reverted currency pairs
2019-07-03 20:06:50 +02:00
Matthias
98681b78b4
Show ifferent message for balance in dry-run
2019-06-27 07:06:11 +02:00
Matthias
122cf4c897
Default add to None for blacklist rpc calls
2019-05-18 09:57:10 +02:00
Matthias
ef2950bca2
Load api-server in rpc_manager
2019-05-18 09:57:10 +02:00
Matthias
46b1ecc77d
Fix #1840 - Support balances other than USDT
2019-05-11 15:27:09 +02:00
Matthias
1e056ee415
Move trade jsonification to trade class
2019-05-05 14:07:08 +02:00
Matthias
46214ce7cd
Fix typo after feedback
2019-05-01 16:22:52 +02:00
Matthias
f71eda1c2f
Have forcesell return a result
2019-04-30 06:23:14 +02:00
Matthias
f139178136
rpc_counts should be in .rpc
2019-04-06 20:11:41 +02:00
Matthias
7a598f32dc
Move rpc-count calculation to _rpc class
2019-04-06 19:58:45 +02:00
Misagh
0cdbe714d2
stake amount not amount
2019-04-04 12:06:45 +02:00
Matthias
b437c3cf0c
Merge pull request #1729 from mishaker/telegram_sl
...
Removing % sign from telegram message as it is already a pct.
2019-04-03 21:09:36 +02:00
Misagh
5488c66f53
flake8
2019-04-03 20:35:37 +02:00
Misagh
9ee1dd99eb
tests fixed
2019-04-03 20:28:03 +02:00
Matthias
a9a5c4a052
Merge pull request #1731 from mishaker/msg_stake
...
This adds stake amount in base currency to the RPC status message
2019-04-03 19:31:24 +02:00
Misagh
d5498c8712
adding %
2019-04-03 19:29:44 +02:00
Misagh
a3fe5f5757
adding stake amount to telegram message
2019-04-03 16:28:44 +02:00
Misagh
a3835b1279
flake8
2019-04-03 14:14:47 +02:00
Misagh
53eaf85969
filtering edge pairs for RPC
2019-04-03 14:03:28 +02:00
Misagh
ab579587f2
adding percentage to telegram status messages
2019-04-01 19:13:45 +02:00
Matthias
b4472a165e
Merge pull request #1707 from mishaker/telegram_msg
...
Telegram status message refactoring
2019-03-28 19:45:48 +01:00
Misagh
2f3f5f19cd
sl percentage removed form rpc test
2019-03-28 16:26:59 +01:00
Misagh
e11eb4775e
stoploss precentage in telegram msg removed
2019-03-28 16:21:49 +01:00
Misagh
0e5b0ebda6
adding SL and SL percentage to telegram msg
2019-03-28 12:09:07 +01:00
Matthias
146d6bf7fb
Merge pull request #1698 from mishaker/edge_rpc
...
Edge RPC
2019-03-28 06:22:38 +01:00
Misagh
941921dd0f
initial SL and SL added to RPC
2019-03-27 22:00:46 +01:00
Matthias
f26ed1c8c1
Check if added pair has correct stake-currency
2019-03-25 19:40:21 +01:00
Misagh
e8bfeae048
conflict with develop resolved
2019-03-25 10:16:09 +01:00
Misagh
fd7278517d
using items()
2019-03-25 09:48:41 +01:00
Misagh
a8be277ca0
cached pairs iteration fixed + help added
2019-03-24 22:56:42 +01:00
Misagh
1dfbf6eed6
darfting edge rpc messages
2019-03-24 22:36:33 +01:00
Matthias
9d6f629f6a
Support adding pairs to blacklist
2019-03-24 16:28:14 +01:00
Matthias
684727b32e
Add black blacklist handler (ro)
2019-03-24 16:08:48 +01:00
Matthias
c8617e70a8
Merge pull request #1668 from freqtrade/fix/1658_no_telegram_updates
...
No telegram rate updates when orderbook is enabled
2019-03-18 19:40:32 +01:00
Matthias
aa698a8412
rename /stopbuy message
2019-03-18 06:27:44 +01:00
Matthias
a467d76832
Add /stopbuy command to telegram
...
fixes #1607
2019-03-17 19:35:25 +01:00
Matthias
6bfc37309e
refactor getting sell/current rate for telegram and selling
...
fix #1658
2019-03-16 13:24:10 +01:00
Matthias
6c75b8a36a
Remove pair market url
2019-02-26 19:27:28 +01:00
Matthias
0c53bd6dd4
Complete refactor, moving query_trades to persistance as get_open_trades
2019-02-25 20:00:17 +01:00
Matthias
efc709501a
move fiat-convert to rpc - adjust imports
2018-12-11 20:27:30 +01:00
Matthias
ef1208b366
Fix rpc messages
2018-12-03 20:31:25 +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
Matthias
02527eeea4
Add rpc_whitelist call
2018-11-10 20:07:09 +01:00
misagh
8ea9b3746b
passing pair to get_trade_stake_amount
2018-11-04 18:51:54 +01:00
Matthias
7e5fd82f25
Merge pull request #1269 from freqtrade/feat/force_buy
...
add /forcebuy to telgram handler
2018-11-04 09:25:13 +01:00
Matthias
a4d2bb6f29
Fix "No market symbol" exception in telegram calls
2018-10-10 21:28:48 +02:00
Matthias
3e8e8a55fa
Enable analytical telegram commands when stopped
2018-10-10 20:58:21 +02:00
Matthias
44c275c801
flush session for /forcesell all
2018-10-09 21:08:56 +02:00
Matthias
fbe69cee3f
Add /forcebuy to telegram
2018-10-09 19:25:43 +02:00
Samuel Husso
36e0e652f0
Merge pull request #1135 from freqtrade/fix/rpc_balance_vtho
...
Fix /balance rpc call if coin is not properly listed
2018-08-22 07:01:40 +03:00
Nullart2
2bc7a668a3
informative startup
2018-08-15 10:39:32 +08:00
Matthias
e1921c8849
Fix bug causing /balance to fail
2018-08-08 22:00:39 +02:00
Janne Sinivirta
726b94b077
Merge pull request #1069 from freqtrade/feat/movefiatconverttorpc
...
Feat/movefiatconverttorpc
2018-07-26 14:25:58 +03:00
Matthias
452a1cad9d
don't default fiat_convert to None for outputs
2018-07-26 07:26:23 +01:00
Matthias
7b49f746d1
remove #FIX which was fixed
2018-07-25 22:47:20 +01:00
Matthias
dc1ad3cbf6
whitespace issues
2018-07-24 23:08:40 +01:00
Matthias
4928686af9
Remove currency from daily table
2018-07-24 09:37:25 +01:00
Matthias
6cc0a72bca
ADd optional to class _fiat_convert
2018-07-22 14:35:37 +02:00
Matthias
0681a806cc
move cryptofiatconvert to rpc
2018-07-21 20:44:38 +02:00
Matthias
a452864b41
Use namedtuple for sell_return
2018-07-19 19:39:08 +02:00
Matthias
f991109b0a
Add sell-reason to sell-tree
2018-07-19 13:29:42 +02:00
Samuel Husso
fa8b349200
rpc: dont re-use variables with different types
2018-07-14 08:02:39 +03:00
gcarq
7eaeb8d146
status: return arrow object instead humanized str
2018-07-12 17:27:40 +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
gcarq
96a405feb7
implement name property in abstract class
2018-07-12 17:11:31 +02:00
gcarq
112998c205
refactor _rpc_balance
2018-07-12 17:11:31 +02:00
gcarq
f1a370b3b9
return dict from _rpc_status and handle rendering in module impl
2018-07-12 17:10:04 +02:00
gcarq
29670b9814
remove markdown formatting from exception string
2018-07-12 17:07:19 +02:00
gcarq
df8ba28ce5
convert start, stop and reload_conf to return a dict
2018-07-12 17:07:19 +02:00
Samuel Husso
e808b3a2a1
rpc: get rid of extra else and fix mypy warning
2018-07-05 10:47:08 -05:00
Samuel Husso
df68b0990f
rpc: fstrings
2018-07-05 10:11:29 -05:00
Janne Sinivirta
bf4d0a9b70
sort imports
2018-07-04 10:31:35 +03:00
xmatthias
2b099a89e4
fix styling issues
2018-06-17 23:38:07 +02:00
xmatthias
63b568989a
Fix rpc for exchange objectify
2018-06-17 23:38:07 +02:00
gcarq
46080f5168
define _rpc_reload_conf as private method
2018-06-13 15:29:27 +02:00
gcarq
83eb7a0a9d
adjust logging a bit and add some comments
2018-06-13 12:21:54 +02:00
gcarq
6c1bb7983b
rpc: make freqtrade a private variable
2018-06-13 12:21:54 +02:00
gcarq
4048859912
rpc: remove tuple return madness
2018-06-13 12:21:54 +02:00
gcarq
cddb062db5
save rpc instances only in registered_modules, add some abstract methods
2018-06-13 12:21:54 +02: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
gcarq
0b5d21f32a
implement bot reconfiguration and expose it to telegram
2018-06-09 04:29:48 +02:00
gcarq
61b2373dd1
flush db connection after forcesell
2018-06-08 02:35:10 +02:00
xmatthias
0e699b87af
don't sum percentage, but use mean instead (aligned to backtesting)
2018-06-07 20:43:28 +02:00
xmatthias
50fc5f91ca
Merge branch 'develop' into mypy_typecheck
2018-06-03 10:35:56 +02:00
xmatthias
6fc21e30e5
remove unused import
2018-06-02 13:52:55 +02:00
xmatthias
4a322abd4d
Typecheck improvements
2018-06-02 13:44:05 +02:00
xmatthias
4733aad7ff
mypy_typing
2018-05-31 20:54:37 +02:00
Pan Long
a98fcee4f9
Sell filled amount or an open limit buy order in forcesell.
...
Currently forcesell only cancels an open limit buy order and doesn't sell the filled amount.
After this change, forcesell will also update trade's amount to filled amount and sell the filled amount.
2018-05-26 09:55:31 +08:00
Anton
f175f48418
Fix get balance functionality
2018-05-15 00:31:56 +03:00
gcarq
403f59ef45
use native python logger
2018-04-21 20:47:06 +02:00
enenn
0ae5b75f33
Update order structure to ccxt generic structure instead of bittrex specific
2018-04-12 18:07:43 +02:00
enenn
c1c6ed6ed7
Replace 'BTC_XXX' with 'XXX/BTC' for pairs and 'XXX_BTC' for files
2018-04-07 16:51:50 +02:00
enenn
1f75636e56
[1/3] Add support for multiple exchanges with ccxt (objectified version) ( #585 )
...
* remove obsolete helper functions and make _state a public member.
* remove function assertions
* revert worker() changes
* Update pytest from 3.4.2 to 3.5.0
* Adapt exchange functions to ccxt API
Remove get_market_summaries and get_wallet_health, add exception handling
* Add NetworkException
* Change pair format in constants.py
* Add tests for exchange functions that comply with ccxt
* Remove bittrex tests
* Remove Bittrex and Interface classes
* Add retrier decorator
* Remove cache from get_ticker
* Remove unused and duplicate imports
* Add keyword arguments for get_fee
* Implement 'get_pair_detail_url'
* Change get_ticker_history format to ccxt format
* Fix exchange urls dict, don't need to initialize exchanges
* Add "Using Exchange ..." logging line
2018-04-06 10:57:08 +03:00
gcarq
a5c62b5c10
rpc/rpc.py: fix indentation
2018-03-20 19:50:04 +01:00
gcarq
7078bc00bd
rpc: apply correct typehints; remove redundant parentheses
2018-03-20 19:50:04 +01:00
gcarq
d2aea7bdc1
optimize imports
2018-03-20 19:50:04 +01:00
Gerald Lonlas
390501bac0
Make Pylint Happy chapter 1
2018-03-03 09:33:54 +08:00
Gerald Lonlas
f4ec073099
Move RPC and Telegram to classes
2018-03-03 09:33:54 +08:00