-
Notifications
You must be signed in to change notification settings - Fork 163
/
Copy pathLoadMktSymbols.h
39 lines (31 loc) · 1.6 KB
/
LoadMktSymbols.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
/************************************************************************
* Copyright(c) 2012, One Unified. All rights reserved. *
* email: [email protected] *
* *
* This file is provided as is WITHOUT ANY WARRANTY *
* without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* *
* This software may not be used nor distributed without proper license *
* agreement. *
* *
* See the file LICENSE.txt for redistribution information. *
************************************************************************/
#pragma once
// Started 2012/10/14
#include "InMemoryMktSymbolList.h"
namespace ou { // One Unified
namespace tf { // TradeFrame
namespace iqfeed { // IQFeed
namespace detail {
// shared between debug and release
extern const std::string sFileNameMarketSymbolsText;
extern const std::string sFileNameMarketSymbolsBinary;
}
namespace MktSymbolLoadType {
enum Enum { Download, LoadTextFromDisk };
}
void LoadMktSymbols( InMemoryMktSymbolList& symbols, MktSymbolLoadType::Enum, bool bSaveTextToDisk, const std::string& sName = detail::sFileNameMarketSymbolsText );
} // namespace iqfeed
} // namespace tf
} // namespace ou