Implement adjusting positions and begin writing live tests for AMS

This commit is contained in:
2023-02-20 07:20:03 +00:00
parent a840be3834
commit 9e22abe057
5 changed files with 249 additions and 9 deletions

View File

@@ -121,7 +121,7 @@ class AlpacaExchange(BaseExchange):
trade.save()
return order
def close_trade(self, trade_id): # TODO
def close_trade(self, trade_id, units=None): # TODO
"""
Close a trade
"""