Hey all, (NEW GUY HERE!)
I'm currently attempting to analyse as much data as possible using the delayed key. This is to train a LightGBM model.
I've spent the last couple hours racking my brains as to why i'm not able to pick up some of the data!
(I believe this is because i'm using a delayed app key - but i can't find any documentation as to what I can and can't use other than):
-
For instance I want to access the Runnerbook SP values. i'm coding in the same way i access the EX values:
Examples below (Python betfairlightweight)
BELOW WORKS FINE
best_back_prices = [runner_book.ex.available_to_back[0].price
if runner_book.ex.available_to_back
else 1.01
for runner_book in runner_books]
BELOW ALWAYS RETURNS "NONE"
back_stake_taken_price = [runner_book.sp.back_stake_taken[0].price
if runner_book.sp.back_stake_taken
else None
for runner_book in runner_books]
What I would like to know is if anybody can give me a list of values available via the delayed key so I don't spend any more time down rabbit holes.
If anyone has any tips on the data indicators for price direction as well - this would massively help with my tree based model. (i'm currently 1% off breaking even with a limited data model!)
Regards,
Tommo
I'm currently attempting to analyse as much data as possible using the delayed key. This is to train a LightGBM model.
I've spent the last couple hours racking my brains as to why i'm not able to pick up some of the data!
(I believe this is because i'm using a delayed app key - but i can't find any documentation as to what I can and can't use other than):
-
The Delayed App Key does not return traded volume data 'totalMatched' or EX_ALL_OFFERS via listMarketBook.
For instance I want to access the Runnerbook SP values. i'm coding in the same way i access the EX values:
Examples below (Python betfairlightweight)
BELOW WORKS FINE
best_back_prices = [runner_book.ex.available_to_back[0].price
if runner_book.ex.available_to_back
else 1.01
for runner_book in runner_books]
BELOW ALWAYS RETURNS "NONE"
back_stake_taken_price = [runner_book.sp.back_stake_taken[0].price
if runner_book.sp.back_stake_taken
else None
for runner_book in runner_books]
What I would like to know is if anybody can give me a list of values available via the delayed key so I don't spend any more time down rabbit holes.
If anyone has any tips on the data indicators for price direction as well - this would massively help with my tree based model. (i'm currently 1% off breaking even with a limited data model!)
Regards,
Tommo


Comment