BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | Public Attributes | List of all members
graphene::protocol::create_take_profit_order_action Struct Reference

#include <market.hpp>

Public Member Functions

void validate () const
 

Public Attributes

asset_id_type fee_asset_id
 Asset ID that will be used to pay operation fee for placing the take profit order. More...
 
uint16_t spread_percent = 0
 A percentage indicating how far the price of the take profit order differs from the original order. More...
 
uint16_t size_percent = GRAPHENE_100_PERCENT
 A percentage indicating how much amount to sell in the take profit order. More...
 
uint32_t expiration_seconds = 0
 How long the take profit order to be kept on the market. More...
 
bool repeat = false
 Whether to create another take profit order for this take profit order if this take profit order is matched. More...
 
extensions_type extensions
 Unused. Reserved for future use. More...
 

Detailed Description

Creates a take profit limit order

Definition at line 33 of file market.hpp.

Member Function Documentation

◆ validate()

void graphene::protocol::create_take_profit_order_action::validate ( ) const

Definition at line 30 of file market.cpp.

Member Data Documentation

◆ expiration_seconds

uint32_t graphene::protocol::create_take_profit_order_action::expiration_seconds = 0

How long the take profit order to be kept on the market.

Definition at line 42 of file market.hpp.

◆ extensions

extensions_type graphene::protocol::create_take_profit_order_action::extensions

Unused. Reserved for future use.

Definition at line 46 of file market.hpp.

◆ fee_asset_id

asset_id_type graphene::protocol::create_take_profit_order_action::fee_asset_id

Asset ID that will be used to pay operation fee for placing the take profit order.

Definition at line 36 of file market.hpp.

◆ repeat

bool graphene::protocol::create_take_profit_order_action::repeat = false

Whether to create another take profit order for this take profit order if this take profit order is matched.

Definition at line 44 of file market.hpp.

◆ size_percent

uint16_t graphene::protocol::create_take_profit_order_action::size_percent = GRAPHENE_100_PERCENT

A percentage indicating how much amount to sell in the take profit order.

Definition at line 40 of file market.hpp.

◆ spread_percent

uint16_t graphene::protocol::create_take_profit_order_action::spread_percent = 0

A percentage indicating how far the price of the take profit order differs from the original order.

Definition at line 38 of file market.hpp.


The documentation for this struct was generated from the following files: