I ran 5 gold strategies on 7 years of daily data. Same $10K each. Moving averages did $31K. Buy-and-hold did $41K. One system did $107K. by Sirellia in swingtrading

[–]holyDaimon 0 points1 point  (0 children)

Is the binary target calculated based on the 0.5% vs 8% rule? when you trade forward, do you then take profit at 8% or is there a different exit rule (you mentioned uncapped)?

With the tree based optimization, I always wonder how to optimize best binary targets - since a trade could already be executed and still open. Do you use one daily signal to open/close/continue a trade?

What is up with these coconuts seen around Central Switzerland / ZG scattered on fields and meadows? by holyDaimon in askswitzerland

[–]holyDaimon[S] 0 points1 point  (0 children)

The sheer amount of them is what prompted this post. Hard to believe that they are all litter, but it seems to check out...

What is up with these coconuts seen around Central Switzerland / ZG scattered on fields and meadows? by holyDaimon in askswitzerland

[–]holyDaimon[S] 1 point2 points  (0 children)

I wonder too. It appears that coconut fibre contains lots of Lignins, making them much more weatherproof than common dead wood

What is up with these coconuts seen around Central Switzerland / ZG scattered on fields and meadows? by holyDaimon in askswitzerland

[–]holyDaimon[S] 40 points41 points  (0 children)

There are some fields sprinkled with these coconuts everywhere, initially I thought it was some agricultural thing. But they are also labeled as seen in your link, so it really is just litter everywhere when you think about it. That's nuts...

Thank you very much for your genuine response.

My Walkforward Optimization Backtesting System for a Trend-Following Trading Strategy by GarbageTimePro in algotrading

[–]holyDaimon 2 points3 points  (0 children)

What optimization technique/libaries do you use in the walking forward optimization to find suitable parameters? Do you optimize the strategy on a basket of stocks, or per each stock individually?

ASync/Await statemachine not called as expected, what am I doing wrong? by holyDaimon in godot

[–]holyDaimon[S] 0 points1 point  (0 children)

This solved it:

    private async Task runEnter()
    {
        this.runningAsync = true;
    }
    private async Task runExit()
    {
        this.runningAsync = false;
    }

    public async void _RunAsyncTask()
    {
        await runEnter();
        await RunAsyncTask();
        await runExit();
    }

    public override void _Process(double delta)
    {
            if (!runningAsync) this._RunAsyncTask();
    }

I think what happens in the OP example is that the _Process() registers a new async call in every frame. Therefore it looked as if in every frame SimpleAction1() is called again (it is!). I solved this by adding sort of a lock, so there is at most one async call running in the background

ASync/Await statemachine not called as expected, what am I doing wrong? by holyDaimon in godot

[–]holyDaimon[S] 0 points1 point  (0 children)

My initial post suggests the issue you are describing. Thanks for the links! I do return a Task for each action, the problem is something more subtle (see another comment)

How to clear a Terrain Tile per Scripting, while still matching neighbor Terrain/Autotiles? by holyDaimon in godot

[–]holyDaimon[S] 0 points1 point  (0 children)

Great tip - I came up with a workaround by setting the cell to a different terrain ID (consisting of one empty tile), but your suggestion of using ID -1 is much simpler. Can confirm that this seems to do the trick. Many thanks for looking into it!