Commit Graph

229 Commits

Author SHA1 Message Date
6d089f4354 Add venv to gitignore 2022-03-01 21:21:54 +00:00
b0d4f5098d Create proper authcode flow for TrueLayer 2022-03-01 20:39:22 +00:00
6e1bb5a582 Fix transactions tests 2022-02-28 20:22:11 +00:00
90da53ce99 Refactor initialisation and add docstrings to util module 2022-02-28 20:18:42 +00:00
e7283b304f Implement getting TrueLayer access tokens 2022-02-28 20:09:19 +00:00
d566b4da16 Begin implementing TrueLayer API 2022-02-28 20:03:21 +00:00
dcfc4510ad Begin implementing Nordigen API 2022-02-28 20:02:50 +00:00
833a1fdbe9 Begin implementing Fidor API 2022-02-28 20:02:02 +00:00
8eece59c47 Begin implementing Yapily API 2022-02-28 20:00:37 +00:00
fde0936faf Fix indentation while setting ES endpoint in Transactions 2022-02-28 19:59:18 +00:00
c09bad9cc8 Simplify and refactor initialisation code 2022-02-28 19:58:46 +00:00
f7603f5a13 Fix errors and don't print ES logging 2022-02-25 00:06:10 +00:00
6dd11bbfa5 Store cheat output in ES 2022-02-24 23:44:58 +00:00
8e81012bb3 Create boilerplate money tests 2022-02-24 22:29:09 +00:00
61253a5db3 Remove some debugging code from transactions tests 2022-02-24 22:28:41 +00:00
8f3faaab6d Move get_profit to money 2022-02-24 22:28:00 +00:00
3d3e9b0279 Fix reference to get_profit in commands 2022-02-24 22:27:50 +00:00
a08e6570ed Simplify Ctrl+C signal handling 2022-02-24 22:27:27 +00:00
ee93a91c04 Write various transaction test cases 2022-02-24 22:27:04 +00:00
158b452167 Fix how min and max are used in transactions 2022-02-24 22:26:16 +00:00
e4e88ac301 Begin transactions tests 2022-02-24 21:32:32 +00:00
f19fc1fb47 Re-enable withdrawing upon fund release 2022-02-22 20:16:36 +00:00
d8c3d32bf7 Move create_distribution_list to Markets library 2022-02-22 20:15:42 +00:00
d535852ce6 Move to_usd to Money library 2022-02-22 20:12:26 +00:00
f2dcb977b3 Move rates and margin functions into Money library 2022-02-22 20:10:47 +00:00
6e8903833c Move lookup rates into new Money library 2022-02-22 20:06:56 +00:00
f13cacc2b9 Fix references to last_online_recent in Agora tests 2022-02-22 19:54:42 +00:00
b3c3e7a96c Move some functions to a util class from Agora 2022-02-22 19:53:22 +00:00
18011741c5 Make ES optional and properly calculate open trade volume 2022-02-22 19:21:29 +00:00
05993ac119 Convert amount to float before adding in total calculation 2022-02-21 10:02:20 +00:00
d1f43f0efc Add check in Agora for validating ad response 2022-02-21 10:01:38 +00:00
53f28fac40 Add recurring call for getting total profit 2022-02-18 15:19:04 +00:00
18ef7a0350 Run balance checks intermittently 2022-02-18 08:41:32 +00:00
4f24417417 Handle trying to stop the bot when threads are running 2022-02-18 08:41:17 +00:00
62d3f1a953 Differentiate between trades+profit and profit in ES 2022-02-17 23:24:12 +00:00
6979b6c34a Add a xtype parameter for future ES expansion 2022-02-17 23:01:11 +00:00
df195d968c Log more things into ES 2022-02-17 22:59:11 +00:00
dfe02f557c Disable TLS warning for ES 2022-02-17 22:10:31 +00:00
dec4d5a422 Add certs folder to gitignore 2022-02-17 22:03:48 +00:00
997aba16c1 Handle another kind of exception 2022-02-17 15:15:15 +00:00
c6926388d9 Add provider to trade information 2022-02-17 12:18:05 +00:00
6eff2b76e7 Add commands to check only profit 2022-02-15 23:20:42 +00:00
17ec43eba0 Disable automatic withdrawals 2022-02-15 22:28:14 +00:00
f116ed7cf3 Add commands to get various totals 2022-02-15 22:27:42 +00:00
6872e0d164 Add code formatting checks in runtest.sh 2022-02-15 22:27:15 +00:00
63f4df3749 Add script to run tests 2022-02-15 22:25:57 +00:00
e15cec7afe Write docstrings for Agora and Transactions classes 2022-02-15 21:50:34 +00:00
a5bd7051df Remove debugging code 2022-02-15 21:30:45 +00:00
6e660d7544 Fix Agora tests 2022-02-15 21:30:16 +00:00
2740c1d9f9 Fix rounding bug in cheat 2022-02-15 13:56:42 +00:00