Skip to content

dYdXOrderProperties

QuantConnect.Orders.dYdXOrderProperties

dYdXOrderProperties()
dYdXOrderProperties(exchange: Exchange)

Bases: OrderProperties

Contains additional properties and settings for an order submitted to Binance brokerage

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.

gas_limit

gas_limit: int

The maximum amount of gas to use for the order.

reduce_only

reduce_only: bool

If you send a reduce-only order, it will only trade if it decreases your position size.

good_til_block_offset

good_til_block_offset: int

The block height at which the order expires.

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