All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.longport.trade.Execution Maven / Gradle / Ivy

There is a newer version: 2.1.5
Show newest version
package com.longport.trade;

import java.math.BigDecimal;
import java.time.OffsetDateTime;

public class Execution {
    private String orderId;
    private String tradeId;
    private String symbol;
    private OffsetDateTime tradeDoneAt;
    private long quantity;
    private BigDecimal price;

    public String getOrderId() {
        return orderId;
    }

    public String getTradeId() {
        return tradeId;
    }

    public String getSymbol() {
        return symbol;
    }

    public OffsetDateTime getTradeDoneAt() {
        return tradeDoneAt;
    }

    public long getQuantity() {
        return quantity;
    }

    public BigDecimal getPrice() {
        return price;
    }

    @Override
    public String toString() {
        return "Execution [orderId=" + orderId + ", price=" + price + ", quantity=" + quantity + ", symbol=" + symbol
                + ", tradeDoneAt=" + tradeDoneAt + ", tradeId=" + tradeId + "]";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy