Commit Graph

25 Commits

Author SHA1 Message Date
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
c0c1ccde8b
Add schemas for more commands 2022-12-01 20:36:09 +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
cb88cf33c2
Prevent rounding errors in value calculation 2022-11-22 07:20:37 +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
c3d908341a
Refactor and ignore n/a exchange callbacks 2022-11-10 07:20:20 +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
d319769fe0
Finish porting data structures for positions 2022-11-02 19:09:50 +00:00
48858bf20b
Fix price parsing 2022-11-02 19:04:05 +00:00
5cb7d08614
Convert API responses with Glom 2022-11-02 18:25:34 +00:00
8ee56b0e37
Begin implementing pydantic validation for OANDA 2022-10-31 08:58:08 +00:00
c15ae379f5
Wrap API calls in helper and validate response 2022-10-30 19:11:07 +00:00