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/

    Position management techniques

    General Discussion
    1
    1
    64
    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.
    • M
      manos last edited by

      I'm curious if anyone has implemented anything, or knows of some good resources to share?

      Looking to implement robust position management. To me, this means a few things:

      • Limit (maker) orders for lower fees, with a configurable time limit that will switch to market orders to JFDI if taking too long.
      • Slow position acquisition when buying larger sizes (limits and timeouts, as well).
      • Smart enough to not continually buy fractional sizes if it gets in a situation where there's tiny amounts left from previous trades (potentially: camp in stake_currency?)

      Ideally all of that will happen by simply having a strategy set leverage between say -3 and +3, though I haven't looked into how to do that - I guess I can just remove and re-add the commission scheme to cerebro.

      Thanks for any pointers before I embark on doing it all my from scratch :)

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Copyright © 2016, 2017, 2018 NodeBB Forums | Contributors
      $(document).ready(function () { app.coldLoad(); }); }