Created
February 1, 2012 18:10
-
-
Save danielkorzekwa/1718398 to your computer and use it in GitHub Desktop.
Getting markets for calculating probabilities
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--get markets for calculating probabilities | |
select event_id,full_description,scheduled_off, selection_id,selection from markets where sports_id=2 and event='Match Odds' and full_description like'%/Mens%' order by event_id | |
--insert market probabilities to mssql | |
BULK | |
INSERT market_prob | |
FROM 'C:\daniel\betfair_data\tennis_prob_data.csv' | |
WITH | |
( | |
FIELDTERMINATOR = ',', | |
ROWTERMINATOR = '\n', | |
FIRSTROW=2 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment