Skip to content

stephengardner/pyredictit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyredictit

pyredictit is a wrapper for the public PredictIt API (https://predictit.freshdesk.com/support/solutions/articles/12000001878-does-predictit-make-market-data-available-via-an-api-). Running this module requires mechanicalsoup and Python 3.6.

**this can buy or sell shares using the money currently in your account. i am not responsible for any awful (or brilliant) trades you may accidentally or purposefully make with this wrapper. don't risk more than you can afford to lose. **

Things you can do with this currently are:

  • Buy or sell shares of contracts that you already own.
  • Check your current balance
  • Find out how much you'd make if you sold all of your shares in a market
  • Find out what you would make (or lose) depending on how the contract resolves
  • Summarize all of your current contracts.

TODO:

  • C O M M E N T S
  • T E S T S
  • Look up & purchase shares of contracts you don't currently own
  • Check volumes and current prices

About

python wrapper for the predictit API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published