Bitcoin Forum
May 30, 2024, 04:27:22 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 »
121  Bitcoin / Bitcoin Discussion / Re: Bitcoin address blacklist Database on: July 21, 2013, 02:13:15 PM
I bet half of you idiots didn't even read thread properly and jumped on bandwagon.

So I want to say again idiots a blacklist here doesn't means funds will be useless, it just means they are bad address and bad funds.



But what does it matter if no one cares and continues?

This might be a good way for people who just got scammed to blow of some steam, but that's about as far as it will get. And if that was the plan discussed in this post I apologise for ranting about how a blacklist in the sense of the word is a bad idea.
122  Bitcoin / Bitcoin Discussion / Re: Bitcoin address blacklist Database on: July 21, 2013, 02:00:57 PM
You would have to get 51% of miners to cooperate for a blacklist to work completely. I don't think that is likely to happen.

Put centralization in the protocol? With a link to a single entity that can render all coins on an address useless? As you've said that is definitely never going to happen: First the devs / foundation will never get convinced this is a good idea, after that no miner / node I know of would ever update to such a version, if it does a fork / altcoin is probably going to take over.

Perhaps you overlooked the fact that you would still have to send the bitcoins from the blacklisted address to the new address. A blacklist would prevent that.

It appears to me that at least half of the discussion is about a list not enforced by the network but by the community (on top of Bitcoin itself).

  • If a private key gets stolen in almost all cases the owner will find out after the coins have left the wallet, if sent directly offchain (like to Mt. Gox for example) are you going to blacklist the addresses of Mt. Gox?
  • If this list is central in any way every goverment / legal body can attack the list, or poison it with extreme ease. If it isn't it is going to be attacked by basically everyone else because it is the power to control the whole monetary system.
  • And if you have a wallet that has stolen BTC from a blacklisted address 10 transactions back, are you allowed to trade? Hell I can even steal BTC, send them to random people to have them blacklisted ?
  • if I don't know about the list / don't got the most recent version / etc. and I meet up with someone and buy some Bitcoin I can't use them at all?
  • Good luck finding a way on determining who scammed who in basically the whole scammer accusation forum.
  • What if you later find out about coins that were stolen x time ago but are now distributed across the whole network?

This would only work when you get all exchange parties on board (including parties like silkroad), somehow deal with mixers / exchanges or other parties that don't want to be obey to a blacklist. After that you have to make sure the database won't get hacked / lobbyd / controlled / spoofed by governments (or IPSs).

And if you find a way to deal with all these problems you just introduced centralization to Bitcoin?

So it's an extremely bad idea and it can never be implemented fairly any way.

EDIT: I would suggest instead of a blacklist that if you are going to trade with anonymous people on the internet and prevent scams from happening in the first place, you use a trusting system like bitcoin-otc. And if your bitcoins got stolen you should have been more careful (it may be hard, but that is the way it is right now).
123  Economy / Trading Discussion / Re: Gekko - a javascript trading bot for nodejs on: July 20, 2013, 11:51:48 AM
Anyone had any wins with EMA?

Well I think a trading bot following a strategy is way better than its human counter part. But finding a good strategy is pretty hard. I would suggest using the backtesting to verify that your current settings would have made profit in the past.

You can also use Gekko to do paper/simulation trading (with a bunch of settings simultaneously for example), this way you know whether a strategy is currently effective. Do note that you are always looking a the success after a while, in which case the success lies in the history and won't guarantee anything anymore for the future.

EMA is a indicator that you can use to ride the trend (buy low - sell high), however because it uses moving averages to verify the trend it is always lagging behind. This in combination that trends can reverse at any time makes it so that you don't always make profit while trying to ride the trend.

To answer your question: I am currently on a 10% profit measured in BTC in a little over one month.
124  Economy / Trading Discussion / Re: Gekko - a javascript trading bot for nodejs on: July 20, 2013, 09:44:40 AM
Been running it for a few days, tweaking it ever so slightly and watching the results.

One thing I've noticed is a profit calculation hasn't been shown afaik for me in the time I've been running the bot in simulation mode.

http://imgur.com/S3ik8WH

Any known reason for this I've missed.

I heard a couple of things like this, I'll look in to this.

--

I don't have as much free time as I had last month. I am still working on Gekko, however not on the daily basis I was before.
125  Economy / Services / Re: B-BOT: New BTC-E and MtGox EMA Trading Platform on: July 19, 2013, 11:53:54 AM
This part also worries me.

Someone asked me an apt question when I read back this portion of your reply. I was asked, how does the bot know that 144 points in the past was a relevant (or even a good) starting point for the future [decisions]?

I couldn't help but shrug as they asked me that because it is a very good question. If the Bot doesn't use the highest recent point as the entry point (but ? apparently) just the 144th entry point from "now", it can apparently make....pretty bad decisions.

The point that came to mind is asking if there is any way to add a feature where:

--A) We can see what that entry point actually is at any given time.

and

--B) Change the length of that entry point to what we want. (72 previous points instead?)

3. Trailing Stop Loss takes the highest value Bitcoin has achieved since you turned on the bot and will SELL all your BTC if the value goes down from the maximum by the percentage you have specified. So it really was following it's programming when the value changed in your favor, by design, it will only intervene when there is a loss. This is one of those features that is very sensitive to set and that you have to keep an eye on though.
First question, does this field accept a negative value?

Second question, Does this rely on the mystery 144th point in the past? (or when I actually turned on the bot?)

Perhaps a bot with internally tweakable settings might allow even more customization.

You are thinking about EMA in the wrong way, in a perfect world you would actually want all data.

The way EMA works is that the previous interval is more important than the the interval that came before it, that is because you are only interested in trends that are currently happening / might happen and not trends that happened in the past. If the bot would not look at any historical data it would not be able to calculate if there is a trend for after a while (gathering data from the start which becomes old data after a while).

If 2 people (A and B) would run a bot that doesn't look at any past data and A is running the bot for months and B just boots it up, only A is able to determine if we are currently in a trend and B wouldn't because you can't just look at the current price to say wether the price is going up or down (you need to compare with past data).

The beauty about EMA is that the relevance of each interval is exponential decreased. This means that all data points are reflected in the current EMA calculation, however they are getting exponentially getting less relevant. The number 144 is was in the free bot this bot is based on, and is a nice combination between having enough past data (having ALL past history would only help you a tiny bit in better calculating the EMAs, since old stuff of exponentially less important) and not spamming the Mt. Gox API to hard / having to wait to long for the bot to start.

There was a discussion in the old thread (for the free chrome browser bot this bot is based on) on what this number should be and it was changed from 20 to 144. In most other bots this is configurable, but you should never change this number except when you know that lowering this number will make your EMA less accurate.
126  Economy / Trading Discussion / Re: is it safe to do bitcoin for cash meetup? on: July 15, 2013, 08:13:24 AM
What I mean is I save my bitcoin waller address in a text file so it's easier to type without making errors

That's fine, you can also print out a QR of the address.

Though I strongly advise either escrow or building trust with the other party first instead of going to a meetup with a big bag of cash.
127  Economy / Games and rounds / Re: Trading Bot Contest (Prize 1 BTC) on: July 15, 2013, 12:07:04 AM
Here is mine Smiley

http://cryptotrader.org/backtests/pojZycZDpDM62CZfQ
128  Bitcoin / Press / Re: 2013-07-11 Pirate Bay founder seeks bitcoin funding for encrypted messaging app on: July 12, 2013, 09:46:14 AM
The goal of 100k USD is already reached, they still can use more money though.
129  Economy / Games and rounds / Re: Trading Bot Contest (Prize 1 BTC) on: July 11, 2013, 11:01:44 PM
I like the idea! I already created mine Smiley

Couple of questions:

  • We submit a strategy that will paper trade for 1 week in a couple of days? (And you can optimise it by backtesting before that week)
  • So: I am supposed to keep the link private until after 07/15 00:00 GMT? Am I allowed to change the parameters during / after the week? Else I just need one now and optimise it after the week?
  • Since the first round is about EMA indicators I take it that it is only allowed to change the parameters and not implement another indicator?
130  Economy / Trading Discussion / Re: Gekko - a javascript trading bot for nodejs on: July 11, 2013, 08:58:12 PM

I would guess that using npm -v 1.1.4 with mtgox-apiv2 would probably be ok... just searching for a way to bypass...
recovered node_modules dir from broken HDD and just copied this over, now working...)

In the mean-time I'll try using a debian box to test as well... now compiling nodejs...
( https://sekati.com/etc/install-nodejs-on-debian-squeeze )

...perhaps run 2 lots of gekko at the same time as a backup - if one already trades then the other will just be doubling up on it anyway

If you are still running into trouble I would suggest updating node, v0.6.19 is really old and I think a lot of dependencies need a newer version.

You can run two gekkos (you just have to copy over the config and point one Gekko to the copied and changed config). But once you start Gekko node will load and parse the files and won't use the files on disk anymore at all (they are kept in memory). So with the exception of an error inside nodejs/raspberry or a really strange API response that Gekko cannot handle I won't see any difference in running two of them (unless you want to monitor multiple exchanges, etc.)
131  Economy / Trading Discussion / Re: Gekko - a javascript trading bot for nodejs on: July 11, 2013, 07:36:50 PM
Code:
ADVICE is to HOLD @ 85.810 (NaN)
which part of config.js do you need?

I just looked into this and Bitstamp has changed their API, Gekko asks for data in a format not supported anymore (old API, new API). This means that Gekko currently does not work on Bitstamp. I am looking into a fix and hope to resolve this ASAP.

(BTW: is there any possibility to git pull without to fill out config.js every time new? - I rename the existent to .bak and copy/paste the settings in the new one)

Well the main reason is that the config is not solid, the settings may change and using an old settings file can result in Gekko crashing. You could place the config somewhere else (or rename like you did) and make a small script with `node gekko config=config.js.bak` to force Gekko to use another file as config. You can read more about that here, though I would advice against this.

Any ideas?

Gekko has dependencies (like momentjs), you can install them by running `npm install` in Gekko's directory.
132  Economy / Trading Discussion / Re: Gekko - a javascript trading bot for nodejs on: July 11, 2013, 12:27:43 PM
what means (NaN)?
Code:
2013-07-11 12:33:39 (INFO):	ADVICE is to HOLD @ 86.840 (NaN)
2013-07-11 13:03:39 (INFO): ADVICE is to HOLD @ 86.400 (NaN)
2013-07-11 13:33:40 (INFO): ADVICE is to HOLD @ 86.200 (NaN)

That's a bug in Gekko, if you could let me know some details (like are you running the latest version, what exchange and interval) I will look into it!

Turning on debug mode will give you much more information. In the settings file their is a line to enable it by changing false to true.

If you do this it might be a good idea to run gekko like this.
Code:
 node gekko |& tee GekkoMyLog.txt
This will give split the output of the gekko to the terminal screen but also to a text file so you have everything as a backup in a nice text file. Also handy if you have a problem you can post the file to help determine the problem Smiley

There are a couple of ways to run Gekko silently and log to a file instead of into the terminal, you can use tee if you are using a UNIX platform (AFAIK) like OS X or Linux. You can read some alternatives in Gekko's advanced features documentation.

ah the bot gave me a buy advice around $71 finally.

Basically what's happening is that I only get output when there is a change in advice when I was expecting each hour to say something like "No change detected, advising to HOLD"

I had this before but changed it to log only position changes (buys and sells) so that it's easier to read back a couple of days later. As suggested you can turn on debug mode to get a lot more info but you can also turn on verbose in the profitcalculator part of the config. This way you'll get an update every interval (hourly on default) about your current (simulated) profit.
133  Economy / Trading Discussion / Re: Gekko - a javascript trading bot for nodejs on: July 10, 2013, 09:34:49 PM
This is fantastic. I have been pouring over this for the past couple days. Thank you for your work in developing this. On my next BTC buy in will toss a donation your way.

I feel like I have a bit of learning to do in regards to getting this to work before I propose any formal questions for you regarding its operation. I will quickly mention that I installed everything with no problems to speak of but it only gets as far  as displayed down below (ive let it sit for hours). The buy advice (at time of advising) was actually 50cents higher then the highest bid so obviously Im missing something but felt like composing my troubles anyways.
Thanks again. Cheers....

Thanks! Just make sure to tune it in a way that it's profitable. Else it can be a pretty expensive toy.

I am still improving the data retrieving part of the bot (when I have some free time), but I think that the way Gekko asks data is sime time behind the websocket (the source Clark Moody is using). I'll look into this.

I agree, truly fantastic work.
Instead of having the bot pull fixed parameters from the config.js, would it be possible to adjust it so it also accepts parameters via the command line?
And would it also be possible to have the bot auto-append the profit report results to a .csv table, along with the settings used?

Something like:
node gekko --EMA1 10 --EMA2 21 --buy_threshold 0.25 --sell threshold -0.25 --fee 0.6 --output results.csv

That way you could cycle through different parameters very comfortably via a batch file and find the optimal settings.

Edit:
it would be even more comfortable, if there was an option to set upper and lower values and an increment for each parameter in the config.js

Example:
buy_threshold_upper 0.5
buy_threshold_lower 0.1
buy_threshold_increment 0.01
output results.csv

The results of each iteration could be written to a table like this:
buy_threshold sell_threshold <other setings> amount_of_trades simulated_profit <other results>
0.50; -0.25; ...; 200; 1500%; ...
0.49; -0.25; ...; 210; 1510%; ...
0.48; -0.25; ...; 220; 1490%; ...
...
0.10; -0.25; ...; 200; 1200%; ...

Of course, the more variables there are, the more exponential grows the number of possible iterations, I'm aware of that.
But it would be awesome ;-)

Good point, I was thinking about this the other day and I think that I will implement a version with an increment first and log all results in a CSV. Thanks for your thoughts! I'll put it on my todo list when I have some more time.

For a long term goal I was thinking about either particle swarm optimization or an genetic algoritm to optimize the parameters automatically. But at that time I want to have a lot more indicators and a way to use many at the same time (maybe neural network). But this will take a lot of time.

Whats up with the gay picture?

Gekko is named after this pretty rich guy. Profile pic is some other guy who can fly.
134  Economy / Trading Discussion / Re: new mtgox trading data monitor service on: July 10, 2013, 09:22:15 PM
The public opinion about Clark's service is pretty good and I think the best way to persuade people into buying into your service is to proof that it is rock solid by letting user test it. It also depends a lot on the feature set I think. I would suggest a trial period or a freemium model.
135  Economy / Trading Discussion / Re: Candle Calculation script on: July 10, 2013, 09:18:08 PM
The tool does now index the databases, so it didn't take 48 hours, but I guess because I didn't do it on a VPS it took 50 minutes instead of 5 for each.

Thanks! I changed the OP and the topic name to reflect that it hosts a list of downloadable candles (I also included yours, let me know if you mind). I've pointed to your tool for everyone looking for a calculator. I still need some time to check it out by the way.

The 5 minutes was on a VPS with an SSD, so that boost in IO probably did speed it up a lot.
136  Economy / Trading Discussion / Re: Gekko - a javascript trading bot for nodejs on: July 09, 2013, 11:14:18 PM
maybe silly question but,

does you backtest includes fees for open and close of trade ?

When Gekko is backtesting it uses the close of candles both as the price to determine trends using EMA and the price at which to trade if a new trend is detected and it simulates a trade. The fee applied to the simulated trade defaults to 0.6% (the default at Mt. Gox with low amounts). You can configure this fee amount in the config.
137  Economy / Trading Discussion / Re: Gekko - a javascript trading bot for nodejs on: July 07, 2013, 11:20:46 PM
Your node version is pretty old: you are running v0.6.19 while the current version is v0.10.12. I think that this is your problem. You can quickly update node by downloading the npm module n globally: `npm install -g n` and than run `n latest` and it will install the latest node version. Or you can compile it yourself.
138  Economy / Trading Discussion / Re: Gekko - a javascript trading bot for nodejs on: July 07, 2013, 10:26:24 PM
Yes I'm running a fresh clone of your GitHub project. I'm on Linux Mint at the moment and I'm pretty much stumped by what is causing this.

I suppose I can try and reinstall node and nodejs and see what happens...

Yea, I've never experienced something like this. You can try to create a new file called `test.js` with the following content:

Code:
console.log('test')

Run it with `node test` and see if it logs test or not (if it doesn't your node is not working / outputting correctly).
139  Economy / Trading Discussion / Re: Gekko - a javascript trading bot for nodejs on: July 07, 2013, 07:54:47 PM
Yes, at Cryptotrader.org, the script calculates candles the same way, though it also takes volumes into consideration and use data fetched from Mtgox via websockets API for inputs. I think the good way to make sure our calculations are correct, is to compare script output with similar data provided by popular online chart tools like Bitcoincharts ('Load raw data' link at the page bottom).

Good point, I'll also check a couple backtesters with different EMA parameters to see if they would come to the same profit conclusion.

Can anyone help me with running the bot?

It just returns immediately from the program when I type "node gekko". No error messages or anything. npm, nodejs is installed. I did a git clone for installation of Gekko itself.

Code:
nii236@NiiEEE ~/bitcoin/gekko $ node gekko
nii236@NiiEEE ~/bitcoin/gekko $

Hmm that's strange, do you have the newest version of Gekko? And what platform do you have? All logging goes to stdout (which means the terminal session most of the time).

Also, is there a way to disable certain types of trades. I want to do the following:

When EMA crossover signals a buy, buy on MtGox ONLY
When EMA crossover signals a sell, sell on BitStamp ONLY

Is this possible?

Well you would have to run two Gekkos: One where you disable buying by making the buyTreshold "Infinity" (without the quotes). And another one where you'd set the sellTreshold at "-Infinity", if you put those in two different config files you can specify to Gekko what config to use on running. Read more about that here. This way you can also configure the MtGox one to watch MtGox and the Bitstamp one to watch Bitstamp (if you want them to).
140  Economy / Trading Discussion / Re: Gekko - a javascript trading bot for nodejs on: July 07, 2013, 12:04:49 AM
anything out that will do LTC or alt-coins at all ??

Gekko has plans, but those are deffered until the new BTC-e API stabilizes.

With backtesting on this I found 0.80/0.80 was better... thus perhaps best to change the gekko config file to:
"
  sellTreshold: -0.80,
  buyTreshold: 0.80
"
?

Good idea, I'll look into what will be nice beginner settings. But I do need to make it clear that Gekko is more an trading algo platform then something that works out of the box.

nice Don't buy strategy  Wink

I like it a lot actually, this way the bot doesn't change position as agressive as the default one which saves a lot in fees. But this also means that the bot may not pick up light trends.

I am running a couple of paper traders but my real trading Gekko has thresholds of -0.9 and 0.4 (with other EMA short & long) as it appeared very stable over the last couple of weeks.

---

By the way, I wanted to use your backtester to verify my EMA and backtesting implementation. But I can't find the raw candle date. How did you calculate your candles? Similar to my candle fetcher (which uses the trade data MtGox put in Google BigQuery)?
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!