Thursday, 1 August 2019

eToro in a short post





Barry Jones


>>> x = [1.09, 1.84, 15.04, 3.61, 0.68, 7.62, 16.60, 15.16, -6.53]

>>> (np.exp(np.log(np.array(x) / 100 + 1).sum())) * 10000

16687.288633717548


vs.



saying

27038

Err.... what the ... lol?

I guess it is time to say goodbye to copy trading...

I mean,
a) can't eToro just come up with 2 measures in 12 years that accord with each other?
and
b)
(i) not detailed here, but costs probably make performance measures misleading (in my experience)
or if not (i) then
(ii) when copied users add funds, that makes it difficult to interpret their performance, and furthermore
c) while copied users get rewarded for their success from their followers gain (which reward can by the way be reinvested), will they suffer proportionate losses when their copiers incur losses, so as to increase their awareness of the risks they are undertaking? I would easily take a guess (i.e.: no). So - they are basically incentivised to take risks, being under penalised for their failures.
Smells like negative selection, my friend.

So, great idea, but the execution leads to a likely early goodbye, even though this guy's the current best performer (and got there very quicky!) in my virtual portfolio.

By the way, my copy portfolio is as:


All of these folks were editor's picks at some point.
Barry Jones is the only recent addition, the rest had at least a month or two to show off.
Clueless how to check when I actually started copying them.
12 years of development.
Well done, guys.

Future is now - Space on Earth - Earth IS Space!

Always wanted to write this down: silence is the greatest gift.
It gives your creativity space. It gives you space.

Hereby I send to everyone reading this a medium mathematical space (U+205F).

Here we go:

"   "

May silence follow your steps while reading this character!

References:
[1] source

I hope this helps - blessed be your day!

Saturday, 27 July 2019

Dirty window

There was a steady drizzle today..
The interesting bit is that on one side, I could see the rain falling, on the other, I couldn't.
Somewhat counter-intuitively, since on the one side, a distant and dirty window was obstructing the vision, whilst on the other I had cleaned the window a few times (within only a few years :) but still, I happened to have given it a quick wipe recently).
Somehow the interference between the dirt patches and the rain texture ("textile") was by a lucky coincidence more visible - perhaps hitting a threshold - from a certain distance than the rain itself.
Not sure how, but this crucial piece of information must by absolute certainity turn to good  use someday :))

Monday, 22 July 2019

xkcd colors

Not exactly sure how this came to existence, but I probably just love it :)

"The 954 most common RGB monitor colors, as defined by several
hundred thousand participants in the xkcd color name survey."

https://xkcd.com/color/rgb/

And then, and most importantly, people do use'em:

ax.set_facecolor('xkcd:salmon') ax.set_facecolor((1.0, 0.47, 0.42))


(source: https://stackoverflow.com/questions/14088687/how-to-change-plot-background-color)


Friday, 21 June 2019

... and some dislikes in Python itself :) ... #1: file seek offset


"A from_what value of 0 measures from the beginning of the file, 1 uses the current file position, and 2 uses the end of the file as the reference point. from_what can be omitted and defaults to 0, using the beginning of the file as the reference point."

(source)

Hopefully one day this changes.

Magic numbers in a framework are not really the best practice I'd diplomatically say - although this one is apparently just a relic from those old/new days of Python when the foundations were laid down. Yet, a glitch yielding poorly readable code and causing potential repetitive googling syndrome - plus I guess a negative offset would be more idiomatic than a separate constant (update: just realized that the negative offset is supposed to be used in conjunction with the "2" constant - isn't that a bit odd? Raises the question - so does it work with the "0" - from beginning - case?), which could then retire to be a more often ignored optional parameter.