Package: bittrex-autotrader
Bittrex currency exchange autotrading scriptin a nutshell.Installation$ pip install bittrex_autotraderDependenciesTo manually install the Python script dependencies, generate API
documentation, and create a source distribution:$ makeConfiguration optionsThe following options can be passed as script arguments or defined in a
file:OptionDescriptionExampleDefault valueapikeyBittrex issued API key.XxXxxXXxXxxXxxXxXxxXxXxxXXxXxxXxsecretBittrex issued API secret.XxXxxXXxXxxXxxXxXxxXxXxxXXxXxxXxmarketString literal for the market.BTC-XXXBTC-LTCunitsBUY/SELL total units.01spreadBUY/SELL markup/markdown percentage.0.0/0.00.1/0.1methodMoving Average calculation method.methodarithmeticdelaySeconds to delay order status requests.030promptRequire user interaction to begin trading.FalseTrueBasic usageTo run the script:$ ./bittrex_autotrader.py --conf bittrex_autotrader.confAssuming there are no open orders, the default configuration requires
the user to decide the first type of trade;1. BUY in at markdown (need units to trade)
2. SELL out at markup (need liquidity)

Enter your choice as a number or unique substring (Control-C aborts):Make a choice then press Enter.The script will then retrieve the latest market rates, calculate an
asking price based on your configuration and submit an order to Bittrex.Once an order has completed, the script will again retrieve the latest
market rates and submit a new order of the opposite type.If an order is cancelled (via the Bittrex Web UI), the script will
recalculate based on the latest market rates and submit an order of the
same type.If the script is stopped and re-run while an order is outstanding, it
will resume monitoring and continue as normal once the order is
completed or cancelled.Running as a serviceIf you wish to automate the running of the script (usingSupervisorfor example), set the ‘prompt’
configuration option to ‘False’.On startup, the script will automatically check for an open order and
wait for completion or cancellation before initiating an order of the
opposite type.If you do not have any open orders it will initiate a ‘SELL’ order by
default. If you do not have enough funds to carry out this operation,
the script will end.Bittrex APIOutside of the basic trading functionality a full implementation of the
Bittrex API has been provided for those would want to extend this
script. Runnningmakewill generate the class HTML documentation.Usage Example#!/usr/bin/env python

from bittrex_autotrader import BittrexApiRequest

apiReq = BittrexApiRequest(apikey, secret)
ticker = apiReq.public_ticker(market)

print ticker['Ask']Developer NotesIf you are new to cryptocurrencies please, and I stress,DO NOT USE THIS SCRIPT.Certain markets are more volatile than others. It’s very easy to get
priced out of a market, so choose wisely.Based on the definedspreadyou can gain/lose units of value. I
take no responsiblity for your losses.New features will be added when I have free time available. You can
motivate me bydonatingbelow.DonationsIf you find this script to be helpful in any way, buy me a beer using
one of the cryptocurrencies below:Bitcoin:  1Cvr9aHNmV2riULkfgEqofQtuhxCBe7A16
Litecoin: LcMKbewQftytYnmsGTk63BW7yPCnUKFNni
Digibyte: DPZNoKrH8wmY7QfR5aWrh84JheE4KwWsgeLicense and WarrantyThis package is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of
merchantability or fitness for a particular purpose.Bittrex AutoTraderis provided under the terms of theMIT
licenseBittrexis a registered trademark of Bittrex,
INCAuthorMarc S. Brooks