algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
Loading...
Searching...
No Matches
algotradelib::backtest::SellTax Struct Reference

A tax on sales, stated by the caller; see NextBarFillModel::with_sell_tax. More...

#include <algotradelib/src/backtest/fill.hpp>

Collaboration diagram for algotradelib::backtest::SellTax:

Public Attributes

Decimal64 rate_
 The fraction of a sale's value charged, such as 0.0020 for 0.20%.
Country country_ {Country::KR}
 The market whose sales pay it.

Detailed Description

A tax on sales, stated by the caller; see NextBarFillModel::with_sell_tax.

Definition at line 54 of file fill.hpp.

Member Data Documentation

◆ country_

Country algotradelib::backtest::SellTax::country_ {Country::KR}

The market whose sales pay it.

Definition at line 58 of file fill.hpp.

◆ rate_

Decimal64 algotradelib::backtest::SellTax::rate_

The fraction of a sale's value charged, such as 0.0020 for 0.20%.

Definition at line 56 of file fill.hpp.

Referenced by algotradelib::backtest::NextBarFillModel::with_sell_tax().


The documentation for this struct was generated from the following file: