I need a simple Bittrex trading bot in C#. There are a few here:
https://github.com/search?l=C%23&q=Bittrex&type=Repositories&utf8=%E2%9C%93I need the best one from Github (or a better one from somewhere else if you can find it) updated to use 1.1 of Bittrex's API (they are deprecating 1.0, see here
https://www.bittrex.com/Home/Api).
The requirements are simple:
- Wait for an order to either buy any of the cryptos at Bittrex
- Check the account balance to see it has enough
- Check the price 1 minute before receiving the order and at present time. If price is higher than a given percentage, cancel the purchase, otherwise continue
- Send the order, monitor it and reply the caller when it's processed in the order book
- Monitor the last trade price continuously, as fast as Bittrex allows. When a given threshold is reached (a percentage over purchase price), sell
- If price falls over a certain price, say 1.5 times original price, sell at the original price
Please see here for escrow:
https://www.xbtfreelancer.com/prj/3982/c-simple-bittrex-trading-bot