Commit Graph

175 Commits

Author SHA1 Message Date
Mark Veidemanis 6eff2b76e7
Add commands to check only profit 2022-02-15 23:20:42 +00:00
Mark Veidemanis 17ec43eba0
Disable automatic withdrawals 2022-02-15 22:28:14 +00:00
Mark Veidemanis f116ed7cf3
Add commands to get various totals 2022-02-15 22:27:42 +00:00
Mark Veidemanis 6872e0d164
Add code formatting checks in runtest.sh 2022-02-15 22:27:15 +00:00
Mark Veidemanis 63f4df3749
Add script to run tests 2022-02-15 22:25:57 +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 6e660d7544
Fix Agora tests 2022-02-15 21:30:16 +00:00
Mark Veidemanis 2740c1d9f9
Fix rounding bug in cheat 2022-02-15 13:56:42 +00:00
Mark Veidemanis 83dda3ce61
Fix notification priorities 2022-02-14 20:42:24 +00:00
Mark Veidemanis 939b43e4d3
Fix transaction handling for non-Revolut trades 2022-02-14 20:37:17 +00:00
Mark Veidemanis aa10abc1c7
Set priorities for trade and withdrawal notifications 2022-02-14 20:35:48 +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 1f97bb36f9
Remove all cheat output 2022-02-13 22:21:49 +00:00
Mark Veidemanis a639b32727
Remove more cheat debugging and useless output 2022-02-13 22:20:09 +00:00
Mark Veidemanis a064e65068
Remove some debug output 2022-02-13 22:18:19 +00:00
Mark Veidemanis 42dbccf043
Account trades for withdrawal calculation and fix cheat for multiple providers 2022-02-13 09:56:22 +00:00
Mark Veidemanis 1f17183b1f
Fix pubads command after ads refactor 2022-02-12 15:12:52 +00:00
Mark Veidemanis affffe847f
Fix the remainder of the tests 2022-02-12 14:56:56 +00:00
Mark Veidemanis 56dc06a02f
Create more Agora tests 2022-02-11 10:45:23 +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 3417e6166a
Fix minor bugs with the cheat system 2022-02-09 14:57:11 +00:00
Mark Veidemanis 1a9a9980e2
Increase decimal places in rate 2022-02-09 14:19:31 +00:00
Mark Veidemanis dc1ffffbb4
Use GBP details when currency is GBP, without checking country 2022-02-09 14:07:55 +00:00
Mark Veidemanis 7d101cb02d
Finish implementation and tests for the cheat system 2022-02-09 09:01:18 +00:00
Mark Veidemanis a8fdc49281
Add some Agora tests 2022-02-07 17:42:11 +00:00
Mark Veidemanis 4fe315cf91
Improve class passing and refactor 2022-02-07 13:24:09 +00:00
Mark Veidemanis c5c3e951cf
Fix dist function 2022-02-02 14:40:17 +00:00
Mark Veidemanis 39254ef684
Implement OTP and fix getting public ads 2022-02-02 13:36:18 +00:00
Mark Veidemanis 0813709e61
Fix AgoraDesk PaymentMethodDetail specification 2022-02-02 12:53:23 +00:00
Mark Veidemanis 5a59e5e804
Fix redist command 2022-02-02 12:53:05 +00:00
Mark Veidemanis 8961fe2c42
Remove old command and add redist command 2022-02-01 20:50:08 +00:00
Mark Veidemanis a1a13478cb
Implement editing ads and distributing providers 2022-02-01 20:49:54 +00:00
Mark Veidemanis 22f842e2cb
Fix autoprice bugs and re-enable withdrawing on release 2022-01-31 13:45:02 +00:00
Mark Veidemanis 0675b015e5
Implement remaining command 2022-01-31 11:32:47 +00:00
Mark Veidemanis 348a27d3df
Fix bug in IRC with zero length messages 2022-01-30 09:03:47 +00:00
Mark Veidemanis ad87e88b69
Make ad listing getters understand providers 2022-01-29 09:02:27 +00:00
Mark Veidemanis 768ad84982
Implement changing the online_provider when creating an ad 2022-01-29 08:25:50 +00:00
Mark Veidemanis 21b5a839c1
Disable withdrawal on release and don't lowball people 2022-01-28 17:16:59 +00:00
Mark Veidemanis 45419d7556
Add boilerplate code for topup notifications 2022-01-28 17:16:47 +00:00
Mark Veidemanis 04ef03f543
Add the notify module 2022-01-27 19:12:15 +00:00
Mark Veidemanis d11745319d
Improve cheat system with asset turns 2022-01-27 16:52:32 +00:00
Mark Veidemanis 573163d4a1
Implement updating ads with exponential backoff 2022-01-27 13:45:08 +00:00
Mark Veidemanis b7acf5a84d
Improve Agora error handling 2022-01-27 12:08:26 +00:00
Mark Veidemanis 2afddf9814
Handle Agora library exceptions properly 2022-01-27 11:36:17 +00:00
Mark Veidemanis f871e8b93a
Don't make unnecessary calls to update ad equations 2022-01-27 11:16:28 +00:00
Mark Veidemanis 35cf84998e
Add extra checks around APIs 2022-01-27 09:49:16 +00:00
Mark Veidemanis 40686ac0b7
Fix another dash bug 2022-01-26 19:46:23 +00:00