Flash Crash wrong Order spread after restart

General discussion about Haasbot's FlashCrash Bot. (Advanced)
Invincible
Registered User
Posts: 10
Joined: Wed Apr 12, 2017 10:32 am

Flash Crash wrong Order spread after restart

Postby Invincible » Sat Jun 10, 2017 1:33 pm

I discoverd a issue with the order spread after restarting the software. I do this once every ~2 weeks because everything is getting slower and slower.

My Strat is a long term grid Strat that needs the grid to be in the same place all the time even after a restart. Unfortunately the orderbook is not saved within the same position after the deaktivation it spreads different wat can cause a horible loss.
I made some screenshots of one of my FCs to show you what went wrong.

This are the settings:
Image

The orderbook before the restart:
Image

After the restart:
Image

As you can see the orders are at totaly different positions without saving any changes. And of course i need them on the exact same place to let the bot do the same job for serveral month.

Here is what hapens if you just restart it while thinking orders will be in exact the same place like before.

Image

Best regards!

xpumpa
Paid Subscriber
Posts: 21
Joined: Thu Sep 17, 2015 10:27 am

Re: Flash Crash wrong Order spread after restart

Postby xpumpa » Sun Jun 11, 2017 6:33 pm

It happened too if you only stop/save/start bot...

Invincible
Registered User
Posts: 10
Joined: Wed Apr 12, 2017 10:32 am

Re: Flash Crash wrong Order spread after restart

Postby Invincible » Mon Jun 12, 2017 5:25 pm

xpumpa wrote:It happened too if you only stop/save/start bot...


Sure, this is what should happen when i stop/save/start.
The thing i am confused of is, that it hapens when i only stop/start without a change/save of the baseprice.
Because of that it would be nice to know how to bring it back up to the exact same orders as before after a restart.
Don't get me wrong, not blaming anyone i just need to know how to realise it.

Best Regards!

EclecticDilettante
Registered User
Posts: 38
Joined: Sun Nov 27, 2016 12:13 am

Re: Flash Crash wrong Order spread after restart

Postby EclecticDilettante » Tue Jun 13, 2017 9:32 am

This is happens to me too. I noticed the Spread type changes by itself to Fixed amount instead of Percent and then when you start the bot it gets orders triggered because of the distribution of your orders.

When you stop your bot check what was the last base price and save it somewhere. When you want to start it again just use the same saved base price and make sure your Spread type is Percent and not Fixed.


Return to “FlashCrash Bot Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest