Commit Graph

204 Commits

Author SHA1 Message Date
Mark Veidemanis 6dd11bbfa5
Store cheat output in ES 2022-02-24 23:44:58 +00:00
Mark Veidemanis 8e81012bb3
Create boilerplate money tests 2022-02-24 22:29:09 +00:00
Mark Veidemanis 61253a5db3
Remove some debugging code from transactions tests 2022-02-24 22:28:41 +00:00
Mark Veidemanis 8f3faaab6d
Move get_profit to money 2022-02-24 22:28:00 +00:00
Mark Veidemanis 3d3e9b0279
Fix reference to get_profit in commands 2022-02-24 22:27:50 +00:00
Mark Veidemanis a08e6570ed
Simplify Ctrl+C signal handling 2022-02-24 22:27:27 +00:00
Mark Veidemanis ee93a91c04
Write various transaction test cases 2022-02-24 22:27:04 +00:00
Mark Veidemanis 158b452167
Fix how min and max are used in transactions 2022-02-24 22:26:16 +00:00
Mark Veidemanis e4e88ac301
Begin transactions tests 2022-02-24 21:32:32 +00:00
Mark Veidemanis f19fc1fb47
Re-enable withdrawing upon fund release 2022-02-22 20:16:36 +00:00
Mark Veidemanis d8c3d32bf7
Move create_distribution_list to Markets library 2022-02-22 20:15:42 +00:00
Mark Veidemanis d535852ce6
Move to_usd to Money library 2022-02-22 20:12:26 +00:00
Mark Veidemanis f2dcb977b3
Move rates and margin functions into Money library 2022-02-22 20:10:47 +00:00
Mark Veidemanis 6e8903833c
Move lookup rates into new Money library 2022-02-22 20:06:56 +00:00
Mark Veidemanis f13cacc2b9
Fix references to last_online_recent in Agora tests 2022-02-22 19:54:42 +00:00
Mark Veidemanis b3c3e7a96c
Move some functions to a util class from Agora 2022-02-22 19:53:22 +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 d1f43f0efc
Add check in Agora for validating ad response 2022-02-21 10:01:38 +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 4f24417417
Handle trying to stop the bot when threads are running 2022-02-18 08:41:17 +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 997aba16c1
Handle another kind of exception 2022-02-17 15:15:15 +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 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