Bitcoin Forum
November 25, 2017, 06:17:40 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 »  All
  Print  
Author Topic: The Brain - Trading Tool & Platform [In Development]  (Read 693 times)
bonesoul
Sr. Member
****
Offline Offline

Activity: 375


View Profile WWW
November 09, 2017, 08:49:27 AM
 #1

What is The Brain?

The Brain is tool for crypto-currency markets aiming to help with users trading activities. It features programmatic, config based and on-the-fly strategies, data and opportunity analyzers.



Documentation
===============

You can check the latest version of the documentation BrainBook here; http://brain-book.readthedocs.io

Why?
====

As trading hundreds of cryptocoins in tens of markets could be really hard for users, The Brain aims to help with decision taking by presenting the user best possible summarized information.

How?
====

The Brain consists of multiple parts for use; The UI and Engine. The Brain Engine is responsible for running everything behind the curtain including reading & analyzing market data and processing it with opportunity analyzers & strategies.

Current Features
================

  • Tens of ready to use exchanges.
  • Fiat rate conversion support.
  • Configuration based, programmatic and on-the-fly strategies
  • Data & opportunity analyzers
  • Detailed strategy execution logs.
  • Exchange fee calculation support.
  • Time to execute strategy - calculates the total time needed for coin transfers.

Market Data
============

The Brain can read market data from hundres of possible cryptocoin exchanges. Yet again users can also develop their own market data reader programmatically and The Brain will be then executing it.

Yet again, The Brain can read from fiat conversion API's available through the web to execute cross-fiat conversions.

Data Analyzers
===============

Once the market data from all available sources are read, The Brain Engine will then will start executing the available data-analyzer modules.

A data analyzer is a basic module that can read, process and finally manipulate the data from markets.

As an example MergedMarketsForPairs data analyzer merges all currency pairs within the market data and will then find each market with best ask & bid prices.

Opportunity Analyzers
======================

Once data analyzers are all processed, The Brain Engine will move on executing opportunity analyzers.

An opportunity analyzers is a basically another type of module that has access to results from data analyzers.

They can basically take the results and check for any outstanding opportunities for the current market state.

As an example, a simple opportunity analyzer can read from the previous MergedMarketsForPairs data analyzer's results and calculate if any outstanding opportunities stand for available currency pairs, in which our case buying from the lowest ask market and selling it back in highest bid market would be one.

As well as presenting the user percentage profit, the opportunity analyzer can then create a on-the-fly strategy which will be then later executed and calculate the exact outcome.

Strategies
===========

Strategies are basically executed by The Brain Engine to calculated expected outcome & profit for a given set of actions. The Brain Engine can run 3 kind of strategies;

- Configuration based strategies
- Programmatic strategies
- On-the-fly strategies.

Configuration based
=====================

Configuration based strategies are simple YAML markup based strategies. Although it has a pretty basic syntax, it can easly handle the most basic tasks for creating simple strategies.

Code:
name: TR markets - BTC
description: BTC strategy for Turkish markets
region: TR
author: Bonesoul
version: 1.0
enabled: true

defaults:
  input: &input 1000 USD# default input amount

variants:

    - name: Koinim > Paribu
      description: Buy BTC [Koinim] > Sell BTC [Paribu]
      exec:
        - cashin: # Cash in USD to Koinim.
          - market: Koinim
          - amount: *input
        - buy: BTC # Buy BTC using USD
        - transfer: Paribu # Transfer Btc to Paribu.
        - sell: TRY # Sell BTC for USD.
        - cashout: # Cash out USD.

The above strategy will basically execute these actions;

  • The above strategy will basically cash in 1000 USD to Bitcoin exchange called Koinim.
  • Will buy Bitcoin with all it's fiat.
  • Transfer Bitcoins to another exchange called Paribu
  • Will sell all the BTC
  • Will cash out from the market

Programmatic
==============

Programmatic strategies are custom developed strategies by the user with C# or any other .Net based language. They are far more powered compared to Configuration based strategies as the user will be able to develop virtually every possible trading & arbitrage strategy.

As an example, the code below executes the same above strategy;

Code:
using System;
using System.Collections.Generic;
using LibBrain.Finance.Currencies;
using LibBrain.Finance.Generic;
using LibBrain.Strategies.Programmatic;
using LibBrain.Strategies.Variants;
using LibBrain.Strategies.Variants.Programmatic;

namespace TheBrain.Strategies
{
    [Serializable]
    public class Strategy : IProgrammaticStrategy
    {
        public string Name { get; }

        public string Author { get; }

        public List<IVariant> Variants { get; }

        readonly FiatCurrency _usd = new FiatCurrency("USD");
        readonly CoinCurrency _btc = new CoinCurrency("BTC");

        public Strategy2()
        {
            Name = "TR markets - BTC";
            Author = "Bonesoul";
            Variants = new List<IVariant>();
        }

        public void Load()
        {
            var variant = new ProgrammaticVariant(this, "Koinim -> Paribu");
            variant1.Execute = new Action(() =>
            {
                variant.CashIn("Koinim", new Amount(_usd, 1000));
                variant.Buy(_btc);
                variant.Transfer("Paribu");
                variant.Sell(_usd);
                variant.CashOut();
            });

            Variants.Add(variant);
        }
    }
}

Yet again it will execute the same actions as above configuration based strategy.

On-the-fly
==========

On-the-fly strategies are strategies that are not created by the user but The Brain Engine itself based on current market oppurtunities.
Once the market data is read and processed by data analyzers, a oppurtunity analyzer that can evaluate possible profit opportunities within the markets and if so, it can dynamically create a suitable on-the-fly strategy for it.

The basic workflow for On-the-fly strategies is;

  • The Brain Engine will read data from markets.
  • Available data analyzers will be executed where they will process the market data.
  • Opportunity analyzers will be evaluating the outcome from data analyzers. Once an opportunity is found, it'll present the user percentage profit and create a on-the-fly strategy utilizing it to exactly calculate the expected outcome.

Planned Features
=============

  • Visual strategy designer.
  • Strategy discovery engine.
  • Trade volume support.


Supported exchanges
==================

  • Bitfinex
  • Lykke
  • Btcturk
  • Paribu
  • Koinim
  • .. even more..

More

The software is still in development but we would like to see the feedback of the community.

1511590660
Hero Member
*
Offline Offline

Posts: 1511590660

View Profile Personal Message (Offline)

Ignore
1511590660
Reply with quote  #2

1511590660
Report to moderator
1511590660
Hero Member
*
Offline Offline

Posts: 1511590660

View Profile Personal Message (Offline)

Ignore
1511590660
Reply with quote  #2

1511590660
Report to moderator
1511590660
Hero Member
*
Offline Offline

Posts: 1511590660

View Profile Personal Message (Offline)

Ignore
1511590660
Reply with quote  #2

1511590660
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511590660
Hero Member
*
Offline Offline

Posts: 1511590660

View Profile Personal Message (Offline)

Ignore
1511590660
Reply with quote  #2

1511590660
Report to moderator
1511590660
Hero Member
*
Offline Offline

Posts: 1511590660

View Profile Personal Message (Offline)

Ignore
1511590660
Reply with quote  #2

1511590660
Report to moderator
1511590660
Hero Member
*
Offline Offline

Posts: 1511590660

View Profile Personal Message (Offline)

Ignore
1511590660
Reply with quote  #2

1511590660
Report to moderator
Carcoins
Newbie
*
Offline Offline

Activity: 14


View Profile
November 09, 2017, 08:59:01 AM
 #2

Potential project. Waiting for more information.
bonesoul
Sr. Member
****
Offline Offline

Activity: 375


View Profile WWW
November 09, 2017, 10:36:06 AM
 #3

thanks will keep you guys updated. good news is that development progress quite fast. expect a usable version soon.

N0ssi
Jr. Member
*
Offline Offline

Activity: 42

https://freebitco.in/?r=5062823 | Sharing bonus


View Profile
November 09, 2017, 12:23:17 PM
 #4

Great idea, i will be watching this Project. If you need someone to test or review your product at any time, feel free to contact me.

Whitly
Sr. Member
****
Offline Offline

Activity: 292



View Profile WWW
November 09, 2017, 12:29:57 PM
 #5

Interesting..waiting when it will ready

ZIGGER      ███
  ███ ███
█ ███ ███
█ ███ ███
     ███
███ ███
███ ███
  ███ ███
███ ███
███ ███
███     █
███ ███
███
A Decentralized Crypto Marketplace
____ for Localized Shopping ____
[|FACEBOOK
TWITTER
SLACK
|ICO  ▶  13th November 2017
GET YOUR 40% BONUS
IN FIRST 24 HOURS!
]      ███
  ███ ███
█ ███ ███
█ ███ ███
     ███
███ ███
███ ███
  ███ ███
███ ███
███ ███
███     █
███ ███
███
amishmanish
Member
**
Offline Offline

Activity: 112

Proof-of-Asset Protocol


View Profile
November 09, 2017, 12:34:44 PM
 #6

Eagerly waiting for this @Bonesoul. A normal user would need to have some programming experience for this or they can use it directly. In any case, this is really interesting.
How and when do you plan to release it?

| World Fintech Startups | Microsoft Azure Partner | $1,5 M Raised During pre-ICO |
     BANKEX - Proof-of-Asset Protocol    
| WHITE PAPER | BLOGSLACKTELEGRAMBITCOINTALKGITHUBTWITTERYOUTUBEFACEBOOK |☰
bonesoul
Sr. Member
****
Offline Offline

Activity: 375


View Profile WWW
November 09, 2017, 01:39:23 PM
 #7

Eagerly waiting for this @Bonesoul. A normal user would need to have some programming experience for this or they can use it directly. In any case, this is really interesting.

Basically you need no programming experience at all Smiley As you can see below, you can create strategies even using configuration files -- which has a pretty basic yaml syntax.

Code:
name: TR markets - BTC
description: BTC strategy for Turkish markets
region: TR
author: Bonesoul
version: 1.0
enabled: true

defaults:
  input: &input 1000 USD# default input amount

variants:

    - name: Koinim > Paribu
      description: Buy BTC [Koinim] > Sell BTC [Paribu]
      exec:
        - cashin: # Cash in USD to Koinim.
          - market: Koinim
          - amount: *input
        - buy: BTC # Buy BTC using USD
        - transfer: Paribu # Transfer Btc to Paribu.
        - sell: TRY # Sell BTC for USD.
        - cashout: # Cash out USD.

How and when do you plan to release it?

Basically the core engine is mostly done, YAML & programmatic strategies are all loaded & executed. I'm implementing cryptocoin data sources now -- and best of all user will be also create their own data sources. UI still needs a bit more work.

Once we feel confident enough, we'll be selecting few testers for our initial alpha releases.

Great idea, i will be watching this Project. If you need someone to test or review your product at any time, feel free to contact me.

Great will post here once we get the alpha up and running.

bonesoul
Sr. Member
****
Offline Offline

Activity: 375


View Profile WWW
November 10, 2017, 11:54:57 AM
 #8

Interesting..waiting when it will ready

hopefully not that long Smiley

drsglc
Newbie
*
Offline Offline

Activity: 1


View Profile
November 10, 2017, 05:29:14 PM
 #9

Sabırsızlıkla bekliyorum
bonesoul
Sr. Member
****
Offline Offline

Activity: 375


View Profile WWW
November 10, 2017, 05:58:51 PM
 #10

sağolasın, inşallah kısa zaman sonra kullanılabilir hale gelecek Smiley

c-none
Full Member
***
Offline Offline

Activity: 126


View Profile
November 10, 2017, 06:18:20 PM
 #11

Awaiting for the project to go live!

Thank you.
bonesoul
Sr. Member
****
Offline Offline

Activity: 375


View Profile WWW
November 12, 2017, 07:03:41 AM
 #12

nice to see great interest for it Smiley great motivation for me to work on.

prototype_nsx
Newbie
*
Offline Offline

Activity: 28


View Profile
November 13, 2017, 10:04:39 AM
 #13

I am interested in this project, happy to help with deployment and testing Smiley
bonesoul
Sr. Member
****
Offline Offline

Activity: 375


View Profile WWW
November 13, 2017, 10:42:56 AM
 #14

my favorite book these days Smiley


CyberKuro
Hero Member
*****
Offline Offline

Activity: 602


View Profile
November 13, 2017, 12:12:00 PM
 #15

The Brain : calculate hundreds of strategies
Seems promising for traders and many people in crypto-world.
I'm curious how it will be, as it's a great platform and suitable for everyone even for someone without programming experience at all, right?
Supported exchanges:
Bitfinex
Lykke
Btcturk
Paribu
Koinim


Are these exchanges in Turkey?
Do you plan to provide it for free or we have to pay fees to use this platform?
Thank you.
bonesoul
Sr. Member
****
Offline Offline

Activity: 375


View Profile WWW
November 13, 2017, 01:14:16 PM
 #16

Hi there.

Seems promising for traders and many people in crypto-world.

Thanks for your kind words.

I'm curious how it will be, as it's a great platform and suitable for everyone even for someone without programming experience at all, right?

For sure, with C# knowledge you can expect infinite possibilites, like an API below.

GetMostProfitableCoin() -> which will evaluate all coins in all known exchanges and return you the results
GetMostProfitableCoinBetween(Exchange1, Exchange2) -> will evaluate the best coin to trade between.

and so on.. I'm working on the API right now and with the Framework Design Guidelines, I want it to best possible experience.

For the ones without any programming experience it'll have 2 options;

1) Configuration based strategies (check the first post)
2) Visual strategy designer. (like basic game engines where you can program basic stuff visually)

Are these exchanges in Turkey?

The first 3 are yes, i initially started with them but don't expect it to be the final list. I'll be adding implementations for most exchanges and possibly the user will be able to program data importer for any exchange too.

Do you plan to provide it for free or we have to pay fees to use this platform?

Although there is no final decision we have taken yet, most probably we'll have a free version where you'll be able to X implement strategies. For more a license have to be purchased.



bonesoul
Sr. Member
****
Offline Offline

Activity: 375


View Profile WWW
November 14, 2017, 07:04:09 AM
 #17

I am interested in this project, happy to help with deployment and testing Smiley

will let people know once we got a test version up and ready

bonesoul
Sr. Member
****
Offline Offline

Activity: 375


View Profile WWW
November 17, 2017, 12:33:53 PM
 #18

Started working on data-analyzers, opportunity-analyzers and on-the-fly strategies. I've added a basic explanation for them on main post.

The progress is going and expect a big progress update post soon with more screenshots & videos.


bonesoul
Sr. Member
****
Offline Offline

Activity: 375


View Profile WWW
November 17, 2017, 03:21:50 PM
 #19

* Started working on the BrainBook documentation: http://brain-book.readthedocs.io/en/latest/, check it out!
* Updated the introduction post.

bonesoul
Sr. Member
****
Offline Offline

Activity: 375


View Profile WWW
November 20, 2017, 02:30:30 PM
 #20

here is a screenshot with latest progress;


Pages: [1] 2 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!