Moderator: 2020vision
by ADDA » Sun May 16, 2010 1:45 pm
by osknows » Sun May 16, 2010 2:31 pm
by ADDA » Sun May 16, 2010 3:17 pm
by jokerjoe » Sun May 16, 2010 9:07 pm
by GaryRussell » Mon May 17, 2010 7:36 am
by ADDA » Mon May 17, 2010 8:26 am
string description = evnt.eventName + "(" + evnt.startTime + ")";
by laffo16 » Mon Jan 09, 2012 1:10 am
by GaryRussell » Mon Jan 09, 2012 8:16 am
by laffo16 » Mon Jan 09, 2012 10:14 pm
by laffo16 » Fri Jan 13, 2012 7:59 pm
by laffo16 » Fri Jan 13, 2012 10:02 pm
by laffo16 » Fri Jan 13, 2012 10:32 pm
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using BettingAssistantCom.Application;
namespace BA_COM_Test_C
{
public partial class Form1 : Form
{
private ComClass ba;
public Form1()
{
InitializeComponent();
ba = new ComClass();
}
private void button1_Click(object sender, EventArgs e)
{
BettingAssistantCom.Application.Balance bal;
Object[] sports;
Object[] events;
double diff;
String result;
bal = (Balance)ba.getBalance(1);
AvailableBalance.Text = "Available balance:" + bal.availBalance.ToString();
Balance.Text = "Balance:" + bal.balance.ToString();
Exposure.Text = "Exposure:" + bal.exposure.ToString();
sports = ba.getSports();
foreach (BfSport sport in sports) {
if (sport.sport == "Horse Racing - Todays Card") {
events = ba.getEvents(sport.sportId);
foreach (BfEvent evnt in events) {
System.TimeSpan TS = new System.TimeSpan(evnt.startTime.Ticks - DateTime.Now.Ticks);
diff = TS.TotalSeconds;
if (diff >= 0 && evnt.eventName.IndexOf("(") == -1) {
result = ba.openMarket(evnt.eventId, evnt.exchangeId);
eventName.Text = evnt.eventName + "(" + evnt.startTime + ")";
pricesUpdated();
break;
}
}
}
}
ba.refreshRate = 1;
}
public void pricesUpdated()
{
Object[] prices;
listBox1.Items.Clear();
prices = ba.getPrices();
foreach (Price priceItem in prices)
{
listBox1.Items.Add(priceItem.selection.PadRight(50,' ') + "\t" + priceItem.backOdds1);
}
}
}
}
The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.
Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.
Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.
He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.
We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.