- Program Options
- .INI file
1.Program Options

You can open the Options clicking this button, or from the menu [Tools] or pressing the hotkey F9.
Markets Download
This is the list of Sports-Markets downloaded by the program, Ipposnif updates the prices and place bets only on the Competitions/Market Types specified in the list.
To change the download configuration use the buttons add, edit and remove.
Each row of the configuration is made by one sport, one or more countries
and one or more market types.
For international events use “International” like country.
Each Event Type has its own default market that must be included.
You can mix sports and add as many market types or countries you want,
but more markets you download slower will be the update of the
odds.
Limits
Daily Stop Loss: when the total daily loss
is greater than this value, the system stops placing bets. The actual loss is given by the sum of the settled bets plus the hedge value of the unsettled bets.
An eventual daily positive profit is added to the stop loss, so for example, if you are winning 125 and the stop loss is 100, strategies can lose a maximum of 125+100=225 till the end of the day.
If you are winning and you want to protect part of the current day winnings, you can enter here a negative value. For example, if you are winning 125 and you enter -100 as stop loss, the strategies can use only 125-100=25 till the end of the day. If you enter a negative value, remind to set again it to a positive value at the end of the day, or the day after the strategies will not able to place bets.
Daily Stop Win: when the amount of today winnings is
greater than this value, the system stops placing bets. The actual win is given by the sum of the settled bets plus the hedge value of the unsettled bets.
Stop Service at Daily Limit: If a stop loss or win limit is reached, the Ipposnif service will stop and can only be restarted manually.
Max Total Liability: maximum total responsability for all the
strategies.
Betting
Default Bet Size: strategies that use the Betting Frame (like the 'Free Hand' strategy) will have this value as default bet size.
Stake Rollup: Stake Rollup is a functionality that aggregates the available stakes in the market, displaying only prices with stakes larger than a certain amount. This is particularly useful for users placing large bets, as it prevents them from being distracted or misled by prices with insufficient stakes to match their bets.
Free Hand Priority: When this option is ON, clicking on the blue or pink betting cells in a strategy that does not allow manual betting will switch the current strategy to 'Free Hand.
SP Persistence Priority: When this option is ON and the user switches between different event types, the SP priority option is selected by default in the betting frame.
Invert BACK/LAY Frame: When this option is OFF, a left-click opens the BACK frame, and a right-click opens the LAY frame. When this option is ON, the functionality is inverted.
Monitor External Bets: When this option is ON, bets placed outside Ipposnif (or from other instances of Ipposnif) are included and accounted for using the 'Free Hand' strategy. You can change the collector strategy from the .INI file.
Transactions
Max Transactions Hour: when the amount of transactions (bet place or
update) in the current hour is equal or greater than this value, the system
stops placing/updating/hedging bets. Betfair will apply a fee for every
transaction beyond 5000 per hour. The system updates the transactions count every 20 seconds, so in these 20 seconds the limit could be overtaken. You can check how many transactions your strategies are producing, from Tools → System Monitor. Bet placed below the minimum size have a cost of 2 transactions instead of 1.
Leave Out Open Trades: if this option is checked, the Max Transactions Hour limit is not applied to the open trades, that can still receive new bets (and eventually being hedged). So please mind that if this option is ON and you keep updating open trades, you could overtake the limit.
Views
Distinct Free Hand P&L: when this option is OFF and the strategy Free Hand is selected, it shows the profit&loss from all the strategies. Hedging a runner on Free Hand will hedge the runner for all the strategies. When this option is ON, Free Hand shows only its profit&loss, distinct from the other strategies. Every strategy hedges only itself.
Free Hand Checkboxes: When this option is ON, the 'Selected' column is also present in the 'Free Hand' strategies on the runner's grid, and the checkboxes operate on all strategies at the same time.
Filter Trades By Mkt-Strat.: when this option is ON, the bottom frame of the main window, shows only the trades of the selected Market-Strategy. Otherwise it shows all the trades of the event.
Last Market Type Priority: when this option is ON and the user switches between different events, the same market type is select by default; when this option is OFF, the main market of the event is selected by default.
Distinct Sport Selection: when this option is ON, the event type (sport) buttons filter only the events of the selected type.
Database
Expiration: Races can be stored only for a certain period, whereas trades and bets are never canceled until manually removed.
Flag Expiration: Red and black flags assigned to a runner are automatically removed after the specified number of days. To extend the validity, uncheck and recheck the flag.
Runners
Click Silk to Select Runner can speed up the check of
a runner.
Horse weight in Kilograms switch to the metrical
system.
Update LP when In-Play: the column LP in the runner
grid will be updated also during in play.
Sounds
Winning Event a sound is played when this option is ON and an event (all its markets summed together) records a total net win greater than the amount specified.
Bet Placement a sound is played every time a bet is placed.
Market Goes In-Play a sound is played every time an event goes in play.
You can change the sounds replacing the WAV files in the program directory (C:\Program Files (x86)\Ipposnif).
API Configuration
User can choose from 5 pre-set API configurations:
- api_standard: The default configuration, suitable for both manual and automatic betting. It requires a standard PC (4×2.2 GHz, 4 GB RAM).
- api_slow: Reduces load and SQL Server allocated memory. It can run on a small virtual machine or an old PC (2×1.8 GHz, 2 GB RAM).
- api_fast: Provides fast market refresh for quick manual and automatic betting. It requires a high-speed PC with an SSD (4×2.8 GHz, 16 GB RAM).
- api_inplay: Designed specifically for betting on in-play markets. It requires a high-speed PC with an SSD (4×2.8 GHz, 16 GB RAM).
- api_custom: A fully customizable configuration. It starts with the same settings as api_standard.
Each configuration includes the following settings:
System Clock is the heart beat of
Ipposnif system. The default is 120 every minute (500 ms). Each process
cannot be executed more times in a minute than this value.
Trigger Clock is the interval between two checks of
the active strategies conditions. Manual trigger strategies are not subjected
to this delay.
Check Mkts How many markets are processed every Trigger Clock tick.
The markets are divided in four groups, from the most important to the less important: focused market (the one selected in the main window), in-play markets, imminent markets and all the rest of the markets.
- Focus: The market (1) opened in the main
window.
- In-Play: all the markets currently in play.
- Proximity: all the markets of events that are
going to start. You can specify this time frame with the option
Market proximity.
- Full loop: all the other markets.
These categories are split in two groups:
- Best 5 Prices: prices are downloaded with a depth
of 5.
- Full prices+Volume: prices and volumes are fully
downloaded.
Every request (except focus) can retrieve the prices of more markets
at one time (Markets x Request).
In-Play Exclusive Focus: when this option is ON and the focused market is in-play, all the API calls, not related to betting, are suspended.
CheckBetMU: max checks per minute of the open bets.
Bets to check x request: max bets to check every
request.
Max CheckBet x min: How many checks for bet
cancelled, settled or voided.
getMeetings x min: How
many getMeetings API requests are processed every minute. getMeetings
search for new markets.
getMarket x min: How many
getMarket API requests are processed every minute. getMarket gets the
markets not yet downloaded and periodically updates the existing ones.
GetAccountFunds x min: Updates per
minute of the player balance.
Request timeout: Timeout
in milliseconds for the request.
Response timeout:
Timeout in milliseconds for the response.
Datatable refresh
rates: Interval between two refresh of the grids in the
windows of the program. They affect only the screen visualization and not
the update of the data itself.
Global Variables
Globals are constants that can contain a decimal number. You can retrieve them from your strategies using the variables
@global_01 → @global_08 or using the function
dbo.fn_Global
Example:
These values are the same for all the strategies, and they can be used, eventually, to define a centralized multiplier for the size of the bets.
@global_01*(@capital/10)
Tipping Service
URL is the url of the
web page providing the tips. Refresh is the refresh rate in minutes. If Refresh=-1 the tips are not downloaded.
Custom Service
These fields can be used to integrate Ipposnif with an external service, like for example a score service. You can find these values in 2 records ('serviceb_key', 'serviceb_refresh') in the table [tbl_SysCfg] of the Ipposnif DB.
2.INI file
The following properties can be changed editing the .ini file of the program (C:\Program Files (x86)\Ipposnif\ipposnif.ini). After edit you have to restart the program to apply changes.
- ApplicationInsights_path: Path to ApplicationInsights.dll
- alert_db_size: when db size overcomes this value an alert is shown.
- backup_hour: shrink db once a day at the specified hour. -1 = OFF.
- balance_includes_liability: when this option is ON the balance shown in the main window, will include also the current liability.
- block_freehand: if 1, once the free-hand strategy has been deactivated, it cannot be activated again without a restart.
- closed_market_focus: how many seconds the focus stays on a closed market.
- command_timeout: SQL command timeout.
- commonappdata_path: Common application data folder path.
- connection_timeout: SQL connection timeout.
- data_source: SQL Server instance name. It replaces the placeholder {data_source} in the ipposnifdb_connection_string.
- dbname: Name of the database. Every start Ipposnif checks for the presence of a DB with this name. If it is not found, Ipposnif creates a new database with the specified name. It replaces the placeholder {dbname} in the ipposnifdb_connection_string.
- dbpwd: Database user password. It replaces the placeholder {dbpwd} in the ipposnifdb_connection_string.
- dbusr: Database user name. It replaces the placeholder {dbusr} in the ipposnifdb_connection_string.
- export_all_strategies: full path, with trailing backslash, of the folder where to save all the strategies. When present, a new command is available from the Strategies window context menu. Files already existing are skipped.
- force_service_broker_creation: 1=create a new Service Broker every start. 0=Check if the last one created, is still working.
- ipposnifdb_connection_string: Ipposnif database connection string.
- log_only_errors: 1=program logs only errors.
- manage_errors: 0=the program stops on every error (debug).
- masterdb_connection_string: Master database connection string.
- max_server_memory: Max SQL server allocated memory.
- mousewheel: enable mouse wheel support in the strategy configuration panel.
- ProxyServer: Use the proxy specified (for ex. 127.0.0.1:8888) If missing no proxy is used.
- ProxyServerPassword: ProxyServer password. If not specified no authentication is performed.
- ProxyServerUsername: ProxyServer username. If not specified no authentication is performed.
- start_configuration: Start configuration with bitwise on/off on 4 bits: 1=horse_racing 2=greyhounds 4=soccer 8=tennis.
- start_stopped: 1=program starts with the service stopped (debug).
- systrayicon: System Tray Icon. It can be: default|orange.
- system_drawing_path: Override the path to System.Drawing.dll.
- trig_alerts: 0=don't show stop loss/win alerts.
- wav_bet: Path to wav file sound for bet.
- wav_inplay: Path to wav file sound for market going in-play.
- wav_win: Path to wav file sound for win.
- whoami: (Machine Name|Domain)/Username of the administrator that installed Ipposnif. If you have authorization issues running Ipposnif with this user, and you have another user available on your PC with different credentials, try using it with this option.
- WinHttpRequestOption_EnableRedirects: automatically redirect when the server specifies a new location for the resource 0=OFF 1=ON.
- WinHttpRequestOption_SecureProtocols: restrict security protocols accepted by the client WinHttp.WinHttpRequest.5.1 (2048=TLS1.2 only).
- WinHttpRequest_Timeout: common timeout for ResolveTimeout, ConnectTimeout, SendTimeout, ReceiveTimeout.