ctubio / Krypto-trading-bot

Self-hosted crypto trading bot (automated high frequency market making) written in C++
https://127.0.0.1:3000
Other
3.37k stars 823 forks source link

Installation on Ubuntu 16.04 #641

Closed shahidjalally closed 6 years ago

shahidjalally commented 6 years ago

I'm interested in it and I have command on Ubuntu 16.04. Is this Project can be installed on Ubuntu 16.04? @ctubio

donaldforest commented 6 years ago

If you try install you will see:

= = = = = = = = = = = = = = = = = = = = = = =
 _  __
| |/ /
| ' /   Select your architecture
| . \   to download pre-compiled binaries:
|_|\_\

     1  x86_64-linux-gnu
     2  arm-linux-gnueabihf
     3  aarch64-linux-gnu
     4  x86_64-apple-darwin17
     5  x86_64-w64-mingw32

x86_64-linux-gnu included Ubuntu 16.04

shahidjalally commented 6 years ago

Yes I have installed, and entered API key and secret for bitfinex and checked that web gui is functional. Now I'm reading manual. I have 1BTC balance and I have leave default currency pair BTC/USD.

May I needs to change anything in quoting parameters for this balance?

After read and understand manual I will pay for unlock

donaldforest commented 6 years ago

Most important to change: bidSize, askSize, pingWidth, pongWidth. Last two you need juxtapose with exchange approx real spread. If you have an experience in trade you understood me. Another settings is less important.. You will change it when define your strategy.

shahidjalally commented 6 years ago

I have restart my VPS/VDS as after install this bot system was asking restart required. and after restart bot PID is stopped. How may I restart it.

donaldforest commented 6 years ago
make start
make stop
make restart

from https://github.com/ctubio/Krypto-trading-bot/blob/master/README.md or kill all K process PIDs and run again ./K.sh

shahidjalally commented 6 years ago

and bot process will added into daemon task/job? while I will close my SSH session and after it bot process will remain active ?

donaldforest commented 6 years ago

Depending how you run it.. If you run like make start or make start all, you can close\exit SSH, K process will work in screen like a daemon. If You run it manually without screen ./K.sh it will be closed when you close SSH. In any case VPS restart kill any process. And you always can check how K works in Web UI. If You can connect and see process in web UI then K working!

shahidjalally commented 6 years ago

Got it thanks for response. Please could you suggest me optimal quoting settings for 1BTC Balance in exchange wallet in bitfinex wallet which values I should needs to set and safe in quoting parameters bidSize, askSize, pingWidth, pongWidth. Last two you need juxtapose with exchange approx real spread.

donaldforest commented 6 years ago

If you dont understand what you do, my settings do not help you.. But ok, for start you can use:

bidSize = 0.02
askSize = 0.02
pingWidth = 2.2
pongWidth = 1.8
shahidjalally commented 6 years ago

please explain it in different words again

Last two you need juxtapose with exchange approx real spread.

donaldforest commented 6 years ago

You need know current real spread on Bitfinex to setup pingWidth, pongWidth. But K have a lot safeties which can correct on fly this params.

shahidjalally commented 6 years ago

Thanks. I have set suggested four values as you suggest.

now I'm seeing this on web GUI

NO WALLET DATA

Do a manual order first using the website of this Market!

please explain it.

donaldforest commented 6 years ago

try make stop and change in config BTC/USD to BTC/USDT then start again

donaldforest commented 6 years ago

And be sure you have some values for this pair on trade account.

shahidjalally commented 6 years ago

And be sure you have some values for this pair on trade account.

I have funds into btc wallet 1 BTC

Or may I need to shift them elsewhere ?

donaldforest commented 6 years ago

try change BTC/USD to BTC/USDT and back if it not help

I have funds into btc wallet 1 BTC

If you can make limit order with this funds from Bitfinex interface, no need to do anything with it.

shahidjalally commented 6 years ago

it is not solving issue, now web gui not opening , so now I'm going to shift it back from BTC/USDT to BTC/USD

shahidjalally commented 6 years ago

I have revert currency pair and now web GUI is working. but quoting engine is not working still and opening any orders. although Fair price and level one market data (bid/ask) displaying.

shahidjalally commented 6 years ago

If you can make limit order with this funds from Bitfinex interface, no need to do anything with it.

let me try it.

shahidjalally commented 6 years ago

error displaying not enough exchange balance for open this limit order I'm trying to open 0.02BTC @ 6000

donaldforest commented 6 years ago

Try some manual trade on Bitfinex first. Then when it will work. Press Big Red button in K UI and wait!

shahidjalally commented 6 years ago

Thanks, what is the major difference between locked and unlocked version of this bot

donaldforest commented 6 years ago

https://github.com/ctubio/Krypto-trading-bot/blob/master/README.md

shahidjalally commented 6 years ago

Thanks for good support.