-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathMain_GetFuturesDataTest.m
More file actions
55 lines (37 loc) · 965 Bytes
/
Main_GetFuturesDataTest.m
File metadata and controls
55 lines (37 loc) · 965 Bytes
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
%% Main_GetFuturesDataTest
% by LiYang_faruto
% Email:farutoliyang@foxmail.com
% 2014/12/12
%% A Little Clean Work
tic;
% clear;
% clc;
% close all;
format compact;
%% 获取期货各机构持仓数据-IF
tic
DateStr = '20150518';
Futurecode = 'tf';
Futurecode = 'if';
[DataCell,StatusOut] = GetFutureVolOIRanking_Web(DateStr, Futurecode);
toc
%% 获取期货各机构持仓数据-TF
tic
DateStr = '20141215';
Futurecode = 'tf';
[DataCell,StatusOut] = GetFutureVolOIRanking_Web(DateStr, Futurecode);
toc
%% 获取期货某交易所某日数据-中金所-IF
DateStr = '20141216';
MarketCode = 'CFFEX';
FuturesCode = 'IF';
[DataCell,StatusOut] = GetFutureDay_Web(DateStr, MarketCode,FuturesCode);
%% 获取期货某交易所某日数据-中金所-TF
DateStr = '20141216';
MarketCode = 'CFFEX';
FuturesCode = 'TF';
[DataCell,StatusOut] = GetFutureDay_Web(DateStr, MarketCode,FuturesCode);
%%
%% Record Time
toc;
displayEndOfDemoMessage(mfilename);