[assistant-stock-transaction] transcription error in truth table

Short Sell should have the same characteristics as Open Buy.
This commit is contained in:
Christopher Lam 2022-08-22 12:05:38 +08:00
parent b7a3652de7
commit ff4c656bac

View File

@ -293,9 +293,9 @@ static const TxnTypeVec long_types
static const TxnTypeVec short_types
{
{
FieldMask::ENABLED_DEBIT, // stock_amt
FieldMask::ENABLED_DEBIT, // stock_val
FieldMask::ENABLED_CREDIT, // cash_amt
FieldMask::ENABLED_CREDIT, // stock_amt
FieldMask::ENABLED_CREDIT, // stock_val
FieldMask::ENABLED_DEBIT, // cash_amt
FieldMask::ENABLED_DEBIT | FieldMask::ALLOW_ZERO, // fees_amt
true, // fees_capitalize
FieldMask::DISABLED, // dividend_amt