-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathVianYahooDataPuller.h
55 lines (41 loc) · 1.15 KB
/
VianYahooDataPuller.h
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//
// VianYahooDataPuller.h
// AAPLot
//
// Created by admin on 3/31/11.
// Copyright 2011 Crystalnix. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "PlotAreaDescription.h"
@class VianYahooDataPuller;
@protocol VianYahooDataPullerDelegate
@optional
-(void)dataPullerDidFinishFetch:(VianYahooDataPuller *)dp;
@end
@interface VianYahooDataPuller : NSObject {
@private
NSString *symbol;
VianDateResolution dateResolution;
NSArray *financialData;
NSDate *startDate;
NSDate *endDate;
NSDecimalNumber *closeMin;
NSDecimalNumber *closeMax;
NSDecimalNumber *highMin;
NSDecimalNumber *highMax;
NSDecimalNumber *lowMin;
NSDecimalNumber *lowMax;
NSDecimalNumber *openMin;
NSDecimalNumber *openMax;
NSDecimalNumber *volumeMin;
NSDecimalNumber *volumeMax;
id delegate;
BOOL loadingData;
NSString *csvString;
NSMutableData *receivedData;
NSURLConnection *connection;
}
@property(nonatomic,assign) id delegate;
-(id)initWithTargetSymbol:(NSString *)aSymbol dateResolution:(VianDateResolution)dateRes;
-(VianPlotAreaDescription*)modelForData;
@end