io.fair_acc.sample.financial.service.StandardTradePlanAttributes Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of samples Show documentation
Show all versions of samples Show documentation
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() {
}
}