Commit Graph

93 Commits

Author SHA1 Message Date
Mark Veidemanis 5ea1c26a84
Don't check non-exact values if we looked up without reference 2022-01-01 19:33:15 +00:00
Mark Veidemanis 19724eac77
Implement looking up trade by partial reference message or amount/currency 2022-01-01 19:20:20 +00:00
Mark Veidemanis 1227a16b72
Implement helper function to send messages on IRC 2022-01-01 16:39:36 +00:00
Mark Veidemanis 86271891a7
Fix and simplify dashboard hooks 2022-01-01 16:34:32 +00:00
Mark Veidemanis 05045c2a8e
Simplify dashboard 2021-12-31 18:21:56 +00:00
Mark Veidemanis b7dd850c61
Fix commands 2021-12-31 18:21:27 +00:00
Mark Veidemanis 520c0aa253
Implement help for commands 2021-12-31 00:51:43 +00:00
Mark Veidemanis 5649909385
Implement smarter ad management 2021-12-31 00:39:52 +00:00
Mark Veidemanis 21fce0e685
Reimplement messaging and implement bruteforce 2021-12-30 22:41:28 +00:00
Mark Veidemanis 1ee39989af
Post a nice message when releasing funds 2021-12-30 22:41:03 +00:00
Mark Veidemanis d060120c9b
Implement nuke command to remove all ads 2021-12-30 14:15:34 +00:00
Mark Veidemanis 80f0d4a5fd
Implement recursively getting ads 2021-12-30 14:15:24 +00:00
Mark Veidemanis 88d3cfba30
Add debug code in Transactions 2021-12-30 14:15:07 +00:00
Mark Veidemanis 44d997ea20
Add release funds command 2021-12-29 19:21:27 +00:00
Mark Veidemanis 3bcebb9d61
Add hook to release funds 2021-12-29 19:21:18 +00:00
Mark Veidemanis bdd7921bc0
Implement releasing funds 2021-12-29 19:21:05 +00:00
Mark Veidemanis d1252a1d42
Fix Transactions error messages 2021-12-29 18:52:27 +00:00
Mark Veidemanis 712a144467
Fix race conditions in cleanup 2021-12-29 18:40:44 +00:00
Mark Veidemanis 6418c5ecca
Add some comments to Transactions 2021-12-29 15:32:38 +00:00
Mark Veidemanis 4ff6875638
Allow using TX or reference for payment reference 2021-12-29 15:26:23 +00:00
Mark Veidemanis 23372bd491
Fix log message 2021-12-29 15:05:21 +00:00
Mark Veidemanis c7f4230a91
Fix getting new messages 2021-12-29 15:04:17 +00:00
Mark Veidemanis be46f79ef7
Archive old reference IDs 2021-12-29 15:03:47 +00:00
Mark Veidemanis b1fa6182ef
Fix some commands 2021-12-29 14:49:29 +00:00
Mark Veidemanis b160ac10e3
Use reference instead of transaction ID 2021-12-29 14:41:05 +00:00
Mark Veidemanis bf4381caa6
Implement looking up references 2021-12-29 14:32:06 +00:00
Mark Veidemanis 64bf5a77ee
Handle dashbord smarter and poll messages 2021-12-29 14:25:07 +00:00
Mark Veidemanis d5c272d3f9
Add some docstrings 2021-12-29 00:04:24 +00:00
Mark Veidemanis 82b70991a4
Implement the min/max acceptable margin checks 2021-12-28 23:58:00 +00:00
Mark Veidemanis 6743bd5106
Add commands to manage references 2021-12-28 23:57:25 +00:00
Mark Veidemanis 70682d1a9c
Add function to get acceptable margins 2021-12-28 23:56:32 +00:00
Mark Veidemanis cd6e19a38a
Fix incoming transaction matching 2021-12-28 17:47:07 +00:00
Mark Veidemanis f0b31ac17d
Implement more transaction handling 2021-12-28 15:29:15 +00:00
Mark Veidemanis 906048a797
Add message command 2021-12-28 15:28:56 +00:00
Mark Veidemanis 1699dc5593
Pass through Transactions to Agora 2021-12-28 15:28:45 +00:00
Mark Veidemanis 7fd784b83b
Hook in Transactions to incoming trades 2021-12-28 15:28:28 +00:00
Mark Veidemanis 535f890554
Add error handling in commands 2021-12-28 14:10:05 +00:00
Mark Veidemanis 3340b6d4da
Additional error handling 2021-12-28 14:09:33 +00:00
Mark Veidemanis f28e42c42f
Add release URLs and squish bug 2021-12-28 13:42:31 +00:00
Mark Veidemanis 0223b2ea7a
Add release_url command 2021-12-28 13:41:48 +00:00
Mark Veidemanis 266a294e73
Remove fields from transactions 2021-12-28 13:41:36 +00:00
Mark Veidemanis f296c33d1c
Amend shebang 2021-12-28 12:52:19 +00:00
Mark Veidemanis 15096be553
Implement class-based IRC commands 2021-12-28 12:50:19 +00:00
Mark Veidemanis e2099b1c82
Better error handling in total command 2021-12-28 11:57:18 +00:00
Mark Veidemanis 9991813209
Post message to IRC if there are no trades/messages 2021-12-28 11:31:15 +00:00
Mark Veidemanis 2f274390a8
Implement getting total USD value of Revolut account 2021-12-28 11:26:51 +00:00
Mark Veidemanis 45abcfc7dc
Post new trades and messages to the channel 2021-12-28 01:00:02 +00:00
Mark Veidemanis 3de4f16622
Format return from creating ad 2021-12-27 22:09:35 +00:00
Mark Veidemanis aa8041e190
Add prefix for automatic trade notifications 2021-12-27 22:00:02 +00:00
Mark Veidemanis 5c75dfeeee
Minor tweaks to Redis config and comments 2021-12-27 21:46:53 +00:00