Commit Graph

104 Commits

Author SHA1 Message Date
Mark Veidemanis f7242f4dd8
Fix off by one issue in OANDA 2022-11-29 07:20:39 +00:00
Mark Veidemanis f240c4b381
Improve navigating trades and positions by cross-linking 2022-11-29 07:20:39 +00:00
Mark Veidemanis 3a6c3cee1f
Fix login redirect 2022-11-28 20:05:48 +00:00
Mark Veidemanis 0fc7c5c712
Implement more advanced 2FA library 2022-11-28 19:45:22 +00:00
Mark Veidemanis 7a64759ceb
Implement permission checking in views and forms 2022-11-28 18:09:41 +00:00
Mark Veidemanis baa8e4fead
Implement configuration of trading times 2022-11-25 18:01:34 +00:00
Mark Veidemanis bcb3272064
Re-render invalid forms and fix space handling 2022-11-25 18:01:13 +00:00
Mark Veidemanis 46bba54cb7
Allow absent price 2022-11-21 07:20:12 +00:00
Mark Veidemanis f6b5652268
Update Drakdoo API format 2022-11-21 07:20:12 +00:00
Mark Veidemanis d2e0137c8d
Fix widgets in pages 2022-11-14 17:14:47 +00:00
Mark Veidemanis e3d57c9aa8
Fix HTMX widgets and tweak display of some titles 2022-11-13 13:22:31 +00:00
Mark Veidemanis c3d908341a
Refactor and ignore n/a exchange callbacks 2022-11-10 07:20:20 +00:00
Mark Veidemanis af9f874209
Improve posting trades to OANDA and make everything more robust 2022-11-10 19:27:46 +00:00
Mark Veidemanis 40f6330a13
Remove asset filter and begin implementing posting trades 2022-11-10 07:20:14 +00:00
Mark Veidemanis 60979652d9
Implement more validation and conversion 2022-11-04 07:20:14 +00:00
Mark Veidemanis d34ac39d68
Pull object names from model definitions in CRUD views 2022-11-04 07:20:42 +00:00
Mark Veidemanis b36791d56b
Simplify schema and error handling 2022-11-04 07:20:55 +00:00
Mark Veidemanis 65f650f1ac
Check if hook exists 2022-11-03 15:59:27 +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 396d838416
Change positions fields 2022-11-02 18:24:56 +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 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 061c6f6ca7
Implement strategies and posting trades 2022-10-27 18:08:40 +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 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 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 541894d927
Make callbacks go on a new page 2022-10-15 22:08:13 +01:00
Mark Veidemanis 361b7b96f0
Implement OTP and show received callbacks 2022-10-15 21:51:47 +01:00
Mark Veidemanis 8369f44bd4
Implement adding/editing hooks 2022-10-15 18:45:25 +01:00
Mark Veidemanis 7118af5d3c
Implement managing hooks 2022-10-12 07:22:22 +01:00
Mark Veidemanis 83808dfa52
Implement a hooks page 2022-10-14 07:20:30 +01:00
Mark Veidemanis 5c67a3a707
Begin implementing settings page 2022-10-12 07:22:22 +01:00
Mark Veidemanis 1bf938c33e
Make Stripe configurable 2022-10-13 18:20:30 +01:00
Mark Veidemanis e631811090
Upload template project 2022-10-13 15:26:43 +01:00