Bitcoin Forum
January 19, 2020, 01:53:13 PM *
News: Latest Bitcoin Core release: 0.19.0.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Created a BOT for GOX. any suggestions?  (Read 463 times)
flyboy
Member
**
Offline Offline

Activity: 76
Merit: 10


View Profile
December 20, 2013, 04:51:43 PM
 #1

I have a programmer that sits next to me at work and he hasn't been doing much lately, so I asked him about building a trading bot. Well, he created one, and I just want to get some inputs on the logic.

The bot does work, and is up and running, but just looking for some ideas on how to make it better.

It's coded in Python.

It's command line right now, but we are working on making it into a GUI.

It has a config file that it reads to input your Mt. Gox API key and trading paramaters.

How it works.

You start with either BTC or $ in gox and start the bot.

It will look for percentages to buy/sell, but here is the briliant part.

   - say you start with 5% with a 2% drop.

 If Gox is at 500$ and you are looking to sell, it will wait for the price to increase 5%, THEN it will wait for it to keep climbing until it drops 2%. It could go to 575$ then drop 2% and then it will sell. The 2% drop has to still be over the 5% increase. Anyone Confused yet??

It will do the same thing while looking to buy.

You can change the percentages up/down and dip to what ever you want in the config file. Right now I'm using 4% and 2% dip to try to capture larger movement.

Only small issue is because it is waiting for the dip to buy/sell, the market price is used instead of a fixed price.

If you want to try to avoid bull/bear traps you can increase the dip% to a higher number.

Anyway. That's what I have been working on with a coworker.

Any thougths or suggestions?

-Flyboy

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1579441993
Hero Member
*
Offline Offline

Posts: 1579441993

View Profile Personal Message (Offline)

Ignore
1579441993
Reply with quote  #2

1579441993
Report to moderator
NeedForBitcoin
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
December 20, 2013, 06:33:00 PM
 #2

On what time scale does it work?
flyboy
Member
**
Offline Offline

Activity: 76
Merit: 10


View Profile
December 20, 2013, 06:37:06 PM
 #3

It's constant, but it polls Mt.Gox every 5 seconds. Does that answer your question?
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!