Commit Graph

201 Commits

Author SHA1 Message Date
Mark Veidemanis a18572ebda
Add unrealized PL to profit screen 2022-12-08 07:20:46 +00:00
Mark Veidemanis 103a15f0e3
Add account ID to trade page buttons 2022-12-08 07:20:46 +00:00
Mark Veidemanis cd89b11611
Pass account ID to trade CRUD helper 2022-12-08 07:20:46 +00:00
Mark Veidemanis 633894ae75
Make account required for trade information 2022-12-08 07:20:46 +00:00
Mark Veidemanis 312ddb4dc1
Adjust titles for CRUD panels 2022-12-08 07:20:46 +00:00
Mark Veidemanis 0aef440229
Correctly check if no trend signals are defined 2022-12-08 07:20:46 +00:00
Mark Veidemanis 8840b04059
Use ObjectRead helper for all list and detail views 2022-12-08 07:20:46 +00:00
Mark Veidemanis 1e85e830b2
Fix positions CRUD 2022-12-08 07:20:07 +00:00
Mark Veidemanis d396abca84
Use CRUD helper for position list 2022-12-08 07:20:07 +00:00
Mark Veidemanis aa8ee887d3
Replace numbers with question marks in signal name 2022-12-07 07:20:05 +00:00
Mark Veidemanis 575b6a240f
Handle errors in checking for open positions 2022-12-07 07:20:47 +00:00
Mark Veidemanis af69b886ba
Add debug statement in crossfilter 2022-12-07 07:20:47 +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 baed991eca
Compact grid after closing widget 2022-12-07 07:20:32 +00:00
Mark Veidemanis d59d571679
Show hook name in signal string method 2022-12-06 22:43:43 +00:00
Mark Veidemanis 3b8e5dbdd1
Fix hook test method 2022-12-06 20:12:24 +00:00
Mark Veidemanis 15e00112af
Truncate strategy description 2022-12-06 20:06:35 +00:00
Mark Veidemanis 43caab5bf7
Make widgets appear lower to prevent pushdown 2022-12-06 20:04:22 +00:00
Mark Veidemanis 62c37a7a45
Color signals 2022-12-06 20:00:41 +00:00
Mark Veidemanis 6a549f3fd7
Allow spaces in signal name 2022-12-06 19:59:10 +00:00
Mark Veidemanis 3b3faecdf1
Implement trend signals 2022-12-06 19:46:06 +00:00
Mark Veidemanis 242c9fbaed
Make a proper front page 2022-11-29 07:20:39 +00:00
Mark Veidemanis a39a5c3857
Implement profit view and fix auto refresh 2022-11-29 07:20:39 +00:00
Mark Veidemanis 2b13802009
Make more fields optional and fix crash 2022-11-29 07:20:39 +00:00
Mark Veidemanis b3bacde8df
Remove unnecessary fields from trade response 2022-12-02 07:20:37 +00:00
Mark Veidemanis 62476e5da3
Remap trade details schema to expand trade variable 2022-12-02 07:20:37 +00:00
Mark Veidemanis c5d289ce85
Raise an error if a position has both short and long sides 2022-12-02 07:20:37 +00:00
Mark Veidemanis 1ce6c3fafa
Implement closing positions 2022-12-02 07:20:37 +00:00
Mark Veidemanis 5aac60a7ee
Remove some useless buttons 2022-12-02 07:20:37 +00:00
Mark Veidemanis 077768975d
Get the right signal name from the callback and fix position close schema 2022-12-02 07:20:37 +00:00
Mark Veidemanis 848f69da5e
Exits are exits, not entries 2022-12-01 21:13:21 +00:00
Mark Veidemanis 66a18a6406
Implement closing positions and refuse to post rejected trades 2022-12-01 20:36:58 +00:00
Mark Veidemanis 5c2eeae043
Implement crossfilter to protect against stupidity 2022-12-01 20:36:32 +00:00
Mark Veidemanis c0c1ccde8b
Add schemas for more commands 2022-12-01 20:36:09 +00:00
Mark Veidemanis 682d141b8a
Begin implementing exit executor for strategies 2022-12-01 19:33:06 +00:00
Mark Veidemanis bdae8ab093
Make callbacks handle signals 2022-12-01 19:32:50 +00:00
Mark Veidemanis 4527a9d04b
Reformat migrations 2022-12-01 19:32:29 +00:00
Mark Veidemanis 21b9585192
Validate strategy entries and exits 2022-12-01 19:32:08 +00:00
Mark Veidemanis 851d021af2
Make signals configurable 2022-11-29 07:20:21 +00:00
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 4e1b574921
Fix position list validation 2022-11-29 07:20:39 +00:00
Mark Veidemanis 6321fb9089
Increase max requests 2022-10-18 07:22:22 +01:00
Mark Veidemanis 87c794e9ac
Bump UWSGI processes 2022-10-18 07:22:22 +01:00
Mark Veidemanis 8ce0066c38
Switch to UWSGI and improve Docker definitions 2022-10-18 07:22:22 +01:00
Mark Veidemanis d3694d1821
Describe all model fields 2022-11-28 20:42:07 +00:00
Mark Veidemanis 06865d0aa9
Make the debug toolbar show 2022-11-28 20:14:30 +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