Commit Graph

17 Commits

Author SHA1 Message Date
Mark Veidemanis afb0504dca
Documented the market system properly, squashed some bugs 2022-11-11 07:20:00 +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 60979652d9
Implement more validation and conversion 2022-11-04 07:20:14 +00:00
Mark Veidemanis 0c52cbd0f8
Use new call helper for all OANDA commands 2022-11-04 07:20:12 +00:00
Mark Veidemanis b36791d56b
Simplify schema and error handling 2022-11-04 07:20:55 +00:00
Mark Veidemanis 04a87c1da6
Add some comments about the exchange variables 2022-11-04 09:15:09 +00:00
Mark Veidemanis 7770a3844c
Make failing during validation or conversion configurable 2022-11-04 08:58:01 +00:00
Mark Veidemanis 48858bf20b
Fix price parsing 2022-11-02 19:04:05 +00:00
Mark Veidemanis 1f75da40af
Set account ID in exchange library instead of the view 2022-11-02 18:28:31 +00:00
Mark Veidemanis 5cb7d08614
Convert API responses with Glom 2022-11-02 18:25:34 +00:00
Mark Veidemanis 8ee56b0e37
Begin implementing pydantic validation for OANDA 2022-10-31 08:58:08 +00:00
Mark Veidemanis c15ae379f5
Wrap API calls in helper and validate response 2022-10-30 19:11:07 +00:00
Mark Veidemanis f22fcfdaaa
Implement stub functions for OANDA 2022-10-30 11:21:48 +00:00
Mark Veidemanis f6fa9bdbb6
Begin implementing OANDA 2022-10-30 10:57:53 +00:00