Commit Graph

63 Commits

Author SHA1 Message Date
Mark Veidemanis 158b452167
Fix how min and max are used in transactions 2022-02-24 22:26:16 +00:00
Mark Veidemanis f2dcb977b3
Move rates and margin functions into Money library 2022-02-22 20:10:47 +00:00
Mark Veidemanis 18011741c5
Make ES optional and properly calculate open trade volume 2022-02-22 19:21:29 +00:00
Mark Veidemanis 05993ac119
Convert amount to float before adding in total calculation 2022-02-21 10:02:20 +00:00
Mark Veidemanis 53f28fac40
Add recurring call for getting total profit 2022-02-18 15:19:04 +00:00
Mark Veidemanis 18ef7a0350
Run balance checks intermittently 2022-02-18 08:41:32 +00:00
Mark Veidemanis 62d3f1a953
Differentiate between trades+profit and profit in ES 2022-02-17 23:24:12 +00:00
Mark Veidemanis 6979b6c34a
Add a xtype parameter for future ES expansion 2022-02-17 23:01:11 +00:00
Mark Veidemanis df195d968c
Log more things into ES 2022-02-17 22:59:11 +00:00
Mark Veidemanis dfe02f557c
Disable TLS warning for ES 2022-02-17 22:10:31 +00:00
Mark Veidemanis dec4d5a422
Add certs folder to gitignore 2022-02-17 22:03:48 +00:00
Mark Veidemanis c6926388d9
Add provider to trade information 2022-02-17 12:18:05 +00:00
Mark Veidemanis 6eff2b76e7
Add commands to check only profit 2022-02-15 23:20:42 +00:00
Mark Veidemanis f116ed7cf3
Add commands to get various totals 2022-02-15 22:27:42 +00:00
Mark Veidemanis e15cec7afe
Write docstrings for Agora and Transactions classes 2022-02-15 21:50:34 +00:00
Mark Veidemanis a5bd7051df
Remove debugging code 2022-02-15 21:30:45 +00:00
Mark Veidemanis 939b43e4d3
Fix transaction handling for non-Revolut trades 2022-02-14 20:37:17 +00:00
Mark Veidemanis 9d9f8ff148
Add extra debugging in transactions 2022-02-14 06:52:31 +00:00
Mark Veidemanis 69dde55a21
Fix TX update logic in Transactions 2022-02-13 23:01:44 +00:00
Mark Veidemanis 31db2386fa
Remove debugging code 2022-02-09 18:46:07 +00:00
Mark Veidemanis fdc3f419cc
Implement accounting for open trade value as part of total remaining 2022-02-09 18:45:43 +00:00
Mark Veidemanis 4fe315cf91
Improve class passing and refactor 2022-02-07 13:24:09 +00:00
Mark Veidemanis 0675b015e5
Implement remaining command 2022-01-31 11:32:47 +00:00
Mark Veidemanis 04ef03f543
Add the notify module 2022-01-27 19:12:15 +00:00
Mark Veidemanis 35cf84998e
Add extra checks around APIs 2022-01-27 09:49:16 +00:00
Mark Veidemanis bb34baee31
Implement withdrawing to wallets 2022-01-25 18:39:35 +00:00
Mark Veidemanis ae4db73835
Implement detecting Revolut callback updates 2022-01-25 17:53:56 +00:00
Mark Veidemanis 0d85d19ab9
Ignore card and negative transactions 2022-01-25 13:01:39 +00:00
Mark Veidemanis df592785fb
Make everything work with BTC 2022-01-21 13:54:47 +00:00
Mark Veidemanis ad04c1ac3f
Format the output from releasing funds nicer 2022-01-20 14:48:14 +00:00
Mark Veidemanis 23a30ebb86
Customise messages and add extra error checking 2022-01-05 19:24:15 +00:00
Mark Veidemanis 8bb2c2b950
Uncomment release funds code 2022-01-01 21:00:37 +00:00
Mark Veidemanis faa71dc2ed
Add more debugging 2022-01-01 20:27:30 +00:00
Mark Veidemanis 4053dce048
Fix alt reference implementation 2022-01-01 20:22:53 +00:00
Mark Veidemanis bc68bcd74f
Use the right variable to check amount 2022-01-01 20:01:01 +00:00
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 1ee39989af
Post a nice message when releasing funds 2021-12-30 22:41:03 +00:00
Mark Veidemanis 88d3cfba30
Add debug code in Transactions 2021-12-30 14:15:07 +00:00
Mark Veidemanis 3bcebb9d61
Add hook to release funds 2021-12-29 19:21:18 +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 be46f79ef7
Archive old reference IDs 2021-12-29 15:03:47 +00:00
Mark Veidemanis bf4381caa6
Implement looking up references 2021-12-29 14:32:06 +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