Necessarily Precedes Mischief

    altamoon-phlegmatic

    0.4.7 • Public • Published

    altamoon-phlegmatic npm version

    Altamoon plugin that imitates human behavior to close Binance future positions

    The plugin includes the following "strategies" to close positions:

    • Pull profit allows to prtially take profit when PNL reaches given PNL level every given amount of time.
    • Take profit works similar to the regular TP feature but waits for a given amount of time to pass while PNL is above given percentage to protect from the sutiation when PNL is high for just a moment.
    • Reduce loss works similar to "Pull profit" but the other way around. It checks if PNL is below given percentage and partially closes position every given amount of time to protect from bigger losses if PNL drops more.
    • Stop loss works similar to the reguar SL feature but protects from situations when PNL drops quickly but restores in a moment. It doesn't protect from situations when price drops but doesn't restore back.
    • Recover allows to extend position if PNL drops below given percentage.

    To see what does the plugin exactly do, take a look at the screenshots below which are quite self-explanatory.

    Install

    To use the plugin select "Plugins" at Altamoon UI and switch altamoon-phlegmatic plugin on.

    image

    image

    Usage

    The plugin comes with all the strategies turned off out from the box. The "Default" settings define how new positions should behave once they open.

    image

    Once a position is created, it can be controled individually.

    image

    Important! It's recommended to turn off a strategy before changing its numbers to clean up intervals and avoid perventage issues; enable them after the numbers are set up.

    Develop

    • Install NodeJS.
    • Clone the repository and go the plugin folder (cd altamoon-plugins/packages/phlegmatic).
    • Run npm ci to install dependencies.
    • Run npm start to start Webpack Dev Server.
    • Use "Add custom plugin" Altamoon feature and paste http://localhost:8083/bundle.js to add the plugin.

    Keywords

    none

    Install

    npm i altamoon-phlegmatic

    DownloadsWeekly Downloads

    4

    Version

    0.4.7

    License

    AGPL-3.0-or-later

    Unpacked Size

    3.17 MB

    Total Files

    25

    Last publish

    Collaborators

    • finom
    • letiliel