Haehnchen / crypto-trading-bot

Cryptocurrency trading bot in javascript for Bitfinex, Bitmex, Binance, Bybit ... (public edition)
MIT License
3.12k stars 983 forks source link

Does this make live auto trades... #221

Open deval1234 opened 3 years ago

deval1234 commented 3 years ago

I have just installed this in my server but I don't understand does it make live trades? Trades that can make earnings to my binance earnings??

If yes,

Will I have to make all the trades manually or can it automatically open live trades for me?

EraldoOkado commented 3 years ago

I'm also wondering this there

Cortii2 commented 3 years ago

Yeah, for me too... I've created the instance file, set a strategy marked for 'trade', added capital_currency... and nothing happens... After spending 2 weeks with writting a good strategy, it would be very nice if the bot makes trading :))

What kind of config / instance file is needed for the automatic trading?

souuu commented 2 years ago

+1

Wladastic commented 2 years ago

Thank me later.. instance.js



c.symbols = []

const InstanceUtil = require('./src/utils/instance_util');

c.init = async () => {
    c.symbols.push(...(await InstanceUtil.binanceInitSpotUsd(pair => {
        pair.periods = ['1m', '15m', '60m'];
        pair.watchdogs = [{
            'name': 'stoploss_watch',
            'stop': 1.2,
        }];
        pair.state = 'trade';
        pair.strategies = [
        {
            strategy: 'dip_catcher',
            options: {
                "period": "15m",
                "trend_cloud_multiplier": 4,
                "hma_high_period": 3,
                "hma_high_candle_source": "high",
                "hma_low_period": 3,
                "hma_low_candle_source": "low"
              }
        }];

        pair.trade = {
            currency_capital: 20,
            strategies: [
            {
                strategy: 'dip_catcher',
                interval: '15m',
                options: {
                    "period": "15m",
                    "trend_cloud_multiplier": 4,
                    "hma_high_period": 3,
                    "hma_high_candle_source": "high",
                    "hma_low_period": 3,
                    "hma_low_candle_source": "low"
                  }
            }
            ]
        };

        return pair;

    })));
};