Skip to content

CoinbaseOrderProperties

QuantConnect.Orders.CoinbaseOrderProperties

CoinbaseOrderProperties()
CoinbaseOrderProperties(exchange: Exchange)

Bases: OrderProperties

Contains additional properties and settings for an order submitted to Coinbase 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.

self_trade_prevention_id

self_trade_prevention_id: bool

Gets or sets a value indicating whether self-trade prevention is enabled for this order. Self-trade prevention helps prevent an order from crossing against the same user, reducing the risk of unintentional trades within the same account.

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