Giter Site home page Giter Site logo

Comments (3)

steeply avatar steeply commented on July 26, 2024

@Psychozz81
Parameters must be specified via an environment variable.
This can be done by entering the command in the console:

export PARAM=VALUE

or use makefile

gbot-start:
@echo "GBot"
@KEY=KEY SECRET=SECRET NAME_COIN="btc" NAME_COIN_TWO="usd" (... all necessary parameters) node ./build/server

.PHONY: gbot-start

run by command make gbot-start

or use shell commands.

Here is an example configuration:
file config.sh

#!/bin/sh
echo "GBot 1"
export LOG=1
export LOG_DEBUG=1
export LOG_TRANSPORTS=2
# ==================================================
export EXCHANGE=bitfinex
export NAME_COIN=LTC
export NAME_COIN_TWO=BTC
export ONE_ORDERS_SELL=true
export ONE_ORDERS_PROFIT_PERCENT=1
export ONE_ORDERS_OFFSET=0.2
export FIRST_LOADING_HISTORY=0
export CONTINUE_MARTINGALE_GRID=0
export OFFSET_ORDERS_EXPONENTIAL=0.2
export OFFSET_FIRST_ORDERS_PERCENT=0.0000001
export MARTINGALE_TYPE=1
export SIZE_ORDERS_MARTINGALE=30
export COUNT_ORDERS=20
export QUANTITY_ORDERS_IN_BLOCKS=3
export SIZE_FIRST_ORDER=0.1
#  ==================================================
export TYPE_DATA_USED=history
export DELAY_REQUEST_API=2000
export CYCLES_AUTO_EXIT=5
export NODE_ENV=production 
export DELAY_BETWEEN_MODULES=2
export TIME_ZONE=Europe/Moscow
. ./keys/gbot-1.key
node ./build/server --no-color

#npm start

file gbot-1.key

export KEY=
export SECRET=
export TELEGRAM_TOKEN=
export TELEGRAM_ID=
export WALLET=
export LICENSE_KEY=

from gbot-trader.

Psychozz81 avatar Psychozz81 commented on July 26, 2024

I exported Api key, secret word, and Token Telegram. Application is started, but telegram does not work, nothing happened there, so i cant get id.
Also i would like to understand is it possible to manage exchange by all pairs, make an order, cancel and etc? Or just one pair?

Also how much is it?

npm restart

[email protected] start /gbot-trader
node ./build/server

00:11:55 - warn: -----------------------------------
00:11:55 - warn: Триал версия с ограничениями!
00:11:55 - warn: Только торговые пары с BTC!
00:11:55 - warn: Ограничение депозита 0.05 BTC!
00:11:55 - warn: -----------------------------------
00:11:55 - warn: Your trading pair: LTC/USD

from gbot-trader.

steeply avatar steeply commented on July 26, 2024

If you do not get the instructions in the readme to get the Telegram id, you can get it using this bot @userinfobot

English in the interface can be turned on by setting the parameter LANGUAGE=en

In the trial version, the restriction on trading with pairs only of the BTC and the restriction of the deposit is no more than 0.05 btc

Full version https://gbot-trader.herokuapp.com/pricing

from gbot-trader.

Related Issues (16)

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.