Skip to content

Instantly share code, notes, and snippets.

View dkgeorge's full-sized avatar

George Kharrat dkgeorge

View GitHub Profile
@dkgeorge
dkgeorge / sgdbot.py
Last active August 16, 2017 19:51 — forked from prof7bit/_stoploss.py
Stop loss/Start gain dialog interactive bot for goxtool Mt.Gox trading bot framework
"""
a simple stop loss/start gain bot
adjust STOP_PRICE/START_PRICE and STOP_VOLUME/START_VOLUME to your needs.
to reset orders during runtime, press (s) for a new stop order and (g) for a new start gain
The file can be reloaded after editing without restarting goxtool by simply pressing the (l) key.
"""
# Using the global statement
# pylint: disable=W0603
# No exception type(s) specified
# pylint: disable=W0702