Skip to content

Commit

Permalink
Modify price market example description Py v2
Browse files Browse the repository at this point in the history
  • Loading branch information
kzdydx committed Sep 30, 2024
1 parent e62c959 commit e9437da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v4-client-py-v2/examples/market_order_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async def place_market_order(size: float):
order_type=OrderType.MARKET,
side=Order.Side.SIDE_SELL,
size=size,
price=0, # Set to 0 for market orders
price=0, # Recommend Set to oracle price - 5% or lower for SELL, oracle price + 5% for BUY
time_in_force=Order.TimeInForce.TIME_IN_FORCE_UNSPECIFIED,
reduce_only=False,
good_til_block=current_block + 10,
Expand Down

0 comments on commit e9437da

Please sign in to comment.