-
Notifications
You must be signed in to change notification settings - Fork 59
/
IMarketDataService.java
29 lines (23 loc) · 1.06 KB
/
IMarketDataService.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//******************************************************************************
// SCICHART® Copyright SciChart Ltd. 2011-2017. All rights reserved.
//
// Web: http://www.scichart.com
// Support: support@scichart.com
// Sales: sales@scichart.com
//
// IMarketDataService.java is part of the SCICHART® Examples. Permission is hereby granted
// to modify, create derivative works, distribute and publish any part of this source
// code whether for commercial, private or personal use.
//
// The SCICHART® examples are distributed in the hope that they will be useful, but
// without any warranty. It is provided "AS IS" without warranty of any kind, either
// expressed or implied.
//******************************************************************************
package com.scichart.examples.data;
import com.scichart.core.common.Action1;
public interface IMarketDataService {
void subscribePriceUpdate(Action1<PriceBar> callback);
void clearSubscriptions();
PriceSeries getHistoricalData(int numberBars);
void stopGenerator();
}