Commit Graph

26 Commits

Author SHA1 Message Date
Mark Veidemanis 0aef440229
Correctly check if no trend signals are defined 2022-12-08 07:20:46 +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 3b3faecdf1
Implement trend signals 2022-12-06 19:46:06 +00:00
Mark Veidemanis 848f69da5e
Exits are exits, not entries 2022-12-01 21:13:21 +00:00
Mark Veidemanis 5c2eeae043
Implement crossfilter to protect against stupidity 2022-12-01 20:36:32 +00:00
Mark Veidemanis 682d141b8a
Begin implementing exit executor for strategies 2022-12-01 19:33:06 +00:00
Mark Veidemanis 4973582bdf
Implement trading time limits 2022-11-25 19:28:21 +00:00
Mark Veidemanis 3f8fb66656
Fix price bound logic 2022-11-22 08:10:38 +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 c8f776e2a8
Set the type back to market 2022-11-15 07:20:17 +00:00
Mark Veidemanis 781de3c772
Convert everything to Decimal 2022-11-11 07:20:00 +00:00
Mark Veidemanis 9fc5d2f4d7
Initialise inverted variable in currency conversion 2022-11-11 07:20:00 +00:00
Mark Veidemanis 67404fc161
Don't convert between the same currency 2022-11-11 07:20:00 +00:00
Mark Veidemanis 3f855dfb59
Remove some debug statements 2022-11-11 07:20:00 +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 bf863f43b2
Check exchange name and remove redundant code, use IOC orders for OANDA 2022-11-10 07:20:28 +00:00
Mark Veidemanis 40f6330a13
Remove asset filter and begin implementing posting trades 2022-11-10 07:20:14 +00:00
Mark Veidemanis 6dd2997a74
Fix posting trades 2022-11-06 07:20:32 +00:00
Mark Veidemanis d34ac39d68
Pull object names from model definitions in CRUD views 2022-11-04 07:20:42 +00:00
Mark Veidemanis c15ae379f5
Wrap API calls in helper and validate response 2022-10-30 19:11:07 +00:00
Mark Veidemanis 061c6f6ca7
Implement strategies and posting trades 2022-10-27 18:08:40 +01:00