numerapi
numerapi copied to clipboard
Python API and command line interface for the numer.ai machine learning competition
Calling numerapi.SignalsAPI().ticker_universe() results in ``` File "/home/guild/.local/share/virtualenvs/numerai_signals-U8JYJbZP/lib/python3.8/site-packages/numerapi/signalsapi.py", line 310, in ticker_universe path = self.download_dataset("signals/universe_public.csv") File "/home/guild/.local/share/virtualenvs/numerai_signals-U8JYJbZP/lib/python3.8/site-packages/numerapi/base_api.py", line 201, in download_dataset dataset_url = self.raw_query(query, args)['data']['dataset'] File "/home/guild/.local/share/virtualenvs/numerai_signals-U8JYJbZP/lib/python3.8/site-packages/numerapi/base_api.py", line 133, in raw_query...
it would be helpful to have something like this: get_daily_scores(model_id, round_num = None, day_num = None) which would return daily scores for that model (eventually filtered for specific round or...
added ability to fetch submissions from Numerai based on Root.submittions
afaik, this information is not provided in the API. should be straight-forward to compute
query { v3UserProfile(modelName: $modelName) { roundModelPerformances { roundNumber payout selectedStakeValue } } }
`stake_set` is missing from `SignalsAPI`, will `NumeraiAPI.stake_set` work if moved to the `BaseAPI`? There's a few more differences across NumeraiAPI and SignalsAPI as well,
I was a quick adopter of the "remove stakes" option as soon as they made it available. But it appears numerapi still assumes that compounding is part of the actual...
Query names are needed to help us monitor backend performance (since graphql queries all go to the same endpoint). Also added a couple new methods to use the new v3UserProfile...
logging
I find it kind of weird to pass a verbosity level on NumerAPI constructor, usually for a lib is recommended to attach a NullHandler [1] and let the consumer configure...
This adds some rudimentary .env file support. If `python-dotenv` is installed, it'll be used, otherwise it'll just load any existing .env files from the current directory, its parents, grandparents, and...