Giter VIP home page Giter VIP logo

autotransfer's Introduction

๐ŸŒผ AutoTransfer

(from WH scripts collection)

success

failure

re-attempt

discord

What it does:

  • this PowerShell script continuously transfers a percentage of profits automatically on a Binance Futures account, from Futures to Spot wallet, at a predefined interval.
  • if the following conditions are true:
    • Currently used margin is less than the defined maximum (marginUsedPercentCurr < maxMarginUsedPercent)
    • The the remaining balance after the trasfer is more than the defined minimum remaining balance (($totalBalance - $percentsOfProfit/100 * $profit) is > minRemainingBalance)
    • profit in the past X hours is positive.
  • checks for transfers within the past X hours when script starts, and doesn't perform a transfer if found any.
  • transfers the defined percentage of the profit ($percentsOfProfit * $profit) to Spot and sends Discord message.
  • if any of the conditions are false, then sends discord alert and tries again once an hour.
  • sleeps for X $hours and repeats ad infinitum.

Instructions:

  • drop the script file and the json settings file into the same folder with your bot.
  • define the following in autoTransfer.json file
    • profitPercent: the percentage of the profit of the past X hours you want transferred
    • minRemainingBalance: minimum remaining balance after the transfer.
    • maxMarginUsedPercent: maximum used margin above which transfers should not occur.
    • hours: the period in hours of how often to perform transfers.
    • proxy: (optional) IP proxy and port to use (example "http://25.12.124.35:2763"). Leave blank if no proxy used (""). Get proxy IPs here.
  • submit any issues or enhancement ideas on the Issues page.

Tips:

  • USDT (TRC20): TNuwZebdZmoDxrJRxUbyqzG48H4KRDR7wB
  • BTC: 1PV97ppRdWeXw4TBXddAMNmwnknU1m37t5
  • USDT/ETH (ERC20): 0x56b2239c6bde5dc1d155b98867e839ac502f01ad

autotransfer's People

Contributors

daisy613 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.