Zastil avatar

AI Crypto Bot

cheapproperty

Published: 19 Oct 2017 › Updated: 19 Oct 2017AI Crypto Bot

AI Crypto Bot

brainfuck.jpg

This is going to be a open source project using BrainFuck coding to create a bot that will trade on some of the most popular crypto exchanges like Bittrex. It is in the very early stages and I hope to get support from the community for creating this exciting project.

Coding with BrainFuck looks like a mess but it has shown to be the best programming language for AI (Artificial Intelligence) scripts. Recently a simple AI was written using BrainFuck to write out "Hi!"

As an example the code **+[>+<+++]+>------------.+<+++++++++++++++++++++++++++++++.>+++++++++++++++++++++++++ +++++++++.+++.+++++++.-----------------.--<.>--.+++++++++++..---<.>-.+++++++++++++.- -------.------------.+++++++++++++.+++++.**

Will write out: "I love all humans"

The Brainfuck programming language consists of eight commands, each of which is represented as a single character.

>   Increment the pointer.
<   Decrement the pointer.
+   Increment the byte at the pointer.
-   Decrement the byte at the pointer.
.   Output the byte at the pointer.
,   Input a byte and store it in the byte at the pointer.
[   Jump forward past the matching ] if the byte at the pointer is zero.
]   Jump backward to the matching [ unless the byte at the pointer is zero.

The semantics of the Brainfuck commands can also be succinctly expressed in terms of C, as follows (assuming that p has been previously defined as a char*):

>   becomes     ++p;
<   becomes     --p;
+   becomes     ++*p;
-   becomes     --*p;
.   becomes     putchar(*p);
,   becomes     *p = getchar();
[   becomes     while (*p) {
]   becomes     }

The first step it to get the full history of Bitcoin price data and run the AI bot on the data to find patterns that not noticed by humans that can predict price action on a chart and give signals via API to Bittrex to handle those trades.

Leave AI Crypto Bot to:

Written by

Web Developer, Bitcoin Investor and Property Finder

Read more #utopian-io posts


Best Posts From Zastil

We have not curated any of cheapproperty's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Zastil