Code Monkey home page Code Monkey logo

ladder's Introduction

Ladder

Incremental buying or selling of any crypto asset.

reason to be

Trading crypto is a game of dealing with harsh volatility and the uncertainties of timing the market. Most traders get it wrong. Throw in human emotions and all you get is anxiety rather than profits. Ladder trading is a strategy to minimize the risks and reap greater rewards. This software automates the strategy while removing human emotions.

what is latter trading?

Ladder trading is incremental buying or selling of any crypto asset rather than opting for a single price. These incremental buy or sell orders are called ladder steps. Ladder trading will limit your losses during the market fluctuations by spreading in and out of positions.

Should you want to exit the market and sell your asset, your average sell price will be closer to the ATH. Should you want to enter the market and buy an asset, you'll be buying dips and your average buy price will be closer to the bottom. Either way, you'll maximize your profits by pushing the average price in the desired direction.

In essence, you are executing a better dollar-cost-averaging (DCA) trading strategy where you are selling (or buying) an asset regularly, doing away with the attempt at the market timing. Because this software will slowly but surely increase your order size, your average price will be better (compared to non-laddered DCA)

benefits

  • minimize the risks
  • does away with the need for timing the market
  • tackling high volatility
  • less anxiety

exchanges

At the time of this writing, the software supports the following exchanges:

who is paying for gas?

Please note this software will NEVER broadcast an on-chain transaction to the network and spend your ETH on gas. This software only ever interacts with (off-chain) CEXes or send signatures (aka gasless transactions) to a DEX.

If on-chain transactions are needed (for example: to approve an asset or cancel your limit orders on a DEX), this software will prompt you with a nice message and be done with it. This is the designed behavior and not a bug.

When your limit orders are getting filled on a DEX, market makers are paying for the gas.

usage

./ladder [command] [flags]

commands

Use ./ladder [command] --help for more information about a command.

Please note none of the below commands will actually place any orders unless you include --dry-run=false with your command line.

sell

Usage: ./ladder sell [flags]

flag description default
--exchange name or code of the exchange
--asset name of the asset you will want to sell BTC
--quote name of the asset you will want to receive USDT
--start-at-price price where you will want to start selling at
--stop-at-price price where you will want to stop selling
--start-with-size size of your first sell order (in base asset)
--mult multiplier that defines the number of orders and the distance between them 1.05
--size the quantity you will want to sell (in base asset)

buy

Usage: ./ladder buy [flags]

flag description default
--exchange name or code of the exchange
--asset name of the asset you will want to buy BTC
--quote name of the asset you will want to spend USDT
--start-at-price price where you will want to start buying at
--stop-at-price price where you will want to stop buying
--start-with-size size of your first buy order (in quote asset)
--mult multiplier that defines the number of orders and the distance between them 1.05
--size the quantity you will want to buy (in quote asset)

cancel

Usage: ./ladder cancel [flags]

flag description
--exchange name or code of the exchange
--asset base asset
--quote quote asset
--side buy or sell

compiling

  1. Download and install Go version 1.19 (or later)
  2. Open infura.api.key
  3. Enter your Infura API key
  4. Should you decide to fork this repo, then do not commit your API key. Your API key is not to be shared.

disclaimer

Ladder is provided free of charge. There is no warranty. The authors do not assume any responsibility for bugs, vulnerabilities, or any other technical defects. Use at your own risk.

ladder's People

Contributors

svanas 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.