Commit Graph

426 Commits

Author SHA1 Message Date
Mark Veidemanis 79caec1680
Address syntax issues and convert release_trade to async 2022-07-21 13:52:33 +01:00
Mark Veidemanis fe1ff870e2
Update pre-commit hooks to latest versions 2022-07-21 13:52:32 +01:00
Mark Veidemanis 67ed68ac5e
Make commands async and improve error handling 2022-07-21 13:52:30 +01:00
Mark Veidemanis 6aec0c1078
Don't send invalid payment information to customer 2022-07-21 13:52:28 +01:00
Mark Veidemanis bba7f90dd2
Remove reference to Fidor 2022-07-21 13:52:26 +01:00
Mark Veidemanis 4667272f76
Make release funds flow async 2022-07-21 13:52:24 +01:00
Mark Veidemanis f53df32eab
Remove Fidor 2022-07-21 13:52:23 +01:00
Mark Veidemanis 50213a1ac2
Fix all tests 2022-07-21 13:52:21 +01:00
Mark Veidemanis 3b58d178a4
Fix call to send reference 2022-07-21 13:52:19 +01:00
Mark Veidemanis d95a1ae21f
Fix calls to money 2022-07-21 13:52:17 +01:00
Mark Veidemanis 20b36a7c67
Improve cleanup message 2022-07-21 13:52:16 +01:00
Mark Veidemanis 06af9449fd
Fix LBTC API call for sending messages 2022-07-21 13:52:14 +01:00
Mark Veidemanis da65d6168b
Replace Elasticsearch with OpenSearch in requirements 2022-07-21 13:52:12 +01:00
Mark Veidemanis e105608367
Make ads and pubads async 2022-07-21 13:52:10 +01:00
Mark Veidemanis 5b2e4e5bd0
Move map provider function to upper level class 2022-07-21 13:52:09 +01:00
Mark Veidemanis e86664551d
Define ES for LBTC 2022-07-21 13:52:07 +01:00
Mark Veidemanis 1a29423cb7
Fix calls to API in releasing trade 2022-07-21 13:52:05 +01:00
Mark Veidemanis c516bb9ca9
Switch to OpenSearch 2022-07-21 13:52:03 +01:00
Mark Veidemanis 3973413f51
Fix call to ES now that we use OpenSearch 2022-07-21 13:52:02 +01:00
Mark Veidemanis 6121ddb996
Improve format of message sent on cleanup 2022-07-21 13:52:00 +01:00
Mark Veidemanis c8e9368247
Post IRC message on cleanup 2022-07-21 13:51:58 +01:00
Mark Veidemanis 74e108603f
Additional checks on response in enum_ads 2022-07-21 13:51:56 +01:00
Mark Veidemanis b2b7b3b923
Fix LBTC POST message signing 2022-07-21 13:51:55 +01:00
Mark Veidemanis 644444c02f
Add more debug calls in Local library 2022-07-21 13:51:53 +01:00
Mark Veidemanis 294e6b0e77
Don't require BTC balance argument for topup notification 2022-07-21 13:51:51 +01:00
Mark Veidemanis 820d2b806f
Send NTFY when we cannot withdraw in LBTC 2022-07-21 13:51:49 +01:00
Mark Veidemanis 1c10bd1c5f
Send NTFY when we cannot withdraw 2022-07-21 13:51:48 +01:00
Mark Veidemanis 4089318343
Don't print a warning until the account is unusable 2022-07-21 13:51:45 +01:00
Mark Veidemanis 648cd642c1
Remove old TODO 2022-07-21 13:51:42 +01:00
Mark Veidemanis ddbbbc2bbf
Fix calls to post_message in Markets 2022-07-21 13:51:40 +01:00
Mark Veidemanis e4c4f1b41f
Implement proper cleanup mechanism 2022-07-21 13:51:37 +01:00
Mark Veidemanis b41f2b8f7f
Simplify cast for writing to ES 2022-07-21 13:51:34 +01:00
Mark Veidemanis df5ea51226
Pass platform to open trades USD parse dash 2022-07-21 13:51:32 +01:00
Mark Veidemanis 086128396a
Re-fix case in date parsing 2022-07-21 13:51:29 +01:00
Mark Veidemanis 5d75545130
Fix case in strptime string 2022-07-21 13:51:26 +01:00
Mark Veidemanis 6f5fc86c8a
Simplify date handling 2022-07-21 13:51:24 +01:00
Mark Veidemanis bf481ebcee
Fix LBTC message handling 2022-07-21 13:51:21 +01:00
Mark Veidemanis ac7a76a1de
Fix date handling 2022-07-21 13:51:19 +01:00
Mark Veidemanis be3b97ae42
Re-add write_to_es function 2022-07-21 13:51:16 +01:00
Mark Veidemanis c31175fea0
Neaten up various money calls 2022-07-21 13:51:13 +01:00
Mark Veidemanis 1040579d37
Cleanup old libraries 2022-07-21 13:51:11 +01:00
Mark Veidemanis 38caba7d2b
Move stuff in silly places 2022-07-21 13:51:08 +01:00
Mark Veidemanis 22520c8224
Move reference handling code to DB 2022-07-21 13:51:05 +01:00
Mark Veidemanis 6504c440e0
Move common platform code into a Local library 2022-07-21 13:51:03 +01:00
Mark Veidemanis 3a21f61559
Remove redundant code 2022-07-21 13:51:00 +01:00
Mark Veidemanis 1c84277af1
Make cheat system async 2022-07-21 13:50:58 +01:00
Mark Veidemanis 2bf05eafa7
Fix dashboard stuff 2022-07-21 13:50:55 +01:00
Mark Veidemanis f8521eced3
Port trades command to async 2022-07-21 13:50:52 +01:00
Mark Veidemanis d3b4d3ea21
Do not clean up other platforms' trades 2022-07-21 13:50:50 +01:00
Mark Veidemanis 6bf3daee4c
Port some commands to async 2022-07-21 13:50:47 +01:00