GDAXOrderProperties
QuantConnect.Orders.GDAXOrderProperties
GDAXOrderProperties()
GDAXOrderProperties(exchange: Exchange)
Bases: CoinbaseOrderProperties
Contains additional properties and settings for an order submitted to GDAX brokerage
GDAXOrderProperties is deprecated. Use CoinbaseOrderProperties instead.
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
|
time_in_force
time_in_force: TimeInForce
Defines the length of time over which an order will continue working before it is cancelled
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.