{"componentChunkName":"component---src-templates-project-js","path":"/projects/octopus/","result":{"data":{"projectInfo":{"childJsonData":{"identifier":"octopus","name":"Octopus","type":"SoftwareApplication","applicationCategory":"Finance","title":"Octopus | Crypto-Trading Bot","subtitle":"Crypto-Trading Bot","headline":"Crypto-Trading Bot","description":"A bot that continually buys and sells cryptocurrencies, following simple rebalancing strategies.","technologies":{"server":["Node.js"],"data":null,"hosting":["Heroku"],"frameworks":null,"frontEnd":null,"libraries":null},"inLanguage":"en","url":null,"github":null,"dateCreated":"2018","license":"https://opensource.org/licenses/MIT","keywords":["Cryptocurrency","Trading","Bot"]}},"image":{"publicURL":"/static/b752e1ec53701d1c562540e86d323790/tile-image.png"},"mainDescription":{"identifier":"main-description","articleSection":"octopus","relativePath":"octopus/main-description.md","childMarkdownRemark":{"html":"<p>Octopus is a crypto trading bot I created for fun in 2018. It is managing my initial investment of 50€ on <a href=\"https://pro.coinbase.com/\" target=\"_blank\" rel=\"noopener noreferrer\">Coinbase</a>.</p>\n<h2 id=\"backstory\" style=\"position:relative;\"><a href=\"#backstory\" aria-label=\"backstory permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Backstory</h2>\n<p>A couple of years ago I made an extremely lucky investment in <a href=\"https://ethereum.org/\" target=\"_blank\" rel=\"noopener noreferrer\">Ether</a>, which allowed me to buy a <a href=\"/projects/octopus/vw-t3.jpg\">VW T3 van</a> with my girlfriend. A very instructive journey in terms of trading, psychology and finance!</p>\n<p>I had some spare time in 2018 and wanted to get practice in interacting with external APIs. I still had a <a href=\"https://pro.coinbase.com/\" target=\"_blank\" rel=\"noopener noreferrer\">Coinbase</a> account and they have a very friendly <a href=\"https://developers.coinbase.com/\" target=\"_blank\" rel=\"noopener noreferrer\">API documentation</a>, so this seemed like an interesting challenge.</p>\n<p>Octopus has been trading ever since…</p>\n<p>A friend thought this was fun too and threw in 50€. If Octopus is successful we’ll go on holiday!</p>\n<hr>\n<p><strong>Note</strong>: I’m working on a little page to visualize the trading history and check how the bot is doing…</p>","frontmatter":{"name":null,"title":"","headline":null,"description":null,"dateCreated":null,"dateModified":null,"datePublished":null,"keywords":null},"wordCount":{"wordCount":141},"internal":{"articleBody":"Octopus is a crypto trading bot I created for fun in 2018. It is managing my initial investment of 50€ on <a href=\"https://pro.coinbase.com/\" target=\"_blank\" rel=\"noopener noreferrer\">Coinbase</a>.\n\n## Backstory\n\nA couple of years ago I made an extremely lucky investment in <a href=\"https://ethereum.org/\" target=\"_blank\" rel=\"noopener noreferrer\">Ether</a>, which allowed me to buy a [VW T3 van](/projects/octopus/vw-t3.jpg) with my girlfriend. A very instructive journey in terms of trading, psychology and finance!\n\nI had some spare time in 2018 and wanted to get practice in interacting with external APIs. I still had a <a href=\"https://pro.coinbase.com/\" target=\"_blank\" rel=\"noopener noreferrer\">Coinbase</a> account and they have a very friendly <a href=\"https://developers.coinbase.com/\" target=\"_blank\" rel=\"noopener noreferrer\">API documentation</a>, so this seemed like an interesting challenge.\n\nOctopus has been trading ever since...\n\nA friend thought this was fun too and threw in 50€. If Octopus is successful we'll go on holiday!\n\n---\n\n**Note**: I'm working on a little page to visualize the trading history and check how the bot is doing...\n"}},"fields":null},"technicalDescription":{"identifier":"technical-description","articleSection":"octopus","relativePath":"octopus/technical-description.md","childMarkdownRemark":{"html":"<p>The server runs in <a href=\"https://nodejs.org/en/\" target=\"_blank\" rel=\"noopener noreferrer\">Node.js</a> and does not rely on any libraries other than the <a href=\"https://nodejs.org/api/modules.html\" target=\"_blank\" rel=\"noopener noreferrer\">core modules</a>. The interaction with coinbase is managed through my own API-wrapper, freely inspired from the official <a href=\"https://github.com/coinbase/coinbase-node\" target=\"_blank\" rel=\"noopener noreferrer\">coinbase-node</a> library.</p>\n<p>The trading strategy tries to take advantage of market volatility by following simple rebalancing principles.</p>\n<p>I haven’t made the repository public for security issues.</p>","frontmatter":{"name":null,"title":"","headline":null,"description":null,"dateCreated":null,"dateModified":null,"datePublished":null,"keywords":null},"wordCount":{"wordCount":58},"internal":{"articleBody":"The server runs in <a href=\"https://nodejs.org/en/\" target=\"_blank\" rel=\"noopener noreferrer\">Node.js</a> and does not rely on any libraries other than the <a href=\"https://nodejs.org/api/modules.html\" target=\"_blank\" rel=\"noopener noreferrer\">core modules</a>. The interaction with coinbase is managed through my own API-wrapper, freely inspired from the official <a href=\"https://github.com/coinbase/coinbase-node\" target=\"_blank\" rel=\"noopener noreferrer\">coinbase-node</a> library.\n\nThe trading strategy tries to take advantage of market volatility by following simple rebalancing principles.\n\nI haven't made the repository public for security issues.\n"}},"fields":null}},"pageContext":{"name":"octopus","dirRegex":"/octopus/?$/"}},"staticQueryHashes":["1087950214","2076717385","2076717385","245137429","245137429","2892563244"]}