Search the Community

Showing results for tags 'shell'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • LAUNCHPAD
    • CRYPTOCURRENCY ANNOUNCEMENTS
    • GIVEAWAYS
    • PROMOTIONS / OFF-SITE GIVEAWAYS / FAUCETS
  • NEWS / TALK
    • CRYPTOCURRENCY DISCUSSIONS
    • NEWS
    • LOCAL
  • CRYPTOCURRENCY FORUMS
    • Bitcoin BTC / XBT
    • DASH
    • ETHEREUM ETH
    • GRIDCOIN GRC
    • HOBONICKELS HBN
    • UNOBTANIUM UNO
    • ZCASH ZEC
  • DEVELOPMENT / SUPPORT
    • DEVELOPER TALK
    • DEVELOPMENT QUESTIONS / IDEAS / REQUESTS
    • TECHNICAL SUPPORT
    • TUTORIALS / GUIDES
  • MINING
    • MINING DISCUSSIONS
    • MINING POOLS
  • ECONOMY
    • ECONOMICS / SPECULATION
    • EXCHANGES
    • GOODS
    • SERVICES
    • GAMES / GAMBLING
  • GAMING ZONE
    • GAMING DISCUSSIONS
    • THE GAMES
    • GUIDES / TUTORIALS
    • GAMING NEWS / PROMOTIONS
  • TECHNOLOGY
    • TECHNOLOGY TALK
    • PC HELP / SUPPORT
    • TECHNOLOGY NEWS
  • THE RODEO
    • OPEN FORUM
    • JOKES / COMEDY
    • SERIOUS / PERSONAL HELP
    • TELEVISION / MOVIES
    • MUSIC
    • META

Categories

  • Development

Categories

  • Bitcoin Discussions
  • Marketplace
  • Technical Discussion
  • Mining Discussions

Categories

  • Litecoin Discussions
  • Marketplace
  • Technical Discussion
  • Mining Discussions

Categories

  • Shows / Media
    • Productions
    • Daily / Weekly Shows
  • Trading / Speculation
  • News
  • Mining
  • Services
  • Technical
  • Education / Informational
  • Conferences / Meetings
  • Ethereum
  • General Crypto Videos

Group


Website


Twitter


Facebook


Slack


Subreddit


Medium


Bitcointalk


Telegram


ICQ


Skype


Jabber


Steam Account


Location


Interests


Favorite Games


Bitcoin BTC Address


Bitcoin BTC Address


Ethereum ETH Address


Dash DASH Address


Litecoin LTC Address


Dogecoin DOGE Address


Gridcoin GRC Address


Unobtanium UNO Address


Torcoin TOR Address


Orbitcoin ORB Address


Operating System


Motherboard


Processor


RAM


SSD / HDD Storage


Audio


Monitor


Case


Peripherals


Speed Test


IGN


Steam


Battlelog ID


Minecraft IGN


PlanetSide 2


War Thunder IGN


League of Legends LOL


PSN ID


XBox Live ID


Twitch

Found 1 result

  1. Auto Sell I have been teaching my son some things about BitCoins, HBN, Markets and Coding. He was looking around Cryptopia and wanted to know what the "API" section meant. The best way to explain is to show. So we worked on it a bit yesterday and I finished it off last night. It is a simple script(s) that will watch your balance and then sell based on your wishes. It can be used with a headless coin that you might mine to and then send as you get coins, or it can be used with S4C on HBN/CAP/HYP whomever is now using it. It uses ruby and shell. So it should work on just about any system. You only need to install MSYS and Ruby on Windows and you are good to go. Linux and Mac should work with little issue. I have attached the code. To invoke you simply need to have all of the scripts in the same dir and enter auto_sell.sh COIN TRADE_TYPE The COIN is just the coin you want to autosell eg HBN. and the TRADE_TYPE is ASK, BID or DUMP. ASK will put the trade on the top ask price. BID will sell on the bid without looking at how many coins. and DUMP (for now) will just subtract a few sats and try to sell the entire balance right away. auto_sell.sh HBN ASK There is only a piece that you might need to fill your self in the ruby code in getbalance.rb . You have to put into an array the COIN to COINID COINHASH = { "HBN" => 84, "CAP" => 213 } And you have to enter your API information into getbalance.rb and placetrade.rb _API_KEY = "YOUR_API_KEY" _API_SECRET = "YOUR_API_SECRET" I have worked with ruby only this once, so it can be created a lot better with time. I also wanted to show him the difference in languages so I used shell with awk for parsing. This is simplistic and not fully vetted code, so use at your own risk. But it works pretty well. auto_sell.sh coin_info.rb getbalance.rb placetrade.rb