Skip to content

BybitOrderProperties

QuantConnect.Orders.BybitOrderProperties

BybitOrderProperties()
BybitOrderProperties(exchange: Exchange)

Bases: OrderProperties

Class containing Bybit OrderProperties

Signature descriptions:

  • Initializes a new instance of the OrderProperties class

  • Initializes a new instance of the OrderProperties class, with exchange param Exchange name for market

Parameters:

Name Type Description Default
exchange Optional[Exchange]

Exchange name for market

None

post_only

post_only: bool

This flag will ensure the order executes only as a maker (no fee) order. If part of the order results in taking liquidity rather than providing, it will be rejected and no part of the order will execute. Note: this flag is only applied to Limit orders.

reduce_only

reduce_only: Optional[bool]

This flag will ensure your position can only reduce in size if the order is triggered. https://www.bybit.com/en-US/help-center/s/article/What-is-a-Reduce-Only-Order

time_in_force

time_in_force: TimeInForce

Defines the length of time over which an order will continue working before it is cancelled

exchange

exchange: Exchange

Defines the exchange name for a particular market

clone

clone() -> IOrderProperties

Returns a new instance clone of this object