krazkidd / kdeck

Desktop client for Kalshi event trading platform
GNU General Public License v3.0
2 stars 0 forks source link

Add market API wrapper methods and response types #63

Closed krazkidd closed 4 months ago

github-actions[bot] commented 4 months ago

Cpp-Linter Report :warning:

Some files did not pass the configured checks!

clang-format reports: 4 file(s) not formatted - include/api/Api.hpp - include/api/_Api.hpp - include/api/types.hpp - src/api/Api.market.cpp
clang-tidy reports: 203 concern(s) - **include/api/Api.hpp:10:10:** error: [clang-diagnostic-error] > 'oatpp/parser/json/mapping/ObjectMapper.hpp' file not found ```hpp #include "oatpp/parser/json/mapping/ObjectMapper.hpp" ^ ``` - **include/api/Api.hpp:30:56:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp std::shared_ptr GetExchangeAnnouncements(); ^ ``` - **include/api/Api.hpp:31:51:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp std::shared_ptr GetExchangeSchedule(); ^ ``` - **include/api/Api.hpp:32:49:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp std::shared_ptr GetExchangeStatus(); ^ ``` - **include/api/Api.hpp:35:41:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp std::shared_ptr GetEvents(); ^ ``` - **include/api/Api.hpp:36:40:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp std::shared_ptr GetEvent(std::string_view eventTicker); ^ ``` - **include/api/Api.hpp:37:42:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp std::shared_ptr GetMarkets(); ^ ``` - **include/api/Api.hpp:38:41:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp std::shared_ptr GetTrades(); ^ ``` - **include/api/Api.hpp:39:41:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp std::shared_ptr GetMarket(std::string_view marketTicker); ^ ``` - **include/api/Api.hpp:40:50:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp std::shared_ptr GetMarketOrderbook(std::string_view marketTicker); ^ ``` - **include/api/Api.hpp:41:41:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp std::shared_ptr GetSeries(std::string_view seriesTicker); ^ ``` - **include/api/Api.hpp:42:53:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp std::shared_ptr GetMarketCandlesticks(std::string_view seriesTicker, std::string_view marketTicker); ^ ``` - **include/api/Api.hpp:45:16:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp double GetBalance(); ~~~~~~ ^ auto -> double ``` - **include/api/Api.hpp:46:53:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp std::shared_ptr GetPositions(); ^ ``` - **include/api/Api.hpp:49:14:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp bool IsLoggedIn(); ~~~~ ^ auto -> bool ``` - **include/api/Api.hpp:51:51:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp std::list> GetEventPositions(); ^ ``` - **include/api/Api.hpp:52:52:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp std::list> GetMarketPositions(std::string_view eventTicker = ""); ^ ``` - **include/api/Api.hpp:80:30:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp ApiResult HandleResponse(std::shared_ptr response); ^ ``` - **include/api/_Api.hpp:2:9:** warning: [[bugprone-reserved-identifier](https://clang.llvm.org/extra/clang-tidy/checks/bugprone/reserved-identifier.html)] > declaration uses identifier '_API_HPP', which is a reserved identifier ```hpp #define _API_HPP ^~~~~~~~ API_HPP ``` - **include/api/_Api.hpp:4:10:** error: [clang-diagnostic-error] > 'oatpp/core/macro/codegen.hpp' file not found ```hpp #include "oatpp/core/macro/codegen.hpp" ^ ``` - **include/api/_Api.hpp:12:11:** warning: [[bugprone-reserved-identifier](https://clang.llvm.org/extra/clang-tidy/checks/bugprone/reserved-identifier.html)] > declaration uses identifier '_Api', which is a reserved identifier ```hpp class _Api ^~~~ Api ``` - **include/api/types.hpp:4:10:** error: [clang-diagnostic-error] > 'oatpp/core/macro/codegen.hpp' file not found ```hpp #include "oatpp/core/macro/codegen.hpp" ^ ``` - **include/api/types.hpp:11:5:** warning: [[modernize-use-using](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-using.html)] > use 'using' instead of 'typedef' ```hpp typedef oatpp::String DateTime_Iso8601; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ using DateTime_Iso8601 = int ``` - **include/api/types.hpp:13:5:** warning: [[modernize-use-using](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-using.html)] > use 'using' instead of 'typedef' ```hpp typedef oatpp::String EasternTime_HH_MM; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ using EasternTime_HH_MM = int ``` - **include/api/types.hpp:21:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(Error, DTO /* extends */) ^ ``` - **include/api/types.hpp:24:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, message); ^ ``` - **include/api/types.hpp:25:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, service); ^ ``` - **include/api/types.hpp:33:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(VoidResponse, DTO /* extends */) ^ ``` - **include/api/types.hpp:41:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(ErrorResponse, DTO /* extends */) ^ ``` - **include/api/types.hpp:54:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(LoginRequest, DTO /* extends */) ^ ``` - **include/api/types.hpp:57:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, password); ^ ``` - **include/api/types.hpp:65:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(LoginResponse, DTO /* extends */) ^ ``` - **include/api/types.hpp:68:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, token); ^ ``` - **include/api/types.hpp:79:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(Announcement, DTO /* extends */) ^ ``` - **include/api/types.hpp:82:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, message); ^ ``` - **include/api/types.hpp:83:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, status); ^ ``` - **include/api/types.hpp:84:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, type); ^ ``` - **include/api/types.hpp:92:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(MaintenanceWindow, DTO /* extends */) ^ ``` - **include/api/types.hpp:95:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(DateTime_Iso8601, end_datetime); ^ ``` - **include/api/types.hpp:103:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(DailyHours, DTO /* extends */) ^ ``` - **include/api/types.hpp:106:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(EasternTime_HH_MM, close_time); ^ ``` - **include/api/types.hpp:114:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(StandardHours, DTO /* extends */) ^ ``` - **include/api/types.hpp:117:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Object, monday); ^ ``` - **include/api/types.hpp:118:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Object, tuesday); ^ ``` - **include/api/types.hpp:119:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Object, wednesday); ^ ``` - **include/api/types.hpp:120:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Object, thursday); ^ ``` - **include/api/types.hpp:121:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Object, friday); ^ ``` - **include/api/types.hpp:122:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Object, saturday); ^ ``` - **include/api/types.hpp:130:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(Schedule, DTO /* extends */) ^ ``` - **include/api/types.hpp:133:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Object, standard_hours); ^ ``` - **include/api/types.hpp:141:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(ExchangeAnnouncementsResponse, DTO /* extends */) ^ ``` - **include/api/types.hpp:151:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(ExchangeScheduleResponse, DTO /* extends */) ^ ``` - **include/api/types.hpp:161:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(ExchangeStatusResponse, DTO /* extends */) ^ ``` - **include/api/types.hpp:164:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Boolean, trading_active); ^ ``` - **include/api/types.hpp:175:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(EventsRequest, DTO /* extends */) ^ ``` - **include/api/types.hpp:178:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int32, limit); ^ ``` - **include/api/types.hpp:179:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, status); ^ ``` - **include/api/types.hpp:180:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, series_ticker); ^ ``` - **include/api/types.hpp:181:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Boolean, with_nested_markets); ^ ``` - **include/api/types.hpp:189:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(Market, DTO /* extends */) ^ ``` - **include/api/types.hpp:192:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Float64, cap_strike); ^ ``` - **include/api/types.hpp:193:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, category); ^ ``` - **include/api/types.hpp:194:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(DateTime_Iso8601, close_time); ^ ``` - **include/api/types.hpp:197:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, event_ticker); ^ ``` - **include/api/types.hpp:198:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(DateTime_Iso8601, expected_expiration_time); ^ ``` - **include/api/types.hpp:199:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(DateTime_Iso8601, expiration_time); ^ ``` - **include/api/types.hpp:200:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, expiration_value); ^ ``` - **include/api/types.hpp:201:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(DateTime_Iso8601, fee_waiver_expiration_time); ^ ``` - **include/api/types.hpp:202:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Float64, floor_strike); ^ ``` - **include/api/types.hpp:203:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, functional_strike); ^ ``` - **include/api/types.hpp:204:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, last_price); ^ ``` - **include/api/types.hpp:205:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(DateTime_Iso8601, latest_expiration_time); ^ ``` - **include/api/types.hpp:206:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, liquidity); ^ ``` - **include/api/types.hpp:207:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, market_type); ^ ``` - **include/api/types.hpp:208:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, no_ask); ^ ``` - **include/api/types.hpp:209:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, no_bid); ^ ``` - **include/api/types.hpp:210:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, no_sub_title); ^ ``` - **include/api/types.hpp:211:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, notional_value); ^ ``` - **include/api/types.hpp:212:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, open_interest); ^ ``` - **include/api/types.hpp:213:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(DateTime_Iso8601, open_time); ^ ``` - **include/api/types.hpp:214:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, previous_price); ^ ``` - **include/api/types.hpp:215:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, previous_yes_ask); ^ ``` - **include/api/types.hpp:216:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, previous_yes_bid); ^ ``` - **include/api/types.hpp:217:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, response_price_units); ^ ``` - **include/api/types.hpp:218:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, result); ^ ``` - **include/api/types.hpp:219:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, risk_limit_cents); ^ ``` - **include/api/types.hpp:220:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, rules_primary); ^ ``` - **include/api/types.hpp:221:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, rules_secondary); ^ ``` - **include/api/types.hpp:222:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int32, settlement_timer_seconds); ^ ``` - **include/api/types.hpp:223:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, settlement_value); ^ ``` - **include/api/types.hpp:224:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, status); ^ ``` - **include/api/types.hpp:225:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, strike_type); ^ ``` - **include/api/types.hpp:227:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, tick_size); ^ ``` - **include/api/types.hpp:228:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, ticker); ^ ``` - **include/api/types.hpp:229:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, title); ^ ``` - **include/api/types.hpp:230:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, volume); ^ ``` - **include/api/types.hpp:231:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, volume_24h); ^ ``` - **include/api/types.hpp:232:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, yes_ask); ^ ``` - **include/api/types.hpp:233:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, yes_bid); ^ ``` - **include/api/types.hpp:234:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, yes_sub_title); ^ ``` - **include/api/types.hpp:242:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(Event, DTO /* extends */) ^ ``` - **include/api/types.hpp:246:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(List>, markets); ^ ``` - **include/api/types.hpp:247:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Boolean, mutually_exclusive); ^ ``` - **include/api/types.hpp:248:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, series_ticker); ^ ``` - **include/api/types.hpp:249:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(DateTime_Iso8601, strike_date); ^ ``` - **include/api/types.hpp:250:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, strike_period); ^ ``` - **include/api/types.hpp:251:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, sub_title); ^ ``` - **include/api/types.hpp:252:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, title); ^ ``` - **include/api/types.hpp:260:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(EventsResponse, DTO /* extends */) ^ ``` - **include/api/types.hpp:263:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(List>, events); ^ ``` - **include/api/types.hpp:271:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(EventResponse, DTO /* extends */) ^ ``` - **include/api/types.hpp:281:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(EventRequest, DTO /* extends */) ^ ``` - **include/api/types.hpp:291:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(MarketsResponse, DTO /* extends */) ^ ``` - **include/api/types.hpp:294:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(List>, markets); ^ ``` - **include/api/types.hpp:302:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(MarketsRequest, DTO /* extends */) ^ ``` - **include/api/types.hpp:305:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int32, limit); ^ ``` - **include/api/types.hpp:306:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, event_ticker); ^ ``` - **include/api/types.hpp:307:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, series_ticker); ^ ``` - **include/api/types.hpp:308:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, max_close_ts); ^ ``` - **include/api/types.hpp:309:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, min_close_ts); ^ ``` - **include/api/types.hpp:310:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, status); ^ ``` - **include/api/types.hpp:311:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, tickers); ^ ``` - **include/api/types.hpp:319:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(Trade, DTO /* extends */) ^ ``` - **include/api/types.hpp:322:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(DateTime_Iso8601, created_time); ^ ``` - **include/api/types.hpp:323:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, no_price); ^ ``` - **include/api/types.hpp:324:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, taker_side); ^ ``` - **include/api/types.hpp:325:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, ticker); ^ ``` - **include/api/types.hpp:326:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, trade_id); ^ ``` - **include/api/types.hpp:327:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, yes_price); ^ ``` - **include/api/types.hpp:335:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(TradesResponse, DTO /* extends */) ^ ``` - **include/api/types.hpp:338:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(List>, trades); ^ ``` - **include/api/types.hpp:346:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(TradesRequest, DTO /* extends */) ^ ``` - **include/api/types.hpp:349:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int32, limit); ^ ``` - **include/api/types.hpp:350:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, ticker); ^ ``` - **include/api/types.hpp:351:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, min_ts); ^ ``` - **include/api/types.hpp:352:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, max_ts); ^ ``` - **include/api/types.hpp:360:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(MarketResponse, DTO /* extends */) ^ ``` - **include/api/types.hpp:370:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(MarketOrderbook, DTO /* extends */) ^ ``` - **include/api/types.hpp:373:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(List, yes); ^ ``` - **include/api/types.hpp:381:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(MarketOrderbookResponse, DTO /* extends */) ^ ``` - **include/api/types.hpp:391:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(MarketOrderbookRequest, DTO /* extends */) ^ ``` - **include/api/types.hpp:401:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(SettlementSource, DTO /* extends */) ^ ``` - **include/api/types.hpp:404:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, url); ^ ``` - **include/api/types.hpp:412:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(Series, DTO /* extends */) ^ ``` - **include/api/types.hpp:415:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, contract_url); ^ ``` - **include/api/types.hpp:416:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, frequency); ^ ``` - **include/api/types.hpp:417:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(List>, settlement_sources); ^ ``` - **include/api/types.hpp:418:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(List, tags); ^ ``` - **include/api/types.hpp:419:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, ticker); ^ ``` - **include/api/types.hpp:420:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, title); ^ ``` - **include/api/types.hpp:428:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(SeriesResponse, DTO /* extends */) ^ ``` - **include/api/types.hpp:438:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(Price, DTO /* extends */) ^ ``` - **include/api/types.hpp:441:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, high); ^ ``` - **include/api/types.hpp:442:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, low); ^ ``` - **include/api/types.hpp:443:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, mean); ^ ``` - **include/api/types.hpp:444:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, open); ^ ``` - **include/api/types.hpp:445:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, previous); ^ ``` - **include/api/types.hpp:453:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(YesAsk, DTO /* extends */) ^ ``` - **include/api/types.hpp:456:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, high); ^ ``` - **include/api/types.hpp:457:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, low); ^ ``` - **include/api/types.hpp:458:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, open); ^ ``` - **include/api/types.hpp:466:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(YesBid, DTO /* extends */) ^ ``` - **include/api/types.hpp:469:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, high); ^ ``` - **include/api/types.hpp:470:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, low); ^ ``` - **include/api/types.hpp:471:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, open); ^ ``` - **include/api/types.hpp:479:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(MarketCandlestick, DTO /* extends */) ^ ``` - **include/api/types.hpp:482:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, open_interest); ^ ``` - **include/api/types.hpp:483:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Object, price); ^ ``` - **include/api/types.hpp:484:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, volume); ^ ``` - **include/api/types.hpp:485:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Object, yes_ask); ^ ``` - **include/api/types.hpp:486:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Object, yes_bid); ^ ``` - **include/api/types.hpp:487:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, ticker); ^ ``` - **include/api/types.hpp:495:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(MarketCandlesticksResponse, DTO /* extends */) ^ ``` - **include/api/types.hpp:498:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, end_ts); ^ ``` - **include/api/types.hpp:499:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int32, period_interval); ^ ``` - **include/api/types.hpp:507:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(MarketCandlesticksRequest, DTO /* extends */) ^ ``` - **include/api/types.hpp:510:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, end_ts); ^ ``` - **include/api/types.hpp:511:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int32, period_interval); ^ ``` - **include/api/types.hpp:521:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(PortfolioBalanceResponse, DTO /* extends */) ^ ``` - **include/api/types.hpp:525:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, payout); ^ ``` - **include/api/types.hpp:533:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(PortfolioPositionsRequest, DTO /* extends */) ^ ``` - **include/api/types.hpp:536:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int32, limit) = 100; ^ ``` - **include/api/types.hpp:537:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, count_filter) = "position,total_traded,resting_order_count"; ^ ``` - **include/api/types.hpp:538:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, settlement_status) = "unsettled"; ^ ``` - **include/api/types.hpp:539:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, ticker); ^ ``` - **include/api/types.hpp:540:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, event_ticker); ^ ``` - **include/api/types.hpp:548:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(EventPosition, DTO /* extends */) ^ ``` - **include/api/types.hpp:551:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, event_ticker); ^ ``` - **include/api/types.hpp:552:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, fees_paid); ^ ``` - **include/api/types.hpp:553:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, realized_pnl); ^ ``` - **include/api/types.hpp:554:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int32, resting_order_count); ^ ``` - **include/api/types.hpp:555:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, total_cost); ^ ``` - **include/api/types.hpp:563:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(MarketPosition, DTO /* extends */) ^ ``` - **include/api/types.hpp:566:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, market_exposure); ^ ``` - **include/api/types.hpp:567:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int32, position); ^ ``` - **include/api/types.hpp:568:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, realized_pnl); ^ ``` - **include/api/types.hpp:569:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int32, resting_orders_count); ^ ``` - **include/api/types.hpp:570:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(String, ticker); ^ ``` - **include/api/types.hpp:571:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(Int64, total_traded); ^ ``` - **include/api/types.hpp:579:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_INIT(PortfolioPositionsResponse, DTO /* extends */) ^ ``` - **include/api/types.hpp:582:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(List>, event_positions); ^ ``` - **include/api/types.hpp:583:9:** warning: [[modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)] > use a trailing return type for this function ```hpp DTO_FIELD(List>, market_positions); ^ ``` - **src/api/Api.market.cpp:3:10:** error: [clang-diagnostic-error] > 'api/Api.hpp' file not found ```cpp #include "api/Api.hpp" ^ ```

Have any feedback or feature suggestions? Share it here.