stuff1993 / ArbBetSystem

0 stars 0 forks source link

Only check events in next hour #1

Closed stuff1993 closed 7 years ago

stuff1993 commented 7 years ago

Use parameter to determine when to begin checking for arbs on an event. This will reduce calls to the api causing request limits

jordansidhom commented 7 years ago

If we can only request 1 event per second and we select 5 meetings each with 6-10 events (races) in them that is 30-50 events. Reducing to only checking 1 hour in advance of race start will reduce number of events needing checked to about 5-8 events. Dropping to 30 mins before race starts will reduce number of events to 3-5.

Unless we can group events into one request and then split up on our end.