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
def sync_bets_for_event( | |
betfair_client, | |
betfair_markets, | |
proposed_bets | |
): | |
''' | |
Make a best effort to synchronize proposed bets with Betfair. | |
Arguments: | |
betfair_client - betfairlightweight instance with which to interface with Betfair |
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
import json | |
import pandas as pd | |
import requests | |
AI_ABACUS_SIMULATOR_URL = '' | |
AI_ABACUS_API_KEY = '' | |
def make_simulator_request(ply_ids, tme_id, style_id): | |
""" | |
Sychronously queries the AI Abacus Simulator API for the specified players and team |
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
### Keybase proof | |
I hereby claim: | |
* I am timxyz on github. | |
* I am timxyz (https://keybase.io/timxyz) on keybase. | |
* I have a public key whose fingerprint is FBD2 12A2 7A9E C7B6 5230 CCA6 7714 2343 385C 4869 | |
To claim this, I am signing this object: |