Skip to content

Commit

Permalink
issue with order creation
Browse files Browse the repository at this point in the history
  • Loading branch information
rob committed Jul 5, 2023
1 parent 74dcb41 commit 4d7cb01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sysbrokers/IB/client/ib_orders_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def _build_ib_order(
## auxPrice is the offset so this will submit an order buy at the best offer, etc
## Works like a market order but works for instruments with no streaming data
ib_order = ibOrder(
orderType="SNAP_MKT",
orderType="SNAP MKT",
action=ib_BS_str,
totalQuantity=ib_qty,
auxPrice=0.0,
Expand All @@ -156,7 +156,7 @@ def _build_ib_order(
## auxPrice is the offset so this will submit an order buy at the best offer, etc
## Works like a market order but works for instruments with no streaming data
ib_order = ibOrder(
orderType="SNAP_MID",
orderType="SNAP MID",
action=ib_BS_str,
totalQuantity=ib_qty,
auxPrice=0.0,
Expand All @@ -165,7 +165,7 @@ def _build_ib_order(
## auxPrice is the offset so this will submit an order buy at the best offer, etc
## Works like a market order but works for instruments with no streaming data
ib_order = ibOrder(
orderType="SNAP_PRIM",
orderType="SNAP PRIM",
action=ib_BS_str,
totalQuantity=ib_qty,
auxPrice=0.0,
Expand Down

0 comments on commit 4d7cb01

Please sign in to comment.