Skip to content

ApiTradeActionDTO

stonepy.models.ApiTradeActionDTO.ApiTradeActionDTO

Bases: ResponseModel

List entry for GetAllTradesWallResponseDTO . Contains information about the trades executed by CI Connect members.

trade_action_id class-attribute instance-attribute

trade_action_id: int | None = Field(
    default=None, alias="TradeActionId"
)

Identifier that uniquely identifies the trade action.

order_id class-attribute instance-attribute

order_id: int | None = Field(default=None, alias='OrderId')

The order identifier.

direction class-attribute instance-attribute

direction: str | None = Field(
    default=None, alias="Direction"
)

Direction of the executed order: Buy or Sell .

quantity class-attribute instance-attribute

quantity: Decimal | None = Field(
    default=None, alias="Quantity"
)

The size or amount of the executed order.

price class-attribute instance-attribute

price: Decimal | None = Field(default=None, alias='Price')

The price at which the trade/order was executed.

trade_type class-attribute instance-attribute

trade_type: str | None = Field(
    default=None, alias="TradeType"
)

The type of trade: Open , Full Close , Part Close .

market_id class-attribute instance-attribute

market_id: int | None = Field(
    default=None, alias="MarketID"
)

Identifier of the market that was traded.

market_name class-attribute instance-attribute

market_name: str | None = Field(
    default=None, alias="MarketName"
)

The name of the traded market.

market_type class-attribute instance-attribute

market_type: str | None = Field(
    default=None, alias="MarketType"
)

Type of the market traded: Spread , CFD , Option etc.

last_changed_date_time_utc class-attribute instance-attribute

last_changed_date_time_utc: StoneXDateTime | None = Field(
    default=None, alias="LastChangedDateTimeUTC"
)

Represents the date and time when the order was last changed. Note: does not include things such as the current market price.

client_id class-attribute instance-attribute

client_id: int | None = Field(
    default=None, alias="ClientID"
)

The user's account identifier.

avatar class-attribute instance-attribute

avatar: str | None = Field(default=None, alias='Avatar')

The URL path to the image file used as the graphic avatar for the CI Connect member.

facebook_id class-attribute instance-attribute

facebook_id: str | None = Field(
    default=None, alias="FacebookID"
)

The user's Facebook identifier.

screen_name class-attribute instance-attribute

screen_name: str | None = Field(
    default=None, alias="ScreenName"
)

The registered CI Connect display username.

first_name class-attribute instance-attribute

first_name: str | None = Field(
    default=None, alias="FirstName"
)

First name od the user who made the trade.

last_name class-attribute instance-attribute

last_name: str | None = Field(
    default=None, alias="LastName"
)

Surname of the user who made the trade.

roi class-attribute instance-attribute

roi: Decimal | None = Field(default=None, alias='ROI')

The return on investment for closing trades.