Bot Executor: Auto Trader Bot
Posted in Setup a Bot by StefanBelo Tags: Tutorial
The Auto Trader Bot is a trading bot that uses the Be the First in Queue bot to open position and then close it when preset criteria are met. To open a position you can use following parameters:
- BetType
- Stake
- StakeIsMyLiability
- StakeIsPercentageOfAvailableBalance
- MaxOddsDifferenceToChase
- MinimalOdds
- MaximalOdds
- UseAnyTradingOpportunity
- MarketMaker
- MinimalStake
- PlaceBetOnRunner
And to close it the following parameters:
- MinOddsDifference
- UseMinOddsDifference
- MinReturnOnInvestment
- PlacebetImmediatly
- RepeatTradingCycle
- IncreaseProfit
- StopTradingCycleAtProfit
- StopLossOnPercentageLiability
You can either define the odds range by the MinimalOdds, MaximalOdds parameters, or set the parameter UseAnyTradingOpportunity to true, so the bot will always try to place a bet to be the first in queue.
As it was said the bot operates on a market only when there is a gap between offered odds, if there is no offer on one or other side no bet is placed. In such cases if you set the parameter MarketMaker to true, the bot will place a bet on the odds defined by MinimalOdds for a lay bet or MaximalOdds if you want to place a back bet.
Setting the parameter MaxOddsDifferenceToChase will instruct the bot not to update the bet if odds changes more then preset number of ticks, 0 value will switch off this feature.
You can also set the MinimalStake which the bot will not try to skip, again the 0 value will switch off this feature.
To close your position you can use either closing by preset number of ticks using the parameter MinOddsDifference and setting the parameter UseMinOddsDifference to true, or you can use the parameter MinReturnOnInvestment.
If a market goes against you you can use the parameter StopLossOnPercentageLiability to close your position with a loss.
If you want to repeat a trading cycle you need to set the parameter RepeatTradingCycle to true, the parameter UseMinOddsDifference to false and set the parameter IncreaseProfit so the bot will increase the original profit target set by the parameter MinReturnOnInvestment for each new trading cycle.
Case studies
I want a bot to try get matched back bet at better odds with 100 stake, my accepted odds are from 1.8 to 2.5. After the back bet is matched I want to trade out with 5% profit or with 15% of loss if the market goes against me.
You need to set following parameters:
| Parameter | Value |
|---|---|
| BetType | Back |
| MinimalOdds | 1.8 |
| MaximalOdds | 2.5 |
| MaxOddsDifferenceToChase | 0 |
| PlaceBetOnRunner | 0 |
| Stake | 100 |
| StakeIsMyLiability | False |
| StakeIsPercentageOfAvailableBalance | False |
| MarketMaker | False |
| MinimalStake | 0 |
| UseAnyTradingOpportunity | False |
| MinOddsDifference | 0 |
| UseMinOddsDifference | False |
| MinReturnOnInvestment | 5 |
| PlacebetImmediatly | False |
| RepeatTradingCycle | False |
| IncreaseProfit | 0 |
| StopTradingCycleAtProfit | 0 |
| StopLossOnPercentageLiability | 15 |
I want a bot to try get matched back bet at better odds with 100 stake, my accepted odds are from 1.8 to 2.5. After the back bet is matched I want to trade out with 5% profit or with 15% of loss if the market goes against me. I want to repeat the trading cycle if the odds are whenever in my accepted odds range increasing the profit by 5% and stopping the trading cycle at 15% profit.
You need to set following parameters:
| Parameter | Value |
|---|---|
| BetType | Back |
| MinimalOdds | 1.8 |
| MaximalOdds | 2.5 |
| MaxOddsDifferenceToChase | 0 |
| PlaceBetOnRunner | 0 |
| Stake | 100 |
| StakeIsMyLiability | False |
| StakeIsPercentageOfAvailableBalance | False |
| MarketMaker | False |
| MinimalStake | 0 |
| UseAnyTradingOpportunity | False |
| MinOddsDifference | 0 |
| UseMinOddsDifference | False |
| MinReturnOnInvestment | 5 |
| PlacebetImmediatly | False |
| RepeatTradingCycle | False |
| IncreaseProfit | 5 |
| StopTradingCycleAtProfit | 15 |
| StopLossOnPercentageLiability | 15 |
Tuesday, January 20, 2009
Isn't possible to add the possibility to choose a "fixed odds" in the trading part?
I know that some bettors could think that this request is strange but when you trade during the playing off it seems more logical for me.
Thanks
Wednesday, January 21, 2009
This type of bot is a speculative bot, so you are able only to set your acceptable odds range in which the bot can place its opening bet.
Wednesday, November 04, 2009
Is it possible to modifie the gap?
"As it was said the bot operates on a market only when there is a gap between offered odds, if there is no offer on one or other side no bet is placed."
I would like that the gap should be at least 3 points and not 2 points. (back is 1,75 and lay is 1,77 = 2 points , I would like the minimun to be back 1,75 and lay 1,78 = 3 points )
Thanks Stefan