Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
m5l14i11 committed Sep 10, 2024
1 parent 72f462c commit 859f7a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sor/_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ async def open_position(self, command: OpenPosition):
pending_order = position.entry_order()

entry_price = pending_order.price
size = 2 * pending_order.size
size = pending_order.size

num_orders = min(
max(1, int(size / symbol.min_position_size)), self.config["max_order_slice"]
Expand Down

0 comments on commit 859f7a5

Please sign in to comment.