Navigation

    Backtrader Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

    Adding Multiple Commission Schemes to a Single Asset

    General Code/Help
    1
    1
    59
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cmal
      cmal last edited by

      Hi, I want to add dividend info to my stock asset, I searched and found the following topic:

      https://community.backtrader.com/topic/97/taking-into-account-of-periodic-payments/2
      https://www.backtrader.com/blog/posts/2016-08-22-credit-interest/credit-interest/

      In those posts, authors said one can add dividends as commission. But I read the source code and found that only one commission scheme for one asset is supported. So if the same asset already has a (real) commission scheme, the dividend as a commission will replace the real commission.

      How can I keep the real commission, at the same time add a dividend as a commission scheme?

      Thanks a lot!

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Copyright © 2016, 2017, 2018, 2019, 2020, 2021 NodeBB Forums | Contributors