mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-11-29 18:39:10 +08:00
调整 log.h 位置
This commit is contained in:
parent
4cc39ad3cb
commit
302a336986
@ -29,7 +29,7 @@
|
||||
#include <map>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "Log.h"
|
||||
#include "utilities/Log.h"
|
||||
#include "utilities/osdef.h"
|
||||
#include "utilities/cppdef.h"
|
||||
#include "utilities/datetime/Datetime.h"
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include <H5public.h>
|
||||
#endif
|
||||
|
||||
#include "Log.h"
|
||||
#include "utilities/Log.h"
|
||||
#include "hikyuu.h"
|
||||
#include "GlobalInitializer.h"
|
||||
#include "StockManager.h"
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "hikyuu/indicator/Indicator.h"
|
||||
#include "hikyuu/trade_sys/system/System.h"
|
||||
#include "hikyuu/trade_manage/Performance.h"
|
||||
#include "../Log.h"
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
|
||||
namespace hku {
|
||||
|
||||
|
@ -9,8 +9,8 @@
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include "MySQLBaseInfoDriver.h"
|
||||
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
#include "../../../StockManager.h"
|
||||
#include "../../../Log.h"
|
||||
#include "../table/MarketInfoTable.h"
|
||||
#include "../table/StockTypeInfoTable.h"
|
||||
#include "../table/StockWeightTable.h"
|
||||
@ -281,12 +281,9 @@ Parameter MySQLBaseInfoDriver::getFinanceInfo(const string &market, const string
|
||||
<< "f.zhuyinglirun, f.yingshouzhangkuan, f.yingyelirun, f.touzishouyu,"
|
||||
<< "f.jingyingxianjinliu, f.zongxianjinliu, f.cunhuo, f.lirunzonghe,"
|
||||
<< "f.shuihoulirun, f.jinglirun, f.weifenpeilirun, f.meigujingzichan,"
|
||||
<< "f.baoliu2 from stkfinance f, stock s, market m "
|
||||
<< "where m.market='" << market << "'"
|
||||
<< " and s.code = '" << code << "'"
|
||||
<< " and s.marketid = m.marketid"
|
||||
<< " and f.stockid = s.stockid"
|
||||
<< " order by updated_date DESC limit 1";
|
||||
<< "f.baoliu2 from stkfinance f, stock s, market m " << "where m.market='" << market << "'"
|
||||
<< " and s.code = '" << code << "'" << " and s.marketid = m.marketid"
|
||||
<< " and f.stockid = s.stockid" << " order by updated_date DESC limit 1";
|
||||
|
||||
auto con = m_pool->getConnect();
|
||||
|
||||
|
@ -8,10 +8,9 @@
|
||||
#include <fstream>
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
#include "KDataTempCsvDriver.h"
|
||||
|
||||
#include "../../../Log.h"
|
||||
|
||||
namespace hku {
|
||||
|
||||
KDataTempCsvDriver::~KDataTempCsvDriver() {}
|
||||
|
@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <boost/lexical_cast.hpp>
|
||||
#include "../../../Log.h"
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
#include "MySQLKDataDriver.h"
|
||||
#include "KRecordTable.h"
|
||||
|
||||
|
@ -8,8 +8,8 @@
|
||||
*/
|
||||
|
||||
#include "hikyuu/GlobalInitializer.h"
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
#include "GlobalTaskGroup.h"
|
||||
#include "../Log.h"
|
||||
|
||||
namespace hku {
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "hikyuu/exception.h"
|
||||
#include "hikyuu/utilities/exception.h"
|
||||
|
||||
namespace hku {
|
||||
|
||||
|
@ -5,10 +5,10 @@
|
||||
* Author: fasiondog
|
||||
*/
|
||||
|
||||
#include <hikyuu/GlobalInitializer.h>
|
||||
#include "hikyuu/GlobalInitializer.h"
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
#include <mutex>
|
||||
#include "scheduler.h"
|
||||
#include "../../Log.h"
|
||||
|
||||
namespace hku {
|
||||
|
||||
|
@ -7,10 +7,10 @@
|
||||
#include <stdexcept>
|
||||
#include <algorithm>
|
||||
#include <forward_list>
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
#include "Indicator.h"
|
||||
#include "IndParam.h"
|
||||
#include "../Stock.h"
|
||||
#include "../Log.h"
|
||||
#include "../GlobalInitializer.h"
|
||||
#include "imp/ICval.h"
|
||||
|
||||
|
@ -6,8 +6,8 @@
|
||||
*/
|
||||
|
||||
#include "FixedATradeCost.h"
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
#include "../../StockTypeInfo.h"
|
||||
#include "../../Log.h"
|
||||
|
||||
#if HKU_SUPPORT_SERIALIZATION
|
||||
BOOST_CLASS_EXPORT(hku::FixedATradeCost)
|
||||
|
@ -6,9 +6,9 @@
|
||||
*/
|
||||
|
||||
#include <thread>
|
||||
#include "config.h"
|
||||
#include "utilities/os.h"
|
||||
#include "GlobalInitializer.h"
|
||||
#include "hikyuu/config.h"
|
||||
#include "hikyuu/GlobalInitializer.h"
|
||||
#include "os.h"
|
||||
#include "Log.h"
|
||||
|
||||
#if USE_SPDLOG_LOGGER
|
@ -13,7 +13,7 @@
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
#include "config.h"
|
||||
#include "../config.h"
|
||||
#include "exception.h"
|
||||
|
||||
// clang-format off
|
@ -6,8 +6,8 @@
|
||||
*/
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
#include "hikyuu/Block.h"
|
||||
#include "../Log.h"
|
||||
#include "Parameter.h"
|
||||
|
||||
namespace hku {
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <unordered_map>
|
||||
#include <functional>
|
||||
#include "hikyuu/utilities/datetime/Datetime.h"
|
||||
#include "hikyuu/Log.h"
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
#include "thread/ThreadPool.h"
|
||||
#include "cppdef.h"
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
#include "hikyuu/utilities/Null.h"
|
||||
#include "hikyuu/Log.h"
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
#include "hikyuu/utilities/arithmetic.h"
|
||||
#include "Datetime.h"
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <cstdint>
|
||||
#include "TimeDelta.h"
|
||||
#include "hikyuu/utilities/arithmetic.h"
|
||||
#include "hikyuu/Log.h"
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
|
||||
namespace hku {
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <vector>
|
||||
#include <fmt/format.h>
|
||||
#include <fmt/ranges.h>
|
||||
#include "../../Log.h"
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
|
||||
#ifndef HKU_API
|
||||
#define HKU_API
|
||||
|
@ -8,7 +8,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <fmt/format.h>
|
||||
#include "hikyuu/exception.h"
|
||||
#include "hikyuu/utilities/exception.h"
|
||||
|
||||
namespace hku {
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
#include <iterator>
|
||||
#include "hikyuu/utilities/arithmetic.h"
|
||||
#include "hikyuu/Log.h"
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
#include "hikyuu/utilities/osdef.h"
|
||||
#include "DBConnectBase.h"
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
#include <thread>
|
||||
#include "../../../config.h"
|
||||
#include "../../../Log.h"
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
#include "SQLiteConnect.h"
|
||||
#include "SQLiteStatement.h"
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include "arithmetic.h"
|
||||
#include "hikyuu/Log.h"
|
||||
#include "Log.h"
|
||||
#include "os.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#include "doctest/doctest.h"
|
||||
#include <iostream>
|
||||
#include <hikyuu/Log.h>
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
#include <hikyuu/Block.h>
|
||||
#include <hikyuu/StockManager.h>
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "doctest/doctest.h"
|
||||
#include <hikyuu/StockManager.h>
|
||||
#include <hikyuu/utilities/runtimeinfo.h>
|
||||
#include <hikyuu/Log.h>
|
||||
#include <hikyuu/utilities/Log.h>
|
||||
|
||||
using namespace hku;
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
#include <hikyuu/utilities/datetime/Datetime.h>
|
||||
#include <hikyuu/utilities/Null.h>
|
||||
#include <hikyuu/Log.h>
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
|
||||
using namespace hku;
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#include "doctest/doctest.h"
|
||||
#include <hikyuu/utilities/db_connect/DBCondition.h>
|
||||
#include <hikyuu/Log.h>
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
using namespace hku;
|
||||
|
@ -6,7 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "doctest/doctest.h"
|
||||
#include <hikyuu/Log.h>
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
#include <hikyuu/utilities/Parameter.h>
|
||||
#include <hikyuu/StockManager.h>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#include "doctest/doctest.h"
|
||||
#include <hikyuu/utilities/TimerManager.h>
|
||||
#include <hikyuu/Log.h>
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
|
||||
using namespace hku;
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
#include "doctest/doctest.h"
|
||||
#include <hikyuu/utilities/arithmetic.h>
|
||||
#include <hikyuu/Log.h>
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
|
||||
using namespace hku;
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <doctest/doctest.h>
|
||||
#include <hikyuu/Log.h>
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
#include <hikyuu/utilities/os.h>
|
||||
|
||||
using namespace hku;
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <hikyuu/utilities/thread/MQThreadPool.h>
|
||||
#include <hikyuu/utilities/thread/MQStealThreadPool.h>
|
||||
#include <hikyuu/utilities/SpendTimer.h>
|
||||
#include <hikyuu/Log.h>
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
|
||||
using namespace hku;
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* Author: fasiondog
|
||||
*/
|
||||
|
||||
#include <hikyuu/Log.h>
|
||||
#include "hikyuu/utilities/Log.h"
|
||||
#include "pybind_utils.h"
|
||||
|
||||
using namespace hku;
|
||||
|
Loading…
Reference in New Issue
Block a user