Commit Graph

82 Commits

Author SHA1 Message Date
Mark Veidemanis d93eb8e936
Implement fetching account balances 2022-07-21 13:47:17 +01:00
Mark Veidemanis cd0a772e65
Fix references not being pulled 2022-07-21 13:47:12 +01:00
Mark Veidemanis 74bcf4a5ab
Notify on unsuccessful release 2022-07-21 13:47:08 +01:00
Mark Veidemanis d36bf2a048
Notify of irreconcilable trades 2022-07-21 13:46:57 +01:00
Mark Veidemanis 5588d016f2
Fix calls to CoinGecko 2022-07-21 13:46:54 +01:00
Mark Veidemanis 2f9fb31baf
Make Nordigen and TrueLayer compatible with Transactions 2022-07-21 13:46:45 +01:00
Mark Veidemanis a69a585c71
Don't message if trade release failed 2022-07-21 13:46:38 +01:00
Mark Veidemanis e3d3595efd
Add extra tests for transactions fields 2022-07-21 13:45:38 +01:00
Mark Veidemanis fbe9dc2325
Fix output from release trade and notify about useless accounts 2022-07-21 13:45:33 +01:00
Mark Veidemanis 7effd60954
Fix references and make releasing live 2022-07-21 13:45:27 +01:00
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