Commit Graph

192 Commits

Author SHA1 Message Date
1bab2a729b
Fix SL polarity for losses 2023-01-05 23:58:13 +00:00
db870c39c6
Fix TP/SL calculation and make more tests for profit/loss 2023-01-05 23:37:50 +00:00
2dfaef324c
Add more tests for risk checking 2023-01-05 19:48:56 +00:00
483333bf28
Test checking maximum risk with market data 2023-01-05 19:46:18 +00:00
d3e2bc8648
Implement TP/SL price to percent conversion 2023-01-05 19:27:59 +00:00
a6f9e74ee1
Close all positions on demo account when exiting tests 2023-01-05 17:25:22 +00:00
b8b39ea8d3
Implement closing all positions 2023-01-05 17:25:06 +00:00
9dda0e8b4a
Write live open/close and list trades tests 2023-01-02 18:42:55 +00:00
72671aa87f
Refactor OANDA schemas and refactor existing ones to make use of more objects 2023-01-02 18:42:33 +00:00
9835219e51
Implement closing trades on OANDA 2023-01-02 18:42:03 +00:00
2fa61fb195
Print the response if validation fails 2023-01-02 18:41:49 +00:00
e0ea4c86fa
Implement check risk function 2023-01-01 21:52:51 +00:00
46aaff43c0
Begin writing live tests 2023-01-01 21:52:43 +00:00
b2361bda77
Add enabled checkbox to account list 2023-01-01 15:52:04 +00:00
b31a2d1464
Allow disabling accounts 2023-01-01 15:46:40 +00:00
a18c150fe2
Begin implementing get all open trades 2022-12-22 07:20:49 +00:00
b818e7e3f5
Write risk checking helpers and tests 2022-12-13 07:20:49 +00:00
c81cb62aca
Finish implementing risk models 2022-12-13 07:20:49 +00:00
4e24ceac72
Add risk model and views 2022-12-21 21:35:59 +00:00
52ddef4c8f
Simplify protection options and allow none 2022-12-20 23:20:07 +00:00
29125d5087
Reshuffle the menu to minimise confusion 2022-12-13 07:20:49 +00:00
3a7b5c3ffd
Bring Alpaca and OANDA implementation functions into alignment 2022-12-13 07:20:49 +00:00
a41a1e76a5
Refactor market into two files 2022-12-20 07:20:26 +00:00
b7c46ba1d3
Add more user feedback on rejected and dropped trades 2022-12-20 07:20:26 +00:00
a96c99b9e4
Remove dot in notifications title 2022-12-19 07:20:56 +00:00
8afe638f0d
Add Elasticsearch support 2022-12-13 07:20:49 +00:00
50820172b1
Send notification on new user creations 2022-12-18 17:49:42 +00:00
8de99c1bcd
Make variables passed to CRUD helpers consistent 2022-12-18 17:37:34 +00:00
246674b03e
Hide the cancel button and add title/subtitle to notification page 2022-12-18 17:27:40 +00:00
7ee698f457
Implement custom notification settings 2022-12-18 17:21:52 +00:00
4c463e88f2
Implement notifications 2022-12-18 16:55:09 +00:00
f4772a3c7d
Remove some comments from limits views 2022-12-18 16:37:27 +00:00
3a39181261
Implement viewing and altering trends 2022-12-18 15:10:28 +00:00
b882ba15d0
Write tests for crossfilter sub-functions 2022-12-12 19:53:32 +00:00
1793b5cc5d
Prevent betting against ourselves via inverted pairs 2022-12-12 19:53:20 +00:00
4218fdedbc
Fix running tests 2022-12-12 19:52:48 +00:00
d6ab0ffd0e
Add all models to admin site 2022-12-12 07:20:20 +00:00
06d8c9f4b2
Add tracker 2022-12-09 17:09:03 +00:00
d1c44cee92
Improve professionalism by removing color 2022-12-08 07:20:46 +00:00
cf4b8a0195
Lowercase trade in profit table 2022-12-08 07:20:46 +00:00
05f94e6e93
Rename trade action title 2022-12-08 07:20:46 +00:00
a18572ebda
Add unrealized PL to profit screen 2022-12-08 07:20:46 +00:00
103a15f0e3
Add account ID to trade page buttons 2022-12-08 07:20:46 +00:00
cd89b11611
Pass account ID to trade CRUD helper 2022-12-08 07:20:46 +00:00
633894ae75
Make account required for trade information 2022-12-08 07:20:46 +00:00
312ddb4dc1
Adjust titles for CRUD panels 2022-12-08 07:20:46 +00:00
0aef440229
Correctly check if no trend signals are defined 2022-12-08 07:20:46 +00:00
8840b04059
Use ObjectRead helper for all list and detail views 2022-12-08 07:20:46 +00:00
1e85e830b2
Fix positions CRUD 2022-12-08 07:20:07 +00:00
d396abca84
Use CRUD helper for position list 2022-12-08 07:20:07 +00:00