Simple prototype trading bot using Manifold API.
The strategy implemented here polls a market for updates and then bets the price will revert.
-
Clone the repository
-
Locate your Manifold API Key. You can find it in Your profile => Edit => Api key.
-
Create a
.env
file in the root directory with your api key, replacing thexxx
's, and your username.MANIFOLD_API_KEY=xxxxxxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx MANIFOLD_USERNAME=YourUsername MANIFOLD_MARKET_SLUG=slug-for-market
-
Install npm packages with
yarn
-
Run
yarn start
(Be careful! This bot will be placing trades with your mana.)
Feel free to fork and extend this bot with more advanced strategies!