0bps

Strategy vault / Other

Competing with the Opening of New Coins Listed on Binance

Used to counter the opening of Binance's new currency. Obviously, the success rate is not high. On November 4, 2021, I countered the opening of DAR. I bought it at the top of the mountain. I stopped the loss in time…

PythonOther
Author
GCC
Complexity
Starter · 30 lines
Parameters
1

Used to counter the opening of Binance's new currency. Obviously, the success rate is not high. On November 4, 2021, I countered the opening of DAR. I bought it at the top of the mountain. I stopped the loss in time and lost 10%. I stopped playing.!

Parameters

NameDefaultWhat it controls
XX200Charge how much

Source Python

def main():
    Log(exchange.GetAccount())
    Log(exchange.GetCurrency())
    while True:
        ticker = exchange.GetTicker()
        if ticker:
            Log("The market is open, charge!!!!@")
            exchange.SetPrecision(1,0)
            amount = XX/ticker['Last']
            exchange.Buy(-1, amount)
            exchange.Buy(-1, amount/2)
            exchange.Buy(-1, amount/4)
            exchange.Buy(-1, amount/8)
            exchange.Buy(-1, amount/16)
            Sleep(15*1000)
            while True:
                try:
                    _ticker = exchange.GetTicker()
                    if _ticker['Last'] > ticker['Last']:
                        exchange.Sell(-1, amount/3)
                        Log("One-third has been sold@")
                        return
                    else:
                        Sleep(30)
                        continue
                except:
                    Sleep(30)
                    continue
        else:
            Sleep(20)

Published by GCC on the FMZ strategy square · last modified 2021-11-20. Collected in the Quant Trading Vault. Unvalidated research: re-test with your own data and costs before trusting it.

Build this with AgenKit

A spec is not a trading system. Paste this into your coding agent and AgenKit runs a specialist team — architecture, test-first build, risk gates, review — with paper trading on by default.

in Claude Code, Cursor, Codex & 4 more
/agenkit build a production-grade trading bot with a backtest engine, risk controls and paper trading by default from strategies/Competing-with-the-Opening-of-New-Coins-Listed-on-Binance.md
  1. npx agenkit install engineering-kit in your project
  2. Paste the command into your agent and approve each phase
  3. Get tests, backtest, risk controls and a paper-trading switch

Understand it first

Before you run this, read the lesson behind the idea and how to backtest it honestly. Specs like this one are the survivors of an unknown number of trials; deflate their results accordingly.

Related specs

esc

Try , , or .

↑↓ move↵ open