Betfairutil

Latest version: v0.6.3

Safety actively analyzes 625095 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.6.3

Changed

* Handle markets which don't turn in play in get_last_pre_event_market_book_from_prices_file

0.6.2

Added

* datetime_to_publish_time function

0.6.1

Changed

* Handle None in publish_time_to_datetime

0.6.0

Added

* Order book related functions:
* calculate_available_volume (jorgegarcia7)
* get_mid_price
* Prices files related functions:
* get_inplay_publish_time_from_prices_file
* get_last_pre_event_market_book_from_prices_file
* get_total_volume_traded_from_prices_file
* Race stream related functions:
* calculate_haversine_distance_between_runners
* get_number_of_jumps_remaining
* get_race_leaders
* Race card related functions:
* get_is_jump_from_race_card

Changed

* Made get_final_market_definition_from_prices_file more efficient
* Race card extraction functions now work on both dictionaries and paths to files

0.5.1

Added

* Functions for working with MarketDefinition objects:
* create_market_definition_generator_from_prices_file
* get_all_market_definitions_from_prices_file
* get_winners_from_prices_file

Changed

* Use isinstance() wherever type() was being used
* Improved create_combined_market_book_and_race_change_generator
* Added type hint
* Added docstring
* Now generates pairs indicating which stream each object came from

0.5.0

Added

* Functions for working with RaceResult objects:
* get_bsp_from_race_result
* get_winners_from_race_result
* Functions for extracting BSP from different sources:
* get_bsp_from_market_definition
* get_bsp_from_prices_file
* Functions for working with marketTime:
* get_market_time_as_datetime
* get_seconds_to_market_time
* Functions for working with race files:
* create_combined_market_book_and_race_change_generator
* get_win_market_id_from_race_file
* Functions for extracting information from the order book:
* calculate_order_book_imbalance
* get_price_size_by_depth
* get_second_best_price_size
* get_second_best_price
* Functions for extracting market books and race changes at times of interest:
* get_market_books_from_prices_file
* get_minimum_book_percentage_market_books_from_prices_file
* get_race_change_from_race_file
* Other Functions:
* get_publish_time_from_object
* get_winners_from_market_definition

Changed

* Improved patching of open
* Arguments to prices_file_to_data_frame have changed to permit adding any desired marketDefinition field to the data frame

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.