Matthias
6d9f1fafb7
allow backtest_cache to be provided via backtest API
2022-12-20 19:20:39 +01:00
Matthias
5dbd5c235a
Add endpoint for freqAI models
2022-12-20 07:24:54 +01:00
Matthias
2828255435
Merge pull request #7842 from wizrds/feat/refactor-emc
...
Change to broadcasting single candles in Producer/Consumer
2022-12-15 19:47:29 +01:00
Matthias
7a0eadbdf5
Don't recalc profit on closed trades
2022-12-15 07:05:07 +01:00
Matthias
fa260e6560
Move "replace or append" decision to dataprovider
2022-12-14 19:56:54 +01:00
Matthias
97fee37072
Improve emc test
2022-12-14 07:22:51 +01:00
Timothy Pogue
0dd3836cc7
fix rpc method docstring
2022-12-12 22:47:35 -07:00
Timothy Pogue
0602479f7d
minor changes, update candle appending to support overlaps
2022-12-12 22:47:35 -07:00
Timothy Pogue
f1ebaf4730
fix tests
2022-12-12 22:47:35 -07:00
Timothy Pogue
49f6f40662
remove comment
2022-12-12 22:47:35 -07:00
Timothy Pogue
d376bf4052
fix indefinite reconnecting
2022-12-12 22:47:35 -07:00
Timothy Pogue
ccd1aa70a2
change log calls to debug, handle already received candle
2022-12-12 22:47:35 -07:00
Timothy Pogue
89338fa677
allow specifying channel send throttle
2022-12-12 22:47:35 -07:00
Timothy Pogue
d2c8487ecf
update add_external_candle, fix breaking on ping error, handle empty dataframes
2022-12-12 22:47:35 -07:00
Timothy Pogue
fce1e9d6d0
update analyzed df request to allow specifying a single pair
2022-12-12 22:47:35 -07:00
Timothy Pogue
36a00e8de0
update add_external_candle returns
2022-12-12 22:47:35 -07:00
Timothy Pogue
4cbb3341d7
change how missing candles will be handled
2022-12-12 22:47:35 -07:00
Timothy Pogue
9660e445b8
use new channel apis in emc, extend analyzed df to include list of dates for candles
2022-12-12 22:47:35 -07:00
Matthias
7c27eedda5
Bump API version
2022-12-05 19:56:33 +01:00
Matthias
d30a872ed4
Move message-silencing list next to enum
2022-12-05 19:23:03 +01:00
Matthias
5e533b550f
Emit a simple "new candle" message to allow UI's to refresh charts
2022-12-05 18:19:19 +01:00
Matthias
95651fcd5a
Improve/simplify telegram exception handling
...
Move exceptionhandling to the decorator.
2022-12-01 06:27:25 +01:00
Matthias
3c322bf7df
Improve forceenter validation messages
2022-11-29 18:27:08 +01:00
Matthias
3fc367f536
Merge pull request #7771 from wizrds/feat/refactor-ws
...
Refactor WebSocket API for performance
2022-11-27 15:49:34 +01:00
Timothy Pogue
a26b3a9ca8
change sleep call back to 0.01
2022-11-26 09:40:22 -07:00
Matthias
fcf13580f1
Revert "offload initial df computation to thread"
...
This reverts commit f268187e9b
.
2022-11-26 13:33:54 +01:00
Matthias
7b0a76fb70
Improve typehint
2022-11-26 13:33:26 +01:00
Timothy Pogue
bd95392eea
fix formatted string in warning message :)
2022-11-25 13:10:22 -07:00
Timothy Pogue
4aa4c6f49d
change sleep in channel send to 0
2022-11-25 13:08:41 -07:00
Timothy Pogue
f268187e9b
offload initial df computation to thread
2022-11-25 12:56:33 -07:00
Timothy Pogue
afc00bc30a
log warning if channel too far behind, add docstrings to message stream
2022-11-25 12:48:57 -07:00
Matthias
1b3e62bcbc
Lock execute_entry to prevent timing hickups
2022-11-25 14:50:48 +01:00
Timothy Pogue
bcc8063eeb
Merge branch 'develop' into feat/refactor-ws
2022-11-24 13:42:57 -07:00
Timothy Pogue
fc59b02255
prevent ws endpoint from running without valid token
2022-11-24 13:41:10 -07:00
Timothy Pogue
101dec461e
close ws channel if can't accept
2022-11-24 11:35:50 -07:00
Timothy Pogue
48242ca02b
update catch block in cancel channel tasks
2022-11-22 12:43:45 -07:00
Matthias
7785c91c5d
Merge pull request #7756 from wizrds/feat/secure-ws-conn
...
Support SSL in WebSocket connection
2022-11-22 19:18:16 +01:00
Timothy Pogue
a5442772fc
ensure only broadcasting to subscribed topics
2022-11-22 09:42:09 -07:00
Timothy Pogue
d9d7df70bf
fix tests, log unknown errors
2022-11-21 12:21:40 -07:00
Timothy Pogue
106ac2ab4d
fix tests, change to get call
2022-11-20 16:36:22 -07:00
Timothy Pogue
d2870d48ea
change typing to async iterator
2022-11-20 16:24:44 -07:00
Timothy Pogue
48a1f2418f
update typing, remove unneeded try block, readd sleep
2022-11-20 16:18:24 -07:00
Timothy Pogue
60a167bdef
add dynamic send timeout
2022-11-20 14:09:45 -07:00
Timothy Pogue
dc79284c54
Merge branch 'develop' into feat/refactor-ws
2022-11-20 10:05:22 -07:00
Matthias
12b471c64b
Prevent 2 parallel open orders through forceentry
...
this leads to forgetting the prior order
closes #7765
2022-11-20 09:28:14 +01:00
Timothy Pogue
3714d7074b
smaller throttle in channel send
2022-11-19 13:29:23 -07:00
Timothy Pogue
c1a73a5512
move sleep call in send, minor cleanup
2022-11-19 13:21:26 -07:00
Timothy Pogue
98d87b3ba6
Merge branch 'develop' into feat/refactor-ws
2022-11-18 13:41:22 -07:00
Timothy Pogue
0cb6f71c02
better error handling, true async sending, more readable api
2022-11-18 13:32:27 -07:00
Matthias
4de9a46618
Merge pull request #7759 from wizrds/fix/pd-mem-leak
...
Fix Pandas to_json memory leak
2022-11-18 20:24:16 +01:00
Timothy Pogue
b6a8e421f1
remove redundant timestamp conversion in ws serializer
2022-11-18 09:43:39 -07:00
Matthias
12cd83453c
Add warning when queue websocket queue becomes too full
2022-11-18 14:03:56 +01:00
Timothy Pogue
ba493eb7a7
Merge fix/pd-mem-leak
2022-11-17 16:21:12 -07:00
Matthias
436b314c80
add safe_remaining
...
fixes #7757
2022-11-17 19:07:47 +00:00
Timothy Pogue
49ecc83061
Merge branch 'develop' into fix/pd-mem-leak
2022-11-17 12:04:49 -07:00
Timothy Pogue
ce43fa5f43
small fix to websocketchannel and relay
2022-11-17 12:03:11 -07:00
Timothy Pogue
875e9ab447
change df serialization to avoid mem leak
2022-11-17 11:59:03 -07:00
Matthias
9432bcd065
Fix telegram error on force_enter exception
...
closes #7727
2022-11-17 19:52:03 +01:00
Matthias
93addbe5c3
Improve typechecking
2022-11-17 10:16:38 +00:00
Timothy Pogue
6a1655c047
support ssl connections in emc
2022-11-15 22:26:54 -07:00
Timothy Pogue
442467e8ae
remove old comments and code
2022-11-14 22:26:34 -07:00
Timothy Pogue
d713af045f
remove main queue completely
2022-11-14 22:21:40 -07:00
Timothy Pogue
659c8c237f
initial revision
2022-11-14 20:27:45 -07:00
Matthias
a951b49541
Use Generator when sending initial dataframes
2022-11-14 19:43:59 +01:00
Matthias
fed3bc6730
Simplify Websocket Init
2022-11-13 10:33:54 +01:00
Matthias
954da4fec9
Add "forcebuy error" exception log
...
part of #7727
2022-11-12 19:52:10 +01:00
Matthias
ff619edebf
Improve explanation comment as to why we're waiting ourselfs
2022-11-03 06:50:18 +01:00
Timothy Pogue
b749f3edd6
add latency measure from ping in emc and ws_client
2022-11-02 19:30:35 -06:00
Timothy Pogue
000b0c2198
prevent memory leaks from error in _broadcast_queue_data
2022-11-02 18:00:10 -06:00
Timothy Pogue
cbede2e27d
refactor channel.send to avoid queue.put
2022-11-02 17:57:11 -06:00
Timothy Pogue
2dc55e89e6
better error handling channel send
2022-11-02 15:25:39 -06:00
Timothy Pogue
55bf195bfb
remove debugging log calls
2022-11-02 14:21:34 -06:00
Timothy Pogue
c2bdaea84a
change exception handling in channel send
2022-11-02 14:19:08 -06:00
Timothy Pogue
d848c27283
add task done to broadcast queue method
2022-11-02 13:30:42 -06:00
Timothy Pogue
e25dea7e0e
update channel disconnecting
2022-11-02 13:26:27 -06:00
Timothy Pogue
fd5f31368c
fix indent in initial df send
2022-10-25 14:08:28 -06:00
Matthias
3fa50077c9
Don't use pydantic to type-verify outgoing messages
2022-10-25 20:00:53 +02:00
Timothy Pogue
32600a113f
fix broadcast
2022-10-24 12:21:17 -06:00
Timothy Pogue
94b65a007a
fix message typing in channel manager, minor improvements
2022-10-23 11:42:59 -06:00
Timothy Pogue
9cffa3ca2b
add comment in channel
2022-10-22 21:03:57 -06:00
Timothy Pogue
3d7a311caa
removed sleep calls, better channel sending
2022-10-22 19:02:05 -06:00
Timothy Pogue
2b6d00dde4
initial channel api change
2022-10-22 09:30:18 -06:00
Matthias
c3d4fb9f1b
Simplify backtest calling interface
2022-10-18 06:39:55 +02:00
Matthias
c7fff1213c
Rate-limit EMC startup to avoid overwelming the queue
2022-10-17 20:46:15 +02:00
Matthias
b166c04cba
Bring back asyncio.sleep to avoid overwelming the a consumer queue
2022-10-17 19:29:30 +02:00
Matthias
4a8cb3359b
Fix broken tests
2022-10-14 16:07:49 +00:00
Matthias
9d4ba767c4
Update usages of search_all_objects
2022-10-14 14:50:52 +00:00
Matthias
e3ca740704
Merge pull request #7558 from wizrds/feat/queue-per-client-ws
...
Refactor broadcasting in Message Websocket
2022-10-13 09:52:29 +02:00
Timothy Pogue
eb8c89fe31
move send delay to relay
2022-10-10 23:32:10 -06:00
Timothy Pogue
5ada5eb540
fix error message, update exception import
2022-10-10 23:30:43 -06:00
Timothy Pogue
db8cf6c957
disable ping interval in client
2022-10-09 18:51:52 -06:00
Timothy Pogue
71bbffd10a
update ws channel send to add data to queue
2022-10-09 18:49:04 -06:00
Timothy Pogue
2c76dd9e39
change wait timeout to 30 seconds to better support reverse proxies
2022-10-09 15:23:56 -06:00
Timothy Pogue
2f64a08623
set channel queue maxsize to 32
2022-10-09 15:11:58 -06:00
Timothy Pogue
3e8d8fd1b0
refactor broadcasting to a queue per client
2022-10-09 15:04:52 -06:00
Matthias
8e3a4eca41
Remove unused type:ignore
2022-10-09 09:15:11 +02:00
Matthias
9454fb8f7b
Fix discord message sending
2022-10-07 20:59:49 +02:00
Matthias
df5ae66252
Refactor webhook method
2022-10-07 20:52:52 +02:00
Matthias
fb2f2d9a39
Allow webhook message setting directly
2022-10-07 20:44:47 +02:00
froggleston
8fcb80df69
Add support for dp.send_msg() to webhooks
2022-10-07 16:06:30 +01:00
Matthias
a5bf34587a
Improve fiat-convert behavior in case of coingecko outage
2022-10-07 15:46:31 +02:00
Matthias
fab6b2f105
Align datetime import in fiat_convert
2022-10-07 15:23:32 +02:00
Matthias
2c94ed2e59
Decrease message throughput
...
fixes memory leak by queue raising indefinitely
2022-10-01 21:23:33 +02:00
Matthias
8f8b5cc28e
Disable log spam from analyze_df in webhook/discord
2022-10-01 09:35:21 +02:00
Matthias
ac229b7a42
Reduce message consumer verbosity
2022-09-29 07:10:00 +02:00
Matthias
4e920e9c53
Reduce verbosity of sending-message
2022-09-29 06:41:16 +02:00
Matthias
fb3d408338
Respect max_open_trades when forceentering
...
closes #7489
2022-09-28 09:32:07 +00:00
Matthias
7c84edbc23
Avoid online call when asking for /status
.
2022-09-28 07:21:52 +02:00
Matthias
42cecb83f2
Disable base64 loading via API
...
closes severe RCE vulnerability reported privately.
2022-09-27 20:37:16 +02:00
Timothy Pogue
e54ed5b10e
fix runtime error: dict changed size during iteration
2022-09-25 15:05:56 -06:00
Matthias
873eb5f2ca
Improve EMC config validations
2022-09-24 16:43:58 +02:00
Matthias
50dfde7048
Remove unnecessary typing import
2022-09-24 16:11:15 +02:00
Matthias
53c8e0923f
Improve typing in message_consumer
2022-09-24 16:10:42 +02:00
Timothy Pogue
6b5d71049e
add sleep
2022-09-23 13:10:45 -06:00
Timothy Pogue
4c7cef570f
typo in exception
2022-09-23 12:58:26 -06:00
Timothy Pogue
b8e1d29a1b
catch connectionclosederror
2022-09-23 12:36:05 -06:00
Matthias
1db8421b9d
Merge pull request #7303 from wizrds/feat/externalsignals
...
Producer/consumer mode
2022-09-23 06:29:58 +02:00
Matthias
e6c5c22ea0
Update websocket/follower docs
2022-09-22 20:31:42 +02:00
Timothy Pogue
6a6ae809f4
fix jwt auth
2022-09-21 18:23:00 -06:00
Timothy Pogue
77ed713232
add catch for invalid message error
2022-09-21 16:04:25 -06:00
Timothy Pogue
128b117af6
support list of tokens in ws_token
2022-09-21 16:02:21 -06:00
Matthias
3b0874eb37
Update exit message handling to gracefully handle kucoins "empty" responses
...
closes #7444
2022-09-20 20:00:08 +02:00
Matthias
0c01b23cba
Capture exceptions in send_msg calls
2022-09-20 18:09:14 +02:00
Matthias
914eccecec
Merge branch 'develop' into pr/wizrds/7303
2022-09-20 06:56:15 +02:00
Matthias
3274bb0751
Remove msgpack for now
2022-09-20 06:55:22 +02:00
Matthias
994c1c5ea0
use Config typing in more places
2022-09-18 13:31:52 +02:00
Matthias
667853c504
Use Alias to type config objects
2022-09-18 13:20:55 +02:00
Timothy Pogue
4422ac7f45
constrain port in config, catch value error
2022-09-16 19:22:24 -06:00
Timothy Pogue
7d1645ac20
fix tests and warning message
2022-09-15 17:54:31 -06:00
Timothy Pogue
8e75852ff3
fix constants, update config example, add emc config validation
2022-09-15 11:12:05 -06:00
Timothy Pogue
6126925dbe
message size limit in mb, default to 8mb
2022-09-14 16:42:14 -06:00
Timothy Pogue
aed19ff6ce
fix The future belongs to a different loop error
2022-09-13 19:17:12 -06:00
Timothy Pogue
06350a13cb
support specifying message size in emc config
2022-09-13 16:39:53 -06:00
Timothy Pogue
d75d5a7dad
debug ping error message
2022-09-13 16:06:25 -06:00
Matthias
7a98775f01
Version bump apiVersion
2022-09-13 22:07:59 +02:00
Matthias
d2abc9417f
Simplify ws imports
2022-09-13 20:51:13 +02:00
Matthias
79c70bd52d
use WebSocketState from fastapi
...
available since 0.82.0
2022-09-13 20:50:12 +02:00
Timothy Pogue
07aa206f71
real fix for reconnecting
2022-09-13 12:36:40 -06:00
Timothy Pogue
6d0dfd4dc8
continue trying connect on ping error
2022-09-13 12:27:41 -06:00
Timothy Pogue
bf2e5dee75
add running false on shutdown, fix dp typing
2022-09-12 14:21:39 -06:00
Timothy Pogue
0697041f14
remove copy statement where not needed
2022-09-12 14:09:12 -06:00
Timothy Pogue
c19a5fbe06
copy data being transferred, remove debug messages in emc
2022-09-12 13:57:29 -06:00
Matthias
b6434040de
Remove plain json serializer implementation
2022-09-12 20:24:28 +02:00
Matthias
867d59b930
Improve type specifitivity
2022-09-12 20:00:01 +02:00
Matthias
0052e58917
emc: Fix potential startup timing issue
2022-09-12 19:50:22 +02:00
Timothy Pogue
d6205e6cfb
test logging lines
2022-09-12 07:36:11 -06:00
Matthias
715a71465d
Fix auth bug when no token is set
2022-09-12 07:28:31 +02:00
Timothy Pogue
5483cf21f6
remove default secret_ws_token, set timeout min to 0
2022-09-11 11:42:13 -06:00
Timothy Pogue
ed4ba8801f
more emc tests
2022-09-10 23:57:17 -06:00
Timothy Pogue
0f8eaf98e7
Merge branch 'develop' into feat/externalsignals
2022-09-10 15:14:10 -06:00
Timothy Pogue
0bc18ea33c
call websocket close in channel close
2022-09-10 15:12:18 -06:00
Timothy Pogue
2afd5c202c
update message parsing, tests
2022-09-10 14:29:15 -06:00
Timothy Pogue
a7baccdb7d
update log messages in emc, more tests
2022-09-10 13:44:27 -06:00
Timothy Pogue
866a564958
update emc start/shutdown, initial emc tests
2022-09-10 12:51:29 -06:00
Timothy Pogue
d8cdd92140
wrap background cleanup in finally, add tests
2022-09-10 11:47:21 -06:00
Matthias
4250174de9
Fix ws exception when no token is provided
2022-09-10 14:29:58 +02:00
Matthias
b344f78d00
Improve logic for token validation
2022-09-10 14:20:49 +02:00
Matthias
939fb7acb3
Fix enum imports
2022-09-09 20:31:30 +02:00
Timothy Pogue
6cbc03a96a
support jwt token in place of ws token
2022-09-09 11:38:42 -06:00
Timothy Pogue
09679cc798
fix dependency
2022-09-09 11:27:20 -06:00
Timothy Pogue
426f8f37e9
change var names
2022-09-09 10:45:49 -06:00
Matthias
e256ebd727
Add ws_token to auto-generated config
2022-09-09 07:13:05 +02:00
Timothy Pogue
75cf8dbfe4
missed await
2022-09-08 15:11:36 -06:00
Timothy Pogue
2b9c8550b0
moved ws_schemas, first ws tests
2022-09-08 13:58:28 -06:00
Timothy Pogue
b9e7af1ce2
fix ws token auth
2022-09-08 11:25:30 -06:00
Timothy Pogue
fac6626459
update default timeouts
2022-09-08 10:54:31 -06:00
Timothy Pogue
b3b0c918d9
cleanup old code
2022-09-08 10:44:03 -06:00
Timothy Pogue
379b1cbc90
remove unnecessary returns
2022-09-08 10:37:41 -06:00
Timothy Pogue
df3c126146
fix mypy error
2022-09-08 10:34:37 -06:00
Timothy Pogue
5934495dda
add websocket request/message schemas
2022-09-07 15:08:01 -06:00
Timothy Pogue
8bfaf0a998
Merge branch 'develop' into feat/externalsignals
2022-09-06 13:02:36 -06:00
Timothy Pogue
b1c0267449
mypy fixes
2022-09-06 12:40:58 -06:00
Timothy Pogue
3535aa7724
add last_analyzed to emitted dataframe
2022-09-06 12:12:05 -06:00
Matthias
f2f811a2fe
Fix telegram bug with open partial exit orders
2022-09-06 19:55:18 +02:00
Timothy Pogue
38f14349e9
move bytes decoding to serializer
2022-09-05 23:25:25 -06:00
Matthias
d526dfb171
Revert some more changes in rpc_manager
2022-09-06 07:03:31 +02:00
Timothy Pogue
a0d774fdc4
change default initial candle limit to 1500
2022-09-05 20:23:00 -06:00
Timothy Pogue
b949ea301c
fix failed apiserver tests
2022-09-05 19:29:07 -06:00
Timothy Pogue
cd8455ccb7
Merge branch 'develop' into feat/externalsignals
2022-09-05 15:10:25 -06:00
Timothy Pogue
8f261d8edf
change from bytes to text in websocket, remove old logs
2022-09-05 13:47:17 -06:00
Matthias
36e5c18fa6
Don't raise exception when a message is not implemented in telegram
2022-09-05 20:54:03 +02:00
Timothy Pogue
8a08f8ff8d
revert rpc manager
2022-09-04 10:27:34 -06:00
Timothy Pogue
07f806a314
minor improvements, fixes, old config+constant removal
2022-09-04 10:22:10 -06:00
Timothy Pogue
05cbcf834c
minor logging changes
2022-09-02 16:01:33 -06:00
Timothy Pogue
cf917ad2f5
initial candle request limit, better error reporting, split up _handle_producer_connection
2022-09-02 15:05:16 -06:00
Timothy Pogue
5b0b802f31
hybrid json ws serializer
2022-09-02 00:05:36 -06:00
Timothy Pogue
eb4cd6ba82
split initial data into separate requests
2022-09-01 23:52:13 -06:00
Timothy Pogue
dccde88c83
fix dataframe serializing
2022-09-01 23:15:03 -06:00
Timothy Pogue
00f35f4870
remove old constant, add initial_data requesting, minor changes
2022-09-01 20:06:36 -06:00
Timothy Pogue
865b34cd6f
add producer names
2022-08-31 11:43:02 -06:00
Timothy Pogue
510cf4f305
remove data waiting, remove explicit analyzing of external df
2022-08-31 10:40:26 -06:00
Timothy Pogue
115a901773
minor fix for conditional in handle func
2022-08-30 19:34:43 -06:00
Timothy Pogue
ddc45ce2eb
message handling fix, data waiting fix
2022-08-30 19:30:14 -06:00
Timothy Pogue
346e73dd75
client implementation, minor fixes
2022-08-30 19:21:34 -06:00
Timothy Pogue
418bd26a80
minor fixes, rework consumer request, update requirements.txt
2022-08-30 11:04:16 -06:00
Timothy Pogue
47f7c384fb
consumer subscriptions, fix serializer bug
2022-08-29 15:48:29 -06:00
Timothy Pogue
7952e0df25
initial rework separating server and client impl
2022-08-29 13:41:15 -06:00
Timothy Pogue
8c4e68b8eb
updated example configs
2022-08-28 13:00:52 -06:00
Matthias
b9f35cadb3
add /stopentry alias for /stopbuy
2022-08-28 11:37:22 +02:00
Timothy Pogue
05ca673883
Catch status code errors
2022-08-27 00:06:03 -06:00
Timothy Pogue
fcceb744c5
Add janus to requirements.txt
2022-08-26 23:43:05 -06:00
Timothy Pogue
2b5f067877
Refactoring, minor improvements, data provider improvements
2022-08-26 23:40:13 -06:00
Timothy Pogue
d474111a65
Renamed to external signals, controller class refactored
2022-08-24 22:42:29 -06:00
Timothy Pogue
6f5478cc02
DataFrame transmission, strategy follower logic
2022-08-21 22:45:36 -06:00
Timothy Pogue
739b68f8fd
ExternalPairList plugin
2022-08-19 22:40:01 -06:00
Timothy Pogue
6834db11f3
minor improvements and pairlist data transmission
2022-08-19 00:06:19 -06:00
Timothy Pogue
9f6bba40af
initial concept for replicate, basic leader and follower logic
2022-08-18 20:10:58 +02:00
Matthias
044cf8bb2e
Allow new whitelist combination in "button" commands
2022-08-14 08:41:25 +02:00
Matthias
22ac291c3a
Merge pull request #7211 from ecoppen/rpc/whitelist_options
...
Optional /whitelist args - sorted, nobase
2022-08-14 08:26:21 +02:00
ecoppen
923f73a516
nobase -> baseonly
2022-08-12 19:56:46 +01:00
Matthias
cc885e25ac
Improve NAN Handling in RPC
2022-08-11 20:16:07 +02:00
Matthias
dd4e44931e
Improve NAN handling in RPC module
2022-08-11 15:02:52 +00:00
ecoppen
c0d60c63ab
Optional /whitelist args - sorted, nobase
...
Added two optional arguments for whitelist - `sorted` for alphabetical order and `nobase` for displaying the whitelist without base currency e.g. /USDT.
Updated help with optional commands.
Added a space in an unrelated help message.
2022-08-10 14:56:38 +01:00
Matthias
53251e7140
Merge pull request #7194 from freqtrade/rpc/partial_forceexit
...
Partial forceExit
2022-08-10 07:12:40 +02:00
Matthias
ce2c9bf26d
Slight renaming of variable
2022-08-10 06:44:41 +02:00
Matthias
736884c5a9
Orders should be allowed to have empty fill/remaining values
2022-08-09 20:43:58 +02:00
Matthias
e48e82232d
Force response API to js to fix faulty system configs
...
closes #7147
2022-08-07 10:42:56 +02:00
Matthias
0b2104fc7a
Properly increment the api version
2022-08-07 10:13:36 +02:00
Matthias
6ded2d5b7c
Improve forceexit API test
2022-08-07 09:47:11 +02:00
Matthias
d1998f7ed0
Fix forceexit calling
2022-08-07 09:47:11 +02:00
Matthias
eff8cd7ecb
Add leverage to force_entry
2022-08-07 09:47:11 +02:00
Matthias
daf015d007
extract nested force_exit function to private instance function
2022-08-07 09:47:11 +02:00
Matthias
82aecc81f3
Accept parameters to forceexit
2022-08-07 09:47:11 +02:00
Matthias
5250189f77
Add Rollback function to Trade
...
simplifies Session work
2022-08-06 17:03:49 +02:00
Matthias
45d68222a1
Reduce verbosity of Fiat Converter
2022-08-06 13:18:40 +02:00
Matthias
f8f1ade163
Reduce function complexity by extracting message sending
2022-08-06 09:21:11 +02:00
Matthias
2687633941
Test iterative sending of /status
2022-08-06 09:16:04 +02:00
Matthias
b12dd15f4f
Send multiple messages in /status if required
2022-08-06 09:10:12 +02:00
Matthias
7675187c37
Use telegram message length to avoid constants
2022-08-05 07:31:19 +02:00
Matthias
cffc769549
Fix /profit endpoint calculations for partial sells
...
* don't recalculate for closed trades
* include realized_profit in the calculation
part of #7178
2022-08-05 07:26:41 +02:00
Kavinkumar
a4bada3ebe
Partial exit using average price ( #6545 )
...
Introduce Partial exits
2022-07-31 14:19:04 +02:00
Matthias
229e8864bb
Add send_msg capability to dataprovider
2022-07-26 20:15:49 +02:00
Matthias
2eb1d18c2a
Don't load leverage tiers when not necessary
2022-07-23 19:56:38 +02:00
Matthias
f9d3775d4c
Move "candle" logic for message to telegram
...
this avoids calling this method unless necessary
2022-07-11 14:09:39 +02:00
Matthias
8e8f026ea7
Telegram candle message should be configurable
2022-07-11 12:14:19 +02:00
Matthias
ed03ef47ef
Merge branch 'develop' into pr/SurferAdmin/6916
2022-07-11 11:49:22 +02:00
Matthias
8bf0bf10c5
Merge branch 'develop' into pr/SmartManoj/6859
2022-06-23 20:43:35 +02:00
Surfer
cc4e5b26f0
Merge branch 'freqtrade:develop' into develop
2022-06-21 14:16:03 -04:00
Matthias
0d967f93ba
Improve performance of some RPC calls
...
These don't need orders to be loaded. As a side-effect, this will
also reduce the strain on the database.
2022-06-19 16:13:04 +02:00
Matthias
0809f9aef6
Add offset to trade response
2022-06-18 19:27:05 +02:00
Matthias
0168343b76
Add trading-volume to api schema
2022-06-18 16:53:25 +02:00
Matthias
40c9abc7e1
Add trading volume to /profit output
2022-06-18 11:40:32 +02:00
Matthias
6a15d36d14
Add Drawdown and profit_factor to /profit
...
#6816
2022-06-18 11:14:28 +02:00
Matthias
d77ce468ea
Add "dry" hint to buy/sell messages
...
part of #6962
2022-06-18 09:40:53 +02:00
Matthias
03815cb81b
Use fstrings in telegram messaging
2022-06-18 09:23:16 +02:00
Matthias
d62273294d
Update /help for /fx to align with actual command name
...
closes #6985
2022-06-18 09:10:33 +02:00
Surfer
36f7315481
Merge branch 'freqtrade:develop' into develop
2022-06-16 08:19:57 -04:00
Matthias
f9e2e87346
Improve some formatting and typehints
2022-06-15 20:03:36 +02:00
Matthias
3c62df6b86
Ensure the same timestamp is used for backtest and signal export
2022-06-15 06:53:52 +02:00
Matthias
2e1ed132f7
Merge pull request #6964 from freqtrade/rpc_rel_daily
...
Telegram / api daily relative profit
2022-06-11 19:31:32 +02:00
Matthias
9c65fad73f
Merge Pull request #6919 into develop
2022-06-11 17:49:32 +02:00
Matthias
4b70e03daa
Add some rudimentary tsts for discord webhook integration
2022-06-11 17:49:23 +02:00
Matthias
fdfa94bcc3
make discord notifications fully configurable.
2022-06-11 17:43:46 +02:00
Matthias
f816c15e1e
Update discord message format
2022-06-11 16:48:28 +02:00
Matthias
3a06337601
Update API to provide new values.
2022-06-11 11:28:45 +02:00
Matthias
9ba11f7bcc
Update docs and tests for new daily command
2022-06-11 11:26:49 +02:00
Matthias
76827b31a9
Add relative profit to daily/weekly commands
2022-06-11 11:18:21 +02:00
Matthias
76f87377ba
Reduce decimals on FIAT daily column
2022-06-10 20:18:53 +02:00
Matthias
ad3c01736e
time aggregate to only query for data necessary
...
improves the query by not creating a full trade object.
2022-06-10 07:26:53 +02:00
Matthias
8fb743b91d
improve variable wording
2022-06-09 20:13:26 +02:00
Matthias
88f8cbe172
Update tests to reflect new naming
2022-06-09 19:38:18 +02:00
Matthias
a547001601
Reduce Telegram "unit" stats
2022-06-09 07:06:32 +02:00
Matthias
d4dd026310
Consolidate monthly stats to common method
2022-06-09 07:06:32 +02:00
Matthias
3cb15a2a54
Combine weekly and daily profit methods
2022-06-09 07:06:32 +02:00
Matthias
8369d5bedd
Include open orders in json responses
2022-06-05 22:12:27 +02:00
Matthias
c499bb051f
Allow empty unfilledtimeout for webserver mode
2022-06-05 19:41:17 +02:00
Anuj Shah
eb4adeab4d
fix flake8 issues
2022-06-02 11:19:29 +05:30
Anuj Shah
45c47bda60
refactor into discord rpc module
2022-06-01 21:14:48 +05:30
Surfer Admin
7fe8b7661d
Display the signal candle analyzed in telegram.
2022-05-31 15:46:43 -04:00
Matthias
f64f2b1ad8
Fix /stats Formatting issue in multi-message settings
2022-05-29 10:34:22 +02:00
Matthias
26d394ca74
Add liquidation Price to api response
2022-05-22 08:54:27 +02:00
மனோஜ்குமார் பழனிச்சாமி
2b61aa282a
Removed None in dict.get()
...
https://stackoverflow.com/a/12631641
Extra Changes: freqtrade\freqtradebot.py:70
freqtrade\plugins\pairlistmanager.py:31
2022-05-18 03:41:10 +05:30
Stefano Ariestasia
2cb8eecf18
add space
2022-05-16 07:43:36 +09:00
Stefano Ariestasia
e21f6a7787
missing newline
2022-05-16 07:28:40 +09:00
Matthias
ab91758c7e
Merge pull request #6790 from eSeR1805/profit_reporting
...
Report profit only on filled entries.
2022-05-08 17:25:42 +02:00
Matthias
4a7515e66a
Add test for 0.0 case
2022-05-08 16:04:06 +02:00
Matthias
45b328af2e
explicitly call cleanup when cleaning backtest
2022-05-08 08:11:39 +02:00
eSeR1805
bfc7898654
Report profit only on filled entries.
2022-05-07 21:56:22 +03:00
Matthias
995c48b642
Merge branch 'develop' into pairlocks_direction
2022-05-01 14:59:04 +02:00
Matthias
5c1ac3cf95
Fix caching bug with freqUI backtesting
2022-04-30 19:55:13 +02:00
Matthias
21df1b0db3
Use ORJSON for http responses
2022-04-29 07:17:31 +02:00
Matthias
ad7fbfab1b
Slightly improved styling
2022-04-27 13:27:33 +02:00
Matthias
b0a8bf3025
Show lock side
2022-04-24 14:33:24 +02:00
Matthias
f1f4846053
Merge branch 'develop' into pr/samgermain/6558
2022-04-23 09:16:28 +02:00
Matthias
ba92e09b7b
list-strategies should find recursively as well
2022-04-23 09:11:50 +02:00
Matthias
a4ec8984cd
Merge pull request #6685 from freqtrade/bt_load_history
...
Backtesting load history
2022-04-15 16:06:20 +02:00
Matthias
b1a6db8d29
Fix bad usage of base_currency
2022-04-13 19:24:21 +02:00
Matthias
f89b64c972
Improve test by having multistrat.meta file available
2022-04-13 07:09:26 +02:00
Matthias
4ac54a76af
Add strategy as mandatory argument
2022-04-13 06:47:39 +02:00
Matthias
85e7deb2cd
Add loading of historic backtest result
2022-04-11 20:04:47 +02:00
Matthias
d9039152ba
Add "get backtest historic results" endpoint
2022-04-11 19:44:47 +02:00
Matthias
baefda80d1
Enable flake8 E226 rule
2022-04-11 18:02:06 +02:00
Matthias
68fe7476c9
Update more terminology to forceexit
2022-04-10 15:56:29 +02:00
Matthias
95f69a8c3b
Remove some outdated TODO's
2022-04-10 09:53:33 +02:00
Matthias
2653d83fee
Merge branch 'develop' into pr/cyberjunky/6615
2022-04-10 09:24:53 +02:00
Matthias
282804463c
Add Documentation for /forceexit without parameter
2022-04-10 09:07:51 +02:00
Matthias
46c18dfce2
Merge pull request #6670 from freqtrade/store_asset
...
store base and quote currency separately in the database
2022-04-10 08:42:28 +02:00
Matthias
139b65835c
Only show long/short signals on telegram for non-spot markets
2022-04-09 17:09:17 +02:00
Matthias
8e98a2ff9f
api - provide assset_currency via API
2022-04-09 16:42:18 +02:00
Matthias
ebcb530d4f
Log if no stake-amount is left for trade
2022-04-09 09:58:03 +02:00
Matthias
ddfc68d533
Add test case for interactive telegram exit
2022-04-09 09:41:01 +02:00
Matthias
9cd92ed48c
Fix forceexit to work
2022-04-09 09:24:20 +02:00
Matthias
40eb3f274f
Fix merge mistake
2022-04-09 08:36:22 +02:00
Matthias
392967a26f
Update formatting
2022-04-08 18:07:01 +02:00
Matthias
967bbe99bb
Merge branch 'develop' into pr/cyberjunky/6615
2022-04-08 18:05:27 +02:00
Matthias
aee0cfd17a
forcebuy_enable -> force_entry_enable
2022-04-08 13:39:41 +02:00
Matthias
075fc6d35e
Apply suggestions from code review
2022-04-08 11:45:03 +02:00
மனோஜ்குமார் பழனிச்சாமி
0e9b348868
Update api_v1.py
2022-04-08 11:08:11 +05:30
மனோஜ்குமார் பழனிச்சாமி
ca400b8195
Updated requested changes in PR #6653
2022-04-08 10:45:05 +05:30
மனோஜ்குமார் பழனிச்சாமி
f7020df097
Updating requested changes in PR #6653
2022-04-08 07:07:51 +05:30
மனோஜ்குமார் பழனிச்சாமி
9417bb01dc
Merge branch 'develop' into renaming-forceentry-forceexit
2022-04-08 00:01:51 +05:30
மனோஜ்குமார் பழனிச்சாமி
7bf3475fbd
Update fiat_convert.py
2022-04-07 10:28:55 +05:30
மனோஜ்குமார் பழனிச்சாமி
aa76191636
fixed tests
2022-04-06 07:19:00 +05:30
மனோஜ்குமார் பழனிச்சாமி
28f4a3b373
updated for PR #6653
2022-04-06 07:05:43 +05:30
மனோஜ்குமார் பழனிச்சாமி
8442fb915f
renamed
2022-04-05 16:01:53 +05:30
Matthias
0db5d9f7fa
Update telegram message formatting
2022-04-04 19:37:23 +02:00
Matthias
7d3116f9fb
webhookbuy -> webhookentry
2022-04-04 19:32:27 +02:00
Matthias
eff636ba53
Update RPC message types to ENTRY
2022-04-04 19:29:15 +02:00
Matthias
125dff1dad
Properly deprecate webhook settings (with transition)
2022-04-04 19:21:13 +02:00
Matthias
129a7c632c
Update method names
2022-04-04 19:14:21 +02:00
Matthias
8a9839fb6d
Update telegram notification settings
2022-04-04 19:10:44 +02:00
Matthias
0b88185c2c
Sell-fill -> exit_fill
2022-04-04 19:08:50 +02:00
Matthias
8b33d9cdb2
sell_cancel -> exit_cancel
2022-04-04 19:07:20 +02:00
Matthias
6a0110aa3c
Update webhook configuration
2022-04-04 19:05:36 +02:00
Matthias
6d9218cb34
sell_signal -> exit_signal
2022-04-04 17:11:11 +02:00
Matthias
cd146bfa8f
emergency_sell -> emergency_exit
2022-04-04 17:03:27 +02:00
Matthias
54ad130bb9
Update force_sell to force_exit
2022-04-04 16:59:27 +02:00
Matthias
69491c1430
Update more wording to "exit"
2022-04-03 19:39:13 +02:00
Ron Klinkien
dd61886341
Readded missing keyboard commands
...
Rename forcesell methods to forceexit
2022-04-03 12:29:29 +02:00
Matthias
2d2bea17e7
sell_order_status -> exit_order_status
2022-04-03 11:17:01 +02:00
Matthias
a27c837d18
Update sell_reason to exit_reason
2022-04-03 10:41:35 +02:00
Matthias
cd78792f48
Improve some telegram terminology
2022-04-03 10:40:13 +02:00
Ron Klinkien
936ada5699
Fixed syntax error
2022-04-03 09:58:55 +02:00
Matthias
157f8f8139
Update some more sell_reason occurances
2022-04-03 08:17:17 +02:00
Matthias
543aa74278
update sell_reason to exit_reason
2022-04-02 20:04:29 +02:00
Ron Klinkien
f89265e0fb
Merge branch 'develop' into cyber-forcesell-tg
2022-04-02 20:02:42 +02:00
topscoder
7db3c846b4
Fixes CoinGecko typos in fiat_convert.py
2022-04-01 20:52:16 +02:00
Ron Klinkien
f029702bd1
Fixed flake8 issues
2022-04-01 09:16:35 +02:00
Matthias
775305e9c4
Use correct candleconfig in plot endpoint
2022-04-01 08:57:58 +02:00
Ron Klinkien
3d8cfa7ea5
Several fixes
...
Code optimizations
2022-03-31 08:30:20 +02:00
Ron Klinkien
6c811b3de1
Made regex strings raw
...
Removed unwanted changes
2022-03-30 19:57:02 +02:00
Ron Klinkien
3ed7f3f2df
Display all trade info in buttons
...
First step to fix tests for changed forcesell code
2022-03-30 12:28:30 +02:00
Ron Klinkien
29d6725fb7
Allow forcesell to be a valid keyboard option
2022-03-29 19:41:49 +02:00
Ron Klinkien
46acc8352f
Add selection buttons for trades to forcesell cmd in telegram
2022-03-29 19:19:07 +02:00
Matthias
440967e483
Update some tests
2022-03-28 19:17:22 +02:00
Matthias
f70166270d
Update pricing to use entry/exit pricing
2022-03-28 07:07:46 +02:00
Matthias
bcf326a035
Initial steps to change bid/ask pricing to enter/exit
2022-03-27 18:03:49 +02:00
Matthias
0624817242
update unfilledtimeout settings to entry/exit
2022-03-26 11:55:11 +01:00
Matthias
5f71232d6f
Fix doc typo
2022-03-25 07:03:50 +01:00
Matthias
dcfa3e8648
Update SellType to ExitType
2022-03-25 06:55:37 +01:00
Matthias
8d111d357a
Update SellCheckTuple to new naming
2022-03-25 06:46:29 +01:00
Matthias
62e8c7b5b7
Rename parameter to avoid ambiguity
2022-03-25 06:39:57 +01:00
Matthias
46ca773c25
Simplify some rpc code
2022-03-24 19:58:53 +01:00
Matthias
b1e3ead88b
Merge branch 'develop' into feat/short
2022-03-22 20:28:38 +01:00
Matthias
8556e6a053
Automatically assign buy-tag to force-buys
...
closes #6544
2022-03-20 09:33:47 +01:00
Matthias
7868e50141
Merge branch 'develop' into feat/short
2022-03-18 08:18:17 +01:00
Matthias
c63b5fbbbf
Use last to get rates for /balance endpoints
2022-03-13 17:53:52 +01:00
Matthias
efc313b28b
Merge pull request #6512 from freqtrade/short_order_types
...
Short order types renamal
2022-03-12 09:32:16 +01:00
Matthias
cb9da78a27
Merge branch 'develop' into feat/short
2022-03-10 06:54:20 +01:00
Matthias
98755c1874
Fix wrong estimated output from /balance endpoints
2022-03-10 06:47:17 +01:00
Matthias
6e10439f90
Map usdt fiat to correct coingecko fiat
2022-03-09 17:35:41 +01:00
Matthias
e492bf3159
Update order_types to use entry/exit definition
2022-03-09 06:37:08 +01:00
Matthias
8943d42509
Update telegram notifications to properly detect shorts
2022-03-04 19:42:33 +01:00
Sam Germain
488da9b875
Merge branch 'develop' into feat/short
2022-03-03 13:51:52 -06:00
Matthias
5ab72ac082
chore: realign enums imports
2022-03-03 07:07:33 +01:00
Matthias
9bcc79e118
Use parsed TradingMode from config
2022-03-03 07:06:13 +01:00
Matthias
e9456cdf15
Update trade response to use a single Order object
2022-03-02 19:58:08 +01:00
Matthias
17c9c3caf3
Enable orders via API
2022-03-02 19:58:08 +01:00
Matthias
437b12fab7
Use trade.* props where possible
2022-02-27 17:16:38 +01:00
Matthias
536f54cfc6
is_short for forceentries
2022-02-27 15:44:23 +01:00
Matthias
bcfa73d492
Add "nr_of_successfull_entries"
2022-02-27 15:44:23 +01:00
Matthias
7883160ce0
Update to fstrings
2022-02-26 08:23:13 +01:00
Matthias
018c620057
Fix 0 Division error on exchanges without average
...
closes #6461
2022-02-26 08:19:45 +01:00
Matthias
3b1b66bee8
Prevent backtest starting when not in webserver mode
...
#6455
2022-02-25 07:40:49 +01:00
Matthias
d07a24a54f
Update tests for new wallet RPC structure
2022-02-24 20:05:56 +01:00
Matthias
a2b17882e6
Don't use separate position field in /currency endpoint
2022-02-24 20:05:56 +01:00
Matthias
e54e6a7295
Update wallets to also keep Positions
2022-02-24 20:05:56 +01:00
Matthias
8952829adc
Merge branch 'develop' into feat/short
2022-02-23 06:28:15 +01:00
Matthias
5a4f30d1bd
Don't specially handle empty results.
2022-02-22 20:07:41 +01:00
Matthias
d610b6305d
Improve /balance output by removing trailing zeros
2022-02-19 16:40:30 +01:00
Matthias
78a93b6052
noqa
2022-02-15 20:15:03 +01:00
Matthias
3787b747ae
Simplify api schema by not using union types
2022-02-15 20:07:02 +01:00
Matthias
d0adc4ee62
Merge pull request #6391 from lukasgor/lg/feat/add-buy-tag-to-forcebuy
...
feature: add buy tag to forcebuy
2022-02-11 19:37:46 +01:00
Matthias
c9cfc246f1
Sort /forcebuy pairs alphabetically, add cancel button
...
closes #6389
2022-02-11 19:37:35 +01:00
Matthias
0c6d92a7a6
Merge branch 'develop' into feat/short
2022-02-11 17:02:04 +01:00
lukasgor
6511b3bec2
fix: rename buy_tag to entry_tag
2022-02-11 15:31:15 +01:00
lukasgor
d563bfc3d0
feature: add buy tag to forcebuy
2022-02-11 13:38:33 +01:00
Matthias
be84a028c1
Avoid mixed types in the api for /stats
2022-02-10 07:03:19 +01:00
Matthias
af984bdc0d
Update comment regarting NaT replacement
2022-02-09 09:32:53 +01:00
Matthias
2e41d80a2c
Merge pull request #6340 from TheJoeSchr/frequi-datetime
...
freqUI: fix can't import backtest with missing datetime data
2022-02-09 07:21:30 +01:00
Matthias
45c03f1440
Docstrings are evaluated, while comments are not
2022-02-09 07:02:44 +01:00
Matthias
4e2f06fe9c
Simplify band-aid code
2022-02-09 06:48:26 +01:00
Matthias
6191288ff9
Add test for NaT problematic
2022-02-09 06:36:17 +01:00
Joe Schr
926b017981
Fix freqUI charts not displaying when dtype(datetime) column has NaT values
...
fix dataframe_to_dict() issues by replacing NaT empty string and
prepare for proper `.replace({NaT})` fix
2022-02-08 17:09:37 +01:00
Joe Schr
118ae8a3d0
Fix api_schemas/json_encoders by manually converting NaT values to empty Strings
...
makes import of datetime columns more robust by first checking
if value is null because strftime can't handle NaT values
use `isnull()` because it handles all NaN/None/NaT cases
2022-02-08 17:09:29 +01:00
Stefano Ariestasia
099a03f190
flake8
2022-02-07 01:52:59 +00:00
Stefano Ariestasia
6d91a5ecbd
Change "buy" and "sell" to "entry" and "exit"
2022-02-07 01:40:05 +00:00
Matthias
fe33b86308
Merge pull request #6360 from stash86/pos_adjust
...
Hide some lines for /status when a trade is closed
2022-02-06 17:08:37 +01:00
Matthias
da73e754b4
Explicit map coingecko symbol to ID for bnb and sol
...
closes #6361
2022-02-06 14:20:09 +01:00
Stefano Ariestasia
2a3ab1ef61
1 more line to be hidden
2022-02-06 07:08:27 +00:00