Page 1 of 1

Import bets query

Posted: Fri Nov 28, 2025 4:06 pm
by IJBets
I have a strategy which imports football selections that are downloaded from a source. This source contains the BetfairID, but not always the correct team names (close to, but not always the same as Betfair). The import needs a selection name to work (as does the strategy, it needs one or other of the team names, ie the Home or Away selection), and this means that I sometimes have to correct those names before they will import and then they work fine.

I have another strategy from the same source, but it is only for under/over goals, so the selection name is always Under, which means I don't have to worry about changing team names, as they are irrelevant and indeed are not even in the import file, its the BetfairID that identifies the game I am trying to place a trade on.

My question then would be, is there a way to set the SelectionName field to something like "Home" or "Away", which means I don't need to correct the occasional team name, where they differ.

Many thanks.

Re: Import bets query

Posted: Fri Nov 28, 2025 4:23 pm
by BfBotManager
Yes, that is possible. Please read manual, pages 175-185 that have examples and explain how to do this:
https://www.bfbotmanager.com/documents/ ... on_3_0.pdf

Re: Import bets query

Posted: Mon Dec 01, 2025 4:33 pm
by IJBets
Thanks for the reply.

I did read the manual before querying, the problem I have is that I do not have the BetfairSelectionID, I just have the BetfairEventID. So I just have a team name (which is sometimes written wrong) that I can use for the SelectionName.

Unless I am of course missing something from the manual (I have now re-read that section) which is entirely possible.

Re: Import bets query

Posted: Mon Dec 01, 2025 5:06 pm
by BfBotManager
Please read "Football Tip File Example" in the manual, pages 179-181. It explains how to use HOME, AWAY or
DRAW text as the SelectionName.
But for some markets (such as Match Odds and Half-time markets) the SelectionName is actually the team
name and in this case it must be identical to the Betfair team name OR you can use HOME, AWAY or
DRAW text as the SelectionName. But in that case, you MUST include an EventId or SportMonksFixtureId
columns with the tip data, so that bot can find the correct match. If you don’t have the EventID or
SportMonksFixtureId, then you should use the actual team name. Once the bot knows which event the tip is
for, then it will use MarketType to find the right market to bet on for that event.

Re: Import bets query

Posted: Mon Dec 01, 2025 11:07 pm
by IJBets
My apologies and thank you. The reason I couldn't find it is that although I have a copy of the manual with the same filename as you linked to, it was a previous version without that text included.

Should have downloaded the new version as you linked it. Thanks.