Skip to content

Commit

Permalink
docs(examples): Modify price market example description Py v2 (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
kzdydx authored Oct 21, 2024
1 parent 2035784 commit 70b0f52
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 70b0f52

Please sign in to comment.