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
Have any feedback or feature suggestions? Share it here.
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.cppclang-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_ptrHave any feedback or feature suggestions? Share it here.