Bitcoin Forum
December 06, 2016, 12:15:53 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 [49] 50 51 52 53 54 55 56 57 58 59 »
  Print  
Author Topic: Goomboo's Journal  (Read 250798 times)
TradesLikeAPotato
Jr. Member
*
Offline Offline

Activity: 41


View Profile
August 17, 2013, 07:47:56 PM
 #961

I disagree. .4% of your trade really adds up, and if BTCe has less volatility it is only marginally so.

Tip Jar: 15JYcTR2kr79i5Sxzjgk93WywXRkQtTgtf
1481026553
Hero Member
*
Offline Offline

Posts: 1481026553

View Profile Personal Message (Offline)

Ignore
1481026553
Reply with quote  #2

1481026553
Report to moderator
1481026553
Hero Member
*
Offline Offline

Posts: 1481026553

View Profile Personal Message (Offline)

Ignore
1481026553
Reply with quote  #2

1481026553
Report to moderator
1481026553
Hero Member
*
Offline Offline

Posts: 1481026553

View Profile Personal Message (Offline)

Ignore
1481026553
Reply with quote  #2

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

Posts: 1481026553

View Profile Personal Message (Offline)

Ignore
1481026553
Reply with quote  #2

1481026553
Report to moderator
1481026553
Hero Member
*
Offline Offline

Posts: 1481026553

View Profile Personal Message (Offline)

Ignore
1481026553
Reply with quote  #2

1481026553
Report to moderator
sukiho
Full Member
***
Offline Offline

Activity: 180


View Profile
August 17, 2013, 08:24:09 PM
 #962

I disagree. .4% of your trade really adds up, and if BTCe has less volatility it is only marginally so.
I agree it adds up but it still seems to me that mtgox has higher highs http://bitcoin.stoto.net/
Goomboo
Sr. Member
****
Offline Offline

Activity: 409



View Profile
August 17, 2013, 09:54:00 PM
 #963

Goomboo, I have a question for you. Hourly trading is only inferior to daily because of fees, so trading on a BTCe with a .2 fee may yield better results. The problem is, you cannot backtest this. Would using MtGox candles with a .2 fee be a good indicator of potential profits on BTCe? Or is the arbitrage between the two enough to nullify the data?

The question really can't be answered without directly testing it.  There are several variables at stake here:

- How much is the typical slippage on any given trade?  Is it different between exchanges?
- Is there a delay in execution between the different exchanges?

In general, the only thing I can say is that arbitrage would virtually ensure that significant price movements would be mimiced across exchanges if money could be easily and efficiently moved between the exchanges. However, in the current environment, this is uncertain as well :p

So to directly answer your question: I don't know, there are too many moving pieces.  But in general, yeah the movement captured should be relatively the same in the long run.
TradesLikeAPotato
Jr. Member
*
Offline Offline

Activity: 41


View Profile
August 17, 2013, 11:59:38 PM
 #964

Thanks for your replies Goomboo and sukiho.



 Here is a poorly photoshopped graph comparing the highs and lows between the exchanges. It's true that MtGox generally has slightly higher highs and lower lows, but (ignoring the recent arbitrage due to MtGox issues) I think the fees would outweigh the profits from MtGox. Whether trading hourly on BTCe or daily on MtGox would be more profitable I am still unsure.

Tip Jar: 15JYcTR2kr79i5Sxzjgk93WywXRkQtTgtf
RyNinDaCleM
Legendary
*
Offline Offline

Activity: 1988


Legen -wait for it- dary


View Profile
August 18, 2013, 01:25:05 AM
 #965

Goomboo, I have a question for you. Hourly trading is only inferior to daily because of fees, so trading on a BTCe with a .2 fee may yield better results. The problem is, you cannot backtest this. Would using MtGox candles with a .2 fee be a good indicator of potential profits on BTCe? Or is the arbitrage between the two enough to nullify the data?

Why can't you back test BTC-e?
Bitcoincharts.com has all the trade history.

TradesLikeAPotato
Jr. Member
*
Offline Offline

Activity: 41


View Profile
August 18, 2013, 07:20:08 AM
 #966

It's possible. The problem is getting the candles. The ones for MtGox are easily downloadable, while to get the BTCe ones I'd need to figure out the bitcoincharts API. I'm not a programmer but I'll take a look tomorrow and see how much work it would take.

EDIT: Yeah I have no idea what I'm doing.

Tip Jar: 15JYcTR2kr79i5Sxzjgk93WywXRkQtTgtf
kenshin23
Member
**
Offline Offline

Activity: 66



View Profile
August 19, 2013, 04:38:12 PM
 #967

Bitcoincharts doesn't have any documentation for their charts API, so what I ended up doing to backtest was the following:

Get the chart with the timeframe that I want to backtest (for example: 5 months, hourly.)
Click the "load raw data" link below the chart.
Select the first line of the data, hold the mouse button, then press the "End" key on the keyboard.
Drag the mouse to the end of the last line, then copy the data (Ctrl+C or right-click, then Copy)
Then, paste into a new text file and modify the data to suit your backtesting program (I use Gekko, so I wrote a simple PHP script that gets each candle, formats the date to a UNIX timestamp and then returns a CSV file that Gekko can read.)

I hope that helps.

Donations are very welcome! 1LJ7k5b71cYFrBVQ7zYSBJePZ7EuFBFr5a
Pyramining referral links: http://pyramining.com/referral/be4kfg2m7 | http://pyramining.com/referral/yghmk7r9f
Bitrated user: kenshin23.
TradesLikeAPotato
Jr. Member
*
Offline Offline

Activity: 41


View Profile
August 19, 2013, 05:33:48 PM
 #968

You beat me to it, I was about to post a similar solution.
You can convert to unix timestamps in excel actually, just use this formula:
=(A2-DATE(1970,1,1))*86400

 I extracted MtGox candles for the period in this thread: https://bitcointalk.org/index.php?topic=239815.0  Strangely, I end up with completely different backtest results.

Could you try and test it yourself? I'd give you my candles but those are precisely what I want to test. Start at June 26, 2011 and paste each period of 5 months to get a full candles table.

Tip Jar: 15JYcTR2kr79i5Sxzjgk93WywXRkQtTgtf
TradesLikeAPotato
Jr. Member
*
Offline Offline

Activity: 41


View Profile
August 19, 2013, 07:42:03 PM
 #969

I just created a topic detailing this technique:

https://bitcointalk.org/index.php?topic=277704

Tip Jar: 15JYcTR2kr79i5Sxzjgk93WywXRkQtTgtf
oda.krell
Legendary
*
Offline Offline

Activity: 1232



View Profile
August 22, 2013, 05:19:52 PM
 #970

I just created a topic detailing this technique:

https://bitcointalk.org/index.php?topic=277704

Extremely useful, thanks! This is what finally got me started using gekko myself, doing some proper backtesting of EMA methods.

My search starts from the assumption that (a) more recent history is more relevant for present day prediction than older history, (b) overfitting of the method must be avoided, so results need to be compared across different time frames, (c)
trading is slightly more expensive than assumed by default in gekko, because of signal delay & slippage

I'll post my results when I'm done with the testing. I have to do it partly manually because I want to control the treshold parameter, so I'm not searching through all EMA combinations, but only those that previous posters have mentioned as promising. Maybe someone else can fill me in in case I forgot a promising combination.


A quick question for Goomboo

Looks like we're turning this thread into a discussion about backtesting EMA strategies, finding the optimal parameters, etc. If this is starting to become too tangential to your original idea of this thread, i.e. you think we're hijacking your thread, let us know.

Not sure which Bitcoin wallet to use? I can highly recommend Electrum.
Electrum is an open-source lightweight client: user friendly, extremely fast, and one of the safest ways to store and use your bitcoins.
Executables are available on the Electrum homepage, so you can get a Bitcoin wallet up and running on your own computer in a few minutes.
Goomboo
Sr. Member
****
Offline Offline

Activity: 409



View Profile
August 24, 2013, 08:34:06 PM
 #971

Looks like we're turning this thread into a discussion about backtesting EMA strategies, finding the optimal parameters, etc. If this is starting to become too tangential to your original idea of this thread, i.e. you think we're hijacking your thread, let us know.

No worries, thank you for asking.  Been much to busy to post lately, and the discussion is certainly on-topic, so I'm fine with it.

Goomboo
TradesLikeAPotato
Jr. Member
*
Offline Offline

Activity: 41


View Profile
August 26, 2013, 06:47:45 AM
 #972

I just created a topic detailing this technique:

https://bitcointalk.org/index.php?topic=277704

Extremely useful, thanks! This is what finally got me started using gekko myself, doing some proper backtesting of EMA methods.

My search starts from the assumption that (a) more recent history is more relevant for present day prediction than older history, (b) overfitting of the method must be avoided, so results need to be compared across different time frames, (c)
trading is slightly more expensive than assumed by default in gekko, because of signal delay & slippage

I'll post my results when I'm done with the testing. I have to do it partly manually because I want to control the treshold parameter, so I'm not searching through all EMA combinations, but only those that previous posters have mentioned as promising. Maybe someone else can fill me in in case I forgot a promising combination.


A quick question for Goomboo

Looks like we're turning this thread into a discussion about backtesting EMA strategies, finding the optimal parameters, etc. If this is starting to become too tangential to your original idea of this thread, i.e. you think we're hijacking your thread, let us know.

Glad I could help, I'm looking forward to your results. While you do your testing, maybe you could speculate the cause of the absurd BTCe profit values I have encountered here.

Tip Jar: 15JYcTR2kr79i5Sxzjgk93WywXRkQtTgtf
oda.krell
Legendary
*
Offline Offline

Activity: 1232



View Profile
August 26, 2013, 03:44:17 PM
 #973

[...]
Glad I could help, I'm looking forward to your results. While you do your testing, maybe you could speculate the cause of the absurd BTCe profit values I have encountered here.

I can reproduce the result. The reason: you switched 'long' and 'short' EMAs (you defined short to be 5, and long to be 1). If you switch them around, you will get (as expected) a -100% profit, with the same number of trades, which makes me think that the EMA method written by the gekko author breaks under wrong user input.

Sorry, if I had more time I could look at the code and confirm, but for now I'd say chances are pretty good that's the reason.

Not sure which Bitcoin wallet to use? I can highly recommend Electrum.
Electrum is an open-source lightweight client: user friendly, extremely fast, and one of the safest ways to store and use your bitcoins.
Executables are available on the Electrum homepage, so you can get a Bitcoin wallet up and running on your own computer in a few minutes.
TradesLikeAPotato
Jr. Member
*
Offline Offline

Activity: 41


View Profile
August 26, 2013, 11:50:28 PM
 #974

I think you are correct.

Tip Jar: 15JYcTR2kr79i5Sxzjgk93WywXRkQtTgtf
kvm
Jr. Member
*
Offline Offline

Activity: 40


View Profile
August 30, 2013, 12:05:58 PM
 #975

Please have a look at my thread on how to get bitcoin realtime charts in MetaTrader 4:

https://bitcointalk.org/index.php?topic=160791.0

I will be glad to hear your suggestions and recommendations! I'm thinking to add a range bars generation! Will it be useful for backtesting?

Marcus Antonius
Jr. Member
*
Offline Offline

Activity: 57


View Profile
August 31, 2013, 01:22:29 PM
 #976

Question for Goomboo: do you do anything different when you see a parabolic spike approaching?
0xz[.]
Full Member
***
Offline Offline

Activity: 146


Free Minds. Free Markets. Free People.


View Profile
September 01, 2013, 09:15:39 AM
 #977

Goomboo, do you offer  private advices? do you have subscribers?
Goomboo
Sr. Member
****
Offline Offline

Activity: 409



View Profile
September 03, 2013, 09:35:32 PM
 #978

Question for Goomboo: do you do anything different when you see a parabolic spike approaching?

In the context of this thread, unless you can quantitatively describe a parabolic rise and have backtested a method of taking profits during periods of mania, then I would say to wait until the crossover has occurred prior to exiting.  "The trend is your friend until the bend at the end".
Goomboo
Sr. Member
****
Offline Offline

Activity: 409



View Profile
September 03, 2013, 09:36:42 PM
 #979

Goomboo, do you offer  private advices? do you have subscribers?

Sorry, I do not.

Best of luck!
Xiaoma
Full Member
***
Offline Offline

Activity: 133


View Profile
September 04, 2013, 12:29:12 AM
 #980

I'm personally very wary of EMA during extreme situations like current one, where you don't have a trend but a few whales stomping all over a weak market.

My observation here is that whale buys big as soon as lines show time to sell. You end up losing a lot if you follow the averages now. I'm back to instinct mode for a couple weeks, until I feel market is healthy. Or Gox goes bankrupt lol, I moved to bitstamp at a loss but I feel safer.

I wonder is Gomboo still trading nowadays? I learned a lot from you Wink
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 [49] 50 51 52 53 54 55 56 57 58 59 »
  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!