cleanup: Remove temporary redirect headers

These were used to make code migration smoother (to the new lib_system and lib_domain)

* spark/algorithm/TryCatch.h -> system/algorithm/try_catch.h
* spark/core/BoolName.h -> system/bool_name.h
* spark/core/EnumMacros.h -> system/enum_macros.h
* spark/core/FMT.h -> system/FMT.h
* spark/core/FMT_IMPL.h -> system/FMT_IMPL.h
* spark/core/TimeSpan.h -> system/time_span.h
* spark/core/TimeStamp.h -> system/time_stamp.h
* spark/domain/Price.h -> domain/price.h
* spark/io/JsonReader.h -> system/json/json_reader.h
* spark/io/JsonDumper.h -> system/json/json_dumper.h
This commit is contained in:
John Colvin committed 2024-10-12 19:54:49 +00:00
1 parent 07b3947738
commit dc90f2b79a
165 files changed
+789 -477

No files matched your search

@@ -1,6 +1,6 @@
#pragma once
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include <emumba-deribit-connector/deribit_utils.h>
#include <iostream>
@@ -1,9 +1,9 @@
#pragma once
#include "spark/core/FMT_IMPL.h"
#include "spark/domain_model/Security.pb.h"
#include "spark/orderman/orderman_utils/orderman_common.h"
#include "sparkd/exchange_sim/book/Order.h"
#include "system/FMT_IMPL.h"
#include <memory>
#include <sstream>
+1 -1
View File
@@ -1,6 +1,6 @@
#pragma once
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include <ostream>
#include <sstream>
@@ -2,7 +2,6 @@
#include "domain/security_id.h"
#include "spark/api/md/MarketDataConfig.pb.h"
#include "spark/api/md/MarketDataConfigUtils.h"
#include "spark/core/FMT.h"
#include "spark/domain/DomainSecurityUtils.h"
#include "spark/logging/logging.h"
#include "spark/md/GeneralMarketDataListener.h"
@@ -21,6 +20,7 @@
#include "sparkd/md/databento/DatabentoMarketDataProvider.h"
#include "sparkd/md/emumba/EmumbaMarketDataProvider.h"
#include "sparkd/md/taifex/TaifexMarketDataProvider.h"
#include "system/FMT.h"
#include <bits/stdint-uintn.h>
#include <memory>
@@ -1,8 +1,8 @@
#pragma once
#ifndef _WIN32
#include "spark/core/FMT_IMPL.h"
#include "spark/core/ValueWrapper.h"
#include "system/FMT_IMPL.h"
namespace bts::md {
@@ -13,12 +13,12 @@
#include "python_md/py_security.h"
#include "python_md/py_security_list.h"
#include "python_md/py_trade.h"
#include "spark/core/TimeStamp.h"
#include "spark/logging/logging.h"
#include "spark/md/IMarketDataListener.h"
#include "spark/os/os.h"
#include "spark/persistence/IDGenerator.h"
#include "spark/utils/bts_assert.h"
#include "system/time_stamp.h"
#include <memory>
#include <optional>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -1,7 +1,5 @@
#pragma once
#include "spark/io/JsonDumper.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/binance/BinanceFilterType.h"
#include "sparkd/md/binance/BinanceIcebergPartsFilter.h"
#include "sparkd/md/binance/BinanceLotSizeFilter.h"
@@ -15,6 +13,8 @@
#include "sparkd/md/binance/BinancePercentPriceFilter.h"
#include "sparkd/md/binance/BinancePriceFilter.h"
#include "sparkd/md/binance/BinanceTrailingDeltaFilter.h"
#include "system/json/json_dumper.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <string>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -1,8 +1,8 @@
#pragma once
#include "spark/io/JsonMacros.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/binance/BinanceFilterType.h"
#include "system/json/json_macros.h"
#include "system/json/json_reader.h"
#include <iostream>
#include <nlohmann/json.hpp>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -1,8 +1,8 @@
#pragma once
#include "spark/io/JsonReader.h"
#include "spark/logging/logging.h"
#include "sparkd/md/binance/BinanceFilterType.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <string>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/io/JsonReader.h"
#include "sparkd/md/binance/BinanceFilterType.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/io/JsonReader.h"
#include "sparkd/md/binance/BinanceFilterType.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <string>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/io/JsonReader.h"
#include "sparkd/md/binance/BinanceFilterType.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <string>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/io/JsonReader.h"
#include "sparkd/md/binance/BinanceFilterType.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -1,8 +1,8 @@
#pragma once
#include "spark/io/JsonMacros.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/binance/BinanceFilterType.h"
#include "system/json/json_macros.h"
#include "system/json/json_reader.h"
#include <iostream>
#include <nlohmann/json.hpp>
@@ -2,11 +2,11 @@
#include "BinanceMiniTickerUpdate.h"
#include "domain/price.h"
#include "domain/quantity.h"
#include "spark/core/TimeStamp.h"
#include "spark/domain/SecurityMarketDataStatistics.h"
#include "spark/io/JsonDumper.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/ccapi/CCApiReader.h"
#include "system/json/json_dumper.h"
#include "system/json/json_reader.h"
#include "system/time_stamp.h"
#include <ccapi_cpp/ccapi_message.h>
#include <type_traits>
@@ -1,8 +1,8 @@
#pragma once
#include "spark/core/TimeStamp.h"
#include "spark/domain/SecurityMarketDataStatistics.h"
#include "sparkd/md/binance/BinanceMiniTickerEventType.h"
#include "system/time_stamp.h"
#include <nlohmann/json.hpp>
#include <string>
@@ -1,8 +1,8 @@
#pragma once
#include "spark/io/JsonMacros.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/binance/BinanceFilterType.h"
#include "system/json/json_macros.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <string>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -1,8 +1,8 @@
#pragma once
#include "spark/io/JsonDumper.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/binance/BinanceFilterType.h"
#include "system/json/json_dumper.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <string>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/io/JsonReader.h"
#include "sparkd/md/binance/BinanceFilterType.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <string>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -1,8 +1,8 @@
#pragma once
#include "spark/io/JsonDumper.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/binance/BinanceFilterType.h"
#include "system/json/json_dumper.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <string>
@@ -1,11 +1,11 @@
#include "BinancePriceStatistics.h"
#include "domain/price.h"
#include "domain/quantity.h"
#include "spark/core/TimeStamp.h"
#include "spark/domain/SecurityMarketDataStatistics.h"
#include "spark/io/JsonDumper.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/ccapi/CCApiReader.h"
#include "system/json/json_dumper.h"
#include "system/json/json_reader.h"
#include "system/time_stamp.h"
#include <ccapi_cpp/ccapi_macro.h>
#include <ccapi_cpp/ccapi_message.h>
@@ -1,6 +1,6 @@
#pragma once
#include "spark/core/TimeStamp.h"
#include "system/time_stamp.h"
#include <cstdint>
#include <nlohmann/json.hpp>
@@ -1,8 +1,8 @@
#pragma once
#include "domain/protobufs/currency.pb.h"
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <boost/algorithm/string/case_conv.hpp>
#include <fmt/format.h>
@@ -2,8 +2,8 @@
#include "domain/protobufs/venue.pb.h"
#include "domain/quantity.h"
#include "domain/security.h"
#include "spark/io/JsonReader.h"
#include "spark/logging/logging.h"
#include "system/json/json_reader.h"
#include <ccapi_cpp/ccapi_message.h>
#include <iostream>
@@ -1,13 +1,13 @@
#pragma once
#include "domain/protobufs/venue.h"
#include "spark/core/FMT_IMPL.h"
#include "spark/io/JsonMacros.h"
#include "sparkd/md/binance/BinanceFilterTuple.h"
#include "sparkd/md/binance/BinanceInstrumentStatus.h"
#include "sparkd/md/binance/BinanceOrderType.h"
#include "sparkd/md/binance/BinancePermission.h"
#include "sparkd/md/binance/BinanceQuoteAsset.h"
#include "system/FMT_IMPL.h"
#include "system/json/json_macros.h"
#include <nlohmann/json.hpp>
#include <ostream>
@@ -3,7 +3,6 @@
#include "domain/security.h"
#include "domain/security_criteria.h"
#include "spark/api/md/BinanceMarketDataConfig.pb.h"
#include "spark/core/FMT.h"
#include "spark/io/ProtoPrinter.h"
#include "spark/io/QueryParams.h"
#include "spark/logging/logging.h"
@@ -18,6 +17,7 @@
#include "sparkd/md/ccapi/CCApiMessageLogger.h"
#include "sparkd/md/ccapi/CCApiSession.h"
#include "sparkd/md/ccapi/CCApiTradeAdaptor.h"
#include "system/FMT.h"
#include "system/collections/unordered_set_factory.h"
#include <ccapi_cpp/ccapi_event_dispatcher.h>
@@ -1,8 +1,8 @@
#pragma once
#include "spark/io/JsonDumper.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/binance/BinanceFilterType.h"
#include "system/json/json_dumper.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -1,11 +1,11 @@
#include "BinanceUsPriceStatistics.h"
#include "domain/price.h"
#include "domain/quantity.h"
#include "spark/core/TimeStamp.h"
#include "spark/domain/SecurityMarketDataStatistics.h"
#include "spark/io/JsonDumper.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/ccapi/CCApiReader.h"
#include "system/json/json_dumper.h"
#include "system/json/json_reader.h"
#include "system/time_stamp.h"
#include <ccapi_cpp/ccapi_macro.h>
#include <ccapi_cpp/ccapi_message.h>
@@ -1,6 +1,6 @@
#pragma once
#include "spark/core/TimeStamp.h"
#include "system/time_stamp.h"
#include <cstdint>
#include <nlohmann/json.hpp>
@@ -3,7 +3,6 @@
#include "domain/security.h"
#include "domain/security_criteria.h"
#include "spark/api/md/BinanceUsMarketDataConfig.pb.h"
#include "spark/core/FMT.h"
#include "spark/io/ProtoPrinter.h"
#include "spark/io/QueryParams.h"
#include "spark/logging/logging.h"
@@ -19,6 +18,7 @@
#include "sparkd/md/ccapi/CCApiMessageLogger.h"
#include "sparkd/md/ccapi/CCApiSession.h"
#include "sparkd/md/ccapi/CCApiTradeAdaptor.h"
#include "system/FMT.h"
#include "system/collections/unordered_set_factory.h"
#include <ccapi_cpp/ccapi_event_dispatcher.h>
@@ -2,9 +2,9 @@
#include "domain/price.h"
#include "domain/quantity.h"
#include "domain/security.h"
#include "spark/io/JsonDumper.h"
#include "spark/io/JsonReader.h"
#include "spark/logging/logging.h"
#include "system/json/json_dumper.h"
#include "system/json/json_reader.h"
#include <ccapi_cpp/ccapi_message.h>
#include <iostream>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -1,7 +1,5 @@
#pragma once
#include "spark/io/JsonDumper.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/binance/BinanceFilterType.h"
#include "sparkd/md/binance/BinanceIcebergPartsFilter.h"
#include "sparkd/md/binance/BinanceLotSizeFilter.h"
@@ -14,6 +12,8 @@
#include "sparkd/md/binance_usds_futures/BinanceUsdsFuturesMaxNumAlgoOrdersFilter.h"
#include "sparkd/md/binance_usds_futures/BinanceUsdsFuturesMaxNumOrdersFilter.h"
#include "sparkd/md/binance_usds_futures/BinanceUsdsFuturesPercentPriceFilter.h"
#include "system/json/json_dumper.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <string>
@@ -1,8 +1,8 @@
#pragma once
#include "spark/io/JsonDumper.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/binance/BinanceFilterType.h"
#include "system/json/json_dumper.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <string>
@@ -1,8 +1,8 @@
#pragma once
#include "spark/io/JsonDumper.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/binance/BinanceFilterType.h"
#include "system/json/json_dumper.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <string>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -1,8 +1,8 @@
#pragma once
#include "spark/io/JsonDumper.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/binance/BinanceFilterType.h"
#include "system/json/json_dumper.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <string>
@@ -2,8 +2,8 @@
#include "domain/price.h"
#include "domain/quantity.h"
#include "spark/domain/SecurityMarketDataStatistics.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/ccapi/CCApiReader.h"
#include "system/json/json_reader.h"
#include <ccapi_cpp/ccapi_macro.h>
#include <ccapi_cpp/ccapi_message.h>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/io/JsonMacros.h"
#include "spark/io/JsonReader.h"
#include "system/json/json_macros.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <string>
@@ -3,7 +3,6 @@
#include "domain/security_criteria.h"
#include "domain/security_id.h"
#include "spark/api/md/BinanceUsdsFuturesMarketDataConfig.pb.h"
#include "spark/core/FMT.h"
#include "spark/logging/logging.h"
#include "spark/persistence/IDGenerator.h"
#include "spark/utils/bts_fatal.h"
@@ -12,6 +11,7 @@
#include "sparkd/md/ccapi/CCApiCorrelationID.h"
#include "sparkd/md/ccapi/CCApiMessageHandler.h"
#include "sparkd/md/ccapi/CCApiSession.h"
#include "system/FMT.h"
#include "system/collections/contains.h"
#include "system/collections/remove.h"
#include "system/collections/unordered_set_factory.h"
@@ -4,7 +4,6 @@
#include "domain/security_criteria.h"
#include "domain/security_id.h"
#include "spark/api/md/BinanceUsdsFuturesMarketDataConfig.pb.h"
#include "spark/core/FMT.h"
#include "spark/io/ProtoPrinter.h"
#include "spark/io/QueryParams.h"
#include "spark/logging/logging.h"
@@ -17,6 +16,7 @@
#include "sparkd/md/ccapi/CCApiMarketDepthAdaptor.h"
#include "sparkd/md/ccapi/CCApiSession.h"
#include "sparkd/md/ccapi/CCApiTradeAdaptor.h"
#include "system/FMT.h"
#include <ccapi_cpp/ccapi_event_dispatcher.h>
#include <ccapi_cpp/ccapi_macro.h>
@@ -1,9 +1,9 @@
#pragma once
#include "spark/core/FMT_IMPL.h"
#include "spark/core/StringFinder.h"
#include "spark/core/StringJoiner.h"
#include "spark/utils/bts_assert.h"
#include "system/FMT_IMPL.h"
#include <boost/algorithm/string/split.hpp>
#include <cstddef>
@@ -1,8 +1,8 @@
#include "CCApiJsonRpcRouter.h"
#include "spark/algorithm/TryCatch.h"
#include "spark/io/websocket/JsonRpcHandler.h"
#include "spark/utils/bts_fatal.h"
#include "sparkd/md/ccapi/CCApiReader.h"
#include "system/algorithm/try_catch.h"
#include <ccapi_cpp/ccapi_event.h>
#include <ccapi_cpp/ccapi_message.h>
@@ -1,6 +1,6 @@
#include "CCApiMessageLogger.h"
#include "spark/core/StringJoiner.h"
#include "spark/core/TimeStamp.h"
#include "system/time_stamp.h"
#include <fmt/format.h>
#include <range/v3/view.hpp>
@@ -1,11 +1,11 @@
#include "CCApiTradeAdaptor.h"
#include "domain/security_id.h"
#include "domain/trade_record.h"
#include "spark/core/TimeStamp.h"
#include "spark/utils/bts_fatal.h"
#include "sparkd/md/ccapi/CCApiCorrelationID.h"
#include "sparkd/md/ccapi/CCApiTradeRecord.h"
#include "sparkd/md/ccapi/ICCApiMessageHandler.h"
#include "system/time_stamp.h"
#include <ccapi_cpp/ccapi_event.h>
#include <ccapi_cpp/ccapi_message.h>
@@ -3,11 +3,11 @@
#include "domain/protobufs/aggressor_side.pb.h"
#include "domain/quantity.h"
#include "domain/trade_record.h"
#include "spark/io/JsonDumper.h"
#include "spark/io/JsonReader.h"
#include "spark/utils/bts_chrono.h"
#include "spark/utils/datetime.h"
#include "sparkd/md/ccapi/CCApiReader.h"
#include "system/json/json_dumper.h"
#include "system/json/json_reader.h"
#include <ccapi_cpp/ccapi_element.h>
#include <ccapi_cpp/ccapi_macro.h>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -1,11 +1,11 @@
#include "CoinbasePriceStatistics.h"
#include "domain/price.h"
#include "domain/quantity.h"
#include "spark/core/TimeStamp.h"
#include "spark/domain/SecurityMarketDataStatistics.h"
#include "spark/io/JsonDumper.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/ccapi/CCApiReader.h"
#include "system/json/json_dumper.h"
#include "system/json/json_reader.h"
#include "system/time_stamp.h"
#include <ccapi_cpp/ccapi_macro.h>
#include <ccapi_cpp/ccapi_message.h>
@@ -1,6 +1,6 @@
#pragma once
#include "spark/core/TimeStamp.h"
#include "system/time_stamp.h"
#include <cstdint>
#include <nlohmann/json.hpp>
@@ -2,8 +2,8 @@
#include "domain/protobufs/currency.pb.h"
#include "domain/quantity.h"
#include "domain/security.h"
#include "spark/io/JsonReader.h"
#include "spark/logging/logging.h"
#include "system/json/json_reader.h"
#include <ccapi_cpp/ccapi_message.h>
#include <iostream>
@@ -1,7 +1,7 @@
#include "DeribitChannelDemuxer.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/ccapi/CCApiCorrelationID.h"
#include "sparkd/md/ccapi/CCApiReader.h"
#include "system/json/json_reader.h"
#include <boost/container/flat_map.hpp>
#include <ccapi_cpp/ccapi_event.h>
@@ -1,6 +1,6 @@
#include "DeribitCombo.h"
#include "spark/core/FMT.h"
#include "spark/io/JsonReader.h"
#include "system/FMT.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <ostream>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/TimeStamp.h"
#include "sparkd/md/deribit/DeribitComboLeg.h"
#include "system/time_stamp.h"
#include <cstdint>
#include <nlohmann/json_fwd.hpp>
@@ -1,6 +1,6 @@
#pragma once
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include <cstdint>
#include <nlohmann/json.hpp>
@@ -1,8 +1,8 @@
#pragma once
#include "spark/core/BoolName.h"
#include "spark/core/FMT.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT.h"
#include "system/FMT_IMPL.h"
#include "system/bool_name.h"
#include <range/v3/view.hpp>
#include <string>
@@ -1,5 +1,5 @@
#include "DeribitInstrument.h"
#include "spark/io/JsonReader.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <ostream>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/TimeStamp.h"
#include "sparkd/md/deribit/DeribitInstrumentKind.h"
#include "system/time_stamp.h"
#include <nlohmann/json_fwd.hpp>
#include <ostream>
@@ -2,10 +2,10 @@
#include "domain/protobufs/security_type.pb.h"
#include "spark/algorithm/StringCaseConverter.h"
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "spark/domain_model/Security.pb.h"
#include "system/FMT_IMPL.h"
#include "system/collections/HASH_IMPL.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -2,9 +2,9 @@
#include "domain/security_criteria.h"
#include "domain/security_criteria_clause.h"
#include "spark/core/FMT.h"
#include "spark/core/FMT_IMPL.h"
#include "sparkd/md/deribit/DeribitInstrumentKind.h"
#include "system/FMT.h"
#include "system/FMT_IMPL.h"
#include "system/collections/contains.h"
#include <range/v3/view.hpp>
@@ -1,11 +1,10 @@
#pragma once
#include "spark/core/FMT_IMPL.h"
#include "spark/core/TimeStamp.h"
#include "sparkd/md/deribit/DeribitInstrumentStateType.h"
#include "system/FMT_IMPL.h"
#include "system/time_stamp.h"
#include <fmt/format.h>
#include <nlohmann/json_fwd.hpp>
#include <nlohmann/json.hpp>
#include <ostream>
#include <string>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -1,7 +1,6 @@
#include "DeribitInstrumentStore.h"
#include "domain/protobufs/security_type.h"
#include "domain/security.h"
#include "spark/io/JsonReader.h"
#include "spark/logging/logging.h"
#include "spark/persistence/IDGenerator.h"
#include "spark/utils/bts_fatal.h"
@@ -9,6 +8,7 @@
#include "sparkd/md/deribit/DeribitInstrument.h"
#include "system/collections/contains.h"
#include "system/collections/remove.h"
#include "system/json/json_reader.h"
#include <ccapi_cpp/ccapi_message.h>
#include <nlohmann/json.hpp>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -3,8 +3,6 @@
#include "domain/security.h"
#include "domain/security_criteria.h"
#include "spark/api/md/DeribitMarketDataConfig.pb.h"
#include "spark/core/FMT.h"
#include "spark/core/TimeStamp.h"
#include "spark/domain_model/Security.pb.h"
#include "spark/io/ProtoPrinter.h"
#include "spark/io/websocket/JsonRpcError.h"
@@ -23,10 +21,12 @@
#include "sparkd/md/deribit/DeribitSecurityRequestor.h"
#include "sparkd/md/deribit/DeribitTickerAdaptor.h"
#include "sparkd/md/deribit/DeribitTradeAdaptor.h"
#include "system/FMT.h"
#include "system/collections/chunk.h"
#include "system/collections/contains.h"
#include "system/collections/remove.h"
#include "system/collections/transform.h"
#include "system/time_stamp.h"
#include <ccapi_cpp/ccapi_event_dispatcher.h>
#include <ccapi_cpp/ccapi_macro.h>
@@ -1,8 +1,8 @@
#include "DeribitTickerAdaptor.h"
#include "domain/security_id.h"
#include "spark/domain/SecurityMarketDataStatistics.h"
#include "spark/io/JsonReader.h"
#include "spark/md/IMarketDataListener.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
@@ -2,9 +2,9 @@
#include "domain/protobufs/aggressor_side.pb.h"
#include "domain/security_id.h"
#include "domain/trade_record.h"
#include "spark/core/TimeStamp.h"
#include "spark/md/IMarketDataListener.h"
#include "spark/utils/bts_fatal.h"
#include "system/time_stamp.h"
#include <nlohmann/json.hpp>
#include <vector>
+1 -1
View File
@@ -4,8 +4,8 @@
#include "domain/protobufs/venue.pb.h"
#include "domain/security.h"
#include "spark/core/TableFormatter.h"
#include "spark/io/JsonReader.h"
#include "spark/logging/logging.h"
#include "system/json/json_reader.h"
#include <ccapi_cpp/ccapi_message.h>
#include <nlohmann/json.hpp>
+1 -1
View File
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/TimeStamp.h"
#include "sparkd/md/ftx/FTXSecurityType.h"
#include "system/time_stamp.h"
#include <nlohmann/json.hpp>
#include <string>
@@ -1,8 +1,8 @@
#include "FTXHistoricalPriceRecord.h"
#include "spark/domain/Price.h"
#include "domain/price.h"
#include "spark/domain/SecurityMarketDataStatistics.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/ccapi/CCApiReader.h"
#include "system/json/json_reader.h"
#include <ccapi_cpp/ccapi_event.h>
#include <ccapi_cpp/ccapi_macro.h>
@@ -1,7 +1,7 @@
#pragma once
#include "domain/security_id.h"
#include "spark/core/TimeStamp.h"
#include "system/time_stamp.h"
#include <nlohmann/json.hpp>
+1 -1
View File
@@ -3,10 +3,10 @@
#include "domain/security.h"
#include "spark/core/NaN.h"
#include "spark/core/TableFormatter.h"
#include "spark/io/JsonReader.h"
#include "spark/logging/logging.h"
#include "spark/utils/bts_fatal.h"
#include "sparkd/md/ftx/FTXSecurityType.h"
#include "system/json/json_reader.h"
#include <ccapi_cpp/ccapi_element.h>
#include <ccapi_cpp/ccapi_macro.h>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -1,8 +1,8 @@
#pragma once
#include "domain/protobufs/security_type.pb.h"
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <nlohmann/json.hpp>
+1 -1
View File
@@ -1,8 +1,8 @@
#pragma once
#include "spark/core/FMT_IMPL.h"
#include "spark/io/JsonOptional.h"
#include "sparkd/md/okx/OkxInstrumentType.h"
#include "system/FMT_IMPL.h"
#include "system/collections/HASH_IMPL.h"
#include <boost/container_hash/hash.hpp>
@@ -1,9 +1,9 @@
#include "OkxChannelDemuxer.h"
#include "domain/protobufs/venue.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/ccapi/CCApiCorrelationID.h"
#include "sparkd/md/ccapi/CCApiReader.h"
#include "sparkd/md/okx/OkxChannel.h"
#include "system/json/json_reader.h"
#include <ccapi_cpp/ccapi_event.h>
#include <ccapi_cpp/ccapi_macro.h>
@@ -2,10 +2,10 @@
#include "domain/book.h"
#include "domain/book_level_comp.h"
#include "domain/security_id.h"
#include "spark/io/JsonReader.h"
#include "spark/logging/logging.h"
#include "spark/md/IMarketDataListener.h"
#include "sparkd/md/ccapi/CCApiCorrelationID.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <vector>
@@ -1,5 +1,5 @@
#include "OkxInstrument.h"
#include "spark/io/JsonReader.h"
#include "system/json/json_reader.h"
namespace bts::md::okx {
+1 -1
View File
@@ -1,8 +1,8 @@
#pragma once
#include "spark/core/TimeStamp.h"
#include "sparkd/md/okx/OkxInstrumentStatus.h"
#include "sparkd/md/okx/OkxInstrumentType.h"
#include "system/time_stamp.h"
#include <nlohmann/json.hpp>
#include <optional>
@@ -1,8 +1,8 @@
#pragma once
#include "spark/algorithm/StringCaseConverter.h"
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -1,6 +1,6 @@
#pragma once
#include "spark/core/EnumMacros.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -1,6 +1,5 @@
#include "OkxSecuritySubscription.h"
#include "domain/security_criteria.h"
#include "spark/io/JsonReader.h"
#include "sparkd/md/ccapi/CCApiCorrelationID.h"
#include "sparkd/md/ccapi/CCApiHttpParams.h"
#include "sparkd/md/ccapi/CCApiMessageHandler.h"
@@ -16,6 +15,7 @@
#include "sparkd/md/okx/OkxRequest.h"
#include "system/collections/contains.h"
#include "system/collections/remove.h"
#include "system/json/json_reader.h"
#include <ccapi_cpp/ccapi_macro.h>
#include <ccapi_cpp/ccapi_request.h>
+2 -2
View File
@@ -2,8 +2,8 @@
#include "domain/protobufs/aggressor_side.pb.h"
#include "domain/side.h"
#include "spark/core/EnumMacros.h"
#include "spark/core/FMT_IMPL.h"
#include "system/FMT_IMPL.h"
#include "system/enum_macros.h"
#include <fmt/format.h>
#include <nlohmann/json.hpp>
@@ -3,7 +3,6 @@
#include "domain/security.h"
#include "domain/security_criteria.h"
#include "spark/api/md/OkxMarketDataConfig.pb.h"
#include "spark/core/FMT.h"
#include "spark/io/ProtoPrinter.h"
#include "spark/logging/logging.h"
#include "spark/md/IMarketDataListener.h"
@@ -17,6 +16,7 @@
#include "sparkd/md/okx/OkxSecuritySubscription.h"
#include "sparkd/md/okx/OkxTickerAdaptor.h"
#include "sparkd/md/okx/OkxTradeAdaptor.h"
#include "system/FMT.h"
#include "system/collections/chunk.h"
#include "system/collections/contains.h"
#include "system/collections/transform.h"
+1 -1
View File
@@ -1,5 +1,5 @@
#include "OkxTicker.h"
#include "spark/io/JsonReader.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
+1 -1
View File
@@ -2,8 +2,8 @@
#include "domain/price.h"
#include "domain/quantity.h"
#include "spark/core/TimeStamp.h"
#include "sparkd/md/okx/OkxInstrumentType.h"
#include "system/time_stamp.h"
#include <nlohmann/json.hpp>
#include <ostream>
@@ -2,10 +2,10 @@
#include "domain/price.h"
#include "domain/security_id.h"
#include "spark/domain/SecurityMarketDataStatistics.h"
#include "spark/io/JsonReader.h"
#include "spark/md/IMarketDataListener.h"
#include "sparkd/md/ccapi/CCApiCorrelationID.h"
#include "sparkd/md/okx/OkxTicker.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <vector>
+1 -1
View File
@@ -1,5 +1,5 @@
#include "OkxTrade.h"
#include "spark/io/JsonReader.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
+1 -1
View File
@@ -2,8 +2,8 @@
#include "domain/price.h"
#include "domain/quantity.h"
#include "spark/core/TimeStamp.h"
#include "sparkd/md/okx/OkxSide.h"
#include "system/time_stamp.h"
#include <cstdint>
#include <nlohmann/json_fwd.hpp>
@@ -1,11 +1,11 @@
#include "OkxTradeAdaptor.h"
#include "domain/security_id.h"
#include "domain/trade_record.h"
#include "spark/io/JsonReader.h"
#include "spark/md/IMarketDataListener.h"
#include "spark/utils/bts_fatal.h"
#include "sparkd/md/ccapi/CCApiCorrelationID.h"
#include "sparkd/md/okx/OkxTrade.h"
#include "system/json/json_reader.h"
#include <nlohmann/json.hpp>
#include <vector>
@@ -5,7 +5,6 @@
#include "spark/api/services/MarketDataRelay.pb.h"
#include "spark/config/config.h"
#include "spark/config/protos/system_config.pb.h"
#include "spark/core/TimeStamp.h"
#include "spark/domain_model/Security.pb.h"
#include "spark/logging/logging.h"
#include "spark/md/MDClient.h"
@@ -19,6 +18,7 @@
#include "spark/utils/bts_assert.h"
#include "spark/utils/datetime.h"
#include "spark/utils/thread_manager.h"
#include "system/time_stamp.h"
#include <array>
#include <boost/filesystem.hpp>
@@ -7,7 +7,6 @@
#include "domain/security_id.h"
#include "domain/side.h"
#include "domain/trade_record.h"
#include "spark/core/TimeStamp.h"
#include "spark/domain/DomainSecurityUtils.h"
#include "spark/domain/SecurityMarketDataStatistics.h"
#include "spark/domain_model/Security.pb.h"
@@ -21,6 +20,7 @@
#include "spark/utils/PBUtils.h"
#include "spark/utils/bts_assert.h"
#include "sparkd/md/recording/MDRecorder.h"
#include "system/time_stamp.h"
#include <cstdint>
#include <fstream>
@@ -1,7 +1,7 @@
#pragma once
#include "spark/core/FMT_IMPL.h"
#include "spark/utils/datetime.h"
#include "system/FMT_IMPL.h"
#include <boost/date_time/posix_time/posix_time.hpp>
#include <sstream>
Loaded 100 of 165 files, more files were not shown because too many files have changed in this diff. Show more