Bitcoin Forum
December 10, 2016, 09:05:15 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [bitrade] New trading bot: request for comments  (Read 8623 times)
cw
Jr. Member
*
Offline Offline

Activity: 41


View Profile
March 15, 2011, 11:37:15 AM
 #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.

1481360715
Hero Member
*
Offline Offline

Posts: 1481360715

View Profile Personal Message (Offline)

Ignore
1481360715
Reply with quote  #2

1481360715
Report to moderator
1481360715
Hero Member
*
Offline Offline

Posts: 1481360715

View Profile Personal Message (Offline)

Ignore
1481360715
Reply with quote  #2

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

Posts: 1481360715

View Profile Personal Message (Offline)

Ignore
1481360715
Reply with quote  #2

1481360715
Report to moderator
1481360715
Hero Member
*
Offline Offline

Posts: 1481360715

View Profile Personal Message (Offline)

Ignore
1481360715
Reply with quote  #2

1481360715
Report to moderator
johnieeliang
Newbie
*
Offline Offline

Activity: 14


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

optimization is key. thats all im gonna say.
cw
Jr. Member
*
Offline Offline

Activity: 41


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


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: 270


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: 70


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



View Profile WWW
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: 270


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: 392



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: 70


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


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


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

bitcoinwatch.com has an api
blap
Jr. Member
*
Offline Offline

Activity: 53


=)


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

 Smiley

I could be killing, I could be stealing. But I'm begging here:
http://payb.tc/blap or
1LLqF5bdbhQoH37ztTsZ5tmyE5Lq7jYmns
=)
ender
Newbie
*
Offline Offline

Activity: 22


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!!

Join the geekest ponzi-scheme ever!
http://fxnet.bitlex.org/?ref=1204
aandreas
Member
**
Offline Offline

Activity: 116



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


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

rather interesting, any sourcecode available to checkout?

thanks
Ellen Alemany
Jr. Member
*
Offline Offline

Activity: 30



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: 445


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, Twister posts, & Keybase pages | Tox ID: 65C3E8810738AD9D175234808FCB317A1103632903436203D45411AE97C03F547D390A76B3CF
Join Coinbase. | The best, free book on Bitcoin: Mastering Bitcoin
Nos cum prole pia benedicat Virgo Maria.
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!