Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@predictionvc/prediction-api
Advanced tools
We are proud to introduce our 1.0.0 version of Prediction Enterprise API. It is our first step to sharing our data with the world and being more transparent about our predictions, their accuracy and our fund trades and performance. In the case you are missing some data please drop us a line at enterprise@prediction.vc. We will be happy to answer your questions and implement new features for you. Platform FAQ
Check out the docs at https://enterprise.prediction.vc/docs
npm i @predictionvc/prediction-api
const PredictionApi = require('prediction_enterprise_api')
const defaultClient = PredictionApi.ApiClient.instance
// Configure API key authorization: Authorization
const Authorization = defaultClient.authentications['Authorization']
Authorization.apiKey = "YOUR API KEY"
const api = new PredictionApi.FundApi()
const opts = {
'entry': '2018-09-01', // {Date} entry date for trades
'exit': '2018-09-01', // {Date} exit date for trades
'direction': 'short' // {String} short/long
}
api.fundTradesGet(opts)
.then(data => {
console.log('API called successfully. Returned data: ')
console.log(data)
})
.catch(error => {
console.error(error)
})
All URIs are relative to https://enterprise.prediction.vc/api/
Class | Method | HTTP request | Description |
---|---|---|---|
PredictionApi.FundApi | fundTradesGet | GET /funds/trades | Prediction Fund trade data |
PredictionApi.FundApi | fundsTradesPairsGet | GET /funds/trades/tokens | Traded tokens |
PredictionApi.HistoricalApi | historicalGet | GET /historical | Historical Data |
PredictionApi.OHLCApi | ohlcGet | GET /ohlc | OHLC Data |
PredictionApi.PredictionsApi | predictionsAccuracyGet | GET /predictions/accuracy | Accuracy |
PredictionApi.PredictionsApi | predictionsGet | GET /predictions | Predictions |
PredictionApi.PredictionsApi | predictionsTokensGet | GET /predictions/tokens | Tokens |
FAQs
Prediction Enterprise API sdk in Javascript
The npm package @predictionvc/prediction-api receives a total of 6 weekly downloads. As such, @predictionvc/prediction-api popularity was classified as not popular.
We found that @predictionvc/prediction-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.