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

io.fair_acc.sample.financial.service.StandardTradePlanAttributes Maven / Gradle / Ivy

Go to download

Small sample applications to showcase the features of the chart-fx library.

The newest version!
package io.fair_acc.sample.financial.service;

import io.fair_acc.dataset.spi.financial.api.attrs.AttributeKey;
import io.fair_acc.sample.financial.dos.OrderContainer;
import io.fair_acc.sample.financial.dos.PositionContainer;

public class StandardTradePlanAttributes {
    /**
     * The performed trading orders
     */
    public static final AttributeKey ORDERS = AttributeKey.create(OrderContainer.class, "ORDERS");

    /**
     * The opened/closed trading positions
     */
    public static final AttributeKey POSITIONS = AttributeKey.create(PositionContainer.class, "POSITIONS");

    /**
     * The trading asset identification - this symbol will be traded by execution platform
     * The more providers are supported, this one is main for trading.
     */
    public static final AttributeKey ASSET_NAME = AttributeKey.create(String.class, "ASSET_NAME");

    /**
     * The account ID
     */
    public static final AttributeKey ACCOUNT_ID = AttributeKey.create(String.class, "ACCOUNT_ID");

    private StandardTradePlanAttributes() {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy