Spazio di prova, 2° capitolo

TAVOLA SMERALDINA delle COMMODITIES messa in stanby causa mancanza di dati

il fornitore di dati EOD back-adjusted ha smesso di fornirli.....

le trasmissioni riprenderanno appena possibile.....

se qualcuno avesse una fonte x dati future continuous back-adjusted
mi faccia sapere...

Quandl - li ha continous, ma non sono back-adjusted
pi-trading - defunta da inizio anno
tradingblox - defunta da inizio dicembre
 
TAVOLA SMERALDINA delle COMMODITIES messa in stanby causa mancanza di dati

il fornitore di dati EOD back-adjusted ha smesso di fornirli.....

le trasmissioni riprenderanno appena possibile.....

se qualcuno avesse una fonte x dati future continuous back-adjusted
mi faccia sapere...

Quandl - li ha continous, ma non sono back-adjusted
pi-trading - defunta da inizio anno
tradingblox - defunta da inizio dicembre

Ciao Xin,
ogni volta che sento di questi problemi mi prende il voltastomaco.
So che in ogni paese del mondo sede di una borsa valori i dati delle
transazioni devono essere custoditi in forza di legge o regolamenti.
Ovviamente metterle in archivio non significa seppellirle in cimitero.
Devono essere messe a disposizione di chiunque le chieda e ad un costo
insignificante, dal momento che quello aggiuntivo è nullo.
Non lo si vuol fare o, meglio, lo si fa volendo fare anche di questo un
commercio lucroso.
Il mondo in cui viviamo somiglia spesso ad una fogna.
 
.
.
Ti ho messo nella lista dei preferiti...ogni qnt aggiorni i grafici?
Sono carini ed interessanti.....li studio per capire meglio il tuo metodo, ti disturba?
:D
Ciao!

ciao, quando vedo qualcosa di interessante aggiorno, ho deciso di scrivere solo di là non mi piace spammare ma vi leggo spesso. Ho preso spunto da un tuo post per farvi notare questa particolarità su STM. Ciao alla prossima

Live trading STOCKS - demo : Trading - 28
 
TAVOLA SMERALDINA delle COMMODITIES messa in stanby causa mancanza di dati

il fornitore di dati EOD back-adjusted ha smesso di fornirli.....

le trasmissioni riprenderanno appena possibile.....

se qualcuno avesse una fonte x dati future continuous back-adjusted
mi faccia sapere...

Quandl - li ha continous, ma non sono back-adjusted
pi-trading - defunta da inizio anno
tradingblox - defunta da inizio dicembre

mi rendo conto del problema, se non dovessi trovare un fornitore potresti aggirare il problema creandoti ogni volta un fattore correttivo k ottenuto come frazione del primo del nuovo/ultimo del vecchio, da moltiplicare per tutti i dati della serie passata. Non sono cmq un esperto di queste cose, per gli indici azionari io mi limito a proseguire con i dati nuovi.
Ma esiste la possibilità di ricavare le rilevazioni storiche un sottostante fisico per le commodities? segue
 
mindful and consider whether the roll will have any impact on his strategy.
If he determines this to be the case, one simple way to deal with this is to
add in the estimated cost of the roll as additional slippage.
In the majority of cases, however, the roll is not much of a factor one
way or another on the performance of most trading strategies.
In summary, actual futures price contracts are unsuitable for long-term
testing for two reasons: They are too short and their volume and volatility
are not representative of that which is typically traded. Also, the expiration
of futures contracts requires the long-term strategy to perform rollover
trades to keep long-term positions intact.
A number of data solutions have been offered to solve the problems
that futures contracts present to the testing of strategies. The majority of
these solutions involve merging a patchwork of prices from the first expirations
into some form of continuous contract for the purposes of testing.
We will consider these various methods in the next sections.
THE CONTINUOUS CONTRACT
One solution to this problem is the continuous contract. This contract is a
sequential patchwork of successive individual futures contracts. For example,
in January of 2006, the continuous S&P contract had price data
from the March 2006 contract. In April of 2006, it had price data from
the June 2006 S&P contract. The continuous contract concatenates price
data from the most active front contract price expiration into a single price
history file.
The continuous contract solves two of the three major problems. It can
be as long as required. It has the front expiration contract prices and accurately
reflects the natural trading vehicle of most speculative traders. It
has one problem, however: The rollover price gap between the last close of
the expiring contract and the opening price of the new contract sometimes
appears as a large opening gap. This can result in a windfall profit or loss
in the simulation, when, in fact, that situation never existed in real trading.
If the strategist chooses to use the continuous contract for testing, this roll
gap must be taken into consideration.
THE PERPETUAL CONTRACT
Another popular solution is the perpetual contract. This contract is very
different from the continuous contract. It consists of a mathematical transformation
of price data which are, consequently, not real price data. Price
 
data in a perpetual contract are actually created with an interpolation formula
that attempts to create the three-month forward values of the commodity
in a manner similar to the London Metals Exchange forward pricing.
The design of the extrapolation formula is intended to create a price
history that is close to the targeted three-month contract.
The perpetual contract solves two of the three major problems: It can
be as long as necessary and it eliminates the rollover price gaps. Whereas
its price and volatility structure is similar to that of the front contract price
data, it is not exactly like the actual prices of the front contract that it
attempts to model. This difference will introduce subtle discrepancies between
simulated performance and real-time trading performance.
The perpetual contract introduces three unique problems. First, it
does not contain real price history. Every price is transformed. Second,
it introduces a new distortion of its own and it tends to somewhat artificially
dampen actual price volatility by behaving differently from the
actual price data themselves. Third, entry orders for real-time trading derived
from it must be transformed. If used to create daily trading signals,
these signal prices will need to be adjusted so as to be usable in real-time
trading.
This added price distortion may be of little consequence, with a very
slow system that trades for the big moves. This distortion, however, may
prove to be a serious problem with a very active trading system that targets
small moves and is highly sensitive to short-term changes in volatility.
ADJUSTED CONTINUOUS CONTRACTS
The adjusted continuous contract combines the best of all of the preceding
alternatives. It merges front expiration price data into a continuous price
history. It mathematically removes all of the price roll gaps, however. It can
be done in two ways. Contracts can be adjusted, keeping the most recent
data unchanged and adjusting all preceding data up or down an amount
equal to the roll gaps. This is a back-adjusted continuous contract (see
Figure 6.4).
A front-adjusted continuous contract adjusts from the beginning of the
file to the end. This leaves the most distant data in their natural form and
the most current data are adjusted.
The neutral data transform preserves the relative differences between
prices. It introduces a distortion with any calculations that use percentages
of price. It cannot be used with charting applications that use absolute
prices for support and resistance. Back-adjusted contracts can also have
negative prices because of the gap adjustments.
 
A back-adjusted continuous contract solves all three of the major problems
for most systems: It can be as long as necessary, it faithfully represents
the data to be traded, and it eliminates the rollover gap. If the price
data extend far back in time, prices can become unusually large or even
negative, which will introduce a distortion in calculations using a percentage
of price. Back-adjusted continuous contracts, therefore, are not without
problems testing some types of trading strategies


se puo' essere utile, altrimenti cancello....
 
mi rendo conto del problema, se non dovessi trovare un fornitore potresti aggirare il problema creandoti ogni volta un fattore correttivo k ottenuto come frazione del primo del nuovo/ultimo del vecchio, da moltiplicare per tutti i dati della serie passata. Non sono cmq un esperto di queste cose, per gli indici azionari io mi limito a proseguire con i dati nuovi.
Ma esiste la possibilità di ricavare le rilevazioni storiche un sottostante fisico per le commodities? segue

mindful and consider whether the roll will have any impact on his strategy.
If he determines this to be the case, one simple way to deal with this is to
add in the estimated cost of the roll as additional slippage.
In the majority of cases, however, the roll is not much of a factor one
way or another on the performance of most trading strategies.
In summary, actual futures price contracts are unsuitable for long-term
testing for two reasons: They are too short and their volume and volatility
are not representative of that which is typically traded. Also, the expiration
of futures contracts requires the long-term strategy to perform rollover
trades to keep long-term positions intact.
A number of data solutions have been offered to solve the problems
that futures contracts present to the testing of strategies. The majority of
these solutions involve merging a patchwork of prices from the first expirations
into some form of continuous contract for the purposes of testing.
We will consider these various methods in the next sections.
THE CONTINUOUS CONTRACT
One solution to this problem is the continuous contract. This contract is a
sequential patchwork of successive individual futures contracts. For example,
in January of 2006, the continuous S&P contract had price data
from the March 2006 contract. In April of 2006, it had price data from
the June 2006 S&P contract. The continuous contract concatenates price
data from the most active front contract price expiration into a single price
history file.
The continuous contract solves two of the three major problems. It can
be as long as required. It has the front expiration contract prices and accurately
reflects the natural trading vehicle of most speculative traders. It
has one problem, however: The rollover price gap between the last close of
the expiring contract and the opening price of the new contract sometimes
appears as a large opening gap. This can result in a windfall profit or loss
in the simulation, when, in fact, that situation never existed in real trading.
If the strategist chooses to use the continuous contract for testing, this roll
gap must be taken into consideration.
THE PERPETUAL CONTRACT
Another popular solution is the perpetual contract. This contract is very
different from the continuous contract. It consists of a mathematical transformation
of price data which are, consequently, not real price data. Price

data in a perpetual contract are actually created with an interpolation formula
that attempts to create the three-month forward values of the commodity
in a manner similar to the London Metals Exchange forward pricing.
The design of the extrapolation formula is intended to create a price
history that is close to the targeted three-month contract.
The perpetual contract solves two of the three major problems: It can
be as long as necessary and it eliminates the rollover price gaps. Whereas
its price and volatility structure is similar to that of the front contract price
data, it is not exactly like the actual prices of the front contract that it
attempts to model. This difference will introduce subtle discrepancies between
simulated performance and real-time trading performance.
The perpetual contract introduces three unique problems. First, it
does not contain real price history. Every price is transformed. Second,
it introduces a new distortion of its own and it tends to somewhat artificially
dampen actual price volatility by behaving differently from the
actual price data themselves. Third, entry orders for real-time trading derived
from it must be transformed. If used to create daily trading signals,
these signal prices will need to be adjusted so as to be usable in real-time
trading.
This added price distortion may be of little consequence, with a very
slow system that trades for the big moves. This distortion, however, may
prove to be a serious problem with a very active trading system that targets
small moves and is highly sensitive to short-term changes in volatility.
ADJUSTED CONTINUOUS CONTRACTS
The adjusted continuous contract combines the best of all of the preceding
alternatives. It merges front expiration price data into a continuous price
history. It mathematically removes all of the price roll gaps, however. It can
be done in two ways. Contracts can be adjusted, keeping the most recent
data unchanged and adjusting all preceding data up or down an amount
equal to the roll gaps. This is a back-adjusted continuous contract (see
Figure 6.4).
A front-adjusted continuous contract adjusts from the beginning of the
file to the end. This leaves the most distant data in their natural form and
the most current data are adjusted.
The neutral data transform preserves the relative differences between
prices. It introduces a distortion with any calculations that use percentages
of price. It cannot be used with charting applications that use absolute
prices for support and resistance. Back-adjusted contracts can also have
negative prices because of the gap adjustments.

A back-adjusted continuous contract solves all three of the major problems
for most systems: It can be as long as necessary, it faithfully represents
the data to be traded, and it eliminates the rollover gap. If the price
data extend far back in time, prices can become unusually large or even
negative, which will introduce a distortion in calculations using a percentage
of price. Back-adjusted continuous contracts, therefore, are not without
problems testing some types of trading strategies


se puo' essere utile, altrimenti cancello....

si,si, grazie....
la teoria la conosco bene.....
al momento del roll si calcola il gap tra il close del vecchio contratto e quello nuovo e poi si và all'indietro ad aggiungere su tutti i dati il gap in questione...
al momento sto lavorando a degli script per farmi i continuous back-adjusted dai singoli contratti..... così alla fine sarò indipendente da qualsiasi fornitore.... ci impiegherò un po' però.....
 
CRB
il simpatico Kimble lo vede al lavoro per salire dopo aver rotto la tdline discendente
...anche se per i miei calcoli dovrebbe chiudere il tracy tra lunedì e martedì
 
Ultima modifica:

Users who are viewing this thread

Back
Alto