Commit Graph

112 Commits

Author SHA1 Message Date
Mark Veidemanis 7770a3844c
Make failing during validation or conversion configurable 2022-11-04 08:58:01 +00:00
Mark Veidemanis 74c46f2647
Watch for changes in HTML files too 2022-11-03 07:20:30 +00:00
Mark Veidemanis f90f388e87
Add ripsecrets to pre-commit hook 2022-11-03 07:20:30 +00:00
Mark Veidemanis 65f650f1ac
Check if hook exists 2022-11-03 15:59:27 +00:00
Mark Veidemanis d319769fe0
Finish porting data structures for positions 2022-11-02 19:09:50 +00:00
Mark Veidemanis 48858bf20b
Fix price parsing 2022-11-02 19:04:05 +00:00
Mark Veidemanis 1f75da40af
Set account ID in exchange library instead of the view 2022-11-02 18:28:31 +00:00
Mark Veidemanis 5cb7d08614
Convert API responses with Glom 2022-11-02 18:25:34 +00:00
Mark Veidemanis 396d838416
Change positions fields 2022-11-02 18:24:56 +00:00
Mark Veidemanis 8ee56b0e37
Begin implementing pydantic validation for OANDA 2022-10-31 08:58:08 +00:00
Mark Veidemanis c15ae379f5
Wrap API calls in helper and validate response 2022-10-30 19:11:07 +00:00
Mark Veidemanis f22fcfdaaa
Implement stub functions for OANDA 2022-10-30 11:21:48 +00:00
Mark Veidemanis f6fa9bdbb6
Begin implementing OANDA 2022-10-30 10:57:53 +00:00
Mark Veidemanis 49a3737a72
Implement helper for deleting all database objects 2022-10-30 10:57:41 +00:00
Mark Veidemanis 2a876a20ba
Swap modals with innerHTML 2022-10-29 14:24:09 +01:00
Mark Veidemanis 31a77e88ad
Remove some print statements 2022-10-29 14:05:48 +01:00
Mark Veidemanis 6902665ffb
Update tables when objects are changed 2022-10-29 14:05:01 +01:00
Mark Veidemanis c685b6d25f
Simplify DB object management with Django CRUD helpers 2022-10-29 12:43:13 +01:00
Mark Veidemanis 8f705e2f25
Add more links to home page 2022-10-28 20:52:46 +01:00
Mark Veidemanis 061c6f6ca7
Implement strategies and posting trades 2022-10-27 18:08:40 +01:00
Mark Veidemanis 7e4f3f52d1
Remove newline in settings 2022-10-27 18:08:01 +01:00
Mark Veidemanis 862de0ab5f
Add asset filter and registration variable to settings 2022-10-27 18:07:39 +01:00
Mark Veidemanis 98a2300ae1
Begin implementing proper trade management 2022-10-24 09:07:22 +01:00
Mark Veidemanis 30d516ebf9
Implement viewing open positions 2022-10-22 00:15:27 +01:00
Mark Veidemanis 572b839c2c
Implement viewing live and DB information from account 2022-10-21 23:57:32 +01:00
Mark Veidemanis 1bdd49ee6a
Begin implementing positions 2022-10-17 07:20:30 +01:00
Mark Veidemanis 5279217324
Begin implementing trade management 2022-10-18 07:22:22 +01:00
Mark Veidemanis e2a697dcc1
Fix CRUD for accounts and trades 2022-10-17 19:06:09 +01:00
Mark Veidemanis 2bafdf0910
Implement CRUD for accounts and trades 2022-10-17 18:56:16 +01:00
Mark Veidemanis 7779cb8d0e
Fix callback windows 2022-10-17 07:20:30 +01:00
Mark Veidemanis cfeb570bf8
Add trailing slash to hook list 2022-10-17 07:20:30 +01:00
Mark Veidemanis cdc1cb62b1
Add make target to create token 2022-10-17 07:20:30 +01:00
Mark Veidemanis 40ee4c03c4
Remove backslash in login screen 2022-10-14 07:20:30 +01:00
Mark Veidemanis 5a7332eb96
Add all model fields to callbacks 2022-10-16 14:37:49 +01:00
Mark Veidemanis 97d12b0fab
Make hooks/callbacks inherit type 2022-10-16 14:14:53 +01:00
Mark Veidemanis 3af63c5ef6
Add static token to settings 2022-10-16 13:36:17 +01:00
Mark Veidemanis 9139b4ffdd
Add callback migrations 2022-10-15 23:36:04 +01:00
Mark Veidemanis 6796421ba6
Fix logs in hooks 2022-10-15 23:34:55 +01:00
Mark Veidemanis a875ea0cbc
Fix import 2022-10-15 23:31:47 +01:00
Mark Veidemanis bc27748396
Parse Drakdoo response into model fields 2022-10-15 23:28:46 +01:00
Mark Veidemanis 20a4e21eaa
Validate hooks with serde 2022-10-15 23:24:03 +01:00
Mark Veidemanis a15ebaf82c
Search hooks by hook name instead of name 2022-10-15 23:13:41 +01:00
Mark Veidemanis 62ad699890
Fix syntax and print data when hook received 2022-10-15 23:11:01 +01:00
Mark Veidemanis a433a4f4b7
Bump hook when received 2022-10-15 23:10:18 +01:00
Mark Veidemanis 67efd01c15
Make hooks unique 2022-10-15 23:00:02 +01:00
Mark Veidemanis 8c906815d0
Recursively chown conf 2022-10-15 22:55:57 +01:00
Mark Veidemanis 9ee0f27aa0
Create static directory in Dockerfile 2022-10-15 22:49:33 +01:00
Mark Veidemanis 2fb671fce4
Make app static root persistent between containers 2022-10-15 22:47:42 +01:00
Mark Veidemanis cbd5ac9580
Change static directory 2022-10-15 22:41:41 +01:00
Mark Veidemanis 5995ded170
Include database file properly 2022-10-15 22:36:11 +01:00