Bitcoin Forum

Bitcoin => Project Development => Topic started by: bonesoul on November 09, 2017, 08:49:27 AM



Title: The hype∑ngine - Trading Tool & Platform [In Development]
Post by: bonesoul on November 09, 2017, 08:49:27 AM
What is The hype∑ngine?

The hype∑ngine 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 Handbook here; http://brain-book.readthedocs.io

Why?
====

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

How?
====

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

Here is a very short video showing it in action;

https://img.youtube.com/vi/MyzJKJeit1A/hqdefault.jpg (https://www.youtube.com/watch?v=MyzJKJeit1A)

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 hype∑ngine can read market data from hundres of possible cryptocoin exchanges. Yet again users can also develop their own market data reader programmatically and The hype∑ngine will be then executing it.

Yet again, The hype∑ngine 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 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 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 engine to calculated expected outcome & profit for a given set of actions. The 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 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 hype∑ngine 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.


Title: Re: Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: Carcoins on November 09, 2017, 08:59:01 AM
Potential project. Waiting for more information.


Title: Re: Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: bonesoul on November 09, 2017, 10:36:06 AM
thanks will keep you guys updated. good news is that development progress quite fast. expect a usable version soon.


Title: Re: Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: N0ssi on November 09, 2017, 12:23:17 PM
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.


Title: Re: Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: Whitly on November 09, 2017, 12:29:57 PM
Interesting..waiting when it will ready


Title: Re: Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: amishmanish on November 09, 2017, 12:34:44 PM
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?


Title: Re: Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: bonesoul on November 09, 2017, 01:39:23 PM
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 :) 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.


Title: Re: Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: bonesoul on November 10, 2017, 11:54:57 AM
Interesting..waiting when it will ready

hopefully not that long :)


Title: Re: The Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: drsglc on November 10, 2017, 05:29:14 PM
Sabırsızlıkla bekliyorum


Title: Re: The Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: bonesoul on November 10, 2017, 05:58:51 PM
sağolasın, inşallah kısa zaman sonra kullanılabilir hale gelecek :)


Title: Re: The Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: c-none on November 10, 2017, 06:18:20 PM
Awaiting for the project to go live!

Thank you.


Title: Re: The Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: bonesoul on November 12, 2017, 07:03:41 AM
nice to see great interest for it :) great motivation for me to work on.


Title: Re: The Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: prototype_nsx on November 13, 2017, 10:04:39 AM
I am interested in this project, happy to help with deployment and testing :)


Title: Re: The Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: bonesoul on November 13, 2017, 10:42:56 AM
my favorite book these days :)

https://images-na.ssl-images-amazon.com/images/I/51cRrFPQyBL._SX366_BO1,204,203,200_.jpg


Title: Re: The Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: CyberKuro on November 13, 2017, 12:12:00 PM
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.


Title: Re: The Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: bonesoul on November 13, 2017, 01:14:16 PM
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.




Title: Re: The Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: bonesoul on November 14, 2017, 07:04:09 AM
I am interested in this project, happy to help with deployment and testing :)

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


Title: Re: The Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: bonesoul on November 17, 2017, 12:33:53 PM
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.



Title: Re: The Brain - Arbitrage & Trade Helper Platform [In Development]
Post by: bonesoul on November 17, 2017, 03:21:50 PM
* Started working on the BrainBook documentation: http://brain-book.readthedocs.io/en/latest/, check it out!
* Updated the introduction post.


Title: Re: The Brain - Arbitrage & Trade Helper Tool & Platform [In Development]
Post by: bonesoul on November 20, 2017, 02:30:30 PM
here is a screenshot with latest progress;

https://image.ibb.co/dAf3k6/thebrain_3.jpg


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: STRAKS on November 20, 2017, 04:32:47 PM
Sounds pretty neat. All the best!


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: bonesoul on November 27, 2017, 11:29:20 AM
I reworked the UI completely. More progress is taken. Stay tuned..

https://image.ibb.co/j7Kv56/thebrain_4.jpg


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: bonesoul on November 28, 2017, 10:13:49 AM
I've worked on strategy executors view, here is a tiny video;

https://img.youtube.com/vi/MyzJKJeit1A/hqdefault.jpg (https://www.youtube.com/watch?v=MyzJKJeit1A)


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: Jake052478 on November 29, 2017, 01:51:02 AM
nice project out there. Something to look forward and it looks like promising.   I suggest you have to involve more and more of other cryptos in order for people to patronize your product.  This way, the more option the more people will entice with it.


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: bonesoul on November 30, 2017, 02:43:53 PM
thanks for your kind words.

I'm working on advanced strategies now;

You can develop a strategy that can match an exchanges pairs with a target exchanges (specific or filtered ones - ie, exchanges in UK). It'll then create the variants based on available paths on the fly.


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: bonesoul on December 03, 2017, 09:54:37 PM
Implemented even more exchanges, getting to a pre-release eventually :)


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: bonesoul on December 07, 2017, 12:17:34 PM
I've great news guys; @rethua joined the dev-team! We are getting closer and closer.
We'll also soon post a roadmap update. Stay tuned!


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: Crypto_buddah on December 07, 2017, 01:25:16 PM
Has someone already tried it? What are the results?


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: guardian55 on December 07, 2017, 01:55:58 PM
bende c++ öğrenme aşamasındayım. döngü ile ekrana şekiller çıkartıyorum  ;D. ai ile al sat botlarına hep hayran kalmıştım uygun stratejiler ile çok güzel kârlar elde edilebileceği için. fakat arbitraj botu ile de harika karlar elde edilebilir. zaten türk borsaları ani fiyat değişimlerinde çöktüğü için api erişimi ile güzel kârlar yakalamak mümkün. benim yaş henüz 18 elektrik elektronik 1. sınıf öğrencisiyim. yatırdığım 200 tl ile metalpay al sat yaparak güzel paralar kazandım. khan academy de ekonomi videoları izledim EMA Boolinger band kullanımlarını araştırdım. daha sonra metalde hodl yapayım derken fiyat gel sen bir düş 4 dolara en son para dengem 30 dolar :D dedim yazılıma yöneleyim. bu tarz bir proje için eğitim videoları da çekseniz keşke. henüz newbieyim ama merak var. cout<<"egitim videolari cek";


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: bonesoul on December 07, 2017, 03:41:14 PM
Wow this project has a huge potential. Hope once it goes live it would be friendly even for newbie in trading like me because this would be a really big help. Ill watch this thread for future uppdates. Thanks.

hopefully so! :)

Has someone already tried it? What are the results?

not possible yet as we are still working on the engine :) but hopefully soon!


Brain, bottan ziyade strateji gelistirebilecegin ve sonuclarını takip edebilecegin bir trade platformu. Bizde ilerleyen zamanlarda dediğin şekilde video çalışmaları yapmak istiyoruz.


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: guardian55 on December 07, 2017, 06:45:57 PM
bazen paribuda en düşük alış emri 65 bin tl iken 60 bin tl satış emri giren oluyor. bu gibi durumlarda hemen alım girebilme gibi bir fonksiyon eklenebilir. az önce karşılaştım bu olayla millet 66 binden satıyor biri 60 binden satış emri girdi ya :D az da değil hani 0.5 btc gibi bir rakamdı. sadece türk borsalarına özel bu da :P


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: Patatas on December 07, 2017, 07:17:20 PM
Interesting Project !
Why don't you make it open sourced for the community to customise it according to your needs ? I know you have to take care of the revenue model but you can keep a separate premium version for that.Myself being a programmer,if you open source the project you will get good contributions in terms of the look and feel making your project more user-friendly.

Not everybody is a fan of excel spreed-sheets.


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: Maxnetlabs on December 07, 2017, 07:51:53 PM
Interesting and very unique idea. Best of luck


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: Rahar02 on December 07, 2017, 08:12:17 PM
Has someone already tried it? What are the results?

not possible yet as we are still working on the engine :) but hopefully soon!

You've been developing this project for months, I guess. How many people on your team are working on it?
Seems there are too many people waiting for this project to be launched  :D especially for the free version.
Any estimated time for this tool be completed? Like a week or a month?


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: Sukut on December 07, 2017, 08:45:18 PM
Promising project, following. Bol sans.


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: bonesoul on December 08, 2017, 08:36:04 AM
Interesting Project !
Why don't you make it open sourced for the community to customise it according to your needs ? I know you have to take care of the revenue model but you can keep a separate premium version for that.Myself being a programmer,if you open source the project you will get good contributions in terms of the look and feel making your project more user-friendly.

Not everybody is a fan of excel spreed-sheets.

The project is already centered around being customizable by the end-user. Every bit except the core engine lives attached to Brain.Framework, so you can develop your custom programmatic strategy, data analyzer, opportunity analyzer, fiat converter or exchange reader easily using the API.

Interesting and very unique idea. Best of luck

Promising project, following. Bol sans.

thanks!

You've been developing this project for months, I guess. How many people on your team are working on it?
Seems there are too many people waiting for this project to be launched  :D especially for the free version.
Any estimated time for this tool be completed? Like a week or a month?

Initially started it during this summer as a proof-of-concept and like 2 months ago I've started working on it full-time. Right now we have 2 developers working on it. And no don't expect it a week or so, we need some more base work but I can easily say we are not far away from a pre-alpha release.


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: swedenrt on December 08, 2017, 11:24:47 PM
Nice project and good team it seems.


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: bonesoul on December 12, 2017, 08:33:23 AM
thanks!


Title: Re: The Brain - Trading Tool & Platform [In Development]
Post by: bonesoul on December 21, 2017, 08:01:57 PM
found a name for the project at last; HypeEngine -- "The hype∑ngine"


Title: Re: The hype∑ngine - Trading Tool & Platform [In Development]
Post by: jhdscript on December 21, 2017, 09:46:00 PM
Very interesting project. Fo you have a gît or any other deposit hub to check source code?


Title: Re: The hype∑ngine - Trading Tool & Platform [In Development]
Post by: bonesoul on December 21, 2017, 11:54:39 PM
Sorry not open source :/ (yet)