Commit Graph

202 Commits

Author SHA1 Message Date
6f9cf5cd01
Remove some debugging code from transactions tests 2022-07-21 13:44:11 +01:00
c17e311f7e
Move get_profit to money 2022-07-21 13:44:10 +01:00
6de9c4d564
Fix reference to get_profit in commands 2022-07-21 13:44:09 +01:00
ef5824892b
Simplify Ctrl+C signal handling 2022-07-21 13:44:08 +01:00
d261298bf7
Write various transaction test cases 2022-07-21 13:44:07 +01:00
7599911279
Fix how min and max are used in transactions 2022-07-21 13:44:06 +01:00
3fd656e1df
Begin transactions tests 2022-07-21 13:44:05 +01:00
2e83516b19
Re-enable withdrawing upon fund release 2022-07-21 13:44:04 +01:00
e8a6f55ed1
Move create_distribution_list to Markets library 2022-07-21 13:44:03 +01:00
b6a5a2f96d
Move to_usd to Money library 2022-07-21 13:44:02 +01:00
859c1d20ef
Move rates and margin functions into Money library 2022-07-21 13:44:01 +01:00
74522342f7
Move lookup rates into new Money library 2022-07-21 13:44:00 +01:00
c15492f161
Fix references to last_online_recent in Agora tests 2022-07-21 13:43:59 +01:00
896318982f
Move some functions to a util class from Agora 2022-07-21 13:43:59 +01:00
74d03e8180
Make ES optional and properly calculate open trade volume 2022-07-21 13:43:58 +01:00
3e769e8d33
Convert amount to float before adding in total calculation 2022-07-21 13:43:57 +01:00
fc103e5bfa
Add check in Agora for validating ad response 2022-07-21 13:43:56 +01:00
9a3ddf609e
Add recurring call for getting total profit 2022-07-21 13:43:55 +01:00
3fdb728e04
Run balance checks intermittently 2022-07-21 13:43:54 +01:00
aad966feff
Handle trying to stop the bot when threads are running 2022-07-21 13:43:53 +01:00
96168d8d6f
Differentiate between trades+profit and profit in ES 2022-07-21 13:43:52 +01:00
bc0a60a601
Add a xtype parameter for future ES expansion 2022-07-21 13:43:51 +01:00
3111783f69
Log more things into ES 2022-07-21 13:43:50 +01:00
f4b75e4b5b
Disable TLS warning for ES 2022-07-21 13:43:49 +01:00
ccfb4d65bd
Add certs folder to gitignore 2022-07-21 13:43:48 +01:00
a46f6ed3f3
Handle another kind of exception 2022-07-21 13:43:47 +01:00
d9f55ce497
Add provider to trade information 2022-07-21 13:43:46 +01:00
b88f49b6ae
Add commands to check only profit 2022-07-21 13:43:46 +01:00
9a50865480
Disable automatic withdrawals 2022-07-21 13:43:45 +01:00
1dbdb3acc7
Add commands to get various totals 2022-07-21 13:43:44 +01:00
2fa156c095
Add code formatting checks in runtest.sh 2022-07-21 13:43:43 +01:00
6e7df83427
Add script to run tests 2022-07-21 13:43:42 +01:00
5d5b818b9a
Write docstrings for Agora and Transactions classes 2022-07-21 13:43:41 +01:00
91f457c82d
Remove debugging code 2022-07-21 13:43:40 +01:00
8782aeaead
Fix Agora tests 2022-07-21 13:43:39 +01:00
5c07112ca7
Fix rounding bug in cheat 2022-07-21 13:43:38 +01:00
6aa765183e
Fix notification priorities 2022-07-21 13:43:37 +01:00
5dcd33433d
Fix transaction handling for non-Revolut trades 2022-07-21 13:43:36 +01:00
372e246659
Set priorities for trade and withdrawal notifications 2022-07-21 13:43:36 +01:00
e91916b18b
Add extra debugging in transactions 2022-07-21 13:43:35 +01:00
d000f75ca2
Fix TX update logic in Transactions 2022-07-21 13:43:34 +01:00
e88a6d462d
Remove all cheat output 2022-07-21 13:43:33 +01:00
3c1cbf1d94
Remove more cheat debugging and useless output 2022-07-21 13:43:32 +01:00
b3e71f84d1
Remove some debug output 2022-07-21 13:43:31 +01:00
cd10deaa71
Account trades for withdrawal calculation and fix cheat for multiple providers 2022-07-21 13:43:30 +01:00
aa4b623ae6
Fix pubads command after ads refactor 2022-07-21 13:43:29 +01:00
80916648e3
Fix the remainder of the tests 2022-07-21 13:43:28 +01:00
32a24b3e43
Create more Agora tests 2022-07-21 13:43:27 +01:00
182e2ae8ba
Remove debugging code 2022-07-21 13:43:26 +01:00
0b9cd93369
Implement accounting for open trade value as part of total remaining 2022-07-21 13:43:25 +01:00