Class MetaTrader4MarketPriceParser
java.lang.Object
com.bluebell.greenhouse.sol.parsers.market.price.impl.MetaTrader4MarketPriceParser
- All Implemented Interfaces:
MarketPriceParser
@Component("metaTrader4MarketPriceParser")
public class MetaTrader4MarketPriceParser
extends Object
implements MarketPriceParser
Implementation of
MarketPriceParser for parsing data from MT4.- Version:
- 1.0.10
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseMarketPrices(String delimiter, File file, SymbolAlias symbolAlias, MarketTimeInterval interval, ZoneId zoneId) Parses a file of market prices into aSetofMarketPrice.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MarketPriceParser
parseMarketPrices, validateParserParameters
-
Constructor Details
-
MetaTrader4MarketPriceParser
public MetaTrader4MarketPriceParser()
-
-
Method Details
-
parseMarketPrices
public ParsedDataDTO<MarketPrice> parseMarketPrices(String delimiter, File file, SymbolAlias symbolAlias, MarketTimeInterval interval, ZoneId zoneId) throws IOException Parses a file of market prices into aSetofMarketPrice.- Specified by:
parseMarketPricesin interfaceMarketPriceParser- Parameters:
delimiter- delimiterfile-FilesymbolAlias-SymbolAliasinterval-MarketTimeIntervalzoneId-ZoneId- Returns:
SetofMarketPrice- Throws:
IOException- io exception during file execution
-