Bitcoin Forum
May 03, 2024, 11:45:49 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [bitrade] New trading bot: request for comments  (Read 9147 times)
cw (OP)
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
March 15, 2011, 11:37:15 AM
Last edit: April 02, 2011, 11:11:16 AM by cw
 #1

Since I joined the Bitcoin community (very recently), I have been thinking about a project that can fill a gap in the Bitcoin ecosystem and can be useful for me to experiment with my machine learning skills. So I have started to develop a trading bot/library.

I am quite busy with work and I have not set a specific release schedule, but at the moment, I am dumping here what I have done, what I'm planning, and I'd like to hear about what you'd like to see.

It is a Python library + CLI interface + bot. At the moment I have just completed a Mt. Gox interface. It has only methods to match Mt. Gox API.

My current To-Do list looks like this:

  • Cache results from trading APIs. Done.
  • Add helper functions for currency calculations (exchange amounts with fees, compute gains after buy/sell rounds, etc.). Partially done.
  • Monitor all data from Mt. Gox and save it, so it is available later for statistics, forecasting, and trading. Done.
  • Add higher-level actions for Mt. Gox (Sell/buy everything, cancel all orders, etc.). Partially done.
  • Handle currencies other than USD and BTC.
  • Add support for monitoring all currencies. Do you know about any good and free API to check currency exchange rates?
  • Add BTCex.com support. Partially done. I could use some extra BTC for testing.
  • Add basic trading functionality (such as, try to sell everything at the low price over the last 48 hours, then buy everything at high, etc.)
  • Use machine learning to optimize bot trading.
  • Use machine learning for forecasting.
  • Add Google Trends data to the model.

So, what would be your wish-list? What kind of set of actions do you need to simplify? Do you have any suggestion?

License is set GPLv3, but I am accepting (constructive and explained) comments here too.

Eventually, I will set a bounty for the development of some features, such as trading optimization and forecasting, but at the moment, you can donate to 1BK5Ao3fvhzH5wLASizxW3yHMmNQKNk2PD if you want to support it.

EDIT 2011/03/16: I'll set up the project in GitHub as soon as I finish Mt. Gox and BTCex support and a basic example bot.
1714736749
Hero Member
*
Offline Offline

Posts: 1714736749

View Profile Personal Message (Offline)

Ignore
1714736749
Reply with quote  #2

1714736749
Report to moderator
1714736749
Hero Member
*
Offline Offline

Posts: 1714736749

View Profile Personal Message (Offline)

Ignore
1714736749
Reply with quote  #2

1714736749
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714736749
Hero Member
*
Offline Offline

Posts: 1714736749

View Profile Personal Message (Offline)

Ignore
1714736749
Reply with quote  #2

1714736749
Report to moderator
1714736749
Hero Member
*
Offline Offline

Posts: 1714736749

View Profile Personal Message (Offline)

Ignore
1714736749
Reply with quote  #2

1714736749
Report to moderator
1714736749
Hero Member
*
Offline Offline

Posts: 1714736749

View Profile Personal Message (Offline)

Ignore
1714736749
Reply with quote  #2

1714736749
Report to moderator
johnieeliang
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 15, 2011, 03:52:38 PM
 #2

optimization is key. thats all im gonna say.
cw (OP)
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
April 02, 2011, 11:10:56 AM
 #3

I haven't worked on this lately and it is in no way useful yet. However, foxmulder has asked me for the code, so I set up the GitHub repo just in case anyone wants to look or contribute:

https://github.com/smola/bitrade
ShadowOfHarbringer
Legendary
*
Offline Offline

Activity: 1470
Merit: 1005


Bringing Legendary Har® to you since 1952


View Profile
April 02, 2011, 09:44:04 PM
 #4

For web-based server side software, you might consider AGPL as a better license.

It should protect you better from people who take and don't give anything back.

hozer
Sr. Member
****
Offline Offline

Activity: 271
Merit: 254


View Profile WWW
April 10, 2011, 04:27:58 AM
 #5

What's the status on this?

It would be quite nice if we could get a reasonable Python API and have implementations for both MtGox & BTCex.
xf2_org
Member
**
Offline Offline

Activity: 98
Merit: 13


View Profile
April 10, 2011, 04:32:56 AM
 #6


Check out http://www.geniustrader.org/

Note that the MtGox / btcex interfacing is the easy part.  The hard part is deciding how much to risk on each trade, observing and dynamically tuning results over time, etc.

ryepdx
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


View Profile
April 11, 2011, 08:21:41 PM
 #7

  • Add support for monitoring all currencies. Do you know about any good and free API to check currency exchange rates?

Yahoo! Finance delivers:
http://finance.yahoo.com/d/quotes.csv?e=.csv&f=sl1d1t1&s=USDEUR=X

The above will get you the USD to EUR exchange rate as a CSV file.

Note that this method of accessing the Yahoo! Finance dataset is deprecated. The new way is through YQL:
http://developer.yahoo.com/yql/
hozer
Sr. Member
****
Offline Offline

Activity: 271
Merit: 254


View Profile WWW
April 24, 2011, 02:55:24 PM
 #8


Check out http://www.geniustrader.org/

Note that the MtGox / btcex interfacing is the easy part.  The hard part is deciding how much to risk on each trade, observing and dynamically tuning results over time, etc.


I'm not looking for genius trades, I'm looking for stupid simple trades Wink
I'll be quite happy with a basic well tested framework with MtGox/btcex/Britcoin support in some reasonable & practical language, such as python. I'm not really interested in over-optimizing the trading strategy... With bitcoin there are still exchanges with no trading fees, which to my understanding is a big cost in 'traditional' trading strategy development.
toffoo
Sr. Member
****
Offline Offline

Activity: 408
Merit: 261



View Profile
May 18, 2011, 08:42:10 AM
 #9

Bump.
Hey cw, how is this project coming?  Anything new?

xf2_org
Member
**
Offline Offline

Activity: 98
Merit: 13


View Profile
May 18, 2011, 03:57:17 PM
 #10


Check out http://www.geniustrader.org/

Note that the MtGox / btcex interfacing is the easy part.  The hard part is deciding how much to risk on each trade, observing and dynamically tuning results over time, etc.


I'm not looking for genius trades, I'm looking for stupid simple trades Wink
I'll be quite happy with a basic well tested framework with MtGox/btcex/Britcoin support in some reasonable & practical language, such as python. I'm not really interested in over-optimizing the trading strategy... With bitcoin there are still exchanges with no trading fees, which to my understanding is a big cost in 'traditional' trading strategy development.

GeniusTrader can do conservative things like... making sure you spread your risk across multiple trades, or making sure a trade fits within an overall scheme.

I wouldn't assume what GT does, without actually looking at it and reading a bit.  GT works great for dirt-simple trading strategies.

nereer
Member
**
Offline Offline

Activity: 84
Merit: 10


Why settle for the lesser evil?


View Profile
May 20, 2011, 10:11:01 PM
 #11

watching this thread and interested to know progress, thanks

If you agree that Bitcoin needs a dedicated Q & A site please sign up for the Bitcoin StackExchange site!
genjix
Legendary
*
Offline Offline

Activity: 1232
Merit: 1072


View Profile
May 21, 2011, 03:21:31 AM
 #12

bitcoinwatch.com has an api
blap
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
May 31, 2011, 08:27:19 PM
 #13

 Smiley
ender
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
June 08, 2011, 01:20:19 AM
 #14

  • Use machine learning to optimize bot trading.
  • Use machine learning for forecasting.


Machine learning! Yay!!
aandreas
Member
**
Offline Offline

Activity: 116
Merit: 10



View Profile
July 11, 2011, 11:26:17 PM
 #15



Machine learning! Yay!!

[/quote]

that´s where all the hashing power should go to...
berlinguyinca
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
July 11, 2011, 11:37:14 PM
 #16

rather interesting, any sourcecode available to checkout?

thanks
Ellen Alemany
Member
**
Offline Offline

Activity: 85
Merit: 10


View Profile
July 12, 2011, 03:11:41 AM
 #17

  • Use machine learning to optimize bot trading.
  • Use machine learning for forecasting.


Machine learning! Yay!!



I must ask (trying not to sound disrespectful), does anyone of you even know what machine learning means?

"There must be more to life than having everything."
Geremia
Sr. Member
****
Offline Offline

Activity: 502
Merit: 251


View Profile WWW
May 02, 2013, 06:32:42 PM
 #18

I must ask (trying not to sound disrespectful), does anyone of you even know what machine learning means?
It means the program learns what we tell it to do. haha

BTC tip jar | my BTC wiki, BTC StackExchange | Tox ID: 65C3E8810738AD9D175234808FCB317A1103632903436203D45411AE97C03F54C34861AB6663
Join Kraken. | The best, free book on Bitcoin: Mastering Bitcoin
Nos cum prole pia benedicat Virgo Maria.
humanbeingbit
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
November 01, 2017, 05:27:50 PM
 #19

I must ask (trying not to sound disrespectful), does anyone of you even know what machine learning means?
It means the program learns what we tell it to do. haha
I have checked the code.
Unfortunately the bot hasn't learned anything new since 2013 Cheesy
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!