├── README.md ├── com.ib.client ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.jdt.core.prefs │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── build.properties └── src │ └── com │ └── ib │ └── client │ ├── AnyWrapper.java │ ├── AnyWrapperMsgGenerator.java │ ├── ComboLeg.java │ ├── CommissionReport.java │ ├── Contract.java │ ├── ContractDetails.java │ ├── EClientErrors.java │ ├── EClientSocket.java │ ├── EReader.java │ ├── EWrapper.java │ ├── EWrapperMsgGenerator.java │ ├── Execution.java │ ├── ExecutionFilter.java │ ├── MarketDataType.java │ ├── Order.java │ ├── OrderComboLeg.java │ ├── OrderState.java │ ├── ScannerSubscription.java │ ├── TagValue.java │ ├── TickType.java │ ├── UnderComp.java │ └── Util.java ├── com.quantcomponents.algo.container.serializing ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── OSGI-INF │ └── hierarchyContainer.xml ├── about.html ├── build.properties ├── configurations │ └── com.quantcomponents.algo.container.serializing.hierarchyContainer.cfg └── src │ └── com │ └── quantcomponents │ └── algo │ └── container │ └── serializing │ └── SerializingTradingAgentHierarchyContainer.java ├── com.quantcomponents.algo.osgi.host ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── OSGI-INF │ ├── outputSeriesHost.xml │ ├── outputSeriesIteratorHost.xml │ └── stockDatabaseTradingManagerHost.xml ├── about.html ├── build.properties ├── configurations │ ├── com.quantcomponents.algo.host.outputSeriesHost.cfg │ ├── com.quantcomponents.algo.host.outputSeriesIteratorHost.cfg │ └── com.quantcomponents.algo.host.stockDatabaseTradingManagerHost.cfg └── src │ └── com │ └── quantcomponents │ └── algo │ └── osgi │ └── host │ └── StockDatabaseTradingManagerHost.java ├── com.quantcomponents.algo.osgi.proxy ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── OSGI-INF │ ├── outputSeriesListenerHost.xml │ └── stockDatabaseTradingManagerProxy.xml ├── about.html ├── build.properties ├── configurations │ └── com.quantcomponents.algo.proxy.outputSeriesListenerHost.cfg └── src │ └── com │ └── quantcomponents │ └── algo │ └── osgi │ └── proxy │ └── StockDatabaseTradingManagerProxy.java ├── com.quantcomponents.algo.osgi ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── OSGI-INF │ └── shellInterpreter.xml ├── about.html ├── build.properties └── src │ └── com │ └── quantcomponents │ └── algo │ └── osgi │ ├── IStockDatabaseTradingAgentBindingManagerHost.java │ ├── IStockDatabaseTradingManagerHost.java │ ├── ITradingAgentExecutionManagerHost.java │ └── internal │ ├── ExecutionServiceShellProxy.java │ └── ShellInterpreter.java ├── com.quantcomponents.algo.service ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── OSGI-INF │ ├── linearCommissionCalculator.xml │ ├── simulatedExecutionServiceFactory.xml │ ├── stockDatabaseTradingManager.xml │ ├── threadPool.xml │ └── tradingManager.xml ├── about.html ├── build.properties └── src │ └── com │ └── quantcomponents │ └── algo │ └── service │ ├── AbstractTradingAgentExecution.java │ ├── ConfigurableLinearCommissionCalculator.java │ ├── DefaultThreadPool.java │ ├── LinearCommissionCalculator.java │ ├── PositionCalculator.java │ ├── SimulatedExecutionService.java │ ├── SimulatedExecutionServiceFactory.java │ ├── SimulatedTradingAgentExecution.java │ ├── StockDatabaseTradingManager.java │ ├── TradingAgentExecution.java │ └── TradingManager.java ├── com.quantcomponents.algo.ta ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── OSGI-INF │ └── averageCrossingTAFactory.xml ├── about.html ├── build.properties └── src │ └── com │ └── quantcomponents │ └── algo │ └── ta │ ├── AverageCrossingTradingAgent.java │ ├── AverageCrossingTradingAgentFactory.java │ ├── IPattern.java │ ├── IPatternFinder.java │ ├── ITrendLine.java │ ├── TimeSeriesHorizontalLine.java │ ├── TimeSeriesTrendLine.java │ └── TradePattern.java ├── com.quantcomponents.algo ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.jdt.core.prefs │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── about.html ├── build.properties └── src │ └── com │ └── quantcomponents │ └── algo │ ├── DummyTradingAgentExecution.java │ ├── EquityCurveProcessor.java │ ├── ExecutionCreationException.java │ ├── ExecutionType.java │ ├── HierarchyItemHandle.java │ ├── ICommissionCalculator.java │ ├── IExecutionService.java │ ├── IHierarchyItemHandle.java │ ├── IInputSeriesStreamer.java │ ├── IManagedRunnable.java │ ├── IOrder.java │ ├── IOrderPoint.java │ ├── IOrderReceiver.java │ ├── IOrderStatusListener.java │ ├── IPosition.java │ ├── IPositionListener.java │ ├── IPositionPoint.java │ ├── IPositionProvider.java │ ├── ISimulatedExecutionService.java │ ├── ISimulatedExecutionServiceFactory.java │ ├── IStockDatabaseTradingAgentBindingManager.java │ ├── IStockDatabaseTradingManager.java │ ├── ITrade.java │ ├── ITradePoint.java │ ├── ITradeStatsPoint.java │ ├── ITradingAgent.java │ ├── ITradingAgentBindingManager.java │ ├── ITradingAgentConfigurationManager.java │ ├── ITradingAgentExecution.java │ ├── ITradingAgentExecutionManager.java │ ├── ITradingAgentFactory.java │ ├── ITradingAgentHierarchyContainer.java │ ├── ITradingFactoryManager.java │ ├── ITradingHierarchyManager.java │ ├── ITradingListener.java │ ├── ITradingManager.java │ ├── ITradingStatsProvider.java │ ├── InputSeriesStreamer.java │ ├── MemoryTradingAgentHierarchyContainer.java │ ├── OrderBean.java │ ├── OrderPoint.java │ ├── PositionBean.java │ ├── PositionPoint.java │ ├── TradeBean.java │ ├── TradePoint.java │ ├── TradeStatsPoint.java │ ├── TradeStatsProcessor.java │ ├── TradingAgentBinding.java │ ├── TradingAgentBindingHandle.java │ ├── TradingAgentConfiguration.java │ ├── TradingAgentConfigurationHandle.java │ ├── TradingAgentExecutionHandle.java │ └── TradingAgentFactoryHandle.java ├── com.quantcomponents.base ├── .project ├── build.properties └── feature.xml ├── com.quantcomponents.branding ├── .classpath ├── .project ├── .settings │ ├── org.eclipse.jdt.core.prefs │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── about.ini ├── about.properties ├── build.properties ├── quant_branding_32.png └── quant_branding_32.xcf ├── com.quantcomponents.chart ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── about.html ├── build.properties └── src │ └── com │ └── quantcomponents │ └── chart │ ├── ArrayScaleSelector.java │ ├── BaseAxis.java │ ├── Chart.java │ ├── DataRange.java │ ├── HorizontalLabelContainer.java │ ├── IAxis.java │ ├── IChartMetrics.java │ ├── ICurrentValueProvider.java │ ├── IDataRange.java │ ├── IDrawable.java │ ├── IMark.java │ ├── IMarkScale.java │ ├── IMarkScaleSelector.java │ └── series │ ├── CandlestickRenderer.java │ ├── DoubleAxis.java │ ├── DoubleCurrentValueY.java │ ├── DoubleMark.java │ ├── DoubleRulerY.java │ ├── DoubleScale.java │ ├── DoubleScaleSelector.java │ ├── IOHLCRenderer.java │ ├── ISimpleRenderer.java │ ├── ITimeSeriesChartModel.java │ ├── ITimeSeriesChartModelListener.java │ ├── ITimeSeriesRenderer.java │ ├── LevelSeriesRenderer.java │ ├── OHLCSeriesRenderer.java │ ├── TimeAxis.java │ ├── TimeChartMetrics.java │ ├── TimeMark.java │ ├── TimeRulerX.java │ ├── TimeScale.java │ ├── TimeSeriesChart.java │ ├── TimeSeriesChartModel.java │ └── scale │ ├── DayScale.java │ ├── FiveMinutesScale.java │ ├── FourHoursScale.java │ ├── HourScale.java │ ├── MinuteScale.java │ ├── MonthScale.java │ ├── QuarterScale.java │ ├── TenMinutesScale.java │ ├── ThirtyMinutesScale.java │ ├── TwoHoursScale.java │ ├── TwoMinutesScale.java │ ├── WeekScale.java │ └── YearScale.java ├── com.quantcomponents.core ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── about.html ├── build.properties ├── javadoc.xml └── src │ └── com │ └── quantcomponents │ └── core │ ├── calendar │ ├── AbstractPeriodicTradingCalendar.java │ ├── BankHoliday.java │ ├── CalendarTradingSchedule.java │ ├── FlatCalendar.java │ ├── ITradingCalendar.java │ ├── ITradingCalendarManager.java │ ├── ITradingDay.java │ ├── ITradingPeriod.java │ ├── ITradingSchedule.java │ ├── LinearTradingSchedule.java │ └── PeriodicTradingCalendar.java │ ├── exceptions │ ├── ConfigurationException.java │ ├── NoDataReturnedException.java │ ├── PacingViolationException.java │ ├── PositionException.java │ └── RequestFailedException.java │ ├── model │ ├── BarSize.java │ ├── BareDate.java │ ├── DataType.java │ ├── IConstantTranslator.java │ ├── IContract.java │ ├── IContractDesc.java │ ├── IForceImport_com_quantcomponents_core_model.java │ ├── IMutableSeries.java │ ├── IPersistentIdentifiable.java │ ├── IPrettyNamed.java │ ├── ISeries.java │ ├── ISeriesAugmentable.java │ ├── ISeriesListener.java │ ├── ISeriesOperator.java │ ├── ISeriesPoint.java │ ├── ISeriesProcessor.java │ ├── ISeriesProcessorFactory.java │ ├── ISeriesProvider.java │ ├── ITaskMonitor.java │ ├── IdentifierType.java │ ├── OptionRight.java │ ├── OrderSide.java │ ├── OrderType.java │ ├── SecurityType.java │ ├── TimePeriod.java │ ├── UnitOfTime.java │ └── beans │ │ ├── ContractBase.java │ │ ├── ContractBean.java │ │ ├── ContractDescBean.java │ │ ├── ImmutableContractBean.java │ │ └── TradingPeriodBean.java │ ├── remote │ ├── IForceImport_com_quantcomponents_core_remote.java │ ├── ITaskMonitorHost.java │ ├── ITaskMonitorHostLocal.java │ ├── IUIDGenerator.java │ ├── ServiceHandle.java │ ├── SimpleUIDGenerator.java │ ├── TaskMonitorHost.java │ └── TaskMonitorProxy.java │ ├── series │ ├── LinkedListSeries.java │ └── SimplePoint.java │ ├── utils │ ├── FileUtils.java │ ├── HostUtils.java │ ├── LangUtils.java │ └── MathUtils.java │ └── xml │ ├── XmlBareDateAdapter.java │ ├── XmlCurrencyAdapter.java │ └── XmlDateAdapter.java ├── com.quantcomponents.demo.marketdata ├── .classpath ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── OSGI-INF │ └── simulatedMarketDataProvider.xml ├── bin │ ├── .gitignore │ └── com │ │ └── quantcomponents │ │ └── demo │ │ └── marketdata │ │ ├── DemoMarketDataManager.class │ │ ├── SimulatedRealTimeMarketDataProvider$1.class │ │ └── SimulatedRealTimeMarketDataProvider.class ├── build.properties └── src │ └── com │ └── quantcomponents │ └── demo │ └── marketdata │ ├── DemoMarketDataManager.java │ └── SimulatedRealTimeMarketDataProvider.java ├── com.quantcomponents.ib ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── OSGI-INF │ └── ibAdapter.xml ├── about.html ├── build.properties ├── configurations │ └── com.quantcomponents.ib.adapter.cfg └── src │ └── com │ └── quantcomponents │ └── ib │ ├── IBAdapter.java │ ├── IBAdapterComponent.java │ ├── IBClient.java │ ├── IBConnection.java │ ├── IBConstantTranslator.java │ ├── IBConsumerDispatcher.java │ ├── IBContract.java │ ├── IBContractDesc.java │ ├── IBOrder.java │ ├── IBSimpleErrorClient.java │ ├── IBTradeInfo.java │ └── IBWrapperHelper.java ├── com.quantcomponents.marketdata.osgi.host ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── OSGI-INF │ ├── marketDataManagerHost.xml │ ├── ohlcTimeSeriesHost.xml │ ├── ohlcTimeSeriesIteratorHost.xml │ ├── stockDatabaseHost.xml │ ├── tickTimeSeriesHost.xml │ ├── tickTimeSeriesIteratorHost.xml │ ├── uidGenerator.xml │ └── virtualTimeSeriesHost.xml ├── about.html ├── build.properties ├── configurations │ ├── com.quantcomponents.marketdata.host.marketDataManagerHost.cfg │ ├── com.quantcomponents.marketdata.host.ohlcTimeSeriesHost.cfg │ ├── com.quantcomponents.marketdata.host.ohlcTimeSeriesIteratorHost.cfg │ ├── com.quantcomponents.marketdata.host.stockDatabaseHost.cfg │ ├── com.quantcomponents.marketdata.host.tickTimeSeriesHost.cfg │ ├── com.quantcomponents.marketdata.host.tickTimeSeriesIteratorHost.cfg │ └── com.quantcomponents.marketdata.host.virtualTimeSeriesHost.cfg └── src │ └── com │ └── quantcomponents │ └── marketdata │ └── osgi │ └── host │ ├── MarketDataManagerHost.java │ ├── MutableOHLCTimeSeriesHost.java │ ├── MutableTickTimeSeriesHost.java │ ├── OHLCTimeSeriesHost.java │ ├── OHLCTimeSeriesIteratorHost.java │ ├── RealTimeMarketDataManagerHost.java │ ├── StockDatabaseHost.java │ └── TickTimeSeriesIteratorHost.java ├── com.quantcomponents.marketdata.osgi.proxy ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── OSGI-INF │ ├── marketDataManagerProxy.xml │ ├── ohlcTimeSeriesListenerHost.xml │ ├── stockDatabaseProxyFactory.xml │ ├── taskMonitorHost.xml │ ├── tickTimeSeriesListenerHost.xml │ └── uidGenerator.xml ├── about.html ├── build.properties ├── configurations │ ├── com.quantcomponents.marketdata.proxy.ohlcTimeSeriesListenerHost.cfg │ ├── com.quantcomponents.marketdata.proxy.taskMonitorHost.cfg │ └── com.quantcomponents.marketdata.proxy.tickTimeSeriesListenerHost.cfg └── src │ └── com │ └── quantcomponents │ └── marketdata │ └── osgi │ └── proxy │ ├── MarketDataManagerProxy.java │ ├── OHLCTimeSeriesListenerHost.java │ ├── OHLCTimeSeriesProxy.java │ ├── RealTimeMarketDataManagerProxy.java │ ├── StockDatabaseProxy.java │ ├── StockDatabaseProxyFactory.java │ ├── TickTimeSeriesListenerHost.java │ └── TickTimeSeriesProxy.java ├── com.quantcomponents.marketdata.osgi ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── OSGI-INF │ └── shellInterpreter.xml ├── about.html ├── build.properties └── src │ └── com │ └── quantcomponents │ └── marketdata │ └── osgi │ ├── IMarketDataManagerHost.java │ ├── IMutableOHLCTimeSeriesHost.java │ ├── IMutableOHLCTimeSeriesHostLocal.java │ ├── IMutableTickTimeSeriesHost.java │ ├── IOHLCTimeSeriesHost.java │ ├── IOHLCTimeSeriesHostLocal.java │ ├── IOHLCTimeSeriesIteratorHost.java │ ├── IOHLCTimeSeriesIteratorHostLocal.java │ ├── IOHLCTimeSeriesListenerHost.java │ ├── IOHLCTimeSeriesListenerHostLocal.java │ ├── IRealTimeMarketDataManagerHost.java │ ├── IStockDatabaseHandleMap.java │ ├── IStockDatabaseHost.java │ ├── IStockDatabaseHostLocal.java │ ├── IStockDatabaseProxyFactory.java │ ├── ITickTimeSeriesHostLocal.java │ ├── ITickTimeSeriesIteratorHost.java │ ├── ITickTimeSeriesIteratorHostLocal.java │ ├── ITickTimeSeriesListenerHost.java │ ├── ITickTimeSeriesListenerHostLocal.java │ ├── ImmutableOHLCTimeSeriesProxy.java │ └── internal │ ├── MarketDataProviderShellProxy.java │ └── ShellInterpreter.java ├── com.quantcomponents.marketdata ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── about.html ├── build.properties └── src │ └── com │ └── quantcomponents │ └── marketdata │ ├── IMarketDataManager.java │ ├── IMarketDataProvider.java │ ├── IMutableOHLCTimeSeries.java │ ├── IMutableTickTimeSeries.java │ ├── IMutableTimeSeries.java │ ├── IOHLC.java │ ├── IOHLCPoint.java │ ├── IOHLCTimeSeries.java │ ├── IRealTimeMarketDataManager.java │ ├── IRealTimeMarketDataProvider.java │ ├── IStockDataCollection.java │ ├── IStockDatabase.java │ ├── IStockDatabaseContainer.java │ ├── IStockDatabaseContainerFactory.java │ ├── ITickPoint.java │ ├── ITickTimeSeries.java │ ├── ITimeSeries.java │ ├── ITimeSeriesListener.java │ ├── MarketDataManager.java │ ├── MemoryStockDatabaseContainer.java │ ├── OHLCPoint.java │ ├── OHLCPointAccumulator.java │ ├── OHLCTimeSeries.java │ ├── OHLCVirtualTimeSeries.java │ ├── RealTimeMarketDataManager.java │ ├── StockDatabase.java │ ├── TickPoint.java │ ├── TickTimeSeries.java │ ├── TimeSeries.java │ ├── TimeSeriesBetween.java │ ├── TimeSeriesSince.java │ └── TimeSeriesTail.java ├── com.quantcomponents.osgi ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── OSGI-INF │ └── shellInterpreter.xml ├── Quantcomponents Server FEATURE_FREEZE.launch ├── about.html ├── build.properties ├── doc │ └── test-commands.txt └── src │ └── com │ └── quantcomponents │ └── core │ └── osgi │ ├── ISeriesHost.java │ ├── ISeriesHostLocal.java │ ├── ISeriesIteratorHost.java │ ├── ISeriesIteratorHostLocal.java │ ├── ISeriesListenerHost.java │ ├── ISeriesListenerHostLocal.java │ ├── ImmutableSeriesProxy.java │ ├── SeriesHost.java │ ├── SeriesIteratorHost.java │ ├── SeriesIteratorProxy.java │ ├── SeriesListenerHost.java │ ├── SeriesListenerProxy.java │ └── internal │ ├── DummyTaskMonitor.java │ ├── DummyTimeSeriesListener.java │ └── ShellInterpreter.java ├── com.quantcomponents.series.jdbc.derby ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── OSGI-INF │ └── stockDatabaseContainer.xml ├── about.html ├── build.properties └── src │ └── com │ └── quantcomponents │ └── series │ └── jdbc │ └── derby │ ├── DerbyStockDatabaseContainerFactory.java │ ├── OHLCPointDao.java │ ├── StockDatabaseHeaderDao.java │ └── TickPointDao.java ├── com.quantcomponents.series.jdbc ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── about.html ├── build.properties └── src │ └── com │ └── quantcomponents │ └── series │ └── jdbc │ ├── Activator.java │ ├── DaoSupport.java │ ├── IDbInitializable.java │ ├── IFlushable.java │ ├── IOHLCPointDao.java │ ├── IStockDatabaseHeaderDao.java │ ├── ITickPointDao.java │ ├── JdbcStockDatabaseContainer.java │ └── StockDatabaseHeader.java ├── com.quantcomponents.tradingcalendars.standard ├── .classpath ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── about.html ├── build.properties └── tradingCalendars │ ├── cme_sp500mini.xml │ └── nasdaq.xml ├── com.quantcomponents.tradingcalendars ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── about.html ├── build.properties ├── sample │ ├── example.xml │ ├── nasdaq.xml │ └── output.xml ├── src │ └── com │ │ └── quantcomponents │ │ └── tradingcalendars │ │ ├── Activator.java │ │ ├── TradingCalendarFactoryBean.java │ │ ├── TradingCalendarRegistry.java │ │ └── TradingDayBean.java └── test │ └── com │ └── quantcomponents │ └── tradingcalendars │ └── demo │ ├── DemoMarshal.java │ └── DemoUnmarshal.java ├── com.quantcomponents.ui.algo ├── .classpath ├── .gitignore ├── .project ├── META-INF │ └── MANIFEST.MF ├── about.html ├── build.properties ├── icons │ ├── decoratorPaused.png │ ├── decoratorPaused.xcf │ ├── decoratorRunning.png │ ├── decoratorRunning.xcf │ ├── equityCurve.png │ ├── equityCurve.xcf │ ├── positions.png │ ├── positions.xcf │ ├── tradingAgent.png │ ├── tradingAgent.xcf │ ├── tradingAgentBinding.png │ ├── tradingAgentBinding.xcf │ ├── tradingAgentExecution.png │ ├── tradingAgentExecution.xcf │ ├── tradingAgentFactory.png │ ├── tradingAgentFactory.xcf │ ├── tradingAgentManager.png │ ├── tradingAgentManager.xcf │ ├── tradingStats.png │ └── tradingStats.xcf ├── plugin.xml └── src │ └── com │ └── quantcomponents │ └── ui │ └── algo │ ├── BaseWrapper.java │ ├── DefaultPerspectiveFactory.java │ ├── EquityCurveView.java │ ├── ExecutionLabelDecoratorMonitor.java │ ├── ExecutionRunningDecorator.java │ ├── IStockDatabaseTradingManagerContainer.java │ ├── PositionView.java │ ├── StockDatabaseTradingAgentBinding.java │ ├── StockDatabaseTradingManagerContainer.java │ ├── TradingAgentBindingDialog.java │ ├── TradingAgentBindingWrapper.java │ ├── TradingAgentConfigurationDialog.java │ ├── TradingAgentConfigurationWrapper.java │ ├── TradingAgentExecutionWrapper.java │ ├── TradingAgentFactoryWrapper.java │ ├── TradingAgentPlugin.java │ ├── TradingManagersView.java │ ├── TradingManagersViewAdapterFactory.java │ └── TradingStatsView.java ├── com.quantcomponents.ui.client ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── META-INF │ └── MANIFEST.MF ├── build.properties ├── config │ └── client_startup_bundles.properties ├── plugin.xml └── src │ └── com │ └── quantcomponents │ └── ui │ └── client │ ├── QuantComponentsClientPlugin.java │ └── QuantComponentsServiceStartup.java ├── com.quantcomponents.ui.core ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.pde.core.prefs ├── META-INF │ └── MANIFEST.MF ├── about.html ├── build.properties └── src │ └── com │ └── quantcomponents │ └── ui │ └── core │ ├── Configuration.java │ ├── IMonitorableContainer.java │ ├── IMonitorableContainerListener.java │ ├── IMutableMonitorableContainer.java │ ├── MonitorableContainer.java │ ├── MonitorableContainerOsgiDecorator.java │ └── TaskMonitorAdapter.java ├── com.quantcomponents.ui.log ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── META-INF │ └── MANIFEST.MF ├── build.properties └── src │ └── com │ └── quantcomponents │ └── ui │ └── log │ ├── Activator.java │ └── EclipseLogAdapterHandler.java ├── com.quantcomponents.ui.marketdata ├── .classpath ├── .gitignore ├── .project ├── META-INF │ └── MANIFEST.MF ├── Quantcomponents Client - default startup.launch ├── Quantcomponents Standalone - default startup.launch ├── README.txt ├── about.html ├── build.properties ├── icons │ ├── decoratorAutoupdate.png │ ├── decoratorAutoupdate.xcf │ ├── marketDataManager.png │ ├── marketDataManager.xcf │ ├── stockDatabase.png │ ├── stockDatabase.xcf │ ├── unknownObject.png │ └── unknownObject.xcf ├── plugin.xml └── src │ └── com │ └── quantcomponents │ └── ui │ └── marketdata │ ├── AutoUpdateIconDecorator.java │ ├── DateCombo.java │ ├── IMarketDataManagerContainer.java │ ├── MarketDataManagerContainer.java │ ├── MarketDataManagerContainerWrappingDecorator.java │ ├── MarketDataManagerPresentationWrapper.java │ ├── MarketDataManagersView.java │ ├── MarketDataPlugin.java │ ├── MarketDataViewAdapterFactory.java │ ├── NewHistoricalData.java │ ├── NewHistoricalDataPage1.java │ ├── NewHistoricalDataPage2.java │ ├── NewHistoricalDataPage3.java │ ├── PeriodCombo.java │ ├── RealTimeMarketDataManagerPresentationWrapper.java │ ├── StartEndDateEditor.java │ ├── StockDatabaseChartView.java │ ├── StockDatabasePresentationWrapper.java │ └── TimeChartDialog.java ├── com.quantcomponents.ui.standalone ├── .classpath ├── .gitignore ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── META-INF │ └── MANIFEST.MF ├── build.properties ├── config │ └── standalone_startup_bundles.properties ├── plugin.xml └── src │ └── com │ └── quantcomponents │ └── ui │ └── standalone │ ├── QuantComponentStandalonePlugin.java │ └── QuantComponentsServiceStartup.java ├── com.quantcomponents.update-site ├── .project ├── artifacts.jar ├── content.jar ├── features │ └── com.quantcomponents.base_1.5.0.jar ├── generate_repository.sh ├── index.html ├── plugins │ ├── com.ib.client_9.67.0.jar │ ├── com.quantcomponents.algo.container.serializing_1.0.0.jar │ ├── com.quantcomponents.algo.osgi_1.0.0.jar │ ├── com.quantcomponents.algo.service_1.5.0.jar │ ├── com.quantcomponents.algo.ta_1.0.0.jar │ ├── com.quantcomponents.algo_1.0.0.jar │ ├── com.quantcomponents.chart_1.0.0.jar │ ├── com.quantcomponents.core.osgi_1.0.0.jar │ ├── com.quantcomponents.core_1.1.0.jar │ ├── com.quantcomponents.ib_1.5.0.jar │ ├── com.quantcomponents.marketdata.osgi_1.0.0.jar │ ├── com.quantcomponents.marketdata_1.5.0.jar │ ├── com.quantcomponents.series.jdbc.derby_1.5.0.jar │ ├── com.quantcomponents.series.jdbc_1.5.0.jar │ ├── com.quantcomponents.tradingcalendars.standard_1.0.0.jar │ ├── com.quantcomponents.tradingcalendars_1.0.0.jar │ ├── com.quantcomponents.ui.algo_1.1.0.jar │ ├── com.quantcomponents.ui.client_1.0.0.jar │ ├── com.quantcomponents.ui.core_1.0.0.jar │ ├── com.quantcomponents.ui.log_1.0.0.jar │ ├── com.quantcomponents.ui.marketdata_1.5.0.jar │ ├── com.quantcomponents.ui.standalone_1.5.0.jar │ ├── com.quantcomponents.yahoo_1.0.1.jar │ ├── derby_10.9.1000000.1344872.jar │ ├── org.apache.commons.httpclient_3.1.0.v201012070820.jar │ ├── org.apache.felix.fileinstall_3.2.4.jar │ ├── org.eclipse.equinox.cm_1.0.400.v20120522-1841.jar │ ├── org.ops4j.pax.jdbc.derby_0.2.0.jar │ └── osgi.enterprise_4.4.0.201108270010.jar ├── site.xml └── web │ ├── site.css │ └── site.xsl └── com.quantcomponents.yahoo ├── .classpath ├── .gitignore ├── .project ├── .settings ├── org.eclipse.jdt.core.prefs └── org.eclipse.pde.core.prefs ├── META-INF └── MANIFEST.MF ├── OSGI-INF └── yahooAdapter.xml ├── build.properties └── src └── com └── quantcomponents └── yahoo ├── JSON.java ├── JSONException.java ├── YahooFinanceAdapterComponent.java └── YahooFinanceMarketDataManager.java /README.md: -------------------------------------------------------------------------------- 1 | quantcomponents 2 | =============== 3 | 4 | QuantComponents - Free Java components for Quantitative Finance and Algorithmic Trading -------------------------------------------------------------------------------- /com.ib.client/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.ib.client/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.ib.client/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.ib.client 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /com.ib.client/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.ib.client/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Interactive Brokers Client 4 | Bundle-SymbolicName: com.ib.client 5 | Bundle-Version: 9.67 6 | Bundle-Vendor: Interactive Brokers 7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6 8 | Export-Package: com.ib.client 9 | -------------------------------------------------------------------------------- /com.ib.client/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | . 5 | -------------------------------------------------------------------------------- /com.ib.client/src/com/ib/client/AnyWrapper.java: -------------------------------------------------------------------------------- 1 | /* 2 | * AnyWrapper.java 3 | * 4 | */ 5 | package com.ib.client; 6 | 7 | 8 | public interface AnyWrapper { 9 | void error( Exception e); 10 | void error( String str); 11 | void error(int id, int errorCode, String errorMsg); 12 | void connectionClosed(); 13 | } 14 | 15 | -------------------------------------------------------------------------------- /com.ib.client/src/com/ib/client/AnyWrapperMsgGenerator.java: -------------------------------------------------------------------------------- 1 | package com.ib.client; 2 | 3 | public class AnyWrapperMsgGenerator { 4 | public static String error( Exception ex) { return "Error - " + ex;} 5 | public static String error( String str) { return str;} 6 | 7 | public static String error(int id, int errorCode, String errorMsg) { 8 | String err = Integer.toString(id); 9 | err += " | "; 10 | err += Integer.toString(errorCode); 11 | err += " | "; 12 | err += errorMsg; 13 | return err; 14 | } 15 | 16 | public static String connectionClosed() { 17 | return "Connection Closed"; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /com.ib.client/src/com/ib/client/MarketDataType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * MarketDataType.java 3 | * 4 | */ 5 | package com.ib.client; 6 | 7 | public class MarketDataType { 8 | // constants - market data types 9 | public static final int REALTIME = 1; 10 | public static final int FROZEN = 2; 11 | 12 | public static String getField( int marketDataType) { 13 | switch( marketDataType) { 14 | case REALTIME: return "Real-Time"; 15 | case FROZEN: return "Frozen"; 16 | 17 | default: return "Unknown"; 18 | } 19 | } 20 | 21 | public static String[] getFields(){ 22 | int totalFields = MarketDataType.class.getFields().length; 23 | String [] fields = new String[totalFields]; 24 | for (int i = 0; i < totalFields; i++){ 25 | fields[i] = MarketDataType.getField(i + 1); 26 | } 27 | return fields; 28 | } 29 | } -------------------------------------------------------------------------------- /com.ib.client/src/com/ib/client/OrderComboLeg.java: -------------------------------------------------------------------------------- 1 | /* 2 | * OrderComboLeg.java 3 | * 4 | */ 5 | package com.ib.client; 6 | 7 | 8 | public class OrderComboLeg { 9 | 10 | public double m_price; // price per leg 11 | 12 | public OrderComboLeg() { 13 | m_price = Double.MAX_VALUE; 14 | } 15 | 16 | public OrderComboLeg(double p_price) { 17 | m_price = p_price; 18 | } 19 | 20 | public boolean equals(Object p_other) { 21 | if ( this == p_other ) { 22 | return true; 23 | } 24 | else if ( p_other == null ) { 25 | return false; 26 | } 27 | 28 | OrderComboLeg l_theOther = (OrderComboLeg)p_other; 29 | 30 | if (m_price != l_theOther.m_price) { 31 | return false; 32 | } 33 | 34 | return true; 35 | } 36 | } -------------------------------------------------------------------------------- /com.ib.client/src/com/ib/client/TagValue.java: -------------------------------------------------------------------------------- 1 | /* 2 | * UnderComp.java 3 | * 4 | */ 5 | 6 | package com.ib.client; 7 | 8 | public class TagValue { 9 | 10 | public String m_tag; 11 | public String m_value; 12 | 13 | public TagValue() { 14 | } 15 | 16 | public TagValue(String p_tag, String p_value) { 17 | m_tag = p_tag; 18 | m_value = p_value; 19 | } 20 | 21 | public boolean equals(Object p_other) { 22 | 23 | if( this == p_other) 24 | return true; 25 | 26 | if( p_other == null) 27 | return false; 28 | 29 | TagValue l_theOther = (TagValue)p_other; 30 | 31 | if( Util.StringCompare(m_tag, l_theOther.m_tag) != 0 || 32 | Util.StringCompare(m_value, l_theOther.m_value) != 0) { 33 | return false; 34 | } 35 | 36 | return true; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /com.ib.client/src/com/ib/client/UnderComp.java: -------------------------------------------------------------------------------- 1 | /* 2 | * UnderComp.java 3 | * 4 | */ 5 | 6 | package com.ib.client; 7 | 8 | public class UnderComp { 9 | 10 | public int m_conId; 11 | public double m_delta; 12 | public double m_price; 13 | 14 | public UnderComp() { 15 | m_conId = 0; 16 | m_delta = 0; 17 | m_price = 0; 18 | } 19 | 20 | public boolean equals(Object p_other) { 21 | 22 | if (this == p_other) { 23 | return true; 24 | } 25 | 26 | if (p_other == null || !(p_other instanceof UnderComp)) { 27 | return false; 28 | } 29 | 30 | UnderComp l_theOther = (UnderComp)p_other; 31 | 32 | if (m_conId != l_theOther.m_conId) { 33 | return false; 34 | } 35 | if (m_delta != l_theOther.m_delta) { 36 | return false; 37 | } 38 | if (m_price != l_theOther.m_price) { 39 | return false; 40 | } 41 | 42 | return true; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.container.serializing/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.container.serializing/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.container.serializing/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.algo.container.serializing 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.pde.ds.core.builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.pde.PluginNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.container.serializing/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.container.serializing/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Serializing container for algo hierarchy 4 | Bundle-SymbolicName: com.quantcomponents.algo.container.serializing 5 | Bundle-Version: 1.0.0 6 | Bundle-Vendor: quantcomponents.com 7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 8 | JavaSE-1.7 9 | Import-Package: com.quantcomponents.algo, 10 | com.quantcomponents.core.model, 11 | com.quantcomponents.core.model.beans, 12 | com.quantcomponents.core.series, 13 | com.quantcomponents.marketdata 14 | DynamicImport-Package: * 15 | Service-Component: OSGI-INF/hierarchyContainer.xml 16 | Export-Package: com.quantcomponents.algo.container.serializing 17 | 18 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.container.serializing/OSGI-INF/hierarchyContainer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.container.serializing/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | OSGI-INF/ 6 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.container.serializing/configurations/com.quantcomponents.algo.container.serializing.hierarchyContainer.cfg: -------------------------------------------------------------------------------- 1 | persistence.directory=/tmp 2 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.host/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.host/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.host/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.algo.osgi.host 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.pde.ds.core.builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.pde.PluginNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.host/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.host/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Osgi integration for Algo component - server side 4 | Bundle-SymbolicName: com.quantcomponents.algo.osgi.host 5 | Bundle-Version: 1.5.0 6 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 7 | JavaSE-1.7 8 | Import-Package: com.quantcomponents.algo, 9 | com.quantcomponents.algo.osgi, 10 | com.quantcomponents.core.model, 11 | com.quantcomponents.core.osgi, 12 | com.quantcomponents.core.remote, 13 | com.quantcomponents.marketdata, 14 | com.quantcomponents.marketdata.osgi, 15 | org.osgi.framework;version="1.3.0", 16 | org.osgi.service.cm;version="1.3.0", 17 | org.osgi.util.tracker;version="1.5.1" 18 | Service-Component: OSGI-INF/stockDatabaseTradingManagerHost.xml,OSGI-INF/outputSeriesHost.xml,OSGI-INF/outputSeriesIteratorHost.xml 19 | 20 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.host/OSGI-INF/outputSeriesIteratorHost.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.host/OSGI-INF/stockDatabaseTradingManagerHost.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.host/build.properties: -------------------------------------------------------------------------------- 1 | output.. = bin/ 2 | bin.includes = META-INF/,\ 3 | .,\ 4 | OSGI-INF/ 5 | source.. = src/ 6 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.host/configurations/com.quantcomponents.algo.host.outputSeriesHost.cfg: -------------------------------------------------------------------------------- 1 | service.exported.interfaces=com.quantcomponents.core.osgi.ISeriesHost 2 | service.exported.configs=${r_osgi.containerType} 3 | #ecf.exported.containerfactoryargs=r-osgi://${r_osgi.host}:${r_osgi.port} 4 | #ecf.endpoint.connecttarget.id=r-osgi://${r_osgi.host}:${r_osgi.port} 5 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.host/configurations/com.quantcomponents.algo.host.outputSeriesIteratorHost.cfg: -------------------------------------------------------------------------------- 1 | service.exported.interfaces=com.quantcomponents.core.osgi.ISeriesIteratorHost 2 | service.exported.configs=${r_osgi.containerType} 3 | #ecf.exported.containerfactoryargs=r-osgi://${r_osgi.host}:${r_osgi.port} 4 | #ecf.endpoint.connecttarget.id=r-osgi://${r_osgi.host}:${r_osgi.port} 5 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.host/configurations/com.quantcomponents.algo.host.stockDatabaseTradingManagerHost.cfg: -------------------------------------------------------------------------------- 1 | service.exported.interfaces=com.quantcomponents.algo.osgi.IStockDatabaseTradingManagerHost 2 | service.exported.configs=${r_osgi.containerType} 3 | #ecf.exported.containerfactoryargs=r-osgi://${r_osgi.host}:${r_osgi.port} 4 | #ecf.endpoint.connecttarget.id=r-osgi://${r_osgi.host}:${r_osgi.port} 5 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.proxy/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.proxy/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.proxy/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.algo.osgi.proxy 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.pde.ds.core.builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.pde.PluginNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.proxy/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.proxy/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Osgi integration for Algo components - client side 4 | Bundle-SymbolicName: com.quantcomponents.algo.osgi.proxy 5 | Bundle-Version: 1.5.0 6 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 7 | JavaSE-1.7 8 | Import-Package: com.quantcomponents.algo, 9 | com.quantcomponents.algo.osgi, 10 | com.quantcomponents.core.model, 11 | com.quantcomponents.core.osgi, 12 | com.quantcomponents.core.remote, 13 | com.quantcomponents.marketdata, 14 | com.quantcomponents.marketdata.osgi 15 | Service-Component: OSGI-INF/stockDatabaseTradingManagerProxy.xml,OSGI-INF/outputSeriesListenerHost.xml 16 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.proxy/OSGI-INF/outputSeriesListenerHost.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.proxy/build.properties: -------------------------------------------------------------------------------- 1 | output.. = bin/ 2 | bin.includes = META-INF/,\ 3 | .,\ 4 | OSGI-INF/,\ 5 | OSGI-INF/outputSeriesListenerHost.xml 6 | source.. = src/ 7 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi.proxy/configurations/com.quantcomponents.algo.proxy.outputSeriesListenerHost.cfg: -------------------------------------------------------------------------------- 1 | service.exported.interfaces=com.quantcomponents.core.osgi.ISeriesListenerHost 2 | service.exported.configs=${r_osgi.containerType} 3 | #ecf.exported.containerfactoryargs=r-osgi://${r_osgi.host}:${r_osgi.port} 4 | #ecf.endpoint.connecttarget.id=r-osgi://${r_osgi.host}:${r_osgi.port} 5 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.algo.osgi 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.pde.ds.core.builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.pde.PluginNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Osgi integration for Algo classes 4 | Bundle-SymbolicName: com.quantcomponents.algo.osgi 5 | Bundle-Version: 1.0.0 6 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 7 | JavaSE-1.7 8 | Import-Package: com.quantcomponents.algo, 9 | com.quantcomponents.core.exceptions, 10 | com.quantcomponents.core.model, 11 | com.quantcomponents.core.osgi, 12 | com.quantcomponents.core.remote, 13 | com.quantcomponents.marketdata.osgi 14 | Export-Package: com.quantcomponents.algo.osgi 15 | Service-Component: OSGI-INF/shellInterpreter.xml 16 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi/OSGI-INF/shellInterpreter.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | executionservice 7 | tradingmanager 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.osgi/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | OSGI-INF/ 6 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.service/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.service/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.service/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.algo.service 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.pde.ds.core.builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.pde.PluginNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.service/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.service/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Algo trading service 4 | Bundle-SymbolicName: com.quantcomponents.algo.service 5 | Bundle-Version: 1.5.0 6 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 7 | JavaSE-1.7 8 | Import-Package: com.quantcomponents.algo, 9 | com.quantcomponents.core.exceptions, 10 | com.quantcomponents.core.model, 11 | com.quantcomponents.core.model.beans, 12 | com.quantcomponents.core.series, 13 | com.quantcomponents.core.utils, 14 | com.quantcomponents.marketdata 15 | Service-Component: OSGI-INF/linearCommissionCalculator.xml,OSGI-INF/simulatedExecutionServiceFactory.xml,OSGI-INF/stockDatabaseTradingManager.xml,OSGI-INF/threadPool.xml,OSGI-INF/tradingManager.xml 16 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.service/OSGI-INF/linearCommissionCalculator.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.service/OSGI-INF/simulatedExecutionServiceFactory.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.service/OSGI-INF/stockDatabaseTradingManager.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.service/OSGI-INF/threadPool.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.service/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | OSGI-INF/ 6 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.service/src/com/quantcomponents/algo/service/DefaultThreadPool.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.algo.service; 11 | 12 | import java.util.concurrent.LinkedBlockingQueue; 13 | import java.util.concurrent.ThreadPoolExecutor; 14 | import java.util.concurrent.TimeUnit; 15 | 16 | 17 | public class DefaultThreadPool extends ThreadPoolExecutor { 18 | public DefaultThreadPool() { 19 | super(10, 1000, 10, TimeUnit.MINUTES, new LinkedBlockingQueue()); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.ta/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.ta/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.ta/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.algo.ta 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.pde.ds.core.builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.pde.PluginNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.ta/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.ta/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Technical Analysis algo foundation classes 4 | Bundle-SymbolicName: com.quantcomponents.algo.ta 5 | Bundle-Version: 1.0.0 6 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 7 | JavaSE-1.7 8 | Import-Package: com.quantcomponents.algo, 9 | com.quantcomponents.core.calendar, 10 | com.quantcomponents.core.model, 11 | com.quantcomponents.core.model.beans, 12 | com.quantcomponents.core.series, 13 | com.quantcomponents.core.utils, 14 | com.quantcomponents.marketdata 15 | Service-Component: OSGI-INF/averageCrossingTAFactory.xml 16 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.ta/OSGI-INF/averageCrossingTAFactory.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /com.quantcomponents.algo.ta/build.properties: -------------------------------------------------------------------------------- 1 | output.. = bin/ 2 | bin.includes = META-INF/,\ 3 | .,\ 4 | OSGI-INF/ 5 | source.. = src/ 6 | -------------------------------------------------------------------------------- /com.quantcomponents.algo/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.algo/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.algo/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.algo 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /com.quantcomponents.algo/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 | org.eclipse.jdt.core.compiler.compliance=1.6 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.source=1.6 8 | -------------------------------------------------------------------------------- /com.quantcomponents.algo/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.algo/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Base classes for algorithmic trading 4 | Bundle-SymbolicName: com.quantcomponents.algo 5 | Bundle-Version: 1.0.0 6 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 7 | JavaSE-1.7 8 | Import-Package: com.quantcomponents.core.exceptions, 9 | com.quantcomponents.core.model, 10 | com.quantcomponents.core.model.beans, 11 | com.quantcomponents.core.series, 12 | com.quantcomponents.core.utils, 13 | com.quantcomponents.marketdata 14 | Export-Package: com.quantcomponents.algo 15 | -------------------------------------------------------------------------------- /com.quantcomponents.algo/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | . 5 | -------------------------------------------------------------------------------- /com.quantcomponents.algo/src/com/quantcomponents/algo/ExecutionCreationException.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.algo; 11 | 12 | public class ExecutionCreationException extends Exception { 13 | private static final long serialVersionUID = -5214163927483236992L; 14 | public ExecutionCreationException() { 15 | super(); 16 | } 17 | public ExecutionCreationException(String message) { 18 | super(message); 19 | } 20 | public ExecutionCreationException(String message, Throwable t) { 21 | super(message, t); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /com.quantcomponents.algo/src/com/quantcomponents/algo/IHierarchyItemHandle.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.algo; 11 | 12 | import com.quantcomponents.core.model.IPersistentIdentifiable; 13 | import com.quantcomponents.core.model.IPrettyNamed; 14 | 15 | /** 16 | * Handle to an item of the algorithm hierarchy. 17 | * @see ITradingHierarchyManager 18 | */ 19 | public interface IHierarchyItemHandle extends IPrettyNamed, IPersistentIdentifiable { 20 | } 21 | -------------------------------------------------------------------------------- /com.quantcomponents.algo/src/com/quantcomponents/algo/IOrderPoint.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.algo; 11 | 12 | import java.util.Date; 13 | 14 | import com.quantcomponents.core.model.ISeriesPoint; 15 | 16 | /** 17 | * 18 | * Interface to embed order information within a {@link com.quantcomponents.core.model.ISeries} 19 | */ 20 | public interface IOrderPoint extends ISeriesPoint { 21 | /** 22 | * @return the order information 23 | */ 24 | IOrder getOrder(); 25 | } 26 | -------------------------------------------------------------------------------- /com.quantcomponents.algo/src/com/quantcomponents/algo/IPositionProvider.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.algo; 11 | 12 | import java.util.Map; 13 | 14 | import com.quantcomponents.core.model.IContract; 15 | 16 | /** 17 | * A service capable of delivering position information. 18 | * Typical implementors are execution services. 19 | */ 20 | public interface IPositionProvider { 21 | /** 22 | * A snapshot map of the current positions within the specific execution service 23 | */ 24 | Map getPositions(); 25 | } 26 | -------------------------------------------------------------------------------- /com.quantcomponents.algo/src/com/quantcomponents/algo/ITradePoint.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.algo; 11 | 12 | import java.util.Date; 13 | 14 | import com.quantcomponents.core.model.ISeriesPoint; 15 | 16 | /** 17 | * Interface to embed trade information within a {@link com.quantcomponents.core.model.ISeries} 18 | */ 19 | public interface ITradePoint extends ISeriesPoint { 20 | /** 21 | * Trade information 22 | */ 23 | ITrade getTrade(); 24 | } 25 | -------------------------------------------------------------------------------- /com.quantcomponents.algo/src/com/quantcomponents/algo/TradingAgentBindingHandle.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.algo; 11 | 12 | 13 | /** 14 | * Handle to a {@link TradingAgentBinding} 15 | * @see ITradingHierarchyManager 16 | */ 17 | public class TradingAgentBindingHandle extends HierarchyItemHandle { 18 | private static final long serialVersionUID = -337223424972178252L; 19 | 20 | public TradingAgentBindingHandle(String name) { 21 | super(name); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /com.quantcomponents.algo/src/com/quantcomponents/algo/TradingAgentExecutionHandle.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.algo; 11 | 12 | 13 | /** 14 | * Handle to {@link ITradingAgentExecution} 15 | * @see ITradingHierarchyManager 16 | */ 17 | public class TradingAgentExecutionHandle extends HierarchyItemHandle { 18 | private static final long serialVersionUID = -3522908246177343161L; 19 | 20 | public TradingAgentExecutionHandle(String name) { 21 | super(name); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /com.quantcomponents.base/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.base 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.pde.FeatureBuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.pde.FeatureNature 16 | 17 | 18 | -------------------------------------------------------------------------------- /com.quantcomponents.base/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = feature.xml 2 | -------------------------------------------------------------------------------- /com.quantcomponents.branding/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /com.quantcomponents.branding/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.branding 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /com.quantcomponents.branding/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 | org.eclipse.jdt.core.compiler.compliance=1.6 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.source=1.6 8 | -------------------------------------------------------------------------------- /com.quantcomponents.branding/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.branding/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Branding plugin 4 | Bundle-SymbolicName: com.quantcomponents.branding 5 | Bundle-Version: 1.0.0 6 | Bundle-Vendor: quantcomponents.com 7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 8 | JavaSE-1.7 9 | -------------------------------------------------------------------------------- /com.quantcomponents.branding/about.ini: -------------------------------------------------------------------------------- 1 | # about.ini 2 | # contains information about a feature 3 | # java.util.Properties file (ISO 8859-1 with "\" escapes) 4 | # "%key" are externalized strings defined in about.properties 5 | # This file doesn't need to be translated 6 | 7 | # Property "aboutText" contains blurb for About dialog 8 | aboutText=%blurb 9 | 10 | # Property "featureImage" contains path to feature image. (32x32) 11 | featureImage=quant_branding_32.png -------------------------------------------------------------------------------- /com.quantcomponents.branding/about.properties: -------------------------------------------------------------------------------- 1 | # about.properties 2 | # contains externalized strings for about.ini 3 | # java.util.Properties file (ISO 8859-1 with "\" escapes) 4 | # fill-ins are supplied by about.mappings 5 | # This file should be translated 6 | blurb=Quant Components\n\ 7 | \n\ 8 | Version: 1.0.0\n\ 9 | \n\ 10 | (c) Copyright Luigi Sgro 2013. All rights reserved.\n\ 11 | This offering is powered by Eclipse technology and includes\n\ 12 | Eclipse plug-ins that can be installed and used\n\ 13 | with other Eclipse-based offerings. -------------------------------------------------------------------------------- /com.quantcomponents.branding/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = META-INF/,\ 2 | . 3 | -------------------------------------------------------------------------------- /com.quantcomponents.branding/quant_branding_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.branding/quant_branding_32.png -------------------------------------------------------------------------------- /com.quantcomponents.branding/quant_branding_32.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.branding/quant_branding_32.xcf -------------------------------------------------------------------------------- /com.quantcomponents.chart/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.chart/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.chart/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.chart 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /com.quantcomponents.chart/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.chart/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Chart classes 4 | Bundle-SymbolicName: com.quantcomponents.chart 5 | Bundle-Version: 1.0.0 6 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 7 | JavaSE-1.7 8 | Import-Package: com.quantcomponents.core.calendar, 9 | com.quantcomponents.core.model, 10 | com.quantcomponents.core.series, 11 | com.quantcomponents.core.utils, 12 | com.quantcomponents.marketdata, 13 | org.eclipse.swt, 14 | org.eclipse.swt.events, 15 | org.eclipse.swt.graphics, 16 | org.eclipse.swt.layout, 17 | org.eclipse.swt.widgets 18 | Export-Package: com.quantcomponents.chart, 19 | com.quantcomponents.chart.series, 20 | com.quantcomponents.chart.series.scale 21 | -------------------------------------------------------------------------------- /com.quantcomponents.chart/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | . 5 | -------------------------------------------------------------------------------- /com.quantcomponents.chart/src/com/quantcomponents/chart/ICurrentValueProvider.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.chart; 11 | 12 | /** 13 | * 14 | * Chart objects that can provide a 'current value' to be highlighted 15 | * 16 | * @param type of the data-points 17 | */ 18 | public interface ICurrentValueProvider { 19 | T getCurrentValue(); 20 | } 21 | -------------------------------------------------------------------------------- /com.quantcomponents.chart/src/com/quantcomponents/chart/IDataRange.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.chart; 11 | 12 | /** 13 | * 14 | * Range for the X and Y coordinates of a series to be displayed on a chart 15 | * 16 | * @param type of the X coordinates 17 | * @param type of the Y coordinates 18 | */ 19 | public interface IDataRange { 20 | A getLowX(); 21 | A getHighX(); 22 | O getLowY(); 23 | O getHighY(); 24 | } 25 | -------------------------------------------------------------------------------- /com.quantcomponents.chart/src/com/quantcomponents/chart/IMark.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.chart; 11 | 12 | /** 13 | * 14 | * A single mark to be displayed along an axis 15 | * 16 | * @param the type of values along the axis 17 | */ 18 | public interface IMark { 19 | /** 20 | * Mark scale 21 | */ 22 | IMarkScale getScale(); 23 | /** 24 | * Value on the axis 25 | */ 26 | T getValue(); 27 | } 28 | -------------------------------------------------------------------------------- /com.quantcomponents.chart/src/com/quantcomponents/chart/series/IOHLCRenderer.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.chart.series; 11 | 12 | import java.util.Date; 13 | 14 | import com.quantcomponents.chart.IDrawable; 15 | 16 | /** 17 | * Interface for OHLC data points renderers 18 | */ 19 | public interface IOHLCRenderer extends IDrawable{ 20 | void setPointValues(Date index, double open, double high, double low, double close); 21 | } 22 | -------------------------------------------------------------------------------- /com.quantcomponents.chart/src/com/quantcomponents/chart/series/ISimpleRenderer.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.chart.series; 11 | 12 | import java.util.Date; 13 | 14 | import com.quantcomponents.chart.IDrawable; 15 | 16 | /** 17 | * Interface for renderers of a simple value on a chart 18 | */ 19 | public interface ISimpleRenderer extends IDrawable{ 20 | void setPointValues(Date index, double value); 21 | } 22 | -------------------------------------------------------------------------------- /com.quantcomponents.core/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.core/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.core/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.core 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /com.quantcomponents.core/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.core/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Core interfaces and classes 4 | Bundle-SymbolicName: com.quantcomponents.core 5 | Bundle-Version: 1.1.0 6 | Bundle-Vendor: quantcomponents.com 7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 8 | JavaSE-1.7 9 | Export-Package: com.quantcomponents.core.calendar, 10 | com.quantcomponents.core.exceptions, 11 | com.quantcomponents.core.model, 12 | com.quantcomponents.core.model.beans, 13 | com.quantcomponents.core.remote, 14 | com.quantcomponents.core.series, 15 | com.quantcomponents.core.utils, 16 | com.quantcomponents.core.xml 17 | -------------------------------------------------------------------------------- /com.quantcomponents.core/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | . 5 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/calendar/BankHoliday.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.calendar; 11 | 12 | 13 | /** 14 | * Utility class for emtpy trading days 15 | */ 16 | public class BankHoliday implements ITradingDay { 17 | private static final ITradingPeriod[] EMPTY_ARRAY = new ITradingPeriod[0]; 18 | 19 | @Override 20 | public ITradingPeriod[] getTradingPeriods() { 21 | return EMPTY_ARRAY; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/calendar/ITradingDay.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.calendar; 11 | 12 | /** 13 | * 14 | * Specification of a trading day, in terms of uninterrupted trading periods 15 | */ 16 | public interface ITradingDay { 17 | /** 18 | * @return zero or more trading periods for this day 19 | */ 20 | ITradingPeriod[] getTradingPeriods(); 21 | } 22 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/exceptions/NoDataReturnedException.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.exceptions; 11 | 12 | public class NoDataReturnedException extends RequestFailedException { 13 | private static final long serialVersionUID = 1L; 14 | public NoDataReturnedException() { 15 | super(); 16 | } 17 | public NoDataReturnedException(String message) { 18 | super(message); 19 | } 20 | public NoDataReturnedException(String message, Throwable e) { 21 | super(message, e); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/exceptions/PacingViolationException.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.exceptions; 11 | 12 | public class PacingViolationException extends RequestFailedException { 13 | private static final long serialVersionUID = 1L; 14 | public PacingViolationException() { 15 | super(); 16 | } 17 | public PacingViolationException(String message) { 18 | super(message); 19 | } 20 | public PacingViolationException(String message, Throwable e) { 21 | super(message, e); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/exceptions/PositionException.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.exceptions; 11 | 12 | public class PositionException extends RequestFailedException { 13 | private static final long serialVersionUID = 1L; 14 | public PositionException() { 15 | super(); 16 | } 17 | public PositionException(String message) { 18 | super(message); 19 | } 20 | public PositionException(String message, Throwable e) { 21 | super(message, e); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/exceptions/RequestFailedException.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.exceptions; 11 | 12 | public class RequestFailedException extends Exception { 13 | private static final long serialVersionUID = 1L; 14 | public RequestFailedException() { 15 | super(); 16 | } 17 | public RequestFailedException(String message) { 18 | super(message); 19 | } 20 | public RequestFailedException(String message, Throwable e) { 21 | super(message, e); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/model/IContractDesc.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.model; 11 | 12 | import java.util.TimeZone; 13 | 14 | /** 15 | * Longer description for financial contracts 16 | * 17 | */ 18 | public interface IContractDesc { 19 | /** 20 | * Long name of the contract 21 | */ 22 | String getLongName(); 23 | /** 24 | * Timezone of the primary trading venue for this contract 25 | */ 26 | TimeZone getTimeZone(); 27 | } 28 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/model/IForceImport_com_quantcomponents_core_model.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.model; 11 | 12 | /** 13 | * To be exposed by remote services, to force detection of this package 14 | * by ch.ethz.iks.r_osgi.impl.CodeAnalyzer. 15 | * This is a temporary hack, to work around a problem in the R-OSGi 16 | * provider. 17 | * 18 | */ 19 | public interface IForceImport_com_quantcomponents_core_model { 20 | 21 | } 22 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/model/IMutableSeries.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.model; 11 | 12 | /** 13 | * Mutable series interface 14 | * 15 | * @param The Abscissa type 16 | * @param The Ordinate type 17 | * @param

The type of the data point 18 | */ 19 | public interface IMutableSeries, O extends Comparable, P extends ISeriesPoint> extends ISeries, ISeriesAugmentable { 20 | /** 21 | * Empty the series 22 | */ 23 | void clear(); 24 | } 25 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/model/ISeriesProvider.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.model; 11 | 12 | /** 13 | * 14 | * Base interface for any class that contains a series 15 | * @param The Abscissa type 16 | * @param The Ordinate type 17 | */ 18 | public interface ISeriesProvider, O extends Comparable> { 19 | ISeries> getSeries(String ID); 20 | } 21 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/model/IdentifierType.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.model; 11 | 12 | /** 13 | * Type of contract identifier 14 | * 15 | */ 16 | public enum IdentifierType { 17 | CUSIP, SEDOL, ISIN, RIC 18 | } 19 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/model/OptionRight.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.model; 11 | 12 | /** 13 | * Option right 14 | */ 15 | public enum OptionRight { 16 | CALL, PUT 17 | } 18 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/model/OrderSide.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.model; 11 | 12 | /** 13 | * Side of an order 14 | */ 15 | public enum OrderSide { 16 | BUY, SELL 17 | } 18 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/model/OrderType.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.model; 11 | 12 | /** 13 | * Type of an order 14 | * 15 | */ 16 | public enum OrderType { 17 | LIMIT, MARKET, STOP 18 | } 19 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/remote/IForceImport_com_quantcomponents_core_remote.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.remote; 11 | 12 | /** 13 | * To be exposed by remote services, to force detection of this package 14 | * by ch.ethz.iks.r_osgi.impl.CodeAnalyzer. 15 | * This is a temporary hack, to work around a problem in the R-OSGi 16 | * provider. 17 | * 18 | */ 19 | public interface IForceImport_com_quantcomponents_core_remote { 20 | 21 | } 22 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/remote/IUIDGenerator.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.remote; 11 | 12 | /** 13 | * Interface for UID generators 14 | * 15 | */ 16 | public interface IUIDGenerator { 17 | /** 18 | * Create an ID unique for this object. 19 | * @return a long identifier 20 | */ 21 | Long nextUID(); 22 | } 23 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/utils/FileUtils.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.utils; 11 | 12 | import java.io.File; 13 | 14 | public class FileUtils { 15 | public static void deleteRecursive(File fileToDelete) { 16 | if (fileToDelete.isDirectory()) { 17 | for (File child : fileToDelete.listFiles()) { 18 | deleteRecursive(child); 19 | } 20 | } 21 | fileToDelete.delete(); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /com.quantcomponents.core/src/com/quantcomponents/core/utils/HostUtils.java: -------------------------------------------------------------------------------- 1 | package com.quantcomponents.core.utils; 2 | 3 | import java.net.InetAddress; 4 | import java.net.UnknownHostException; 5 | 6 | public class HostUtils { 7 | public static String hostname() { 8 | String hostname; 9 | try { 10 | hostname = InetAddress.getLocalHost().getHostName(); 11 | } catch (UnknownHostException e) { 12 | hostname = "localhost"; 13 | } 14 | return hostname; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /com.quantcomponents.demo.marketdata/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.demo.marketdata/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.demo.marketdata 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.pde.ds.core.builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.pde.PluginNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /com.quantcomponents.demo.marketdata/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.demo.marketdata/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Demo market data 4 | Bundle-SymbolicName: com.quantcomponents.demo.marketdata 5 | Bundle-Version: 1.0.0 6 | Bundle-Vendor: quantcomponents.com 7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 8 | JavaSE-1.7 9 | Import-Package: com.quantcomponents.core.calendar, 10 | com.quantcomponents.core.exceptions, 11 | com.quantcomponents.core.model, 12 | com.quantcomponents.core.model.beans, 13 | com.quantcomponents.core.series, 14 | com.quantcomponents.core.utils, 15 | com.quantcomponents.marketdata 16 | Service-Component: OSGI-INF/simulatedMarketDataProvider.xml 17 | -------------------------------------------------------------------------------- /com.quantcomponents.demo.marketdata/OSGI-INF/simulatedMarketDataProvider.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /com.quantcomponents.demo.marketdata/bin/.gitignore: -------------------------------------------------------------------------------- 1 | /com 2 | -------------------------------------------------------------------------------- /com.quantcomponents.demo.marketdata/bin/com/quantcomponents/demo/marketdata/DemoMarketDataManager.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.demo.marketdata/bin/com/quantcomponents/demo/marketdata/DemoMarketDataManager.class -------------------------------------------------------------------------------- /com.quantcomponents.demo.marketdata/bin/com/quantcomponents/demo/marketdata/SimulatedRealTimeMarketDataProvider$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.demo.marketdata/bin/com/quantcomponents/demo/marketdata/SimulatedRealTimeMarketDataProvider$1.class -------------------------------------------------------------------------------- /com.quantcomponents.demo.marketdata/bin/com/quantcomponents/demo/marketdata/SimulatedRealTimeMarketDataProvider.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.demo.marketdata/bin/com/quantcomponents/demo/marketdata/SimulatedRealTimeMarketDataProvider.class -------------------------------------------------------------------------------- /com.quantcomponents.demo.marketdata/build.properties: -------------------------------------------------------------------------------- 1 | output.. = bin/ 2 | bin.includes = META-INF/,\ 3 | .,\ 4 | OSGI-INF/,\ 5 | bin/ 6 | source.. = src/ 7 | jre.compilation.profile = JavaSE-1.7 8 | -------------------------------------------------------------------------------- /com.quantcomponents.ib/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.ib/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.ib/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.ib 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.pde.ds.core.builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.pde.PluginNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /com.quantcomponents.ib/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.ib/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Interactive Brokers Adapter 4 | Bundle-SymbolicName: com.quantcomponents.ib 5 | Bundle-Version: 1.5.0 6 | Bundle-Vendor: quantcomponents.com 7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 8 | JavaSE-1.7 9 | Import-Package: com.ib.client, 10 | com.quantcomponents.algo, 11 | com.quantcomponents.core.exceptions, 12 | com.quantcomponents.core.model, 13 | com.quantcomponents.core.model.beans, 14 | com.quantcomponents.core.series, 15 | com.quantcomponents.core.utils, 16 | com.quantcomponents.marketdata 17 | Service-Component: OSGI-INF/ibAdapter.xml 18 | -------------------------------------------------------------------------------- /com.quantcomponents.ib/OSGI-INF/ibAdapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /com.quantcomponents.ib/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | OSGI-INF/ 6 | -------------------------------------------------------------------------------- /com.quantcomponents.ib/configurations/com.quantcomponents.ib.adapter.cfg: -------------------------------------------------------------------------------- 1 | host=brutus 2 | port=7496 3 | clientId=333 4 | accountId=DU131781 5 | firstRequestNo=0 6 | noMktDataLinesKey=0 7 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.host/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.host/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.host/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.marketdata.osgi.host 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.pde.ds.core.builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.pde.PluginNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.host/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.host/OSGI-INF/ohlcTimeSeriesIteratorHost.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.host/OSGI-INF/tickTimeSeriesIteratorHost.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.host/OSGI-INF/uidGenerator.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.host/build.properties: -------------------------------------------------------------------------------- 1 | output.. = bin/ 2 | bin.includes = META-INF/,\ 3 | .,\ 4 | OSGI-INF/,\ 5 | OSGI-INF/marketDataManagerHost.xml 6 | source.. = src/ 7 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.host/configurations/com.quantcomponents.marketdata.host.marketDataManagerHost.cfg: -------------------------------------------------------------------------------- 1 | service.exported.interfaces=com.quantcomponents.marketdata.osgi.IMarketDataManagerHost 2 | service.exported.configs=${r_osgi.containerType} 3 | #ecf.exported.containerfactoryargs=r-osgi://${r_osgi.host}:${r_osgi.port} 4 | #ecf.endpoint.connecttarget.id=r-osgi://${r_osgi.host}:${r_osgi.port} 5 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.host/configurations/com.quantcomponents.marketdata.host.ohlcTimeSeriesHost.cfg: -------------------------------------------------------------------------------- 1 | service.exported.interfaces=com.quantcomponents.marketdata.osgi.IMutableOHLCTimeSeriesHost 2 | service.exported.configs=${r_osgi.containerType} 3 | #ecf.exported.containerfactoryargs=r-osgi://${r_osgi.host}:${r_osgi.port} 4 | #ecf.endpoint.connecttarget.id=r-osgi://${r_osgi.host}:${r_osgi.port} 5 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.host/configurations/com.quantcomponents.marketdata.host.ohlcTimeSeriesIteratorHost.cfg: -------------------------------------------------------------------------------- 1 | service.exported.interfaces=com.quantcomponents.marketdata.osgi.IOHLCTimeSeriesIteratorHost 2 | service.exported.configs=${r_osgi.containerType} 3 | #ecf.exported.containerfactoryargs=r-osgi://${r_osgi.host}:${r_osgi.port} 4 | #ecf.endpoint.connecttarget.id=r-osgi://${r_osgi.host}:${r_osgi.port} 5 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.host/configurations/com.quantcomponents.marketdata.host.stockDatabaseHost.cfg: -------------------------------------------------------------------------------- 1 | service.exported.interfaces=com.quantcomponents.marketdata.osgi.IStockDatabaseHost 2 | service.exported.configs=${r_osgi.containerType} 3 | #ecf.exported.containerfactoryargs=r-osgi://${r_osgi.host}:${r_osgi.port} 4 | #ecf.endpoint.connecttarget.id=r-osgi://${r_osgi.host}:${r_osgi.port} 5 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.host/configurations/com.quantcomponents.marketdata.host.tickTimeSeriesHost.cfg: -------------------------------------------------------------------------------- 1 | service.exported.interfaces=com.quantcomponents.marketdata.osgi.IMutableTickTimeSeriesHost 2 | service.exported.configs=${r_osgi.containerType} 3 | #ecf.exported.containerfactoryargs=r-osgi://${r_osgi.host}:${r_osgi.port} 4 | #ecf.endpoint.connecttarget.id=r-osgi://${r_osgi.host}:${r_osgi.port} 5 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.host/configurations/com.quantcomponents.marketdata.host.tickTimeSeriesIteratorHost.cfg: -------------------------------------------------------------------------------- 1 | service.exported.interfaces=com.quantcomponents.marketdata.osgi.ITickTimeSeriesIteratorHost 2 | service.exported.configs=${r_osgi.containerType} 3 | #ecf.exported.containerfactoryargs=r-osgi://${r_osgi.host}:${r_osgi.port} 4 | #ecf.endpoint.connecttarget.id=r-osgi://${r_osgi.host}:${r_osgi.port} 5 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.host/configurations/com.quantcomponents.marketdata.host.virtualTimeSeriesHost.cfg: -------------------------------------------------------------------------------- 1 | service.exported.interfaces=com.quantcomponents.marketdata.osgi.IOHLCTimeSeriesHost 2 | service.exported.configs=${r_osgi.containerType} 3 | #ecf.exported.containerfactoryargs=r-osgi://${r_osgi.host}:${r_osgi.port} 4 | #ecf.endpoint.connecttarget.id=r-osgi://${r_osgi.host}:${r_osgi.port} 5 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.proxy/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.proxy/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.proxy/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.marketdata.osgi.proxy 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.pde.ds.core.builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.pde.PluginNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.proxy/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.proxy/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Proxy for remote MarketDataManager service 4 | Bundle-SymbolicName: com.quantcomponents.marketdata.osgi.proxy 5 | Bundle-Version: 1.0.0 6 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 7 | JavaSE-1.7 8 | Import-Package: com.quantcomponents.core.exceptions, 9 | com.quantcomponents.core.model, 10 | com.quantcomponents.core.osgi, 11 | com.quantcomponents.core.remote, 12 | com.quantcomponents.marketdata, 13 | com.quantcomponents.marketdata.osgi, 14 | org.osgi.framework;version="1.7.0", 15 | org.osgi.service.log;version="1.3.0" 16 | Service-Component: OSGI-INF/marketDataManagerProxy.xml,OSGI-INF/ohlcTimeSeriesListenerHost.xml, 17 | OSGI-INF/stockDatabaseProxyFactory.xml,OSGI-INF/taskMonitorHost.xml,OSGI-INF/tickTimeSeriesListenerHost.xml, 18 | OSGI-INF/uidGenerator.xml 19 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.proxy/OSGI-INF/ohlcTimeSeriesListenerHost.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.proxy/OSGI-INF/taskMonitorHost.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.proxy/OSGI-INF/tickTimeSeriesListenerHost.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.proxy/OSGI-INF/uidGenerator.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.proxy/build.properties: -------------------------------------------------------------------------------- 1 | output.. = bin/ 2 | bin.includes = META-INF/,\ 3 | .,\ 4 | OSGI-INF/ 5 | source.. = src/ 6 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.proxy/configurations/com.quantcomponents.marketdata.proxy.ohlcTimeSeriesListenerHost.cfg: -------------------------------------------------------------------------------- 1 | service.exported.interfaces=com.quantcomponents.marketdata.osgi.IOHLCTimeSeriesListenerHost 2 | service.exported.configs=${r_osgi.containerType} 3 | #ecf.exported.containerfactoryargs=r-osgi://${r_osgi.host}:${r_osgi.port} 4 | #ecf.endpoint.connecttarget.id=r-osgi://${r_osgi.host}:${r_osgi.port} 5 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.proxy/configurations/com.quantcomponents.marketdata.proxy.taskMonitorHost.cfg: -------------------------------------------------------------------------------- 1 | service.exported.interfaces=com.quantcomponents.core.remote.ITaskMonitorHost 2 | service.exported.configs=${r_osgi.containerType} 3 | #ecf.exported.containerfactoryargs=r-osgi://${r_osgi.host}:${r_osgi.port} 4 | #ecf.endpoint.connecttarget.id=r-osgi://${r_osgi.host}:${r_osgi.port} 5 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi.proxy/configurations/com.quantcomponents.marketdata.proxy.tickTimeSeriesListenerHost.cfg: -------------------------------------------------------------------------------- 1 | service.exported.interfaces=com.quantcomponents.marketdata.osgi.ITickTimeSeriesListenerHost 2 | service.exported.configs=${r_osgi.containerType} 3 | #ecf.exported.containerfactoryargs=r-osgi://${r_osgi.host}:${r_osgi.port} 4 | #ecf.endpoint.connecttarget.id=r-osgi://${r_osgi.host}:${r_osgi.port} 5 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.marketdata.osgi 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.pde.ds.core.builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.pde.PluginNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: OSGi configuration for market data classes 4 | Bundle-SymbolicName: com.quantcomponents.marketdata.osgi 5 | Bundle-Version: 1.0.0 6 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 7 | JavaSE-1.7 8 | Import-Package: com.quantcomponents.core.exceptions, 9 | com.quantcomponents.core.model, 10 | com.quantcomponents.core.osgi, 11 | com.quantcomponents.core.remote, 12 | com.quantcomponents.core.series, 13 | com.quantcomponents.marketdata, 14 | org.osgi.framework;version="1.7.0", 15 | org.osgi.service.log;version="1.3.0" 16 | Service-Component: OSGI-INF/shellInterpreter.xml 17 | Export-Package: com.quantcomponents.marketdata.osgi 18 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/OSGI-INF/shellInterpreter.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | marketdataprovider 10 | marketdatamanager 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/build.properties: -------------------------------------------------------------------------------- 1 | output.. = bin/ 2 | bin.includes = META-INF/,\ 3 | .,\ 4 | OSGI-INF/,\ 5 | OSGI-INF/shellInterpreter.xml 6 | source.. = src/ 7 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/src/com/quantcomponents/marketdata/osgi/IMutableOHLCTimeSeriesHostLocal.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata.osgi; 11 | 12 | public interface IMutableOHLCTimeSeriesHostLocal extends IOHLCTimeSeriesHostLocal { 13 | 14 | } 15 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/src/com/quantcomponents/marketdata/osgi/IOHLCTimeSeriesHostLocal.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata.osgi; 11 | 12 | import java.util.Date; 13 | 14 | import com.quantcomponents.core.osgi.ISeriesHostLocal; 15 | import com.quantcomponents.marketdata.IOHLCPoint; 16 | 17 | public interface IOHLCTimeSeriesHostLocal extends ISeriesHostLocal { 18 | 19 | } 20 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/src/com/quantcomponents/marketdata/osgi/IOHLCTimeSeriesIteratorHost.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata.osgi; 11 | 12 | import java.util.Date; 13 | 14 | import com.quantcomponents.core.model.IForceImport_com_quantcomponents_core_model; 15 | import com.quantcomponents.core.osgi.ISeriesIteratorHost; 16 | import com.quantcomponents.marketdata.IOHLCPoint; 17 | 18 | public interface IOHLCTimeSeriesIteratorHost extends ISeriesIteratorHost, IForceImport_com_quantcomponents_core_model {} 19 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/src/com/quantcomponents/marketdata/osgi/IOHLCTimeSeriesIteratorHostLocal.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata.osgi; 11 | 12 | import java.util.Date; 13 | 14 | import com.quantcomponents.core.osgi.ISeriesIteratorHostLocal; 15 | import com.quantcomponents.marketdata.IOHLCPoint; 16 | 17 | public interface IOHLCTimeSeriesIteratorHostLocal extends ISeriesIteratorHostLocal { 18 | 19 | } 20 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/src/com/quantcomponents/marketdata/osgi/IOHLCTimeSeriesListenerHost.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata.osgi; 11 | 12 | import java.util.Date; 13 | 14 | import com.quantcomponents.core.osgi.ISeriesListenerHost; 15 | import com.quantcomponents.marketdata.IOHLCPoint; 16 | 17 | public interface IOHLCTimeSeriesListenerHost extends ISeriesListenerHost { 18 | 19 | } 20 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/src/com/quantcomponents/marketdata/osgi/IOHLCTimeSeriesListenerHostLocal.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata.osgi; 11 | 12 | import java.util.Date; 13 | 14 | import com.quantcomponents.core.osgi.ISeriesListenerHostLocal; 15 | import com.quantcomponents.marketdata.IOHLCPoint; 16 | 17 | public interface IOHLCTimeSeriesListenerHostLocal extends ISeriesListenerHostLocal { 18 | 19 | } 20 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/src/com/quantcomponents/marketdata/osgi/IStockDatabaseHandleMap.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata.osgi; 11 | 12 | import com.quantcomponents.core.remote.ServiceHandle; 13 | import com.quantcomponents.marketdata.IStockDatabase; 14 | 15 | public interface IStockDatabaseHandleMap { 16 | ServiceHandle getHandleByStockDb(IStockDatabase stockDb); 17 | IStockDatabase getStockDbByHandle(ServiceHandle stockDbHandle); 18 | } 19 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/src/com/quantcomponents/marketdata/osgi/IStockDatabaseProxyFactory.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata.osgi; 11 | 12 | import com.quantcomponents.core.remote.ServiceHandle; 13 | import com.quantcomponents.marketdata.IStockDatabase; 14 | 15 | public interface IStockDatabaseProxyFactory { 16 | IStockDatabase createStockDatabaseProxy(ServiceHandle stockDbHandle); 17 | } 18 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/src/com/quantcomponents/marketdata/osgi/ITickTimeSeriesHostLocal.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata.osgi; 11 | 12 | import java.util.Date; 13 | 14 | import com.quantcomponents.core.osgi.ISeriesHostLocal; 15 | import com.quantcomponents.marketdata.ITickPoint; 16 | 17 | public interface ITickTimeSeriesHostLocal extends ISeriesHostLocal { 18 | 19 | } 20 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/src/com/quantcomponents/marketdata/osgi/ITickTimeSeriesIteratorHost.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata.osgi; 11 | 12 | import java.util.Date; 13 | 14 | import com.quantcomponents.core.osgi.ISeriesIteratorHost; 15 | import com.quantcomponents.marketdata.ITickPoint; 16 | 17 | public interface ITickTimeSeriesIteratorHost extends ISeriesIteratorHost { 18 | 19 | } 20 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/src/com/quantcomponents/marketdata/osgi/ITickTimeSeriesIteratorHostLocal.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata.osgi; 11 | 12 | import java.util.Date; 13 | 14 | import com.quantcomponents.core.osgi.ISeriesIteratorHostLocal; 15 | import com.quantcomponents.marketdata.ITickPoint; 16 | 17 | public interface ITickTimeSeriesIteratorHostLocal extends ISeriesIteratorHostLocal { 18 | 19 | } 20 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/src/com/quantcomponents/marketdata/osgi/ITickTimeSeriesListenerHost.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata.osgi; 11 | 12 | import java.util.Date; 13 | 14 | import com.quantcomponents.core.osgi.ISeriesListenerHost; 15 | import com.quantcomponents.marketdata.ITickPoint; 16 | 17 | public interface ITickTimeSeriesListenerHost extends ISeriesListenerHost { 18 | 19 | } 20 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata.osgi/src/com/quantcomponents/marketdata/osgi/ITickTimeSeriesListenerHostLocal.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata.osgi; 11 | 12 | import java.util.Date; 13 | 14 | import com.quantcomponents.core.osgi.ISeriesListenerHostLocal; 15 | import com.quantcomponents.marketdata.ITickPoint; 16 | 17 | public interface ITickTimeSeriesListenerHostLocal extends ISeriesListenerHostLocal { 18 | 19 | } 20 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.marketdata 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.pde.ds.core.builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.pde.PluginNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Data Management Service 4 | Bundle-SymbolicName: com.quantcomponents.marketdata 5 | Bundle-Version: 1.5.0 6 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 7 | JavaSE-1.7 8 | Import-Package: com.quantcomponents.core.calendar, 9 | com.quantcomponents.core.exceptions, 10 | com.quantcomponents.core.model, 11 | com.quantcomponents.core.model.beans, 12 | com.quantcomponents.core.remote, 13 | com.quantcomponents.core.series, 14 | com.quantcomponents.core.utils 15 | Export-Package: com.quantcomponents.marketdata 16 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata/build.properties: -------------------------------------------------------------------------------- 1 | output.. = bin/ 2 | bin.includes = META-INF/,\ 3 | . 4 | source.. = src/ 5 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata/src/com/quantcomponents/marketdata/IMutableOHLCTimeSeries.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata; 11 | 12 | 13 | /** 14 | * 15 | * Mutable version of {@link IOHLCTimeSeries} 16 | */ 17 | public interface IMutableOHLCTimeSeries extends IOHLCTimeSeries, IMutableTimeSeries { 18 | } 19 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata/src/com/quantcomponents/marketdata/IMutableTickTimeSeries.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata; 11 | 12 | 13 | 14 | /** 15 | * 16 | * Mutable version of {@link ITickTimeSeries} 17 | */ 18 | public interface IMutableTickTimeSeries extends ITickTimeSeries, IMutableTimeSeries { 19 | } 20 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata/src/com/quantcomponents/marketdata/IOHLCPoint.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata; 11 | 12 | import java.util.Date; 13 | 14 | import com.quantcomponents.core.model.ISeriesPoint; 15 | 16 | /** 17 | * OHLC data-point 18 | */ 19 | public interface IOHLCPoint extends IOHLC, ISeriesPoint { 20 | } 21 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata/src/com/quantcomponents/marketdata/IStockDataCollection.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata; 11 | 12 | import com.quantcomponents.core.model.IContract; 13 | 14 | /** 15 | * Generic interface for all the collection types related to a specific contract 16 | * Its use in the framework is to narrow down the type of a series to a contract price series 17 | */ 18 | public interface IStockDataCollection { 19 | /** 20 | * Return the contract the collection data is about 21 | */ 22 | IContract getContract(); 23 | } 24 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata/src/com/quantcomponents/marketdata/IStockDatabaseContainerFactory.java: -------------------------------------------------------------------------------- 1 | package com.quantcomponents.marketdata; 2 | 3 | public interface IStockDatabaseContainerFactory { 4 | IStockDatabaseContainer getInstance(String id) throws Exception; 5 | } 6 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata/src/com/quantcomponents/marketdata/ITickPoint.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | 3 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 4 | * program and the accompanying materials are made available under the terms of 5 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 6 | * available at http://www.eclipse.org/legal/epl-v10.html 7 | * 8 | * Contributors: 9 | * Luigi Sgro - initial API and implementation 10 | ******************************************************************************/ 11 | package com.quantcomponents.marketdata; 12 | 13 | import java.util.Date; 14 | 15 | import com.quantcomponents.core.model.DataType; 16 | import com.quantcomponents.core.model.ISeriesPoint; 17 | 18 | /** 19 | * Tick data point 20 | */ 21 | public interface ITickPoint extends ISeriesPoint { 22 | DataType getDataType(); 23 | Integer getSize(); 24 | } 25 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata/src/com/quantcomponents/marketdata/ITickTimeSeries.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata; 11 | 12 | import com.quantcomponents.core.model.DataType; 13 | 14 | /** 15 | * Time series containing only tick data points 16 | */ 17 | public interface ITickTimeSeries extends ITimeSeries, IStockDataCollection { 18 | /** 19 | * Returns the data type of the ticks 20 | */ 21 | DataType getDataType(); 22 | } 23 | -------------------------------------------------------------------------------- /com.quantcomponents.marketdata/src/com/quantcomponents/marketdata/ITimeSeriesListener.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.marketdata; 11 | 12 | import java.util.Date; 13 | 14 | import com.quantcomponents.core.model.ISeriesListener; 15 | 16 | 17 | /** 18 | * Specific listener for time series 19 | */ 20 | public interface ITimeSeriesListener extends ISeriesListener { 21 | 22 | } 23 | -------------------------------------------------------------------------------- /com.quantcomponents.osgi/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.osgi/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.osgi/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.core.osgi 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.pde.ds.core.builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.pde.PluginNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /com.quantcomponents.osgi/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.osgi/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: OSGi adapters for core classes 4 | Bundle-SymbolicName: com.quantcomponents.core.osgi 5 | Bundle-Version: 1.0.0 6 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 7 | JavaSE-1.7 8 | Import-Package: com.quantcomponents.algo, 9 | com.quantcomponents.core.model, 10 | com.quantcomponents.core.model.beans, 11 | com.quantcomponents.core.remote, 12 | com.quantcomponents.core.utils, 13 | com.quantcomponents.marketdata, 14 | org.osgi.framework;version="1.7.0", 15 | org.osgi.service.cm;version="1.4.0", 16 | org.osgi.service.log;version="1.3.0" 17 | Export-Package: com.quantcomponents.core.osgi 18 | Service-Component: OSGI-INF/shellInterpreter.xml 19 | -------------------------------------------------------------------------------- /com.quantcomponents.osgi/OSGI-INF/shellInterpreter.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | help 10 | mytimezone 11 | timezone 12 | baredate 13 | date 14 | barsize 15 | datatype 16 | sectype 17 | optionright 18 | contract 19 | taskmonitor 20 | serieslistener 21 | 22 | 23 | -------------------------------------------------------------------------------- /com.quantcomponents.osgi/build.properties: -------------------------------------------------------------------------------- 1 | output.. = bin/ 2 | bin.includes = META-INF/,\ 3 | .,\ 4 | OSGI-INF/,\ 5 | OSGI-INF/shellInterpreter.xml 6 | source.. = src/ 7 | -------------------------------------------------------------------------------- /com.quantcomponents.osgi/doc/test-commands.txt: -------------------------------------------------------------------------------- 1 | a = (quant:marketDataProvider) 2 | $a connect null 3 | dm = (data:dataManager) 4 | cc = $dm searchcontracts (quant:contract ES FUT USD) null 5 | c = $cc get 0 6 | sdb = $dm createstockdatabase $c (quant:barsize ONE_DAY) true (quant:defaulttimezone) 7 | $dm fillhistoricaldata $sdb (quant:date 2012 1 1 0 0 0) (quant:date 2012 3 30 0 0 0) null 8 | $dm startrealtimeupdate $sdb true null 9 | $dm stoprealtimeupdate $sdb 10 | v = $sdb getvirtualtimeseries 11 | $dm startrealtimeupdate $sdb false null 12 | 13 | -------------------------------------------------------------------------------- /com.quantcomponents.osgi/src/com/quantcomponents/core/osgi/ISeriesIteratorHost.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.core.osgi; 11 | 12 | import com.quantcomponents.core.model.ISeriesPoint; 13 | import com.quantcomponents.core.remote.ServiceHandle; 14 | 15 | public interface ISeriesIteratorHost, O extends Comparable, P extends ISeriesPoint> { 16 | boolean hasNext(ServiceHandle> iteratorHostHandle); 17 | P next(ServiceHandle> iteratorHostHandle); 18 | } 19 | -------------------------------------------------------------------------------- /com.quantcomponents.series.jdbc.derby/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.series.jdbc.derby/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.series.jdbc.derby/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.series.jdbc.derby 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.pde.ds.core.builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.pde.PluginNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /com.quantcomponents.series.jdbc.derby/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.series.jdbc.derby/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Stock DB persisten container with Derby adapter 4 | Bundle-SymbolicName: com.quantcomponents.series.jdbc.derby 5 | Bundle-Version: 1.5.0 6 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 7 | JavaSE-1.7 8 | Import-Package: com.quantcomponents.core.model, 9 | com.quantcomponents.core.model.beans, 10 | com.quantcomponents.core.series, 11 | com.quantcomponents.core.utils, 12 | com.quantcomponents.marketdata, 13 | com.quantcomponents.series.jdbc, 14 | org.apache.derby.jdbc, 15 | org.osgi.framework;version="1.7.0", 16 | org.osgi.service.jdbc;version="1.0.0" 17 | Service-Component: OSGI-INF/stockDatabaseContainer.xml 18 | -------------------------------------------------------------------------------- /com.quantcomponents.series.jdbc.derby/OSGI-INF/stockDatabaseContainer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /com.quantcomponents.series.jdbc.derby/build.properties: -------------------------------------------------------------------------------- 1 | output.. = bin/ 2 | bin.includes = META-INF/,\ 3 | .,\ 4 | OSGI-INF/ 5 | source.. = src/ 6 | -------------------------------------------------------------------------------- /com.quantcomponents.series.jdbc/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.series.jdbc/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.series.jdbc/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.series.jdbc 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /com.quantcomponents.series.jdbc/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.series.jdbc/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Jdbc 4 | Bundle-SymbolicName: com.quantcomponents.series.jdbc 5 | Bundle-Version: 1.5.0 6 | Bundle-Activator: com.quantcomponents.series.jdbc.Activator 7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 8 | JavaSE-1.7 9 | Import-Package: com.quantcomponents.core.model, 10 | com.quantcomponents.core.model.beans, 11 | com.quantcomponents.core.series, 12 | com.quantcomponents.core.utils, 13 | com.quantcomponents.marketdata, 14 | org.osgi.framework;version="1.3.0" 15 | Export-Package: com.quantcomponents.series.jdbc 16 | -------------------------------------------------------------------------------- /com.quantcomponents.series.jdbc/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | . 5 | -------------------------------------------------------------------------------- /com.quantcomponents.series.jdbc/src/com/quantcomponents/series/jdbc/IDbInitializable.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.series.jdbc; 11 | 12 | import java.sql.SQLException; 13 | 14 | public interface IDbInitializable { 15 | void initDb() throws SQLException; 16 | } 17 | -------------------------------------------------------------------------------- /com.quantcomponents.series.jdbc/src/com/quantcomponents/series/jdbc/IFlushable.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.series.jdbc; 11 | 12 | import java.sql.SQLException; 13 | 14 | public interface IFlushable { 15 | void flush() throws SQLException; 16 | } 17 | -------------------------------------------------------------------------------- /com.quantcomponents.tradingcalendars.standard/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /com.quantcomponents.tradingcalendars.standard/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.tradingcalendars.standard 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /com.quantcomponents.tradingcalendars.standard/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.tradingcalendars.standard/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Standard Trading Calendars 4 | Bundle-SymbolicName: com.quantcomponents.tradingcalendars.standard 5 | Bundle-Version: 1.0.0 6 | Bundle-Vendor: quantcomponents.com 7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 8 | JavaSE-1.7 9 | -------------------------------------------------------------------------------- /com.quantcomponents.tradingcalendars.standard/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = META-INF/,\ 2 | tradingCalendars/ 3 | -------------------------------------------------------------------------------- /com.quantcomponents.tradingcalendars/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /com.quantcomponents.tradingcalendars/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.tradingcalendars/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.tradingcalendars 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /com.quantcomponents.tradingcalendars/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.tradingcalendars/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Trading Calendar Server 4 | Bundle-SymbolicName: com.quantcomponents.tradingcalendars 5 | Bundle-Version: 1.0.0 6 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 7 | JavaSE-1.7 8 | Import-Package: com.quantcomponents.core.calendar, 9 | com.quantcomponents.core.model, 10 | com.quantcomponents.core.model.beans, 11 | com.quantcomponents.core.utils, 12 | com.quantcomponents.core.xml, 13 | org.osgi.framework;version="1.7.0" 14 | Bundle-Activator: com.quantcomponents.tradingcalendars.Activator 15 | -------------------------------------------------------------------------------- /com.quantcomponents.tradingcalendars/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/,\ 2 | test/ 3 | output.. = bin/ 4 | bin.includes = META-INF/,\ 5 | . 6 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.ui.algo 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: UI for algo services 4 | Bundle-SymbolicName: com.quantcomponents.ui.algo;singleton:=true 5 | Bundle-Version: 1.1.0 6 | Bundle-Activator: com.quantcomponents.ui.algo.TradingAgentPlugin 7 | Require-Bundle: org.eclipse.core.runtime, 8 | org.eclipse.ui;bundle-version="3.103.0" 9 | Bundle-ActivationPolicy: lazy 10 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 11 | JavaSE-1.7 12 | Import-Package: com.quantcomponents.algo, 13 | com.quantcomponents.chart.series, 14 | com.quantcomponents.core.calendar, 15 | com.quantcomponents.core.model, 16 | com.quantcomponents.core.model.beans, 17 | com.quantcomponents.core.remote, 18 | com.quantcomponents.core.series, 19 | com.quantcomponents.core.utils, 20 | com.quantcomponents.marketdata, 21 | com.quantcomponents.ui.core, 22 | com.quantcomponents.ui.marketdata, 23 | org.eclipse.core.resources 24 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | plugin.xml,\ 6 | bin/,\ 7 | icons/,\ 8 | src/ 9 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/decoratorPaused.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/decoratorPaused.png -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/decoratorPaused.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/decoratorPaused.xcf -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/decoratorRunning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/decoratorRunning.png -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/decoratorRunning.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/decoratorRunning.xcf -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/equityCurve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/equityCurve.png -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/equityCurve.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/equityCurve.xcf -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/positions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/positions.png -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/positions.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/positions.xcf -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/tradingAgent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/tradingAgent.png -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/tradingAgent.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/tradingAgent.xcf -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/tradingAgentBinding.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/tradingAgentBinding.png -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/tradingAgentBinding.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/tradingAgentBinding.xcf -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/tradingAgentExecution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/tradingAgentExecution.png -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/tradingAgentExecution.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/tradingAgentExecution.xcf -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/tradingAgentFactory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/tradingAgentFactory.png -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/tradingAgentFactory.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/tradingAgentFactory.xcf -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/tradingAgentManager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/tradingAgentManager.png -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/tradingAgentManager.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/tradingAgentManager.xcf -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/tradingStats.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/tradingStats.png -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/icons/tradingStats.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.algo/icons/tradingStats.xcf -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/src/com/quantcomponents/ui/algo/IStockDatabaseTradingManagerContainer.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.ui.algo; 11 | 12 | import com.quantcomponents.algo.IStockDatabaseTradingManager; 13 | import com.quantcomponents.ui.core.IMonitorableContainer; 14 | 15 | public interface IStockDatabaseTradingManagerContainer extends IMonitorableContainer { 16 | 17 | } 18 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/src/com/quantcomponents/ui/algo/TradingAgentBindingWrapper.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.ui.algo; 11 | 12 | import com.quantcomponents.algo.IStockDatabaseTradingManager; 13 | import com.quantcomponents.algo.TradingAgentBindingHandle; 14 | 15 | public class TradingAgentBindingWrapper extends BaseWrapper { 16 | public TradingAgentBindingWrapper(TradingAgentBindingHandle bindingHandle, IStockDatabaseTradingManager manager) { 17 | super(bindingHandle, manager); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/src/com/quantcomponents/ui/algo/TradingAgentExecutionWrapper.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.ui.algo; 11 | 12 | import com.quantcomponents.algo.IStockDatabaseTradingManager; 13 | import com.quantcomponents.algo.TradingAgentExecutionHandle; 14 | 15 | public class TradingAgentExecutionWrapper extends BaseWrapper { 16 | public TradingAgentExecutionWrapper(TradingAgentExecutionHandle bindingHandle, IStockDatabaseTradingManager manager) { 17 | super(bindingHandle, manager); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.algo/src/com/quantcomponents/ui/algo/TradingAgentFactoryWrapper.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.ui.algo; 11 | 12 | import com.quantcomponents.algo.IStockDatabaseTradingManager; 13 | import com.quantcomponents.algo.TradingAgentFactoryHandle; 14 | 15 | public class TradingAgentFactoryWrapper extends BaseWrapper { 16 | public TradingAgentFactoryWrapper(TradingAgentFactoryHandle bindingHandle, IStockDatabaseTradingManager manager) { 17 | super(bindingHandle, manager); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.client/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.client/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.client/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.ui.client 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.client/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 | org.eclipse.jdt.core.compiler.compliance=1.6 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.source=1.6 8 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.client/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Client framework activator 4 | Bundle-SymbolicName: com.quantcomponents.ui.client;singleton:=true 5 | Bundle-Version: 1.0.0 6 | Bundle-Activator: com.quantcomponents.ui.client.QuantComponentsClientPlugin 7 | Bundle-Vendor: quantcomponents.com 8 | Require-Bundle: org.eclipse.ui, 9 | org.eclipse.core.runtime 10 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 11 | JavaSE-1.7 12 | Bundle-ActivationPolicy: lazy 13 | Import-Package: com.quantcomponents.ui.core 14 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.client/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | plugin.xml,\ 6 | bin/ 7 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.client/config/client_startup_bundles.properties: -------------------------------------------------------------------------------- 1 | org.apache.felix.fileinstall=3.2.4 2 | org.eclipse.equinox.cm=1.0.400 3 | com.quantcomponents.algo.osgi.proxy=1.0.0 4 | com.quantcomponents.core.osgi=1.0.0 5 | com.quantcomponents.marketdata.osgi=1.0.0 6 | com.quantcomponents.marketdata.proxy=1.0.0 7 | com.quantcomponents.tradingcalendars=1.0.0 8 | com.quantcomponents.ui.log=1.0.0 9 | 10 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.client/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.client/src/com/quantcomponents/ui/client/QuantComponentsServiceStartup.java: -------------------------------------------------------------------------------- 1 | package com.quantcomponents.ui.client; 2 | 3 | import java.util.logging.Level; 4 | import java.util.logging.Logger; 5 | 6 | import org.eclipse.ui.IStartup; 7 | 8 | /* the real work is done by the bundle activator, 9 | * this class purpose is to trigger lazy activation 10 | * upon loading by the Eclipse framework, caused by 11 | * the org.eclipse.ui.startup extension declared by 12 | * this plugin */ 13 | public class QuantComponentsServiceStartup implements IStartup { 14 | private static final Logger logger = Logger.getLogger(QuantComponentsServiceStartup.class.getName()); 15 | @Override 16 | public void earlyStartup() { 17 | logger.log(Level.INFO, "Auto-starting QuantComponents framework"); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.core/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.core/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.core/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.ui.core 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.core/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.core/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Core classes for UI 4 | Bundle-SymbolicName: com.quantcomponents.ui.core 5 | Bundle-Version: 1.0.0 6 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 7 | JavaSE-1.7 8 | Import-Package: com.quantcomponents.core.model, 9 | com.quantcomponents.core.series, 10 | com.quantcomponents.core.utils 11 | Require-Bundle: org.eclipse.ui;bundle-version="3.103.0", 12 | org.eclipse.core.runtime;bundle-version="3.8.0" 13 | Export-Package: com.quantcomponents.ui.core 14 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.core/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | . 5 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.core/src/com/quantcomponents/ui/core/IMonitorableContainer.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.ui.core; 11 | 12 | import java.util.Collection; 13 | 14 | public interface IMonitorableContainer { 15 | Collection getElements(); 16 | void addListener(IMonitorableContainerListener listener); 17 | void removeListener(IMonitorableContainerListener listener); 18 | void dispose(); 19 | } 20 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.core/src/com/quantcomponents/ui/core/IMonitorableContainerListener.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.ui.core; 11 | 12 | 13 | public interface IMonitorableContainerListener { 14 | void onElementAdded(T element); 15 | void onElementRemoved(T element); 16 | void onElementModified(T element); 17 | } 18 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.core/src/com/quantcomponents/ui/core/IMutableMonitorableContainer.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.ui.core; 11 | 12 | 13 | public interface IMutableMonitorableContainer extends IMonitorableContainer { 14 | 15 | void addElement(S element); 16 | 17 | boolean removeElement(S element); 18 | 19 | boolean removeWrapper(T element); 20 | } -------------------------------------------------------------------------------- /com.quantcomponents.ui.log/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.log/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.log/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.ui.log 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.log/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 | org.eclipse.jdt.core.compiler.compliance=1.6 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.source=1.6 8 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.log/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Hook to write OSGi logs into the Eclipse log facility 4 | Bundle-SymbolicName: com.quantcomponents.ui.log 5 | Bundle-Version: 1.0.0 6 | Bundle-Activator: com.quantcomponents.ui.log.Activator 7 | Require-Bundle: org.eclipse.core.runtime, 8 | org.eclipse.ui;bundle-version="3.103.0" 9 | Bundle-ActivationPolicy: lazy 10 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 11 | JavaSE-1.7 12 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.log/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | bin/ 6 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.marketdata/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.marketdata/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.marketdata/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.ui.marketdata 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.marketdata/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Marketdata 4 | Bundle-SymbolicName: com.quantcomponents.ui.marketdata;singleton:=true 5 | Bundle-Version: 1.5.0 6 | Bundle-Activator: com.quantcomponents.ui.marketdata.MarketDataPlugin 7 | Bundle-Vendor: quantcomponents.com 8 | Require-Bundle: org.eclipse.ui, 9 | org.eclipse.core.runtime 10 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 11 | JavaSE-1.7 12 | Import-Package: com.quantcomponents.chart, 13 | com.quantcomponents.chart.series, 14 | com.quantcomponents.chart.series.scale, 15 | com.quantcomponents.core.calendar, 16 | com.quantcomponents.core.exceptions, 17 | com.quantcomponents.core.model, 18 | com.quantcomponents.core.model.beans, 19 | com.quantcomponents.core.remote, 20 | com.quantcomponents.core.series, 21 | com.quantcomponents.core.utils, 22 | com.quantcomponents.marketdata, 23 | com.quantcomponents.ui.core, 24 | javax.inject;version="1.0.0" 25 | Bundle-ActivationPolicy: lazy 26 | Export-Package: com.quantcomponents.ui.marketdata 27 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.marketdata/README.txt: -------------------------------------------------------------------------------- 1 | Beware: 2 | OSGi modules to auto-start in client-server configuration: 3 | 4 | QuantComponents (runlevel: 5) 5 | 6 | com.quantcomponents.core.osgi 7 | com.quantcomponents.core.remote.client 8 | com.quantcomponents.marketdata.osgi.proxy 9 | com.quantcomponents.marketdata.osgi 10 | 11 | Infrastructure: 12 | org.apache.felix.fileinstall 13 | org.eclipse.ecf.osgi.services.distribution 14 | org.apache.hadoop.zookeeper 15 | org.eclipse.ecf.provider.zookeeper 16 | 17 | Eclipse (normally enabled): 18 | org.eclipse.equinox.cm 19 | org.eclipse.equinox.ds 20 | 21 | Make sure to NOT start: 22 | ch.ethz.iks.slp 23 | org.eclipse.ecf.provider.discovery # very dangerous: initialises erratically various discovery providers, which leads to system lockup when started in Eclipse 24 | org.eclipse.ecf.provider.dnssd 25 | org.eclipse.ecf.provider.jmdns 26 | org.eclipse.ecf.provider.jslp 27 | org.eclipse.ecf.provider.msn 28 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.marketdata/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | plugin.xml,\ 6 | icons/,\ 7 | bin/ 8 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.marketdata/icons/decoratorAutoupdate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.marketdata/icons/decoratorAutoupdate.png -------------------------------------------------------------------------------- /com.quantcomponents.ui.marketdata/icons/decoratorAutoupdate.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.marketdata/icons/decoratorAutoupdate.xcf -------------------------------------------------------------------------------- /com.quantcomponents.ui.marketdata/icons/marketDataManager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.marketdata/icons/marketDataManager.png -------------------------------------------------------------------------------- /com.quantcomponents.ui.marketdata/icons/marketDataManager.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.marketdata/icons/marketDataManager.xcf -------------------------------------------------------------------------------- /com.quantcomponents.ui.marketdata/icons/stockDatabase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.marketdata/icons/stockDatabase.png -------------------------------------------------------------------------------- /com.quantcomponents.ui.marketdata/icons/stockDatabase.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.marketdata/icons/stockDatabase.xcf -------------------------------------------------------------------------------- /com.quantcomponents.ui.marketdata/icons/unknownObject.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.marketdata/icons/unknownObject.png -------------------------------------------------------------------------------- /com.quantcomponents.ui.marketdata/icons/unknownObject.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.ui.marketdata/icons/unknownObject.xcf -------------------------------------------------------------------------------- /com.quantcomponents.ui.marketdata/src/com/quantcomponents/ui/marketdata/IMarketDataManagerContainer.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2013 Luigi Sgro. All rights reserved. This 3 | * program and the accompanying materials are made available under the terms of 4 | * the Eclipse Public License v1.0 which accompanies this distribution, and is 5 | * available at http://www.eclipse.org/legal/epl-v10.html 6 | * 7 | * Contributors: 8 | * Luigi Sgro - initial API and implementation 9 | ******************************************************************************/ 10 | package com.quantcomponents.ui.marketdata; 11 | 12 | import com.quantcomponents.ui.core.IMonitorableContainer; 13 | 14 | public interface IMarketDataManagerContainer extends IMonitorableContainer { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.standalone/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.standalone/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.standalone/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.ui.standalone 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.standalone/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 | org.eclipse.jdt.core.compiler.compliance=1.6 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.source=1.6 8 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.standalone/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Standalone framework activator 4 | Bundle-SymbolicName: com.quantcomponents.ui.standalone;singleton:=true 5 | Bundle-Version: 1.5.0 6 | Bundle-Vendor: quantcomponents.com 7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 8 | JavaSE-1.7 9 | Import-Package: com.quantcomponents.ui.core, 10 | org.osgi.framework;version="1.7.0" 11 | Require-Bundle: org.eclipse.ui;bundle-version="3.103.0", 12 | org.eclipse.core.runtime;bundle-version="3.8.0" 13 | Bundle-ActivationPolicy: lazy 14 | Bundle-Activator: com.quantcomponents.ui.standalone.QuantComponentStandalonePlugin 15 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.standalone/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | plugin.xml,\ 6 | config/,\ 7 | bin/ 8 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.standalone/config/standalone_startup_bundles.properties: -------------------------------------------------------------------------------- 1 | org.apache.felix.fileinstall=3.2.4 2 | org.eclipse.equinox.cm=1.0.400 3 | org.ops4j.pax.jdbc.derby=0.2.0 4 | com.quantcomponents.algo.container.serializing=1.0.0 5 | com.quantcomponents.algo.service=1.0.0 6 | com.quantcomponents.algo.ta=1.0.0 7 | com.quantcomponents.core.osgi=1.0.0 8 | com.quantcomponents.ib=1.0.0 9 | com.quantcomponents.yahoo=1.0.0 10 | com.quantcomponents.demo.marketdata=1.0.0 11 | com.quantcomponents.marketdata.osgi=1.0.0 12 | com.quantcomponents.marketdata.service=1.0.0 13 | com.quantcomponents.series.jdbc.derby=1.0.0 14 | com.quantcomponents.tradingcalendars=1.0.0 15 | com.quantcomponents.ui.log=1.0.0 16 | 17 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.standalone/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /com.quantcomponents.ui.standalone/src/com/quantcomponents/ui/standalone/QuantComponentsServiceStartup.java: -------------------------------------------------------------------------------- 1 | package com.quantcomponents.ui.standalone; 2 | 3 | import java.util.logging.Level; 4 | import java.util.logging.Logger; 5 | 6 | import org.eclipse.ui.IStartup; 7 | 8 | /* the real work is done by the bundle activator, 9 | * this class purpose is to trigger lazy activation 10 | * upon loading by the Eclipse framework, caused by 11 | * the org.eclipse.ui.startup extension declared by 12 | * this plugin */ 13 | public class QuantComponentsServiceStartup implements IStartup { 14 | private static final Logger logger = Logger.getLogger(QuantComponentsServiceStartup.class.getName()); 15 | @Override 16 | public void earlyStartup() { 17 | logger.log(Level.INFO, "Auto-starting QuantComponents framework"); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /com.quantcomponents.update-site/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.update-site 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.pde.UpdateSiteBuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.pde.UpdateSiteNature 16 | 17 | 18 | -------------------------------------------------------------------------------- /com.quantcomponents.update-site/artifacts.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/artifacts.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/content.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/content.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/features/com.quantcomponents.base_1.5.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/features/com.quantcomponents.base_1.5.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/generate_repository.sh: -------------------------------------------------------------------------------- 1 | java -jar eclipse/plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar -application org.eclipse.equinox.p2.publisher.UpdateSitePublisher -metadataRepository file:/home/gigio/com.quantcomponents.update-site -artifactRepository file:/home/gigio/com.quantcomponents.update-site -source src/quantcomponents/com.quantcomponents.update-site -configs gtk.linux.x86 -compress -publishArtifacts 2 | -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.ib.client_9.67.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.ib.client_9.67.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.algo.container.serializing_1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.algo.container.serializing_1.0.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.algo.osgi_1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.algo.osgi_1.0.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.algo.service_1.5.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.algo.service_1.5.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.algo.ta_1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.algo.ta_1.0.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.algo_1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.algo_1.0.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.chart_1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.chart_1.0.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.core.osgi_1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.core.osgi_1.0.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.core_1.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.core_1.1.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.ib_1.5.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.ib_1.5.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.marketdata.osgi_1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.marketdata.osgi_1.0.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.marketdata_1.5.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.marketdata_1.5.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.series.jdbc.derby_1.5.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.series.jdbc.derby_1.5.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.series.jdbc_1.5.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.series.jdbc_1.5.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.tradingcalendars.standard_1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.tradingcalendars.standard_1.0.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.tradingcalendars_1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.tradingcalendars_1.0.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.ui.algo_1.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.ui.algo_1.1.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.ui.client_1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.ui.client_1.0.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.ui.core_1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.ui.core_1.0.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.ui.log_1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.ui.log_1.0.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.ui.marketdata_1.5.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.ui.marketdata_1.5.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.ui.standalone_1.5.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.ui.standalone_1.5.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/com.quantcomponents.yahoo_1.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/com.quantcomponents.yahoo_1.0.1.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/derby_10.9.1000000.1344872.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/derby_10.9.1000000.1344872.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/org.apache.commons.httpclient_3.1.0.v201012070820.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/org.apache.commons.httpclient_3.1.0.v201012070820.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/org.apache.felix.fileinstall_3.2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/org.apache.felix.fileinstall_3.2.4.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/org.eclipse.equinox.cm_1.0.400.v20120522-1841.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/org.eclipse.equinox.cm_1.0.400.v20120522-1841.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/org.ops4j.pax.jdbc.derby_0.2.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/org.ops4j.pax.jdbc.derby_0.2.0.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/plugins/osgi.enterprise_4.4.0.201108270010.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lsgro/quantcomponents/65f200ca9fd45a78519af8a83afd024b6842305a/com.quantcomponents.update-site/plugins/osgi.enterprise_4.4.0.201108270010.jar -------------------------------------------------------------------------------- /com.quantcomponents.update-site/site.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.update-site/web/site.css: -------------------------------------------------------------------------------- 1 | 13 | -------------------------------------------------------------------------------- /com.quantcomponents.yahoo/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /com.quantcomponents.yahoo/.gitignore: -------------------------------------------------------------------------------- 1 | /bin 2 | -------------------------------------------------------------------------------- /com.quantcomponents.yahoo/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.quantcomponents.yahoo 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.pde.ds.core.builder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.pde.PluginNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /com.quantcomponents.yahoo/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 4 | org.eclipse.jdt.core.compiler.compliance=1.6 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.source=1.6 8 | -------------------------------------------------------------------------------- /com.quantcomponents.yahoo/.settings/org.eclipse.pde.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | pluginProject.extensions=false 3 | resolve.requirebundle=false 4 | -------------------------------------------------------------------------------- /com.quantcomponents.yahoo/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: Market data adapter for Yahoo! Finance 4 | Bundle-SymbolicName: com.quantcomponents.yahoo 5 | Bundle-Version: 1.0.1 6 | Bundle-Vendor: quantcomponents.com 7 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6, 8 | JavaSE-1.7 9 | Import-Package: com.quantcomponents.core.exceptions, 10 | com.quantcomponents.core.model, 11 | com.quantcomponents.core.model.beans, 12 | com.quantcomponents.core.utils, 13 | com.quantcomponents.marketdata, 14 | org.apache.commons.httpclient;version="3.1.0", 15 | org.apache.commons.httpclient.methods;version="3.1.0" 16 | Service-Component: OSGI-INF/yahooAdapter.xml 17 | Export-Package: com.quantcomponents.yahoo 18 | -------------------------------------------------------------------------------- /com.quantcomponents.yahoo/OSGI-INF/yahooAdapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /com.quantcomponents.yahoo/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | OSGI-INF/ 6 | -------------------------------------------------------------------------------- /com.quantcomponents.yahoo/src/com/quantcomponents/yahoo/JSONException.java: -------------------------------------------------------------------------------- 1 | package com.quantcomponents.yahoo; 2 | 3 | public class JSONException extends Exception { 4 | private static final long serialVersionUID = 1L; 5 | public JSONException(String message) { 6 | super(message); 7 | } 8 | } 9 | --------------------------------------------------------------------------------