Bitcoin Forum
December 08, 2016, 04:30:57 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 3 »  All
  Print  
Author Topic: Image of my Trading Bot (and it's low power!)  (Read 4349 times)
itake
Jr. Member
*
Offline Offline

Activity: 39


View Profile
July 07, 2011, 10:28:01 PM
 #1

I just wanted to share a picture of my trading bot.  It has been online for about 2 weeks now and has gotten me more money than my mining equipment.




I wrote my script in Python and moved it to the Chumpy via USB.  It's the only computer I have that I can leave on 24/7. :-/
1481171457
Hero Member
*
Offline Offline

Posts: 1481171457

View Profile Personal Message (Offline)

Ignore
1481171457
Reply with quote  #2

1481171457
Report to moderator
1481171457
Hero Member
*
Offline Offline

Posts: 1481171457

View Profile Personal Message (Offline)

Ignore
1481171457
Reply with quote  #2

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

Posts: 1481171457

View Profile Personal Message (Offline)

Ignore
1481171457
Reply with quote  #2

1481171457
Report to moderator
kwiky
Jr. Member
*
Offline Offline

Activity: 35


View Profile
July 07, 2011, 11:15:26 PM
 #2

Care to share or explain any more than that. Or are you just showing off or spreading fud?
itake
Jr. Member
*
Offline Offline

Activity: 39


View Profile
July 07, 2011, 11:26:15 PM
 #3

Care to share or explain any more than that. Or are you just showing off or spreading fud?

I wrote a script in python (tested on my PC) and then I loaded it onto the chumby.

If you need advice for how to put python on a chumby, look here: http://wiki.chumby.com/index.php/Python.

I currently only trade on MtGox, but I plan on writing a program for TradeHill so I don't have all of my eggs in one basket.
imperi
Full Member
***
Offline Offline

Activity: 196


View Profile
July 07, 2011, 11:27:49 PM
 #4

Why not run the trading bot on a Linux server, such as Ubuntu? I don't get it.

You can also get money quickly by gambling heads/tails.
itake
Jr. Member
*
Offline Offline

Activity: 39


View Profile
July 07, 2011, 11:40:33 PM
 #5

Why not run the trading bot on a Linux server, such as Ubuntu? I don't get it.

You can also get money quickly by gambling heads/tails.

it is a linux server?  And its what I had sitting around.
naturallaw
Jr. Member
*
Offline Offline

Activity: 56


View Profile
July 07, 2011, 11:46:33 PM
 #6

Not sure what a chumby is, but it's very geeky with the exposed wires and breadboard, I like it
kr105
Sr. Member
****
Offline Offline

Activity: 406


View Profile WWW
July 09, 2011, 03:22:10 PM
 #7

Not sure what a chumby is, but it's very geeky with the exposed wires and breadboard, I like it
+1
We want the "how to build" Cheesy
itake
Jr. Member
*
Offline Offline

Activity: 39


View Profile
July 09, 2011, 05:56:47 PM
 #8

Cool.  Cool

How much does the entire setup cost to make?

+1
We want the "how to build" Cheesy

As far as hardware, the Chumby is as-is.  Using the previous link, I installed that version linux on there with the python package.

A Chumby One (pictured) costs $129.95 (new). http://store.chumby.com/chumby-CHB802XXXX-one/dp/B0030QUU4M?ie=UTF8&id=chumby%20CHB802XXXX%20one&field_product_site_launch_date_utc=-1y&field_availability=-1&field_browse=2619998011&searchSize=12&searchNodeID=2619998011&searchPage=1&class=quickView&refinementHistory=brandtextbin%2Csubjectbin%2Ccolor_map%2Cprice%2Csize_name&searchRank=salesrank

Writing the trading algorthm just took a lot of time.  I compiled the log data from June 19, 2011 until today and this is what I got:

Starting USD: $4000

# of Trades: 5
Net Profit: $861.13
Average Profit: $172.xx
Average Profit %: 3.45%

Winning Trades: 4
Win Rate: 80.xx%
Gross Profit: $974.xx
Average Profit: $243.xx
Max consecutive wins: 3

Losing trades: 1
Loss rate: 20.xx%
Gross Loss: $113.xx
Average Loss: $113.xx
Average Loss %: -2.27%
Max consecutive losses 1

If I just bought and held:
Net Profit: -$694.xx

I don't know if I mentioned this before, but I trade on MtGox.

Not sure what a chumby is, but it's very geeky with the exposed wires and breadboard, I like it

The breadboard is just another project I was working on.  The chumby is a digital alarm clock (see link in previous post).
MatthewLM
Legendary
*
Offline Offline

Activity: 1092



View Profile WWW
July 09, 2011, 06:55:29 PM
 #9

I'm making a bot and it's annoying because I run my Macbook 24/7 which isn't convenient.

My tests so far have been negative. Sad One version made a simulated loss of 25% in only about 2 days.

Bitcoin Extra Wallet | Peercoin Android Wallet
BTC: 1D5A1q5d192j5gYuWiP3CSE5fcaaZxe6E9  PPC: PH7fVn1Xs7nkUFmdwCX2ZRYfLPCSwGxAq9
itake
Jr. Member
*
Offline Offline

Activity: 39


View Profile
July 09, 2011, 07:19:23 PM
 #10

I'm making a bot and it's annoying because I run my Macbook 24/7 which isn't convenient.

My tests so far have been negative. Sad One version made a simulated loss of 25% in only about 2 days.

You need to look at more data than just 2 days worth.  I back tested about 40 different strategies (98% of them were no profit or loss).

When backtesting, I chose the range of data from June 11 - present, because that Gizmodo spike isn't something I can realistically expect to happen again.
grue
Global Moderator
Legendary
*
Offline Offline

Activity: 1932



View Profile
July 09, 2011, 07:26:39 PM
 #11

mind sharing its algorithm?

It is pitch black. You are likely to be eaten by a grue.

Tired of annoying signature ads? Ad block for signatures
MatthewLM
Legendary
*
Offline Offline

Activity: 1092



View Profile WWW
July 09, 2011, 07:34:17 PM
 #12

Maybe I didn't give it chance but I made what I believed to be two improved versions which I'm testing now. I have to wait for the simulated results since the algorithm can't be sped up very much.

I can't really use many more than about 8 days of data for performance reasons. Wink I should hopefully increase performance however. I also need to do more tests.

Bitcoin Extra Wallet | Peercoin Android Wallet
BTC: 1D5A1q5d192j5gYuWiP3CSE5fcaaZxe6E9  PPC: PH7fVn1Xs7nkUFmdwCX2ZRYfLPCSwGxAq9
itake
Jr. Member
*
Offline Offline

Activity: 39


View Profile
July 09, 2011, 07:57:46 PM
 #13

Maybe I didn't give it chance but I made what I believed to be two improved versions which I'm testing now. I have to wait for the simulated results since the algorithm can't be sped up very much.

I can't really use many more than about 8 days of data for performance reasons. Wink I should hopefully increase performance however. I also need to do more tests.

I wrote mine on a 4 year old laptop with 2GB RAM.  A few things I did to speed everything up is:

  • Take the trade data and save it to the HD (grabbing from server takes forever...)
  • Don't write anything to the interface.  Having to wait for the UI thread significantly increases processing time.
  • Pre-process as much of the data as possible.  So you don't have to re-calculate everything with each trial
MatthewLM
Legendary
*
Offline Offline

Activity: 1092



View Profile WWW
July 09, 2011, 09:15:15 PM
 #14

I had a GUI and I removed it. It makes little difference actually but it crashed a few times so I reverted to file and command line UI.

I do cache the data. You use a service which contains more data than the APIs from Mt Gox, Trade Hill or other places? With those APIs you have to download all the data available an then select and append data to the cached data.

You've used python I see. I have used python as well but I will likely try to convert it to C to try and get as much out of it as possible. I use pysco to improve performance.

If I increase performance I can also increase the complexity of the algorithm.

Bitcoin Extra Wallet | Peercoin Android Wallet
BTC: 1D5A1q5d192j5gYuWiP3CSE5fcaaZxe6E9  PPC: PH7fVn1Xs7nkUFmdwCX2ZRYfLPCSwGxAq9
angelo95
Member
**
Offline Offline

Activity: 84


View Profile
July 09, 2011, 09:36:51 PM
 #15

Congrats. Wonderful bot.
anthony.selby
Jr. Member
*
Offline Offline

Activity: 43



View Profile
July 09, 2011, 10:01:20 PM
 #16

Sounds awesome


  I would love to see that ... ?
angelo95
Member
**
Offline Offline

Activity: 84


View Profile
July 09, 2011, 10:25:02 PM
 #17

so you don't use a database?
anthony.selby
Jr. Member
*
Offline Offline

Activity: 43



View Profile
July 09, 2011, 10:28:32 PM
 #18

If your interested in sharing  pm me and we can talk price
itake
Jr. Member
*
Offline Offline

Activity: 39


View Profile
July 10, 2011, 01:38:12 AM
 #19

so you don't use a database?

A database for what? I didn't do any fancy genetic algorithms (in fact my entire program is only about 300 lines of code).  Although that would be cool to do.  I just don't have the time to figure out how to do it.  I am just a college student that taught myself some programming.
MatthewLM
Legendary
*
Offline Offline

Activity: 1092



View Profile WWW
July 10, 2011, 01:52:43 AM
 #20

Do you use the bitcoincharts.com API? It says I shouldn't rely on it, so I collect and cache prices myself.

Bitcoin Extra Wallet | Peercoin Android Wallet
BTC: 1D5A1q5d192j5gYuWiP3CSE5fcaaZxe6E9  PPC: PH7fVn1Xs7nkUFmdwCX2ZRYfLPCSwGxAq9
Pages: [1] 2 3 »  All
  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!