Questions tagged [automated-trading]

The process of using a computer program to place orders to trade securities in financial markets. Typically, these trades are made in exchange-traded instruments, such as listed equities, options, and futures. However, automated trading can occur in numerous other products such as bonds and currencies.

Filter by
Sorted by
Tagged with
0
votes
0answers
64 views

Is this an Example where Maximum Adverse Excursion (MAE) is not useful for a Stop-Loss?

Below is an attached screenshot of a scatter plot of a long position Percentage Return of a Asset Security on the Y-axis, and the Maximum Adverse Excursion (MAE) Percentage on the X-axis. Green dots ...
0
votes
0answers
54 views

Maximum Adverse Excursion Formula - Short Trade Position?

Is the formula for the Maximum Adverse Excursion for a Short Selling Trade the (Open - High) / Open, or (High - Open) / Open ?
0
votes
1answer
198 views

What is the quickest way to start a database for algo trading from scratch?

Many people who are interested in algo/quant trading must have faced the same question before: how do I set up my own database from scratch? I think much effort has been duplicated when we brainstorm ...
0
votes
1answer
112 views

What data should I use for a machine learning model

I would like to ask you for an advice of any of you could help me with this information it would be really helpful. I am trying to build a reinforcement learning trading bot that based on the current ...
2
votes
1answer
334 views

Formerly profitable algorithmic trading strategies?

Since algorithmic trading strategies often stop being profitable after a while, I wonder if any such formerly profitable strategies have been made public, and if so, where can I find them?
8
votes
2answers
2k views

How long do algorithmic trading strategies typically remain profitable?

As I understand it, an algorithmic trading strategy could lose profitability, if, for example: it's rediscovered by others employee turnover leaks the strategy to others market conditions change ...
2
votes
1answer
496 views

What are the "sniffing" or "stalking" algorithms?

I was looking for all the sorts of trading algorithms used in stock market and I came across the so-called "sniffing" algorithms. However, the explanations of this concept I found are very ...
0
votes
0answers
39 views

Strategy in mql5

I have the following code(is not mine) in an Expert Advisor: if((Handle(DXHandle, 0) - Simbolo.Ask()) >= (DXPontosDistancia * _Point)){...} Handle(DXHandle,0) ...
0
votes
0answers
16 views

Understanding additive profit of risky and risk free asset

I was going through paper "Learning to Trade via Direct Reinforcement" by Moody and Saffell. It explains additive profit as follows Additive profits are appropriate to consider if each ...
1
vote
1answer
76 views

How to Manage Large Orders

Forgive me for any violations of posting rules, I’m new to this forum. I’ve written an algorithm that checks the order book for the price point that would completely fill my entire available balance, ...
1
vote
0answers
165 views

How do you detect order execution algorithms?

Most large orders nowadays are done through TWAP or VWAP based order execution. For example, if Alice wants to sell $60 million in EURUSD she will break up her order into 50,000 tiny orders and then ...
0
votes
0answers
38 views

Can LMSR be used in a decentralised way

I'm working on the link between Hanson's LMSR (Logarithmic Market Scoring Rule),[ref1][ref2], and I would like to know if it's possible to apply in some decentralised way. All whitepapers on AMMs (...
3
votes
0answers
1k views

Does Fidelity Have a Python Trading API?

I'd like to do my trading through a corporate account at Fidelity, but there does not seem to be a Python api. What I'm looking for is something like this: https://github.com/jmfernandes/robin_stocks
1
vote
0answers
138 views

Machine learning algorithms that generate trading models (literature)?

Is there any academic literature on machine learning algorithms that are able to generate functioning trading models? Would this even be feasible at all, now or in the future? Could you point me to ...
0
votes
0answers
53 views

Cumulative returns from ROI of individual trades

I've a series of ROIs: $R(n) = [r_1, r_2, ... r_n]$ generated from taking $n$ trades. Each ROI value is in percent $[0, 1]$. How do I generate cumulative return $C(n)$ from this data? My understanding ...
0
votes
2answers
140 views

What kind of returns should I use for my model?

I'm building a machine learning model with the aim of learning a daily strategy of buy or sell the stock. I was wondering if I should use adjusted close price or something else to calculate returns (I ...
4
votes
0answers
120 views

Machine learning - assigning a value to each tradable moment

I've been looking at machine learning trading strategies for some time and realized recently that I've been neglecting a very important part of the equation in terms of training an effective model. In ...
8
votes
4answers
2k views

Is this how stock trading works?

I was told to move this question here from Money Stack Exchange, where some people have already provided some feedback. This is a very basic question about the Stock Exchange, and I was looking for ...
5
votes
4answers
630 views

How can we estimate new stock price after a large purchase?

Suppose someone buys $4bn of a particular stock over the period of a few weeks. Depending on how much that stock is being traded, you would expect that the price goes up in a visible way compared to ...
2
votes
0answers
127 views

Competitive levels in Limit Order Books

I've been doing some research on electronic Limit Order Books (mainly equities) and I was wondering if anyone has seen a paper on how to compute competitive limit order prices. By competitive, I mean ...
1
vote
2answers
822 views

Is there something for API trading in E-mini S&P 500 Futures or other futures

I found a lot of results about data feeds, and I found some platforms (like Alpaca) for API trading. But none seem to have the possibility to sell/buy futures via a REST API. So my question is: Who ...
2
votes
1answer
154 views

Building a semi-discretionary system

I've been investing for the last 15 years in a weird Buffett/Soros way. For the last few years I've been toying with the idea of modeling myself. I want to build a 'stock screener' that will be able ...
1
vote
2answers
1k views

Historical tick data level 1 and level 2

I am a software engineer and want to run some simulation of over historical market data . I am pretty new to finance and trading world. To automate some of my strategies I would like to run some back ...
0
votes
1answer
3k views

What are trade markouts?

I have experience in trading but mostly in lower frequency quantitative trading. I've moved into HFT research and someone the other day mentioned markouts. I couldn't find anything online explaining ...
0
votes
1answer
74 views

Is there any literature on how stock exchanges guarantee consistency?

How do we know that artificial shares of some stock aren't created (perhaps going untracked) on exchanges. After all being man made digital systems they are prone to errors. An example: Suppose a ...
1
vote
2answers
287 views

Understanding Forex Positions

I am new to forex trading and using an Oanda free practice account to play with it. However, I'm not understanding a few things. When I buy or sell a currency pair, am I buying/selling a currency or ...
8
votes
1answer
973 views

Efficient integration of tick data feed with signal generation

The goal is to design the integration of processes generating trading signal doing analytics on a stream of asynchronous tick data retrieved using the native Python TWS API of Interactive Brokers. Two ...
1
vote
1answer
154 views

Interact with FX Connect

I have little to no programming background so please bear with me. I work for a firm that executes our FX trades via FX Connect. I would like to program some logic into FX Connect so that trades that ...
1
vote
0answers
119 views

How do I estimate opening call auction order book for equities?

The opening call auction crossing order book is partially sealed, i.e. only the specialist can see quotes. Is there a stock exchange where this data is available later to simulate the matching ...
1
vote
2answers
224 views

What determines trading volumes of the same stock at different trading platforms?

What determines trading volumes of the same stock at different trading venues (exchanges/ECNs/dark pools)? It seems that they vary significantly.
3
votes
1answer
586 views

How to validate option greeks/implied volatility data calculated in-house using Black model on a mass scale in an automated fashion?

I have created a platform that computes implied volatility, option theo prices and greeks using Black 1976 model. I use this platform to calculate above mentioned numbers for a variety of options ...
1
vote
2answers
447 views

What is the definition of a 10-day low? [closed]

Or for that matter a [n]-day low? (As it relates to market data/trading). When does a [n]-day low get disrupted and you have to begin tallying again?
5
votes
2answers
291 views

Predict the financial markets in the fashion of a video game?

DeepMind have demonstrated amazing capabilities of a reinforcement machine learning agent to competently play Atari video games. It is most astounding that that during training nothing more than the ...
2
votes
1answer
403 views

Calculating required funds on Futures trades

I'm coding in python a backtester for trading the Futures markets (equity futures, precious metals, bond futures, etc..). When I open a position long or short, I need to deduct an appropriate amount ...
3
votes
1answer
510 views

How to perform batch-trading using Interactive Broker API?

My definition of batch-trading: Given $N$ BUY orders, $M$ SELL orders and $O$ ($O < N$) as the max number of open positions to be held. Batch-trading should monitor the orders and when $O$ BUY ...
1
vote
1answer
306 views

How to statistically prove that an automated trading strategy outperforms the market? [closed]

For a university project, I have been working on a rather complex automated trading strategy, that levers machine learning techniques. I backtested the algorithm, as a result I have daily return data ...
1
vote
2answers
91 views

Initiating new orders with active "order-session" only?

Is it a must to establish "quote-session" & subscribing to quotes/market data before initiating a "New Order-single(Market-GTC)"? I actually can't see any use of quote-session for trading ...
0
votes
2answers
256 views

Calculating floating P&L of a FIX-order [closed]

How to fetch floating p/l(current) of a "filled" FIX-Order (either buy/sell)?(by its FIX-ID/order ID) I asked my FIX provider(Integral) & they said, there's no specific tag for that/not a ...
2
votes
0answers
2k views

Finance Projects in Python [closed]

I am new to this forum. I work in the Market Risk Domain at a leading Investment Bank. I am currently learning Python. And the best way to learn is to experiment with some Real Live Analysis/Project(...
10
votes
2answers
628 views

Are there any integrated framework that I can back-test and paper/live trading in one place?

I'm trying to start working on a fully automated algorithmic trading system, and I'm a little struggling with the framework to use. The requirements I have in my mind are: Needs to support back-...
1
vote
0answers
200 views

Optimal approach for finding a profitable trading strategy to automate? [closed]

I am currently searching for an optimal approach for finding profitable forex trading strategies to automate. Currently, I just try to combine various indicators and build an automated trading system ...
2
votes
0answers
288 views

What is the best open source automated trading platform or options?

I would like a custom C++ Automated Trading Platform for Futures like Multicharts, or similar automated trading platform that I can put on my servers so its secure and fast. I have found this so far, ...
2
votes
0answers
389 views

Downloading IB futures data and then making a datapump to another program

I never have programmed before in my life but I wouldn't mind learning if I knew what i needed to do in order to solve my problem. I use neuroshell for day trading and use it extensively for trading ...
1
vote
1answer
345 views

Looking for most current Financial API that is fast and accurate for NYSE NASDAQ AMEX OTC and PINKs

Looking to build a real time data feed, stock monitor window. Pretty much the same as equityfeed.com market viewer window, just with a few addedfeatures and or different filter columns with more up ...
3
votes
1answer
373 views

Determining maximum strategy capacity and optimal order size for low frequency equity strategy

I have developed a low frequency equity trading strategy that seems to work well with stocks in the S&P 500. Someone asked me about the maximum capacity of the strategy (how much AUM I could ...
0
votes
2answers
201 views

Stock Symbols: ETFs vs Real Companies

I built a trading strategy that is based on a pool of all the symbols available on NYSE, Nasdaq, and AMEX. I don't like the idea of trading symbols that are ETFs. For example, the symbol TVIX, which ...
2
votes
1answer
141 views

Should a strategy backtested against three years of tick data continue to produce positive results?

Let's say we have a Binary Options 5-minute trading strategy that relies on multiple indicators and exploits price reversals in currency pairs. Now let's say there is a combination of inputs for the ...
1
vote
0answers
231 views

Good state of the art document about Algo Trading systems

I'm currently working on the requirements phase of a software project, and need get an overview of the industry regarding the tools available for Algo Trading. My first idea was to look for Gartner's ...
1
vote
0answers
70 views

Testing out ADX calculator [closed]

I'm trying to program an ADX calculator in python, however I don't know if it is correct since I'm still a bit shaky on the financial side of things. I haven't found an ADX calculator online (...
2
votes
0answers
74 views

What is the minimum price change required for a trading position increase of 1?

Suppose I have a trading system that calculates the daily risk adjusted position from the annualized risk, that is, the standard deviation of the returns of a stock over an arbitrary period of time. I ...