Bitcoin Forum
May 05, 2024, 09:44:45 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Created a BOT for GOX. any suggestions?  (Read 553 times)
flyboy (OP)
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

1714945485
Hero Member
*
Offline Offline

Posts: 1714945485

View Profile Personal Message (Offline)

Ignore
1714945485
Reply with quote  #2

1714945485
Report to moderator
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714945485
Hero Member
*
Offline Offline

Posts: 1714945485

View Profile Personal Message (Offline)

Ignore
1714945485
Reply with quote  #2

1714945485
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 (OP)
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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!