Hello all
Hope everyone is fine and dandy.
I have a bit of a puzzler - probably something very obvious but I can't get my head around it at the moment.
I have the attached rule that doesn't do much at all. It places two lay bets at book percentage and tries to save some stored values.
When I add this to a market in guardian - the bets are placed...YAY! However, the stored values aren't filled out.
If I then go back into the rule set and simply save again whilst the rule is already attached to the market, I do get the desired stored values stored. Here's an example log file:
18/04/2022 21:39:58: [G_Auto 1] : Store Value for market: L1 = 0
18/04/2022 21:39:58: [G_Auto 1] : £ 4.00 Lay bet placed on Nahanni at 2.5. Fully matched at 2.5. Ref: 10016
18/04/2022 21:39:58: [G_Auto 1] : Store Value for market: L2 = 0
18/04/2022 21:39:58: [G_Auto 1] : £ 2.60 Lay bet placed on Mighty Ulysses at 3.85. Fully matched at 3.85. Ref: 10017
18/04/2022 21:39:58: [G_Auto 1] : Store (range calc) Value for market: LSum = 0
18/04/2022 21:40:09: [G_Auto 1] : Store Value for market: L1 = 4
18/04/2022 21:40:09: [G_Auto 1] : £ 4.00 Lay bet placed on Nahanni at 2.5. Fully matched at 2.5. Ref: 10018
18/04/2022 21:40:09: [G_Auto 1] : Store Value for market: L2 = 2.6
18/04/2022 21:40:09: [G_Auto 1] : £ 2.60 Lay bet placed on Mighty Ulysses at 3.85. Fully matched at 3.85. Ref: 10019
18/04/2022 21:40:09: [G_Auto 1] : Store (range calc) Value for market: LSum = 6.6
Any ideas as to what's going wrong in the first situation?
Stored value not doing its thing on first attempt
-
- Posts: 205
- Joined: Tue Oct 06, 2015 2:03 pm
You do not have the required permissions to view the files attached to this post.
It’s because when you start the file, there’s no bet info to store. BA will take a second to get the bet info back, by then the stored value has already stored £0 .
Saving the bot again is starting the bot with the bet info from the last time you started it.
Have a look at my example, I have redone your rule and added a different example. Have a look at that. Hopefully, it’ll make your life easier going forward.
Saving the bot again is starting the bot with the bet info from the last time you started it.
Have a look at my example, I have redone your rule and added a different example. Have a look at that. Hopefully, it’ll make your life easier going forward.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 205
- Joined: Tue Oct 06, 2015 2:03 pm
Many thanks for the information and the sample file Dabbla, most appreciated.