51 Commits (master)

Author SHA1 Message Date
Mark Veidemanis e10c6f5c46
Fix price extraction bug and remove debugging statements 9 months ago
Mark Veidemanis cd32dff779
Narrowing down 9 months ago
Mark Veidemanis a2f3170ab5
Even more... 9 months ago
Mark Veidemanis ed63085e10
Implement updating protection 1 year ago
Mark Veidemanis 9e22abe057
Implement adjusting positions and begin writing live tests for AMS 1 year ago
Mark Veidemanis 466b17400f
Finish implementing active management hooks 1 year ago
Mark Veidemanis d262f208b5
Write crossfilter, asset groups and max open trades implementation and tests 1 year ago
Mark Veidemanis 67117f0978
Write protection check tests 1 year ago
Mark Veidemanis 1dbb3fcf79
Add more hooks to active management 1 year ago
Mark Veidemanis dd3b3521d9
Move more checks from market into checks library 1 year ago
Mark Veidemanis f4ef280f80
Fix circular import 1 year ago
Mark Veidemanis 9a69120695
Remove leftover comments and debug statements 1 year ago
Mark Veidemanis e55f903f42
Continue implementing live risk checks 1 year ago
Mark Veidemanis 93be9e6ffe
Check the max risk relative to the account balance 1 year ago
Mark Veidemanis ae42d9b223
Fix profit/loss calculation 1 year ago
Mark Veidemanis 1bab2a729b
Fix SL polarity for losses 1 year ago
Mark Veidemanis db870c39c6
Fix TP/SL calculation and make more tests for profit/loss 1 year ago
Mark Veidemanis 483333bf28
Test checking maximum risk with market data 1 year ago
Mark Veidemanis d3e2bc8648
Implement TP/SL price to percent conversion 1 year ago
Mark Veidemanis b8b39ea8d3
Implement closing all positions 1 year ago
Mark Veidemanis 9835219e51
Implement closing trades on OANDA 1 year ago
Mark Veidemanis 2fa61fb195
Print the response if validation fails 1 year ago
Mark Veidemanis a18c150fe2
Begin implementing get all open trades 1 year ago
Mark Veidemanis 3a7b5c3ffd
Bring Alpaca and OANDA implementation functions into alignment 1 year ago
Mark Veidemanis 8afe638f0d
Add Elasticsearch support 1 year ago
Mark Veidemanis 633894ae75
Make account required for trade information 1 year ago
Mark Veidemanis 1ce6c3fafa
Implement closing positions 1 year ago
Mark Veidemanis 66a18a6406
Implement closing positions and refuse to post rejected trades 1 year ago
Mark Veidemanis f240c4b381
Improve navigating trades and positions by cross-linking 1 year ago
Mark Veidemanis 4e1b574921
Fix position list validation 1 year ago
Mark Veidemanis d7e81dedb2
Implement trailing stop loss 2 years ago
Mark Veidemanis 5c68191e5b
Calculate price slippage more reliably and allow specifying order type and time in force 2 years ago
Mark Veidemanis 2aac7d1bb5
Add controls boilerplate to main page 2 years ago
Mark Veidemanis 3f855dfb59
Remove some debug statements 2 years ago
Mark Veidemanis afb0504dca
Documented the market system properly, squashed some bugs 2 years ago
Mark Veidemanis 8b52063473
Refactor execute_strategy into functions and send a price bound 2 years ago
Mark Veidemanis af9f874209
Improve posting trades to OANDA and make everything more robust 2 years ago
Mark Veidemanis bf863f43b2
Check exchange name and remove redundant code, use IOC orders for OANDA 2 years ago
Mark Veidemanis 40f6330a13
Remove asset filter and begin implementing posting trades 2 years ago
Mark Veidemanis 60979652d9
Implement more validation and conversion 2 years ago
Mark Veidemanis 0c52cbd0f8
Use new call helper for all OANDA commands 2 years ago
Mark Veidemanis b36791d56b
Simplify schema and error handling 2 years ago
Mark Veidemanis 04a87c1da6
Add some comments about the exchange variables 2 years ago
Mark Veidemanis 7770a3844c
Make failing during validation or conversion configurable 2 years ago
Mark Veidemanis 48858bf20b
Fix price parsing 2 years ago
Mark Veidemanis 1f75da40af
Set account ID in exchange library instead of the view 2 years ago
Mark Veidemanis 5cb7d08614
Convert API responses with Glom 2 years ago
Mark Veidemanis 8ee56b0e37
Begin implementing pydantic validation for OANDA 2 years ago
Mark Veidemanis c15ae379f5
Wrap API calls in helper and validate response 2 years ago
Mark Veidemanis f22fcfdaaa
Implement stub functions for OANDA 2 years ago