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

com.fluxtion.server.lib.pnl.calculator.DerivedRateNode Maven / Gradle / Ivy

There is a newer version: 0.1.29
Show newest version
/*
 * SPDX-FileCopyrightText: © 2024 Gregory Higgins 
 * SPDX-License-Identifier: AGPL-3.0-only
 */

package com.fluxtion.server.lib.pnl.calculator;


import com.fluxtion.runtime.dataflow.groupby.GroupBy;
import com.fluxtion.server.lib.pnl.refdata.Instrument;
import lombok.Data;

@Data
public class DerivedRateNode {

    public GroupBy addDerived(
            GroupBy rateMap,
            GroupBy positionMap) {

        rateMap.toMap().put(new Instrument("MOCA"), 0.5);
        return rateMap;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy