Skip to content

komodo-cakeshop/mmtools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 

Repository files navigation

mpm

sudo apt-get install libjson-perl libfile-slurp-perl
cd && git clone https://github.com/cipig/mmtools
cd ~/mmtools/mpm
vi mpm
my $cex_apikey = "Binance API Key";
my $cex_seckey = "Binance API secret";

~/mmtools/mpm/mpm coinpaprika binance

  • sets prices for all coins from mpm.conf in mm2 (base is KMD) and uses coinpaprika as price source
  • sets KMD/BTC bids/asks with size $quantity, $quantity/2 and $quantity/4 in Binance

cmcid/papid in mpm.conf are taken from https://api.coinmarketcap.com/v2/listings/ and https://api.coinpaprika.com/v1/coins
If bidmargin or askmargin is not set, bid/ask will not be set

can be started with stdbuf -oL nohup ~/mmtools/mpm/mpm.sh > /tmp/mpm.log & in the background and will update the prices every minute
tail -f /tmp/mpm.log to watch mpm TV
config file ~/mmtools/mpm/mpm.conf can be edited and prices will be updated without the need to restart

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 99.0%
  • Shell 1.0%