Commit Graph

63 Commits

Author SHA1 Message Date
1dbb3fcf79
Add more hooks to active management 2023-02-17 07:20:15 +00:00
9a5ed32be9
Add Lago 2023-02-15 07:20:53 +00:00
d3e2bc8648
Implement TP/SL price to percent conversion 2023-01-05 19:27:59 +00:00
72671aa87f
Refactor OANDA schemas and refactor existing ones to make use of more objects 2023-01-02 18:42:33 +00:00
a18c150fe2
Begin implementing get all open trades 2022-12-22 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
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
7ee698f457
Implement custom notification settings 2022-12-18 17:21:52 +00:00
4c463e88f2
Implement notifications 2022-12-18 16:55:09 +00:00
1793b5cc5d
Prevent betting against ourselves via inverted pairs 2022-12-12 19:53:20 +00:00
0aef440229
Correctly check if no trend signals are defined 2022-12-08 07:20:46 +00:00
575b6a240f
Handle errors in checking for open positions 2022-12-07 07:20:47 +00:00
af69b886ba
Add debug statement in crossfilter 2022-12-07 07:20:47 +00:00
3b3faecdf1
Implement trend signals 2022-12-06 19:46:06 +00:00
2b13802009
Make more fields optional and fix crash 2022-11-29 07:20:39 +00:00
62476e5da3
Remap trade details schema to expand trade variable 2022-12-02 07:20:37 +00:00
c5d289ce85
Raise an error if a position has both short and long sides 2022-12-02 07:20:37 +00:00
1ce6c3fafa
Implement closing positions 2022-12-02 07:20:37 +00:00
077768975d
Get the right signal name from the callback and fix position close schema 2022-12-02 07:20:37 +00:00
848f69da5e
Exits are exits, not entries 2022-12-01 21:13:21 +00:00
5c2eeae043
Implement crossfilter to protect against stupidity 2022-12-01 20:36:32 +00:00
c0c1ccde8b
Add schemas for more commands 2022-12-01 20:36:09 +00:00
682d141b8a
Begin implementing exit executor for strategies 2022-12-01 19:33:06 +00:00
f7242f4dd8
Fix off by one issue in OANDA 2022-11-29 07:20:39 +00:00
f240c4b381
Improve navigating trades and positions by cross-linking 2022-11-29 07:20:39 +00:00
4e1b574921
Fix position list validation 2022-11-29 07:20:39 +00:00
4973582bdf
Implement trading time limits 2022-11-25 19:28:21 +00:00
cb88cf33c2
Prevent rounding errors in value calculation 2022-11-22 07:20:37 +00:00
3f8fb66656
Fix price bound logic 2022-11-22 08:10:38 +00:00
46bba54cb7
Allow absent price 2022-11-21 07:20:12 +00:00
f6b5652268
Update Drakdoo API format 2022-11-21 07:20:12 +00:00
d7e81dedb2
Implement trailing stop loss 2022-11-15 07:20:17 +00:00
5c68191e5b
Calculate price slippage more reliably and allow specifying order type and time in force 2022-11-15 07:20:17 +00:00
c8f776e2a8
Set the type back to market 2022-11-15 07:20:17 +00:00
781de3c772
Convert everything to Decimal 2022-11-11 07:20:00 +00:00
9fc5d2f4d7
Initialise inverted variable in currency conversion 2022-11-11 07:20:00 +00:00
67404fc161
Don't convert between the same currency 2022-11-11 07:20:00 +00:00
3f855dfb59
Remove some debug statements 2022-11-11 07:20:00 +00:00
afb0504dca
Documented the market system properly, squashed some bugs 2022-11-11 07:20:00 +00:00
c3d908341a
Refactor and ignore n/a exchange callbacks 2022-11-10 07:20:20 +00:00
8b52063473
Refactor execute_strategy into functions and send a price bound 2022-11-10 19:52:52 +00:00
af9f874209
Improve posting trades to OANDA and make everything more robust 2022-11-10 19:27:46 +00:00
bf863f43b2
Check exchange name and remove redundant code, use IOC orders for OANDA 2022-11-10 07:20:28 +00:00
40f6330a13
Remove asset filter and begin implementing posting trades 2022-11-10 07:20:14 +00:00
6dd2997a74
Fix posting trades 2022-11-06 07:20:32 +00:00
60979652d9
Implement more validation and conversion 2022-11-04 07:20:14 +00:00
d34ac39d68
Pull object names from model definitions in CRUD views 2022-11-04 07:20:42 +00:00
b36791d56b
Simplify schema and error handling 2022-11-04 07:20:55 +00:00