Samstag, 30. September 2017
2013 Casascius Brass 1 Btc Loaded Fully Funded Coldstorage Bitcoin Bitcoin Cash - Twitmarkets
https://twitmarkets.com/bitcoin/2013-casascius-brass-1-btc-loaded-fully-funded-coldstorage-bitcoin-bitcoin-cash.htm
Item specifics Seller Notes: “2013 CASASCIUS BRASS 1 BTC LOADED FULLY FUNDED COLDSTORAGE BITCOIN BITCOIN CASH” Compatible Currency: Bitcoin 2013 CASASCIUS BRASS 1 BTC LOADED FULLY FUNDED COLDSTORAG…
29 September Bitcoin Elliott wave analysis
https://atozforex.com/news/29-september-bitcoin-elliott-wave-analysis/
Will the recent recovery in BTC break above $5000 or return downside to $2600? The following analyze BTC based on 29 September Bitcoin Elliott wave analysis
Donnerstag, 21. September 2017
2 cofounders at the startup stock exchange taking on Wall Street give their best career advice
The cofounders of IEX, the exchange operator made famous in Michael Lewis' popular book "Flash Boys," launched the company in 2012 to take on Wall Street's old guard.
The two executives, who both held top trading positions at RBC Capital Markets before IEX, told Business Insider the mindset on Wall Street has changed since they first started their careers on the Street. And, as a result, the type of person you need to be to get ahead is different from what it once was.
"It has less to do with where you went to school, and who your family is, and where your last job was," Katsuyama said.
Today, according to Katsuyama, meritocracy reigns, for the most part at least. Ryan stressed that hopefuls need to know their stuff.
"Don't pretend you know everything and BS it," he said."I am a big believer in asking questions."
Just don't ask stupid questions, he says.
"You have to be curious," Katsuyama added, echoing Ryan. "You have to be willing to ask a lot of questions."
It makes sense that Katsuyama and Ryan place a high value on curiosity. As chronicled in "Flash Boys," when Katsuyama was a trader at RBC in 2008, he set out to discover why "the market would move away from him," as Lewis put it, whenever he would make a trade.
Ultimately, that question led to the creation of a team at RBC tasked with the purpose of finding the answer. Some high-frequency traders, according to Katsuyama, were using access, purchased from exchanges, to get information about trades before everyone else. Katsuyama and Ryan founded IEX to upend this model.
How do I design high-frequency trading systems and its architecture.
In the first part, I explained basic concepts of architecting a low latency trading system and some examples on how to implement a very fast order book.
In this second part, I will explain how to implement the next components and the key part: what pattern to use.
3. Order management system: OMS
This module will manage all orders sent to the venues, based on signals generated by your strategy. It will handling sending, canceling and replacing orders as well as accessing information about executed orders, including pending and open orders.
We must send these orders in a very efficient and cost-effective manner, routing each order, depending on one or more of the following:
the signal strategy
venue costs
latencies between venues
best prices available
shares or contracts available on each venue
Also, needs to be smart enough to know when an order was:
Rejected or canceled by the venue
Partially filled
Fully filled
So, depending on the above statuses receive, your order management system may execute different paths.
4. Strategies
As the brain of our system, strategies will take limit order book from each venue and make defined decisions based on different parameter and values.
Some strategies will need to analyze the entire depth of books, others, just top of the book prices, that is the best bid and best ask.
Here, you can apply an almost infinite type of strategies and, of course making sure they will be profitable ideas.
One could be a simple latency arbitrage strategy: each venue receives market information at different times, and if our system can be faster enough we can take advantage of that price gaps. Usually, these discrepancies last no more than 500 microseconds, and after that, all market participants try to balance themselves.
Here’s one example. A big institution is in the market to buy a big order of a given stock. It will have algorithms execute the trade slowly, trying to get the best price and it will take whatever’s available at, say, $4.50 per share, and then what’s available at $4.51, and so on. This is where the “latency arbitrage” may come in. Our strategy can see that this fund’s algorithm is in the market and essentially buy up all the available shares at $4.50 an instant before they do. Now the firm’s algorithm moves on and looks for shares at $4.51. Our algorithm sells all the stock it just bought at $4.50, earning a completely risk-free penny a share.
Sounds small, but if you do this several thousand times per day, we will be adding up to many millions of dollars per trading day, and several billion per year.
Another example could be the well-known ‘triangular arbitrage’ – this is an arbitrage where there are price discrepancies between 3 currency pairs. Forex is traded in pairs, i.e. EUR/USD EUR/GBP EUR/CHF. What can happen during a big market event, for example, a failed coup in Turkey as an extreme example, EUR/USD will move faster than it should have to keep in ratio with the rate of EUR/GBP. That can be just a market function, traders sell EUR/USD before EUR/GBP without algorithms. Or, large orders can cause the difference between EUR/USD and EUR/GBP to be off slightly. Even if only off by a fraction of a dollar, this can lead millions in profits if you are fast enough.
5. Software Architecture: Patterns
The fun starts when we want to put all these pieces together, to interact concurrently and with the lowest latency possible between processes.
The basic architecture looks like this:
_fig06
As we already know, concurrency is key, and to have it working properly we will need to use synchronization methods (to concurrently access data in memory) and a design architecture that fits our needs of low latency.
That’s why we need to talk about “software design patterns” and choose the best for our needs.
There are several well-known options we can use here:
Observer Design Pattern: this is a software design pattern in which an object, called the subject, maintains a list of its dependents, called observers, and notifies them automatically of any state changes.
This is fine, but if you have multiple strategies running on the same system, the notification process will be processed one by one. Meaning, the subject will first notify “strategy 1”, do its calculations, send orders if some criteria are meet, and then continue with “strategy 2”, again do the calculation and see if some criteria are met. This sounds like a sequential process!!
image
So, our order book module will be the subject, and the strategy our observer.
As I show below, the implementation using C++ will look something like this:
null
Observer and Subject implementation
What I did here is setup an observer (the strategy) and the subject (the order book).
The order book will send notifications once any price has changed, so all the strategies can receive it and act on it. If the strategy meets its specific criteria, will trigger orders to the exchange. That process, of asserting if the criteria met, could be more or less complicated, hence could take more or less time.
As you can see, this is a serial process, and if for any reason “strategy 1” takes a couple of milliseconds to do some fancy calculations, then by the time “strategy 2” gets the notification is too late, and so on…. Until we get the notification for the last strategy, which is already making decisions on past information.
That’s the reason why we can’t use this design pattern at all.
Just in case you are thinking of throwing threads on each notification or doing it asynchronously, let me tell you that it will be even worst. The overhead will be such, that doing it sequentially it will be faster.
You can also find this code on my gist repository https://gist.github.com/silahian
Signal and Slots Pattern: used for communication between objects or processes. The underlying implementation is similar to the Observer Pattern, and its concept is that the observer can send signals containing event information which can be received by others using special functions known as slots. Similarly, in C++ callbacks (function pointers), but signal/slot system ensures the type-correctness of callback arguments.
image
Since this pattern also is derived from kind of observer pattern, I prefer not to use it either.
All types of event/messaging/signal patterns are kind of observer pattern, so is not suitable for my purposes of low latency.
Ring buffer pattern: now, we are getting closer. This pattern’s very performance effective, and it is implemented in many low-level applications. The ring buffer is a circular queue data structure. It has a first-in-first-out (FIFO) characteristic. It also has two indices, indicating from where your process can read, and from where it can write. So, no collisions will be in place, which will be translated in no need to synchronization. This kind of structures are called “lock-free”, and its performance is beyond other patterns.
Imageresultforringbufferpattern
One big adopter of this pattern is LMAX with its disruptor. Below an image of their implementation using this pattern.
This kind of pattern is ideal for socket communications where serial data has to be managed, so, in this case, is not suitable either for our trading architecture.
Wanna try your hand at high-frequency trading? There's an app for that
There’s a lot of money to be made in high-frequency trading for those who can think outside the box. But barriers to entry, which include the need to make major investments in technology infrastructure, make it difficult for outsiders to break into the industry.
CloudQuant, a Chicago-based algorithmic trading startup, lets anyone try their hand at devising their own strategies. And if it works, they’ll pay the creator to put it into action.
“We built this Python-based research platform that we’ve been using for internal quantitative trading since 2011, but this year we created a website that gives anyone access to our research tools,” said CEO Morgan Slade. “There are people all over the world who have great ideas, yet a lot of large firms are recycling old ones.”
Unlike traditional investors, who buy and sell stocks and commodities based on where they think the market is going, quantitative traders build rule-based strategies that automatically get executed when specific conditions are met. Competing firms often race each other by the nanosecond to take advantage of momentary price fluctuations — unless they discover price patterns their competitors haven’t.
A former portfolio manager at Citadel Investment Group, Slade said he managed a team of 35 to 40 researchers with educations at the master’s and Ph.D. level. Even then, the number of strategies his team could execute was limited by staffing, not infrastructure.
By effectively opening up his research department to anyone with an interest in trading, Slade hopes to unlock new efficiencies of scale — and new approaches to familiar challenges, too.
“People aren’t going to do the same things we always do,” he said. “They’ll pursue whatever they think is interesting, as data scientists, as quantitative traders or as engineers.”
After launching its public-facing platform earlier this year, CloudQuant has already funded its first crowdsourced trading strategy to the tune of $15 million. The algorithm’s creator, an academic based in the United Kingdom, will receive 10 percent of the profits made by their strategy, Slade said — and more investments are on the way.
The target audience for CloudQuant are data scientists, developers and former finance professionals. The basic idea, said Slade, is to offer a lucrative side-gig for data-savvy people, regardless of their day jobs.
“We don’t expect them to be expert traders, or know anything about market structures or trade execution,” said Slade. “We have someone who works with them to get that set up, and we provide all the capital, so they don’t have any downside risk.”
Users of the platform have access to all the data professional traders do, Slade said, and they retain the rights to the strategies they try out on the platform. In fact, CloudQuant can’t even see the inner workings of a crowd-generated algorithm unless the user agrees to explore a potential partnership.
Although CloudQuant strategies are coded in Python, the coding skills required to use the platform are minimal. According to Slade, a power user of Microsoft Excel can learn enough Python to devise strategies in a matter of hours. That’s important, he said, because it broadens the potential user base significantly.
Structured as a startup within Kershner Trading Group, the CloudQuant platform team fluctuates in size between four and 10, Slade said. The team also supports internal users within Kershner.
What Congress Needs To Understand About Bitcoin
What Congress Needs To Understand About Bitcoin
http://www.ibtimes.com/what-congress-needs-understand-about-bitcoin-2592681
Bitcoin lovers, rejoice! Congress is finally taking baby steps towards recognizing cryptocurrency. Lawmakers are starting with death and taxes, loosely speaking. They’re trying to figure out how to t…
Abonnieren
Kommentare (Atom)