Skip to content

Commit

Permalink
[EN-7733] Add get*ExchangeCodeString methods to events.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnatolyKalin committed Oct 11, 2023
1 parent 34020f5 commit 4839c7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/dxfeed_graal_cpp_api/event/market/TimeAndSale.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ class DXFCPP_EXPORT TimeAndSale final : public MarketEvent, public TimeSeriesEve
* @return exchange code of this time and sale event as UTF8 string.
*/
std::string getExchangeCodeString() const noexcept {
//TODO: cache

return dxfcpp::utf16toUtf8String(data_.exchangeCode);
}

Expand Down

0 comments on commit 4839c7b

Please sign in to comment.