Pages:
Author

Topic: Open source trading bot? - page 3. (Read 12444 times)

full member
Activity: 210
Merit: 100
July 12, 2011, 04:20:52 AM
#24
I was just thinking this would be a cool idea to make. It would be in Python. I might do this, if just for fun.

It sounds like a great idea. Something i'd really like to see.
newbie
Activity: 18
Merit: 0
July 12, 2011, 04:20:47 AM
#23
Actually the algo IS the hardest past in a bot. It took me three hours to code the bot and 2 months to create the algo.

I suggest that you are making this way more complicated than it needs to be.  You've put 100 times as much effort into the algorithm as I did.  No doubt your algorithm is better than mine, but I rather doubt it's 100 times better. 
legendary
Activity: 1400
Merit: 1005
July 12, 2011, 03:54:44 AM
#22
looks like this idea will kick off a huge number of spam threads,

for the noobs, dont use an open source or any free to use market bot, they are designed so that the person/group who made it can trade against what they built/released.

ie all u noobs get a buy signal and at the same time the bot maker has a different bot/algorithm which is selling

trade safe.. dont be taken in by scams
That's why you use a bot with lots of parameters that can be set by the user.
newbie
Activity: 56
Merit: 0
July 12, 2011, 03:41:46 AM
#21
looks like this idea will kick off a huge number of spam threads,

for the noobs, dont use an open source or any free to use market bot, they are designed so that the person/group who made it can trade against what they built/released.

ie all u noobs get a buy signal and at the same time the bot maker has a different bot/algorithm which is selling

trade safe.. dont be taken in by scams
legendary
Activity: 1536
Merit: 1000
electronic [r]evolution
July 12, 2011, 03:40:05 AM
#20
the trading algorithm... relatively easy
my algorithm doesn't make many trades

Actually the algo IS the hardest past in a bot. It took me three hours to code the bot and 2 months to create the algo.
Yes, but error handling would be fairly hard too. I can see what Olomana was getting at.

edit: I have actually wanted to create a trading bot a while now, but if I did it would be one of the only projects I don't release as open source (for several reasons). The way I wanted to do it is develop some PHP scripts which are actually controlled (triggered) by a desktop application (in Delphi 7) which also allows you to heavily tweak the configuration of the bot, display important graphs, and all sorts of other nifty features.
member
Activity: 84
Merit: 10
July 12, 2011, 03:10:52 AM
#19
the trading algorithm... relatively easy
my algorithm doesn't make many trades

Actually the algo IS the hardest past in a bot. It took me three hours to code the bot and 2 months to create the algo.
newbie
Activity: 18
Merit: 0
July 11, 2011, 05:57:14 PM
#18
I was working on a trading bot before the Mt. Gox disaster.  My biggest problem was error handling and recovery... timeouts, partial fills, etc.  If you do a toolkit, that would be the most valuable part.

The Mt. Gox API, the trading algorithm... relatively easy compared to error handling.

(Since Mt. Gox came back online, prices have been relatively flat and my algorithm doesn't make many trades, so I haven't resumed work on the bot.)
hero member
Activity: 721
Merit: 503
July 11, 2011, 04:34:42 PM
#17
I'm a huge believer in free software myself, but this is a bad idea.
Yes, a general toolkit library would be useful (and they exist already - see the python mtgox modules on github), but a generic autotrader bot would not be profitable once it reaches a certain mass, and while people could modify it, in practice most won't.

Much better would be a good framework combining the mtgox+tradehill+whatever API with a selection of statistical and machine learning algorithms and then not defining ANY strategies.
legendary
Activity: 1400
Merit: 1005
July 11, 2011, 04:23:16 PM
#16
I'm thinking of making it so you can define lots of custom rules.

Like "If X indicator is above this, then do Y". Or "wait until time > Saturday morning, then execute this different behavior".

So you tell the Bot how you want it to act, and you can also simulate it on past market data. Everyone has different amounts to invest and different levels of risk, and they might have beliefs of where the price will go that are not just pure mathematics, so one algorithm wouldn't fit all.
Absolutely.  1 algorithm would just mean that whichever bot was able to initiate the trade first wins.  It might even come down to ping times to MtGox/Tradehill.  Customizable algorithms, with NO defaults, would be the best route to go.
full member
Activity: 196
Merit: 101
July 11, 2011, 04:20:07 PM
#15
I'm thinking of making it so you can define lots of custom rules.

Like "If X indicator is above this, then do Y". Or "wait until time > Saturday morning, then execute this different behavior".

So you tell the Bot how you want it to act, and you can also simulate it on past market data. Everyone has different amounts to invest and different levels of risk, and they might have beliefs of where the price will go that are not just pure mathematics, so one algorithm wouldn't fit all.
legendary
Activity: 1400
Merit: 1005
July 11, 2011, 04:17:30 PM
#14
I'd definitely like to see such a bot in place.
full member
Activity: 196
Merit: 101
July 11, 2011, 04:13:14 PM
#13
I will keep you guys posted.
full member
Activity: 238
Merit: 100
July 11, 2011, 04:02:15 PM
#12
salaries for automated trading programmers are like 100k-300k

what i've seen is a platform that interfaces with exchanges, created in either c++ or java. then people can write trading bots in c++ or java and execute them on the platform.

look into stock or forex AT platforms.

member
Activity: 84
Merit: 10
July 11, 2011, 03:45:36 PM
#11
Bot have to be custom made or are useless.

What makes you say that? As I understand it, many wall street bots use the same formulas. And if the open source package was very customizable it could be tailored to your needs. I don't see the rational behind such a blanket statement.

Because the bot programming itself is part of the strategy. If everyone uses the same bot, everyone uses the same algos with just some tuned parameters...
Guys at Wallstreet don't use the same autotraders, they pay IT guys to develop tailor made strategies with quants.
full member
Activity: 154
Merit: 102
July 11, 2011, 03:40:29 PM
#10
Please do this, if it catches on, I'll have a blast writing a counter bot to take advantage of the predictable buying and selling patterns Smiley
full member
Activity: 196
Merit: 101
July 11, 2011, 03:39:06 PM
#9
Ok, I'm definitely going to work on this. If someone could make a brief list of simple features to start with, that would be helpful. It will start out as pure CLI. Eventually I think it would be cool to tweak different custom options and have mock visual graphs of what would happen if enabled, with the trade data that took place.



THere is already a php library for mtgox trading.... maybe might make more sense to write in in cli php?  Or are you more comfortable with python?

Python is better, I'm going to stick with it. The "php library" for Mtgox is a PHP page that is rendered by the server into plain text or JSON. It isn't PHP code, I believe.

was referring to this:

https://github.com/mikegogulski/bitcoin-php/blob/master/src/bitcoin.inc

I am going to make it from scratch. That PHP code doesn't do much except access the Mtgox API.
full member
Activity: 196
Merit: 101
July 11, 2011, 03:32:59 PM
#8
Ok, I'm definitely going to work on this. If someone could make a brief list of simple features to start with, that would be helpful. It will start out as pure CLI. Eventually I think it would be cool to tweak different custom options and have mock visual graphs of what would happen if enabled, with the trade data that took place.



THere is already a php library for mtgox trading.... maybe might make more sense to write in in cli php?  Or are you more comfortable with python?

Python is better, I'm going to stick with it. The "php library" for Mtgox is a PHP page that is rendered by the server into plain text or JSON. It isn't PHP code, I believe.
full member
Activity: 196
Merit: 101
July 11, 2011, 03:28:23 PM
#7
Ok, I'm definitely going to work on this. If someone could make a brief list of simple features to start with, that would be helpful. It will start out as pure CLI. Eventually I think it would be cool to tweak different custom options and have mock visual graphs of what would happen if enabled, with the trade data that took place.

jr. member
Activity: 56
Merit: 1
July 11, 2011, 03:22:48 PM
#6
Bot have to be custom made or are useless.

What makes you say that? As I understand it, many wall street bots use the same formulas. And if the open source package was very customizable it could be tailored to your needs. I don't see the rational behind such a blanket statement.
full member
Activity: 238
Merit: 100
July 11, 2011, 03:22:07 PM
#5
the trading platform could be opensource, then people would just write their own automated trading bots
Pages:
Jump to: