Commit Graph

68 Commits

Author SHA1 Message Date
Mark Veidemanis c6dd0ff286
Remove new ID field 2023-02-24 07:20:31 +00:00
Mark Veidemanis 86ace02de8
Attempt to fix migrations 2023-02-24 07:20:31 +00:00
Mark Veidemanis fb5521c9f7
Migrate user id to UUID 2023-02-24 07:20:31 +00:00
Mark Veidemanis 1dbb3fcf79
Add more hooks to active management 2023-02-17 07:20:15 +00:00
Mark Veidemanis dd3b3521d9
Move more checks from market into checks library 2023-02-17 07:20:28 +00:00
Mark Veidemanis 3854bdcc7d
Add signals trading enabled 2023-02-15 20:02:38 +00:00
Mark Veidemanis b4afa32a6e
Move order settings to OrderSettings 2023-02-15 18:41:08 +00:00
Mark Veidemanis 69cf8dcc10
Add order settings to strategy 2023-02-15 18:35:46 +00:00
Mark Veidemanis 660aca44db
Begin adding order settings 2023-02-15 18:33:38 +00:00
Mark Veidemanis 1974b19157
Move risk model to strategy 2023-02-15 18:15:36 +00:00
Mark Veidemanis 6ff5f718ba
Implement asset rules as Asset Group children objects 2023-02-13 20:45:23 +00:00
Mark Veidemanis dcfb963be6
Remove asset restrictions and make asset groups smarter 2023-02-13 07:20:40 +00:00
Mark Veidemanis 287facbab2
Allow changing the asset filter list 2023-02-11 18:46:26 +00:00
Mark Veidemanis 313c7f79d0
Write tests for asset filter 2023-02-11 18:22:49 +00:00
Mark Veidemanis ce0b75ae2d
Make account on AssetGroup optional 2023-02-11 18:18:07 +00:00
Mark Veidemanis bdf8f04210
Re-add property fields 2023-02-11 18:07:05 +00:00
Mark Veidemanis 7afdd39af7
Fix adding asset restrictions 2023-02-11 17:45:22 +00:00
Mark Veidemanis 33d8e26c9b
Use cachalot to invalidate caches 2023-02-11 17:22:25 +00:00
Mark Veidemanis 010aba7f81
Implement storing asset restriction callbacks 2023-02-10 23:26:30 +00:00
Mark Veidemanis 1d01368570
Add webhook ID to asset restriction model 2023-02-10 21:13:12 +00:00
Mark Veidemanis f81d632df3
Add asset groups and restrictions 2023-02-10 14:33:17 +00:00
Mark Veidemanis 72055181bc
Implement CRUD for asset groups 2023-02-10 07:20:19 +00:00
Mark Veidemanis e55f903f42
Continue implementing live risk checks 2023-01-11 19:46:47 +00:00
Mark Veidemanis b31a2d1464
Allow disabling accounts 2023-01-01 15:46:40 +00:00
Mark Veidemanis c81cb62aca
Finish implementing risk models 2022-12-13 07:20:49 +00:00
Mark Veidemanis 4e24ceac72
Add risk model and views 2022-12-21 21:35:59 +00:00
Mark Veidemanis 7ee698f457
Implement custom notification settings 2022-12-18 17:21:52 +00:00
Mark Veidemanis 633894ae75
Make account required for trade information 2022-12-08 07:20:46 +00:00
Mark Veidemanis e388624f65
Move type field to signal 2022-12-07 07:20:11 +00:00
Mark Veidemanis 2ee5f7b937
Don't show all signals on strategy page 2022-12-01 07:20:35 +00:00
Mark Veidemanis d59d571679
Show hook name in signal string method 2022-12-06 22:43:43 +00:00
Mark Veidemanis 3b3faecdf1
Implement trend signals 2022-12-06 19:46:06 +00:00
Mark Veidemanis 66a18a6406
Implement closing positions and refuse to post rejected trades 2022-12-01 20:36:58 +00:00
Mark Veidemanis 851d021af2
Make signals configurable 2022-11-29 07:20:21 +00:00
Mark Veidemanis f240c4b381
Improve navigating trades and positions by cross-linking 2022-11-29 07:20:39 +00:00
Mark Veidemanis 974deeafaa
Add missing space 2022-11-25 22:15:27 +00:00
Mark Veidemanis 4973582bdf
Implement trading time limits 2022-11-25 19:28:21 +00:00
Mark Veidemanis 69a2b269ad
Link trading times to strategies 2022-11-25 18:05:02 +00:00
Mark Veidemanis baa8e4fead
Implement configuration of trading times 2022-11-25 18:01:34 +00:00
Mark Veidemanis d7e81dedb2
Implement trailing stop loss 2022-11-15 07:20:17 +00:00
Mark Veidemanis 5c68191e5b
Calculate price slippage more reliably and allow specifying order type and time in force 2022-11-15 07:20:17 +00:00
Mark Veidemanis e3d57c9aa8
Fix HTMX widgets and tweak display of some titles 2022-11-13 13:22:31 +00:00
Mark Veidemanis afb0504dca
Documented the market system properly, squashed some bugs 2022-11-11 07:20:00 +00:00
Mark Veidemanis c3d908341a
Refactor and ignore n/a exchange callbacks 2022-11-10 07:20:20 +00:00
Mark Veidemanis 8b52063473
Refactor execute_strategy into functions and send a price bound 2022-11-10 19:52:52 +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 e8a2f9b0fa
Update strategy defaults 2022-11-06 07:20:24 +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