Bitcoin Forum

Bitcoin => Project Development => Topic started by: sal002 on September 08, 2013, 05:09:50 PM



Title: Open Source Trading Platform
Post by: sal002 on September 08, 2013, 05:09:50 PM
With the birth of the thousands of exchanges each day, I thought it would be good to get up a trading platform.  While this is clearly a work in progress, I managed to get the old openforexplatform (http://web.archive.org/web/20110806121721/http://www.openforexplatform.com/), and put the source code for it in github (https://github.com/dwmcqueen/opencryptoplatform).


My first task is to get the integration working with one of the exchanges (luckily I have the data feed, if necessary : ).

If anyone is interested in poking around or assisting, please let me know



Title: Re: Open Source Trading Platform
Post by: daybyter on September 09, 2013, 01:28:09 PM
Wouldn't it be easier to start with the Intersango sources, or so?

I'm thinking about an exchange, too, and already did some work. But I'm no security expert and I'm not allowed to host such a service in my country, so this project is stalled for now...


Title: Re: Open Source Trading Platform
Post by: sal002 on September 09, 2013, 01:51:43 PM
This is a graphical front-end for traders that will connect to a specified exchange.  The OpenForexPlatform was pretty well developed (even had some expert advisors you could run on it) prior to its development ceasing as a result of it being transformed into a full blown commercial product. 



Title: Re: Open Source Trading Platform
Post by: daybyter on September 09, 2013, 02:11:24 PM
I think the OpenBitcoinTrader project wants to implement something similar?

I also implemented a trading window in my app...

https://i.imgur.com/MqHfF.jpg


Title: Re: Open Source Trading Platform
Post by: sal002 on September 09, 2013, 02:14:55 PM
I think it is similar and will reach out.  The good thing about this is the code for a working platform is already available.

I am working on updating the code a bit and fixing one of the integrations.  Once that is done, I want to implement one of the exchange APIs and we should be off and running on a platform that already has technical analysis AND the ability to write trading systems.


Title: Re: Open Source Trading Platform
Post by: daybyter on September 09, 2013, 02:22:22 PM
I also implemented some exchange API (although not all of them complete). Maybe it helps you:

https://github.com/ReAzem/cryptocoin-tradelib/tree/master/modules


Title: Re: Open Source Trading Platform
Post by: sal002 on September 09, 2013, 02:35:58 PM
I also implemented some exchange API (although not all of them complete). Maybe it helps you:

https://github.com/ReAzem/cryptocoin-tradelib/tree/master/modules

That does help!  I could use http://www.ikvm.net/ for it.


Title: Re: Open Source Trading Platform
Post by: sal002 on September 09, 2013, 03:08:28 PM
A little screenshot of the earlier platform:

http://i1-win.softpedia-static.com/screenshots/Open-Forex-Platform_1.png


Title: Re: Open Source Trading Platform
Post by: muyuu on September 09, 2013, 05:32:35 PM
Following.


Title: Re: Open Source Trading Platform
Post by: sal002 on September 09, 2013, 05:39:09 PM
I think the biggest issue will be the pricing feeds......


Title: Re: Open Source Trading Platform
Post by: sal002 on September 10, 2013, 04:07:15 PM
Should have it set-up against the MT4 for BTC-e shortly.

Are their any established C# / .Net libraries for accessing the exchanges?


Title: Re: Open Source Trading Platform
Post by: ANX_Geek on September 11, 2013, 03:50:33 AM
I like the looks of this initiative and would be happy to help from the exchange end perspective.

We have a gox compatible rest api but would like to provision something a bit more robust such a FIX or messaging based solution.

Please let me know if there is anything that would help from the exchange / API end.



Title: Re: Open Source Trading Platform
Post by: sal002 on September 11, 2013, 03:11:38 PM
I like the looks of this initiative and would be happy to help from the exchange end perspective.

We have a gox compatible rest api but would like to provision something a bit more robust such a FIX or messaging based solution.

Please let me know if there is anything that would help from the exchange / API end.



That would be great!  I need to get a connection outside of MetaTrader working and any help you can provide is appreciated!


Title: Re: Open Source Trading Platform
Post by: defaced on September 16, 2013, 03:45:27 PM
sal for president! Anyway i can send some FRK your way good sir?


Title: Re: Open Source Trading Platform
Post by: sal002 on September 16, 2013, 04:10:39 PM
sal for president! Anyway i can send some FRK your way good sir?

Well - let me make more progress here.  Had an issue with the MetaTrader intergration that requires a bit of work.

But, saying that, really need to get this hooked up to a BTC exchange.  The MT4 bt was just a proof-of-concept piece of work.


Title: Re: Open Source Trading Platform
Post by: sal002 on October 08, 2013, 03:44:29 PM
Well, the MT4 integration piece is broken, so just cutting thru the layer and seeing if we can hook this up to a current BTC exchange.  Should have screenshots soon of charting on of the BTC exchanges :)


Title: Re: Open Source Trading Platform
Post by: sal002 on October 11, 2013, 01:52:42 PM
As a proof of concept, we managed to get the platform to connect to BTER and pull in trades (and draw candles).  Needs a bit more tweaks to pull in historical data, but the process should be easily applied to other brokers.  Working on cleaning it up a bit and then adding in trading functions (which actually shouldn't be too hard).
https://i.imgur.com/M3RzAnd.jpg


Title: Re: Open Source Trading Platform
Post by: sal002 on November 09, 2013, 05:36:32 PM
Okay - I will be putting the code up tonight and now working on expanding this to be more user friendly, but have it hooked to BTER.

More eye candy:

https://i.imgur.com/8pJ7U2j.png


Title: Re: Open Source Trading Platform
Post by: cxboyminer on November 09, 2013, 06:23:05 PM
I like the idea of it. However I have no idea how to program using C family (trying to learn C++ though).

I could help some HTML if you want me to?


Title: Re: Open Source Trading Platform
Post by: bluemeanie1 on November 09, 2013, 06:25:12 PM
The project I'm working on can, and will, be used for a multipurpose asset exchange.

https://docs.google.com/document/d/1cKlN55wX7n0SLvxidLoFVrJnNMJO-Iefr8bVyeHBseg/edit?usp=sharing

That is it's very basic use case, although it can do much much more(eg. Bond Auctions).  Generally people can form their own exchanges that span legal jurisdictions.

Most important it is:

1) DISTRIBUTED.  No central point of failure.  

2) SIMPLE.  Very easy to modify and extend.

3) OPEN SOURCE.

http://www.altchain.org


Title: Re: Open Source Trading Platform
Post by: sal002 on November 09, 2013, 06:47:47 PM
The project I'm working on can, and will, be used for a multipurpose asset exchange.

https://docs.google.com/document/d/1cKlN55wX7n0SLvxidLoFVrJnNMJO-Iefr8bVyeHBseg/edit?usp=sharing

That is it's very basic use case, although it can do much much more(eg. Bond Auctions).  Generally people can form their own exchanges that span legal jurisdictions.

Most important it is:

1) DISTRIBUTED.  No central point of failure.  

2) SIMPLE.  Very easy to modify and extend.

3) OPEN SOURCE.

http://www.altchain.org


Nice - wonder if there is some integration we can do.  This is also open source and a trading platform to provide automated systems, graphing, etc.


Title: Re: Open Source Trading Platform
Post by: bluemeanie1 on November 09, 2013, 06:52:34 PM
The project I'm working on can, and will, be used for a multipurpose asset exchange.

https://docs.google.com/document/d/1cKlN55wX7n0SLvxidLoFVrJnNMJO-Iefr8bVyeHBseg/edit?usp=sharing

That is it's very basic use case, although it can do much much more(eg. Bond Auctions).  Generally people can form their own exchanges that span legal jurisdictions.

Most important it is:

1) DISTRIBUTED.  No central point of failure.  

2) SIMPLE.  Very easy to modify and extend.

3) OPEN SOURCE.

http://www.altchain.org


Nice - wonder if there is some integration we can do.  This is also open source and a trading platform to provide automated systems, graphing, etc.

There is Buttercoin, and that appears to be a fairly extensive HFT platform, but it's not decentralized.

Confidence Chains give you a lot of things that are very appealing to the bitcoin world.  It's very simple, easy to modify and customize, and anyone can get together with their friends and run an exchange, issue assets, bonds, and much more(explained in upcoming papers).  You can just search on 'Confidence Chains' here and you can see the other stuff I posted.  It's very close to Color Coins and I contribute to those discussions on here and elsewhere.

The underlying problems of coordinating trades over a WAN is not simple by any means and should not be underestimated.

I will announce on here what the timeframes look like.  Eventually anyone will be able to run their own decentralized exchange.


Title: Re: Open Source Trading Platform
Post by: bluemeanie1 on November 09, 2013, 07:06:44 PM
oh and btw- Im absolutely in favor of teaming up with other people.  For now Im concentrated on the reference implementation for Confidence Chains.  This basic tool gives you a lot, namely decentralized ledger that can be used for MANY interesting things.  My hopes are that others pick up on this and implement powerful ideas, and you can do a lot of cool things with Confidence Chains.

Color Coins seems to be my nearest neighbor, and I try to be as respectful as possible.  We do appear to be competing on how to solve this Asset Issuance problem.  The main difference is that I don't use the main block chain.  You get a lot of advantages when you do this.  Color Coins works theoretically, but I think it's final expression will be a code management and performance nightmare.  Check the BitcoinX list for details on my argument.

how to issue bonds and credit using Confidence Chains:

https://docs.google.com/document/d/1BcFv1UYPK3AOLrcL0ujiIzhr-c7fcs8mY9pASIlI8hM/edit?usp=sharing

one interesting thing about my project is that I have the chance to refactor and reengineer some of the known problems with Bitcoin.  It doesnt use 'mining' at all, instead it has a distributed architecture(zero trust vs. many trust).  You can do incredibly powerful things with this basic technology.  It could effectively replace most small and medium sized financial exchanges.


Title: Re: Open Source Trading Platform
Post by: joesmoe2012 on November 11, 2013, 05:54:57 AM
The project I'm working on can, and will, be used for a multipurpose asset exchange.

https://docs.google.com/document/d/1cKlN55wX7n0SLvxidLoFVrJnNMJO-Iefr8bVyeHBseg/edit?usp=sharing

That is it's very basic use case, although it can do much much more(eg. Bond Auctions).  Generally people can form their own exchanges that span legal jurisdictions.

Most important it is:

1) DISTRIBUTED.  No central point of failure. 

2) SIMPLE.  Very easy to modify and extend.

3) OPEN SOURCE.

http://www.altchain.org


Not very nice to advert in other people's threads.

Especially when your website doesn't work...


Title: Re: Open Source Trading Platform
Post by: bluemeanie1 on November 11, 2013, 07:02:37 AM
The project I'm working on can, and will, be used for a multipurpose asset exchange.

https://docs.google.com/document/d/1cKlN55wX7n0SLvxidLoFVrJnNMJO-Iefr8bVyeHBseg/edit?usp=sharing

That is it's very basic use case, although it can do much much more(eg. Bond Auctions).  Generally people can form their own exchanges that span legal jurisdictions.

Most important it is:

1) DISTRIBUTED.  No central point of failure. 

2) SIMPLE.  Very easy to modify and extend.

3) OPEN SOURCE.

http://www.altchain.org


Not very nice to advert in other people's threads.

Especially when your website doesn't work...


ok want to make something clear to you, I'm not running some dog and pony show like Mastercoin.  Im working on a project, It's natural to want to share your project with people.  Some might want to get involved as users, developers, etc.  Some have already contacted me from my activities here.  I try to be respectful, not make overblown erroneous statements like many of the so called 'experts' on here.  The details of how my exchange works has already been posted and it is technologically sound.

posting about your project in a related thread violates no rules of internet decorum.


Title: Re: Open Source Trading Platform
Post by: fuzzbuzz on July 27, 2014, 08:41:05 AM
bump - I'll be adding FIX api bridge to this platform, We'll be able to connect directly to any exchange using FIX api. I know of one at the moment and another in the works.