Commit Graph

72 Commits

Author SHA1 Message Date
Mark Veidemanis 6b599902c0
Don't use the asset name in references 2022-07-21 13:45:20 +01:00
Mark Veidemanis f2c9725fcb
Implement propagating account data to ads 2022-07-21 13:45:14 +01:00
Mark Veidemanis 75b005485f
Remove some debugging code from Transactions and TrueLayer 2022-07-21 13:45:01 +01:00
Mark Veidemanis 539d6f1fbb
Use the Python logger instead of the Twisted one 2022-07-21 13:44:50 +01:00
Mark Veidemanis 50c71703fd
Move IRC, commands and notify classes into a UX class 2022-07-21 13:44:43 +01:00
Mark Veidemanis 2a8c56ead5
Remove references to Revolut in Transactions 2022-07-21 13:44:39 +01:00
Mark Veidemanis 4bcd2ddeff
Fix indentation while setting ES endpoint in Transactions 2022-07-21 13:44:15 +01:00
Mark Veidemanis f1cb463682
Fix errors and don't print ES logging 2022-07-21 13:44:13 +01:00
Mark Veidemanis 3ff4d512a4
Store cheat output in ES 2022-07-21 13:44:13 +01:00
Mark Veidemanis 7599911279
Fix how min and max are used in transactions 2022-07-21 13:44:06 +01:00
Mark Veidemanis 859c1d20ef
Move rates and margin functions into Money library 2022-07-21 13:44:01 +01:00
Mark Veidemanis 74d03e8180
Make ES optional and properly calculate open trade volume 2022-07-21 13:43:58 +01:00
Mark Veidemanis 3e769e8d33
Convert amount to float before adding in total calculation 2022-07-21 13:43:57 +01:00
Mark Veidemanis 9a3ddf609e
Add recurring call for getting total profit 2022-07-21 13:43:55 +01:00
Mark Veidemanis 3fdb728e04
Run balance checks intermittently 2022-07-21 13:43:54 +01:00
Mark Veidemanis 96168d8d6f
Differentiate between trades+profit and profit in ES 2022-07-21 13:43:52 +01:00
Mark Veidemanis bc0a60a601
Add a xtype parameter for future ES expansion 2022-07-21 13:43:51 +01:00
Mark Veidemanis 3111783f69
Log more things into ES 2022-07-21 13:43:50 +01:00
Mark Veidemanis f4b75e4b5b
Disable TLS warning for ES 2022-07-21 13:43:49 +01:00
Mark Veidemanis ccfb4d65bd
Add certs folder to gitignore 2022-07-21 13:43:48 +01:00
Mark Veidemanis d9f55ce497
Add provider to trade information 2022-07-21 13:43:46 +01:00
Mark Veidemanis b88f49b6ae
Add commands to check only profit 2022-07-21 13:43:46 +01:00
Mark Veidemanis 1dbdb3acc7
Add commands to get various totals 2022-07-21 13:43:44 +01:00
Mark Veidemanis 5d5b818b9a
Write docstrings for Agora and Transactions classes 2022-07-21 13:43:41 +01:00
Mark Veidemanis 91f457c82d
Remove debugging code 2022-07-21 13:43:40 +01:00
Mark Veidemanis 5dcd33433d
Fix transaction handling for non-Revolut trades 2022-07-21 13:43:36 +01:00
Mark Veidemanis e91916b18b
Add extra debugging in transactions 2022-07-21 13:43:35 +01:00
Mark Veidemanis d000f75ca2
Fix TX update logic in Transactions 2022-07-21 13:43:34 +01:00
Mark Veidemanis 182e2ae8ba
Remove debugging code 2022-07-21 13:43:26 +01:00
Mark Veidemanis 0b9cd93369
Implement accounting for open trade value as part of total remaining 2022-07-21 13:43:25 +01:00
Mark Veidemanis db859e803f
Improve class passing and refactor 2022-07-21 13:43:20 +01:00
Mark Veidemanis cdc80b6896
Implement remaining command 2022-07-21 13:43:11 +01:00
Mark Veidemanis 365fc71f64
Add the notify module 2022-07-21 13:43:05 +01:00
Mark Veidemanis b60ae03699
Add extra checks around APIs 2022-07-21 13:42:59 +01:00
Mark Veidemanis 7b5290a1e0
Implement withdrawing to wallets 2022-07-21 13:42:55 +01:00
Mark Veidemanis f54f433265
Implement detecting Revolut callback updates 2022-07-21 13:42:53 +01:00
Mark Veidemanis 77033c3f09
Ignore card and negative transactions 2022-07-21 13:42:51 +01:00
Mark Veidemanis 3632eea5a6
Make everything work with BTC 2022-07-21 13:42:44 +01:00
Mark Veidemanis 3f88ab3727
Format the output from releasing funds nicer 2022-07-21 13:42:40 +01:00
Mark Veidemanis f6da15decd
Customise messages and add extra error checking 2022-07-21 13:42:25 +01:00
Mark Veidemanis 707f23f2e3
Uncomment release funds code 2022-07-21 13:42:24 +01: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