Options

Configure Ipposnif to Fit Your Needs

  1. Program Options
  2. .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 list contains the active Market Download configuration.
Ipposnif refreshes the prices and allows betting from strategies 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 mandatorily included.
You can mix sports and add as many market types or countries you want, but more markets you download slower will be the refresh 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 daily 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.
Max Total Liability: maximum total responsability for all the strategies.
Default Bet Size: strategies that use the Betting Frame (like the 'Free Hand' strategy) will have this value as default bet size.

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 P&L By Strategy: when this option is on, the P&L, the Liability, and the Hedge buttons will be related to the strategy selected in that moment. Otherwise they show cumulative amounts. The user input is not affected by this option and remains always distinct per strategy.
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.
Invert BACK/LAY Frame: when this option is OFF a left click opens the BACK frame, a right click the LAY frame. When this option is ON the functionality is inverted.
Closed Market Focus: how many seconds the focus stays on a closed market.
Balance Include Liability: when this option is ON the balance shown in the main window, will include also the current liability.
Top Betting Frame Buttons: when this option is ON the hot buttons in the betting and hedging frames are moved on top of the frame. This option can speed-up manual betting.

Runners

Click Silk to Select Runner can speed up the check of a runner.
Horse weight in Kilograms to switch to the metrical system.
Update LP when In-Play: the column LP in the runner grid will be updated also during in play.

Database Maintaining

Shrink Hour compact DB at this hour of the day. The default is off.
Size Alert will show a popup message in the Markets Window when the db size will be greater than.
Market Expiration : races can be stored only for a certain amount of time, instead trades and bets are never canceled until the reset of the strategy.

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 changes the sounds replacing the WAV files that you can find in the program directory (C:\Program Files (x86)\Ipposnif).

API Configuration

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.

There are 4 categories of markets for the API configuration:
  1. Focus: The market (1) opened in the main window.
  2. In-Play: all the markets currently in play.
  3. Proximity: all the markets of events that are going to start. You can specify this time frame with the option Market proximity.
  4. Full loop: all the other markets.

These categories are split in two groups:

  • Best 5 Prices: prices are refreshed 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 refresh 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 refreshes the existing ones.
GetAccountFunds x min: How many refresh 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 refresh 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)

External Services

These fields can be used to integrate Ipposnif with external services, like for example score services or tips services.
You can find these values in 4 records ('servicea_key', 'servicea_refresh', '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.
  • 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.
  • dbusr: Database user name. It replaces the placeholder {dbusr} in the ipposnifdb_connection_string.
  • dbpwd: Database user password. It replaces the placeholder {dbpwd} in the ipposnifdb_connection_string.
  • connection_timeout: SQL connection timeout.
  • command_timeout: SQL command timeout.
  • masterdb_connection_string: Master database connection string.
  • ipposnifdb_connection_string: Ipposnif database connection string.
  • max_server_memory: Max SQL server allocated memory.
  • force_service_broker_creation: 1=create a new Service Broker every start. 0=Check if the last one created, is still working.
  • commonappdata_path: Common application data folder path.
  • system_drawing_path: Override the path to System.Drawing.dll
  • ApplicationInsights_path: Path to ApplicationInsights.dll
  • chm_path: Path to help file.
  • wav_bet: Path to wav file sound for bet.
  • wav_win: Path to wav file sound for win.
  • wav_inplay: Path to wav file sound for market going in-play.
  • start_stopped: 1=program starts with the service stopped (debug).
  • WinHttpRequestOption_SecureProtocols: restrict security protocols accepted by the client WinHttp.WinHttpRequest.5.1 (2048=TLS1.2 only)
  • WinHttpRequestOption_EnableRedirects: automatically redirect when the server specifies a new location for the resource 0=OFF 1=ON
  • WinHttpRequest_Timeout: common timeout for ResolveTimeout, ConnectTimeout, SendTimeout, ReceiveTimeout
  • ProxyServer: Use the proxy specified (for ex. 127.0.0.1:8888) If missing no proxy is used
  • ProxyServerUsername: ProxyServer username. If not specified no authentication is performed
  • ProxyServerPassword: ProxyServer password. If not specified no authentication is performed
  • 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
  • systrayicon: System Tray Icon. It can be: default|orange
  • block_freehand: if 1, once the free-hand strategy has been deactivated, it cannot be activated again without a restart. It can help with the discipline!
  • manage_errors: 0=the program stops on every error (debug).
  • log_only_errors: 1=program logs only errors.
  • mousewheel: enable mouse wheel support in the strategy configuration panel
  • start_configuration: Start configuration with bitwise on/off on 4 bits: 1=horse_racing 2=greyhounds 4=soccer 8=tennis
  • 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.