Software do Sistema de Negociação.
À medida que continuo a me interessar cada vez mais pela construção e backtesting de sistemas de negociação, começo a olhar para a compra de software de negociação. Esta é uma experiência esmagadora, para dizer o mínimo. Existe uma seleção aparentemente interminável de pacotes de software diferentes, e não parece haver nenhum guia claro para selecionar qual deles melhor se ajustaria às minhas necessidades. Para ser honesto, eu nem sei quais são minhas necessidades neste momento.
Produtos que eu vi recomendado.
Seguindo a tendência, Andreas Clenow recomenda o Wealth Lab e o RightEdge. Meu amigo @ Systemstrader95 sugeriu que eu verificasse o Wealth Lab ou o Trading Blox. Eu tenho outro conhecido que programa sistemas usando MetaTrader4 e NinjaTrader. Eu vi e ouvi falar sobre Tradestation. Em um email pessoal, Clenow também recomendou o OpenQuant, mas observou que ele tem um alto preço. Recebi alguns e-mails recomendando o Amibroker, que eu sei que o Woodshedder usa e recomenda.
Com isso como meu universo de possibilidades, comecei a explorar os detalhes de cada um desses sistemas.
Produtos que Desqualifico Rapidamente.
Laboratório de Riqueza.
Como o Wealth Lab era o produto mais recomendado e supostamente o mais fácil de aprender, decidi começar por aí. As imagens no site parecem que o software é muito legal, e eu posso até registrar e baixar uma versão gratuita. No entanto, quando investiguei um pouco mais, descobri que os residentes dos EUA precisam ter uma conta da Fidelity para acessar o Wealth Lab. A boa impressão especifica que essa conta deve ter um saldo mínimo de US $ 25.000 e colocar pelo menos 120 negociações por ano. Isso significa que eu não usarei o Laboratório de Riqueza.
TradeStation.
Eu gosto da idéia de software que já está ligado a um corretor, então eu decidi tentar o Tradestation em seguida. Aqui, novamente, encontrei requisitos mínimos de conta muito altos, embora eles ofereçam uma versão somente de software por US $ 250 / mês que é limitada a negociação simulada. Eu acho que nós provavelmente podemos fazer melhor que isso. Eu preferiria uma taxa única para uma assinatura mensal.
TradingBlox.
A seguir, analisei o TradingBlox, que Clenow mencionou ter sido iniciado pela ex-tartaruga Curtis Faith, que escreveu um bom livro sobre o sistema de negociação. Neste ponto, percebi que minha primeira pergunta para cada pacote de software deveria ser sobre o preço. Para o TradingBlox, descobri que havia três versões diferentes. O modelo de $ 1000 veio com alguns sistemas já programados. O sistema de US $ 3.000, que estava à venda & # 8221; por US $ 2490, veio com 11 sistemas e a capacidade de ajustá-los. Em seguida, houve o sistema big daddy $ 4000 que veio com todos os 11 sistemas e a capacidade de programar o seu.
Eu simplesmente não conseguia ver o ponto de comprar qualquer coisa que eu acabaria saindo, e certamente não naqueles pontos de preço. Li o suficiente para saber que, para ser bem-sucedido, precisarei construir meus próprios sistemas a partir do zero. Eu nunca seria bem sucedido negociando o sistema de outra pessoa.
Por US $ 400 / mês, o OpenQuant estava fora da minha faixa de preço, e não ajudou que o site deles parecesse ter sido projetado por um aluno da terceira série.
MetaTrader4.
Este software parece estar limitado a Forex, Gold, Silver e Oil.
Produtos que garantia adicional consideração.
NinjaTrader.
O NinjaTrader está disponível por uma taxa única de $ 1000, ou você pode arrendar por $ 50 / mês. Eu senti que ambos os pontos de preço eram mais do que razoáveis, então eu decidi baixar a versão gratuita que limita a simulação apenas e dar um giro. O problema foi que ele me disse que a chave de licença que eles me enviaram por email não era válida e que eu não era capaz de abrir o software para começar. Isso me faz pensar que pode haver problemas maiores com o software.
A Amibroker é altamente recomendada e vende um pacote inteiro de software por US $ 409. Este é o software que o Woodshedder usou para fazer backtest do meu sistema de acompanhamento de tendências SPY 10/100. O software veio com dados para os 30 estoques da Dow pré-carregados, o que me permite brincar um pouco. Desde que eu sou novo nisso, eu obviamente não tinha ideia de como usar qualquer coisa, mas o software parece ter um arquivo de ajuda decente e muitos vídeos na aba de suporte de seu website. Eu pude ver este software funcionando apenas para encontrar o que eu gostaria de fazer.
RightEdge está disponível por uma taxa única de US $ 500 ou uma assinatura mensal de US $ 50. Ambos os pontos de preço parecem incrivelmente razoáveis para software tão altamente recomendado. Há também uma avaliação gratuita de 45 dias disponível. O software parece um pouco mais polido que o Amibroker, e parece ter um extenso arquivo de ajuda, bem como um manual em PDF. Consegui carregar alguns gráficos e obter dados gratuitos do Yahoo. Com base na forte recomendação de Andreas Clenow, provavelmente irei avançar com este software, mas também experimentarei com o Amibroker.
Compartilhar isso:
O boletim informativo DTAYS.
Inscreva-se para receber atualizações semanais de postagens de DTAYS enviadas diretamente para sua caixa de entrada!
Desenvolvendo Sistemas de Negociação no RightEdge.
Interesses Relacionados.
Classificação e Estatísticas.
Opções de compartilhamento.
Documentar ações.
As páginas 2 a 17 não são mostradas nesta pré-visualização.
Documentos semelhantes ao desenvolvimento de sistemas de negociação no RightEdge.
Documentos sobre pedido (troca)
Mais de Philip Thomas.
Menu de Rodapé.
Legal.
Mídia social.
Direitos autorais & copy; 2018 Scribd Inc. Procure livros. Diretório de sites. Idioma do site:
Você tem certeza?
Esta ação pode não ser possível desfazer. Você tem certeza que quer continuar?
Tem certeza de que deseja excluir esta lista?
Tudo o que você selecionou também será removido de suas listas.
Este livro também será removido de todas as suas listas.
Nós curamos títulos que achamos que você adorará.
Por que eu prefiro RightEdge para modelagem de estratégia.
Escolher uma boa plataforma para modelagem de estratégia, simulações e geração de sinal é fundamental. A triste realidade é que a maioria dos softwares de teste de retorno é horrivelmente ruim. Eles são voltados para os consumidores com conhecimento e experiência limitados e atendem ao que o seu guru de análise técnica, rico em enriquecimento rápido, afirma que você precisa. Frequentemente, eu solicito minhas opiniões sobre plataformas de simulação e, nesse post, mostrarei a você minhas próprias perspectivas e escolhas.
Não-codificadores não precisam ser aplicados.
Esqueça o sistema de arrastar e soltar. Não é assim que você faz modelos reais de negociação. Se você não está preparado para aprender programação simples para construir suas estratégias, então você pode entender e controlar cada detalhe, então você provavelmente não deveria estar fazendo isso. Você não precisa ser um programador especialista, mas precisa ser capaz de escrever um pouco de código. Deixe-me dizer isso de novo.
Se você não estiver disposto a aprender sobre codificação, deve desistir de todos os esforços para entrar no campo do comércio sistemático.
Isso não é cirurgia de foguetes. Aprender programação suficiente não é tão difícil, assumindo que você é de inteligência média ou superior e não tem medo de abrir um livro. Houve um tempo em que os profissionais se consideravam bons demais para aprender a digitar. Por que um advogado digitaria? Ele tem uma secretária. Os dias dos Mad Men estão no passado e um advogado que não consegue datilografar corretamente agora está reduzido a um grande bebê indefeso. Aprenda a codificar. Apenas faça isso.
O que é importante em uma plataforma de simulação?
Todos nós valorizamos coisas ligeiramente diferentes. Este artigo é, claro, escrito muito do meu ponto de vista. Eu valorizo a flexibilidade.
A maioria das plataformas de nível de consumidor desenha uma caixa muito estreita ao seu redor. Eles não deixaram você fazer nada fora dessa caixa. Eles assumem que você quer fazer uma pequena variante de algum sistema padrão e nada mais. Eles não são para uso profissional.
Um grande problema com essas plataformas de nível de consumidor é a lógica em nível de portfólio. A maioria não aceita. Alguns o têm, mas apenas como uma implementação horrível depois do fato, eles colocaram o slogan em cima de uma plataforma antiga apenas para colocar o Portfolio em uma caixa de seleção de marketing.
A arquitetura e o ambiente de desenvolvimento também são muito importantes. Quanto mais eles simplificam para atender pessoas preguiçosas, pior a plataforma tende a ficar. Eu tenho uma alergia grave contra linguagens de script proprietárias e plataformas fechadas.
Aqui está o que eu quero ver:
Linguagem de desenvolvimento padrão da indústria. Não é um ambiente de estilo C & # 8221; ou alguma outra maneira de dizer que você tem uma sintaxe de script fechada que lembra vagamente uma linguagem real. Eu quero o negócio real. Meu idioma preferido é o C #. Não necessariamente porque é o melhor, mas porque certamente é bom o suficiente e, se você estiver em um ambiente totalmente Windows, é uma excelente linguagem para padronizar. Arquitetura extremamente aberta. Eu quero ser capaz de fazer absolutamente qualquer coisa. Coisas que nunca ocorreram às pessoas que desenvolvem a plataforma. Eu quero ser capaz de alterar ou adicionar qualquer funcionalidade que eu gosto. Eu odeio ser encaixotado em um canto ao codificar. Ninguém coloca Clenow no canto. Possibilidades infinitas. Não acabei de dizer isso no último ponto? Sim, mas vale a pena dizer novamente. Eu quero ser capaz de fazer e ligar dll's para qualquer coisa. Novas visualizações, adaptadores de dados, adaptadores de intermediários, conectividade de banco de dados, etc. Lógica de portfólio adequada. Isso é raro em plataformas acessíveis. A capacidade de voltar a testar modelos de negociação em milhares de instrumentos, como um portfólio real. Isso deve ser feito da maneira correta, na ordem correta. Mais sobre isso depois & # 8230; Movimentação de moeda. A maioria das plataformas presume que exista apenas uma moeda no mundo. O dólar dos Estados Unidos. Se você comercializar instrumentos em várias regiões, essa suposição se rompe rapidamente.
WealthLab versus RightEdge.
Eu mencionei WealthLab e RightEdge no passado. Ambos são muito bons, mas minha preferência claramente está no RightEdge. Eu gosto deles porque ambos são baseados em CLR, o que significa que você escreve o código C # adequado. Eles podem ser estendidos e modificados conectando suas próprias DLLs. Ambos podem fazer simulações em nível de portfólio, embora sejam diferentes nas implementações. Apesar das aparentes semelhanças, eles são muito diferentes para trabalhar.
Usabilidade geral.
WealthLab é amigável. Manipulação de gráficos é fácil. Fazer um primeiro sistema simples não leva muito tempo. Parece um ambiente confortável. A documentação é boa e há muitos exemplos de onde você pode trabalhar. Se você cometer erros, você tende a receber relatórios de erros bem educados, facilitando a depuração dos codificadores novatos.
O RightEdge parece um compilador quando você o abre. Isso porque basicamente é um compilador. Se você não está acostumado a um compilador, isso pode parecer que você acabou de sair de pára-quedas na selva. Há definitivamente uma curva de aprendizado mais íngreme para começar a usar o RightEdge.
Manipulação de dados.
Antes de poder fazer qualquer coisa, você precisa colocar seus dados no aplicativo. Ambas as plataformas, é claro, vêm com alguns adaptadores padrão para obter dados de várias fontes livres. Para uso profissional, é provável que você queira obter dados de alguma fonte personalizada. Afinal, você não pode confiar nos dados do Yahoo e tal para uso na vida real.
A boa notícia é que é muito fácil construir adaptadores de dados para ambas as plataformas. Nenhuma diferença real lá. Existem amostras disponíveis que você pode modificar. Essencialmente, você cria sua própria DLL no Visual Studio que implementa sua interface. Haverá uma interface semelhante a (pseudo-código): Public DataSeries GetTheData (Símbolo, StartDate, EndDate) e você apenas coloca seu próprio código para sair do banco de dados ou da fonte que preferir. Fácil.
Uma diferença fundamental, no entanto, é o que acontece com os dados depois que sua DLL os fornece. O WealthLab solicitará à sua DLL uma nova entrega de dados toda vez que o aplicativo precisar dela. Toda vez que você abrir um gráfico ou executar uma simulação, sua DLL ficará incomodada.
O RightEdge, por outro lado, possui um armazenamento de dados otimizado. Quando sua DLL retorna os dados, RightEdge irá colocá-lo nesse armazenamento de dados. Quando um gráfico é solicitado ou um sim é executado, o RightEdge obtém os dados de lá. Mais rápido, mais eficiente, mas pode levar a problemas de duplicação de dados e manutenção.
Minha solução é liberar o armazenamento de dados diariamente e substituir por novos dados da minha fonte primária (meu MySql interno). Isso evita problemas de duplicação de dados e discrepâncias. Eu faço isso com scripts simples, usando um bom arquivo bat antigo.
Escrever seu próprio adaptador de dados requer algum conhecimento básico em C #. Somente. Aprender. Isto.
Modelagem de Portfólio.
Aqui começamos a atingir a primeira fraqueza do WealthLab. A arquitetura do WealthLab claramente não foi criada para testes de portfólio. É muito óbvio que isso foi um pensamento posterior. WealthLab processa um instrumento de cada vez, passando por cima de cada dia para esse instrumento antes de passar para o próximo instrumento. Não é assim que o mundo real funciona. Tem a infeliz implicação de que a própria lógica de negociação é totalmente inconsciente de qualquer coisa que aconteça a outros instrumentos. Ele não conhece as participações atuais do portfólio ou mesmo o valor do portfólio. Como poderia, já que todos os instrumentos ainda não são processados.
WealthLab itera as barras em um loop for / next. Isso provavelmente chocará os programadores. Veja como o processo funciona para o WealthLab:
Sim, isso parece bastante primitivo & # 8230;
O RightEdge, por outro lado, possui uma implementação correta e moderna. É orientado por eventos, processando cada barra à medida que entra. Isso funciona da mesma maneira se você usa dados diários estáticos ou tempo real de streaming dinâmico intradiário. O caminho do RightEdge parece mais lógico. NewBar é chamado toda vez que uma nova barra entra, qualquer que seja a freqüência.
Isso também significa que o WealthLab tem um potencial perigoso para a espionagem de dados. Quando você está nesse loop, você tem acesso a todos os dados. Você poderia apenas ler toda a série. Se a barra de variáveis no loop for / next acima for 5, você ainda poderá verificar qual barra 6, 7 ou 500 detém. Você pode ler o futuro. Você também pode trocar o futuro no WealthLab. Ou o passado.
RightEdge não tem conhecimento de nenhum dado que você não estaria ciente na realidade. Quando a NewBar entra em 10 de junho de 2011, você não tem como acessar os dados a partir de 11 de junho. Você também não pode negociar com preços passados ou com preços futuros. Você pode negociar agora ou pode definir ordens de limite / parada. Como na vida real. Isso evita os erros muito comuns de comércio em informações que não estavam disponíveis na realidade.
Dimensionamento de posição.
Todos os algos de dimensionamento de posição fornecidos com plataformas de simulação são ruins. Não os use. Construir o seu próprio não é tão difícil. Bem, é no WealthLab.
Digamos que você queira fazer algo de tamanho simples no portfólio. Tome o clássico dimensionamento ATR, estilo Turtle. Matemática fácil. Você apenas pega o ATR atual como um proxy para o vola e dimensiona sua posição para ter um certo risco no nível do portfólio. Há apenas um problema. Para este cálculo simples, você precisa saber o valor do portfólio. Agora, obviamente, da maneira que o WealthLab repete um instrumento de cada vez, seu código não terá acesso a essa informação. No momento em que seu código faz uma negociação, ele não processou outros instrumentos e, portanto, o valor do portfólio é desconhecido.
O WealthLab primeiro itera todos os instrumentos como mostrado acima, registra quando é suposto comprar e vender, e primeiro quando é feito com tudo isso, ele volta para descobrir quantas ações / contratos para comprar ou vender. vender. Feio.
Em WealthLab você tem que fazer a sua própria posição dimensionando DLL. Sim, você não consegue alterar corretamente os tamanhos de posição no aplicativo e você tem que programar sua própria DLL no Visual Studio apenas para definir o tamanho da posição. Uma grande bagunça, não é. Eu fiz um tamanho de posição ajustado de volatilidade há um tempo atrás e publiquei com o código fonte completo aqui: tradersplace / store / volatility-based-position-sizer-for-wealthlab /
Então, e o RightEdge? A mesma coisa que precisa ser feita em um plugin complexo DLL para WealthLab pode ser feito em uma única linha de código para RightEdge. Não há necessidade de soluções alternativas, pois o RightEdge implementou o mecanismo de dados desde o início.
Moedas.
Se você quiser fazer um trabalho sério de simulação, é necessário contabilizar as moedas. E eu não quero dizer moedas de negociação, quero dizer atribuição de moeda. Se você negocia em ações internacionais, você terá uma exposição cambial em posições abertas em mercados estrangeiros. Para os futuros, é menos claro. Lá você só tem exposição FX em seu P% L aberto. Ainda assim, você precisa lidar com esse problema.
RightEdge faz isso de forma realista novamente. Marque cada instrumento com a moeda base, forneça séries temporais para as traduções de moeda, defina a moeda base da sua conta e as suas simulações serão feitas corretamente. Claro, a documentação de como fazer isso está faltando um pouco, mas ainda funciona bem. Sim, se você me irritar o suficiente eu vou escrever um tutorial sobre como usar este recurso.
No que diz respeito ao WealthLab, no entanto, existe apenas uma moeda. Simplesmente não há maneira de resolver este problema para o WealthLab. Todos os seus instrumentos precisam estar na mesma moeda, ou você acabará com um erro enorme, mas invisível.
Política de preços e vendas.
WealthLab custa $ 800 adiantado e tem uma taxa de manutenção anual de $ 150. Comparado com muitos concorrentes, o preço é bastante distante. O único problema é que, se você mora na América do Norte, só poderá comprar este produto se tiver uma conta na Fidelity. Isso é uma limitação bastante severa.
O RightEdge não é afiliado a bancos ou corretores e não tem taxa anual. Custa apenas US $ 500 uma vez. Na verdade, você receberá um desconto de US $ 50 se usar o código de cupom Tradersplace ou dizer-lhes a frase mágica Clenow Sent Me.
Escalabilidade
O WealthLab não é um sistema ruim para modelagem rápida e suja. É muito fácil fazer algo rápido e apenas experimentar o que parece. Não é, na minha opinião, um bom sistema para coisas pesadas do mundo real.
Eu tentei implementar modelos altamente complexos em ambas as plataformas, e é muito claro que WealthLab está lutando tanto em termos de funcionalidade e desempenho.
Aqui está um exemplo de estratégia que eu corro diariamente no RightEdge:
Modelo de stock stock de momentum de capital. Considera mais de 4 000 stocks em todos os países desenvolvidos, incluindo acções retiradas da bolsa. Verifica se os estoques fazem parte de uma determinada lista de constituintes do índice em qualquer momento e apenas os negocia. Classifica todas as ações que estavam no índice em um determinado dia de negociação em um conjunto complexo de critérios. Implementa a lógica de estratos, mantendo o controle de qual estrato um estoque faz parte, com base na classificação. Define os limites do portfólio em termos de estratos, alocação geográfica, alocação setorial etc. Constrói automaticamente um portfólio realista dos melhores estoques, dentro das restrições de alocação definidas. Reequilíbrio constante de risco e aderência a restrições de alocação.
Fazer isso no RightEdge levou algum tempo e codificação, mas não houve problemas técnicos. Em WealthLab, eu corri em uma parede bastante rápida. Várias paredes. No final, apenas para ter uma segunda plataforma em funcionamento, tive que colocar muita da lógica dentro de um servidor de banco de dados, já que o WealthLab simplesmente não conseguia lidar com algo assim.
Eu sou pago para vender essas plataformas?
Não. Pelo menos ainda não.
Entrei em contato com as duas empresas para ver se poderia fazer um acordo com elas. Eu os estava recomendando de qualquer maneira, então porque não. Minha sugestão é que eles oferecem um desconto para as pessoas que eu me refiro a eles e que eles me dão algo em troca. Daniel na RightEdge rapidamente concordou e ofereceu um desconto de US $ 50 para usuários que digitarem meu código de cupom & # 8216; tradersplace & # 8216; quando encomendar. Eu também recebo a mesma quantia. Até agora, ninguém realmente usou esse código de cupom. Eu sei que as pessoas compraram depois que eu as recomendei, mas até agora todas elas se esqueceram de digitar esse código & # 8230; Ah bem.
E WealthLab? Bem, eles são uma organização um pouco maior e isso pode ser visto em suas respostas a tais solicitações. Demorou alguns meses para eles voltarem para mim, e então eles vieram com uma contra-sugestão. Eles propuseram que eu mudasse meu modelo de negócios. Eles sugeriram que eu me tornasse um provedor de seminários on-line em tempo integral, fazendo sessões de treinamento sobre como usar o software deles. Hm .. Bem, é bom saber que tenho opções no caso de explodir meus fundos de hedge.
Conclusão.
Se você quiser fazer parte do campo de negociação sistemática, faça as coisas da maneira certa. Não faça soluções de meia-boca. WealthLab é uma boa droga de gateway para começar, mas RightEdge é a coisa boa. Ter duas plataformas não é uma má idéia se você tiver tempo e paciência para isso, mas se você for com uma, minha sugestão é a RightEdge.
Criatividade é importante neste campo. Chegando com uma idéia de cabelo e testando. Às vezes, uma idéia fora da caixa excêntrica pode realmente levar a um grande avanço. Se você está preso a uma plataforma de simulação que não permite que você seja totalmente criativo, você tem um problema. Então você está preso implementando modelos de análise técnica da idade da pedra.
Artigos relacionados.
Como se tornar um profissional.
Separando posições de alocações.
Por que eu deixei uma carreira de gerenciamento confortável.
Introdução ao Python Modeling & # 8211; Fazendo um modelo Momentum Equity.
29 de janeiro de 2017.
Um tipo muito diferente de modelo de tendência.
28 de novembro de 2016.
Norgate Data for RightEdge Review.
129 comentários.
Obrigado, realmente vale a pena & # 8211; Eu estou nos estágios iniciais de olhar para isto & # 8211; Você tem alguma opinião sobre quantconnect ou ninjatrader /?
Eu ouço coisas boas sobre o NinjaTrader, mas nunca usei. Eu provavelmente deveria dar uma olhada em breve.
Eu não tenho certeza sobre o QuantConnect. O que há para ganhar ao mudar para um navegador? Tudo o que você faz é perder o controle e a flexibilidade. É a tecnologia limpa e os elogios para os caras que fizeram isso, mas eu não vejo por que alguém iria querer usar essa solução.
Hey Andreas, Por que usar o QuantConnect?
& # 8211; Temos 15 anos de dados de resolução de ticks e ações e estamos crescendo essa biblioteca o tempo todo. E é grátis.
& # 8211; Temos uma pilha de nuvem massivamente paralela, permitindo que você backtest 5-10 anos de dados de escala em minutos vs dias. Permitindo iterações mais rápido do que nunca.
& # 8211; Seu nativo C # & # 8211; infinitamente extensível e poderoso. Não há limitações de idioma zero ao contrário de Ninja ou Tradestation. Não há como perder flexibilidade.
& # 8211; Temos centenas de algoritmos de código aberto que as pessoas estão compartilhando com a comunidade para outras pessoas aprenderem e crescerem.
& # 8211; Fornecemos tudo de graça e estamos buscando monetizar as receitas de negociação com corretoras.
& # 8211; Fazemos apresentações de hedgefunds de parceria quando as pessoas geram estratégias com mais de 3,0 sharpe e menos de 5% de rebaixamento. Escale sua estratégia uma vez que você tenha um trabalhando para o lucro máximo.
& # 8211; Somos operadores algorítmicos e tornamos possíveis todos os erros de iniciante antes que nossas estratégias começassem a ganhar dinheiro. Diante disso, e dado que os quants gastam 90% do tempo construindo motores quando deveriam estar focados em sua estratégia, acreditamos que podemos ajudar as pessoas a chegar ao mercado mais rapidamente.
Você tem 15 anos de dados de carrapatos? Hm .. Isso é bem significativo.
O acesso a dados de carrapatos é geralmente fora do alcance de pessoas que não são profissionais, devido aos custos e às dificuldades de fazer uma configuração adequada para a análise do nível de carrapatos.
Você pode compartilhar de onde vêm os dados? A limpeza dos dados de carrapatos pode ser difícil, como você sabe, por isso seria interessante saber quem está fornecendo a você.
Para os dados do tick, eu adiciono você aos Sites que eu gosto aqui.
Como eu mencionei para você antes, Jared, eu gosto do que você está fazendo. Ainda tenho algumas reservas sobre mudar para um navegador, mas não sou realmente seu público-alvo. Pode ser uma boa plataforma para os outros.
Apenas curiosidade mórbida: se a sua plataforma realmente tem zero limitações de linguagem, e tem todos esses dados de nível de tick muito valiosos, o que me impede de escrever um sistema de negociação & # 8216; que na verdade apenas despeja seu banco de dados de carrapatos para o meu próprio servidor?
Obrigado Andreas, nós fornecemos lista de nossas fontes aqui: quantconnect / data Temos tick-trades time-stamped para o segundo mais próximo, e trade-bars no segundo e segundo nível para todas as 16.000 ações (sem viés de sobrevivência).
QuantQuote possui algoritmos proprietários para limpeza de dados & # 8211; eles pré-limpam e nos fornecem as ferramentas para ajustar os dados para divisões e dividendos.
Re-curiosidade & # 8211; é uma preocupação e tivemos que encerrar algumas contas. Monitoramos o tráfego e os registros e sugerimos que você se inscreva com identidades reais, mas felizmente as pessoas tiveram muita integridade.
Maldito por me forçar a questionar minhas confortáveis noções preconcebidas, Jared! Eu estava perfeitamente contente em dispensar sua solução desde o início.
Não sou seu grupo-alvo, mas estou começando a achar que sua solução pode ser muito interessante para muitas pessoas.
Aqui está o que vejo agora:
Seu principal ponto de venda é, ou deveria ser, o acesso aos dados. Além de nós, porcos hedge, muito poucas pessoas têm acesso a dados de carrapatos ou dados ajustados adequadamente aos dividendos. (divisões e ações corp são fáceis)
Ser capaz de modelar em tal ambiente pode ser muito valioso para pessoas sérias que queiram entrar no negócio, desenvolvedores de hobby, empresas comerciais menores e até mesmo para empresas maiores como um ambiente seguro.
Se o seu ambiente realmente permitir o roubo de dados, de uma perspectiva técnica, ele parece bastante flexível. Eu obviamente esperava que você dissesse que isso não era possível e, portanto, negando sua declaração anterior sobre limitações zero & # 8230;
Ok, Jared, você está começando a me convencer de que o QuantConnect pode realmente ser muito bom.
Andreas & # 8211; Muito obrigado pela comparação detalhada, autoritária e ocasionalmente humorística do RightEdge ao WealthLab. Foi bem feito. Como alguém que lutou recentemente para avaliar ambas as plataformas armadas apenas com habilidades de codificação anêmicas, sua avaliação é muito apreciada.
Seu foco na margem do RE (trocadilho intencional) ao lidar com a simulação em nível de portfólio é fundamental; Isso pode explicar, por exemplo, por que obtive resultados diferentes em RE e WL executando dois sistemas de negociação construídos de forma idêntica usando os mesmos dados e regras de gerenciamento de dinheiro correspondentes. A diferença entre eles foi de apenas 20-60 pontos-base & # 8212; mas ainda assim, o suficiente para fazer você se preocupar que algo não está certo. Obrigado por explicar o que realmente está acontecendo sob o capô.
Além disso, notei algo mais estranho com o WL & # 8212; se você executar o mesmo sistema várias vezes seguidas, às vezes você obterá resultados de simulação diferentes.
Sim, é verdade que os filisteus por aí (inclusive eu) sem, ainda, boas habilidades de codificação em C # serão incapazes de alavancar RE para qualquer coisa que não seja o teste básico de sistemas. No entanto, estou supondo que muitos ainda prefeririam ignorar totalmente o WL e usar o RE como seu ambiente de teste de sistemas principal & # 8212; mesmo quando suas habilidades de codificação progridem.
Um ponto brilhante é como o RE garante que o código de teste do sistema seja o mesmo & # 8212; se você está criando em arrastar e soltar ou em um idioma. Isso permite que um novo usuário de RE & # 8212; que está lutando para consertar um problema usando a GUI do DnD & # 8212; para simplesmente conectar e executar algum código customizado fornecido por outros membros do fórum do RE. Em contraste, no WL, não consegui fazer isso funcionar de maneira consistente.
Resta ver se "& # 8212; e quando & # 8212; O RightEdge poderá tornar seu aplicativo mais fácil de usar sem diminuir a enorme flexibilidade e potência do aplicativo. Eu não sei se isso realmente vale o risco & # 8212; mas se fossem bem-sucedidos nisso, resultaria em uma base de usuários significativamente maior, o que traria benefícios para todos.
Separadamente, eu estou pegando uma coleção para comprar a Andreas uma camiseta que diz: "Ninguém coloca Clenow no canto!". Por favor, entre em contato para mais detalhes.
O que você quer dizer, ocasionalmente.
Haha Mantenha seu (s) trabalho (s) do dia.
Ha! Você acha que eu tenho um dia de trabalho!
Esse é realmente o comportamento esperado no richlab. Isso acontece quando você gera vários pedidos no mesmo momento, mas não tem o patrimônio para executá-los todos. Em seguida, ele randomizou quais ordens tomar. A maneira de evitar isso é definir uma classificação para seus pedidos simultâneos, então você obterá resultados consistentes para cada teste de retorno.
Verdade. Eu costumava fazer exatamente isso quando eu usava RE para modelagem de patrimônio há muitos anos. Calcular um valor de classificação e usá-lo para priorizar negociações.
Eu gostaria que você tivesse escrito isso um ano antes.
Eu também cheguei à conclusão de que a maior parte do SW disponível não permite que você faça o que quiser que a estratégia faça. Para piorar, prefiro usar o Linux, o que reduz suas escolhas a nenhuma.
Eu comecei a construir meu simulador, back tester e ferramenta de gerenciamento de portfólios usando Python e use Pandas (Python para biblioteca de análise de dados) para fazer a maior parte da codificação. Por enquanto, tudo bem. Acabei de começar a incorporar futuros, espero terminar em breve.
No entanto, depois de ler o seu artigo, sinto que cometi um erro. Assim como o wealthlab, estou executando minha estratégia & # 8221; sobre cada instrumento ao longo do intervalo de data desejado (para backtesting) e, em seguida, criar o portfólio para os instrumentos que foram acionados. Eu pensei que isso era mais rápido por algum motivo. Bem, é o que é agora, mas vou manter em mente o que você escreveu enquanto construía o próximo sistema.
Obrigado por escrever.
Alguns meses atrás, depois de ler seu livro, decidi comprar uma licença do Matlab como uma etapa de entrada, porque a versão inicial é bem barata e há muita documentação disponível para desenvolvedores, o que minimiza o risco de ficar preso há muito tempo, tentando programar a ferramenta para fazer o que quiser.
RightEdge parece realmente poderoso e adequado como uma solução de longo prazo, no entanto, encontrei algumas críticas negativas sobre a qualidade da documentação do usuário, então temo que a curva de aprendizado possa ser muito íngreme no início.
Em sua experiência, como está a qualidade do material em desenvolvimento com o RightEdge? Além dos problemas de programação C #, ao começar do zero, você pode confiar apenas na documentação do usuário e nos exemplos de código disponíveis on-line?
A documentação não é boa, mas o maior problema é em termos de expectativas.
A maioria dos comerciantes de varejo está acostumada a ser manuseada por software de simulação. Apontar e clicar, maneira rápida e fácil de fazer as coisas. RightEdge é claramente construído para pessoas que estão confortáveis com um ambiente de tipo de compilador.
RightEdge não tenta te ensinar como funciona o C #. Dá-lhe um modelo de objeto e você cai no fundo do poço. Não há nenhuma tentativa de orientá-lo quanto às diferenças entre usar uma matriz, uma sugestão, uma pilha, um dicionário, IList etc. Para ser justo, eu não acho que é a responsabilidade de RightEdge para ensinar C #.
Existem exemplos de sistemas incluídos, bem como exemplos de plugins para várias coisas. Ele vai assustar as pessoas que não sabem nada sobre programação e não estão dispostas a aprender, mas se você estiver familiarizado com o básico de usar o Visual Studio, você estará em casa.
Incluo exemplos regulares de código no meu relatório de análise semanal, com soluções de tipo de vida real.
Ótimo artigo Andreas.
Eu estou querendo saber, você pode realmente fazer alguma coisa com RightEdge? Digamos que eu queira usar alguma biblioteca estatística pary third, talvez executar GARCH ou algo assim, repeti-la várias vezes com parâmetros variados e, em seguida, plotar os resultados como uma função dos parâmetros com alguma biblioteca de gráficos third-pary. corre e, em seguida, colocar um pouco de gestão de risco sofisticado no topo de tudo isso, otimizar os parâmetros para isso, etc. Coisas assim podem ser feitas com RightEdge? As opções são realmente ilimitadas desde que você saiba codificar?
Sim, acredito que você pode fazer qualquer coisa. Claro, se você entrar nas coisas realmente extremas, você pode acabar usando tão pouco da aplicação original que você começa a perguntar por que você não construiu do zero & # 8230;
Se preferir, você pode ver o RightEdge como apenas um conjunto de bibliotecas. Você pode fazer toda a sua estratégia no Visual Studio, se quiser, apenas fazendo referência às bibliotecas do RE. Escolha o material que você deseja, como o mecanismo de série temporal principal, e crie sua solução em torno dele.
O que você está descrevendo deve ser possível diretamente no IDE de aplicativos. Construa tudo bem ali, ou faça um DLL auxiliar para cuidar de algumas tarefas. Eu costumo construir essas DLLs auxiliares por conveniência.
Boa. It’s always nice to know that the option is there if needed. Writing your own stuff from scratch can be time consuming and error-prone and is probably not worth it (given the price tag of RightEdge), unless your into, as you put it, really extreme things.
Again, thank you for taking the time to write this up. It’s great to hear how a professional does it. I have sketched out how I would like to develop my system, and I have chosen to at least start with python and associated libraries (free compared to $500) to build my simulation framework. I can easily pull data from a database, code up signals, keep track of positions and manage risk in numpy arrays. Would you still recommend something like RightEdge over a custom framework in python (or matlab if you want to spend the money)?
Also, I thought your book was awesome. Maybe these questions have been answered somewhere already, but I’m interested in hearing more about your background and career progress. Also, it seems as though trend following fees are being compressed and offered more and more as retail products. What are your views on the future of this industry?
Thanks, J. Many hedge funds build their own frameworks from scratch. It makes sense if you have the budget for it. If you’re a retail trader or a smaller institutional trader, it tough to justify the time spend on constructing and maintaining such a solution though.
In terms of technology, I’m quite agnostic. I look for pragmatic solutions only. C# makes the most sense for me in my environment, but there are many valid choices of environments. Consider the time you’ll spend both building and maintaining it though. It’s probably not worth saving a few hundred, unless of course the fun of coding it is part of your motivation.
My background is an unusual one. Perhaps I’ll write some day about the amazing experience and unlikely path I’ve been walking. The story might actually make for a good book, if I would turn out to be capable of actually writing a real book. And for all of you who just fell out your chairs (or cocked your guns) don’t worry too much. I’ll keep your names out of it…
The business is changing for sure. Most importantly, regulations are creating huge entry barriers and knocking out small players. Strategies are getting more complex as assets consolidate with a few large players. Low cost replication strategies are becoming available, putting pressure on single strategy managers. The world is changing and we with it. Those who don’t, go the way of the dodo.
The code ” Clenow Sent Me ” didn’t work! 😉 (So I used tradersplace Instead 😉
Enough jokes. I really like the way you are showing me as after work trader insights in to the work of a pro. It greatly inspires and improves both my thinking and my trading. I hope you will be here fo some more time!
Anyways, I had to move from my old trading software as it was quite limited. Glad I got your book at the right moment, considered both, WL and RE and bought WL because I got easier access to it (user friendly). Still had the feeling though that RE is more “trading”,
I am learning the ropes with C# now … and after reading your article considered RE again – and just bought it. I appreciate much what you already did for smoothening the learning curve with it but if you can afford some time and have further ideas – keep’m coming!
Btw: starting searching for the seccond book by Author Andreas Clenow. As I like the style you write, I bet this will be as great a read as your actual one.
I’ll do some more posts later on about how to make systems and plugins in RightEdge. I also plan to include more full systems and design ideas with RightEdge code in my weekly research report. Did I mention that I offer a weekly research report? And that you can sign up here? followingthetrend/clenow-futures-intelligence/
I’ll probably do a second book sooner or later. It takes a long time to write one though… I’m considering venturing into equity strategies with a follow-up book. The complexity goes up significantly in that area, but for some reason most people seem to skip over that. Handling dividends, survivor-ship bias etc opens a whole new can of worms.
A. Loved your book.
B. I have a license for Ami-Brioker that I have let expire and am contemplating the upgrade. Do you have any insights to possible short comings of that platform? Would this product be a comparable to WealthLab for a back up to RightEdge?
Thanks in advance for your response.
Thanks, Brian. I never used AmiBroker, but I know some people who do. Nick Radge (thechartist. au/) for instance loves it.
My understanding is that it uses some proprietary scripting language, and for me that’s a deal breaker. It might not be for everyone of course, depending on what you need.
I never used it, so I might be wrong here, but it seems to me as if AmiBroker is a pretty strong platform. The core weakness is likely that it seems to be a closed platform, which triggers an allergic reaction for me. If anyone reading this has interesting experiences to share, please chip in.
I got your book, just starting to read it. Any thoughts on developing on Seertrading, Multicharts, Tradestation, Ninjatrader, Trading Blox or Trade Navigator?
Also, what is the name of the hedge fund you manage?
I’ve got limited experience of them. You can’t try them all, or you’d spend all your time learning and testing new platforms.
Seer Trading: Never heard of it. R integration seems interesting though. The native multi system simulation seems interesting as well. Seems like you have to use FXCM or IB though, which is a huge negative.
TradingBlox: Seems to have very good functionality built in. Too closed platform for my taste. Extremely overpriced. Who pays $4,000 for retail trading software?
MultiCharts: Looks quite interesting. Over priced, but a little less extreme than TradingBlox. Hard to tell from the docs if it can do complex tasks or not. Built in Bloomie real time adapter is a nice extra.
TradeStation: Last time I used this, admittedly some years ago, it was strictly low end retail. I’d be very surprised if they managed to enter the field of complex portfolio simulations.
NinjaTrader: Seems ok and I know people who use it. A worrying phrase in the docs is “C# based NinjaScript”, which makes me worry. Either its real C#, or its a proprietary scripting language similar to a real language. And I’m allergic to scripting languages.
TradeNavigator: Never heard of it. Doesn’t look promising from their own marketing: “Unlike other analysis platforms that use Pascal, C# and Java, Trade Navigator uses English and simple math symbols to allow for easy implementation of strategies”. That seems to say “We think you’re an idiot who don’t understand computers or simulations”.
My funds: The only fund I manage that open for new investments is the Globalanced Systematic Fund. I very deliberately avoid mentioning my asset management business on this website, as regulations around hedge fund marketing are getting very strict and I don’t want this website seen by regulators as fund distribution.
I use Trade Navigator and my experience using it has been excellent. I’ve been using it for 2 years now. I do not use overly complicated functions but for what I use it for it has been fantastic. I am technical trader, use of EMA’s and support and resistance in the futures, forex and CFD markets.
I know one of the best futures traders in the world ( Peter L Brandt) uses their platform…that’s where I learned of them.
Hi Andreas, hi all,
1.) Absolutely outstanding book you’ve written, Andreas. Many thanks for writing it.
2.) AmiBroker: When reading the part about Wealth Labs’s portfolio-level testing, you could as well described AmiBroker portfolio testing.
As with Wealth Lab, the portfolio-level testing part has been added late in AB’s development (the old – individual instrument-based – backtester is even still there as an alternative). So as with WL – two separate runs, the first one calculating the entry - end exit-signals within the single instrument’s array (AB is heavily array-based), the second one doing all portfolio-based calculations (position sizing, etc).
Thus, the first run (the one in which your “normal” code is run) has no clue about all portfolio-based variables (equity, cash, etc), the second – porfolio-based – run (that can be accessed via AmiBroker’s “Custom Backtester Interface” – which AmiBroker’s manual regards as “the advanced stuff”, and which is a completely separate part of code within the main code file) has no clue what instruments are or have been processed. So the difficulties come in when a calculation needs information from both of these runs (i. e. position sizing, risk management, etc).
Of course there are ways for solving this. The easy ones are fixed functions like “SetPostionSize()” which bridge the gap between the first & the second run with some simple out-of-the-box position sizing algorithms which are rather inflexible, the more complex ones involve many rather awkward & errorprone workarounds.
If you have a knack for slightly more complex position sizing & risk management algorithms, AmiBroker can be a real pain in the a**.
The favorite sentence from AmiBroker’s developer is that “you can do *everything* with AmiBroker”. While this might be true, oftentimes the process of reaching an often rather simple goal is surprisingly and unnecessarily complicated, error-prone, time-consuming, and in the end frustrating.
On the other hand, primarily because of AB’s heavy use of arrays (generally, you don’t loop through the bars, but rather manipulate the complete e. g. price array of a given instrument with one single function), it’s very easy to code indicators, scans, and quantitative research (the kind Cesar Alvarez or Quantifiable Edges’ Rob Hanna does). But imho it’s really not ideal in the way of efficient for serious portfolio-level system backtesting.
Thanks, Torsten! Excellent write-up on Amibroker.
I’ve got a couple of people I trust who are urging me to try out AmiBroker, so I might have to test it myself. It sounds very much like they’ve landed in the same trap as WealthLab though.
One thing that puzzles me is that people I trust are claiming that AmiBroker has a built in method for only considering stocks that were part of a given index at a given date back in time. Taking historical index constituents joiners/leavers info into account. I’ve got a pretty complex solution for that myself, so I’m quite curious if this is really solved by Ami.
The position sizing and risk management mess created by the dual run hack makes it a non-starter for heavy duty work though. Still, from what I hear, it sounds like a good competitor to WL. I’ll have to give it a spin soon.
Funny enough, I replied to a thread on LinkedIn recently about C# trading platforms. A guy working for WealthLab quickly jumped in, assuring everyone that with their platform you can get rich in no time by spending just five minutes every evening at the computer. Amazing that they don’t just fire people dumb enough to make such claims in public. It reflects very poorly on their organization.
Historical index constituents: Yes – but it’s not really a build-in functionality of AmiBroker. I guess your friends are using the Norgate Premium Data database ( premiumdata/ ) – which currently is the database of choice for AB users (as it’s of good quality & nicely integrated into AB).
While the version of the database offered on Norgate’s site (v3.x) doesn’t have the historical index constituents functionality, the non-public alpha version of v4.x does (plus some more improvements). Norgate’s developers have written a plug-in for AmiBroker which adds a couple of historcial index constituents related new functions to AB’s scripting language (AFL).
While this version has been labeled “alpha” for several years now (don’t ask me why), generally it’s working pretty well. As a Norgate subscriber, you can just send them a message about being included as an alpha tester.
Speaking of Norgate, RightEdge sounds pretty promising, and I really would like to test-drive it sooner or later with Norgate’s database. But in order to do that, I obviously have to code a data plug-in. And coding plug-ins generally sounds somehow intimidating. While I’m sort of confident that I can learn C# (I coded assembly language as a hobby as a teenager), in order to play & learn with RightEdge, I need something to play with, i. e. dados. For which in turn I need a data plug-in… Additionally, I guess one has to solve that historical index constituents thingy by oneself, as there’s no related plug-in for RightEdge as there is for AmiBroker (yet?).
Regarding AmiBroker, in order to get an overview of its concepts, you could just read the following pages of its manual:
Understanding how AFL works [concept of arrays in AB]:
Back-testing your trading ideas:
Pyramiding (scaling in/out) and mutliple currencies in the portfolio backtester:
Interesting, thanks. I’ll take a look at Norgate as well. My current data sources are priced beyond reach for retail traders and I’ve been searching for a good equity data provider accessible to retail.
As for plugins, data providers etc: RightEdge comes with enough sample code for most people to figure it out. Of course, you’ll need Visual Studio to make the compiled DLLs. If I like the Norgate data, I might even make an adapter and publish the code here. I’ll check with them if they have an API for the historical constituents data. Should be easy to make a RightEdge adapter for that too.
In my current solution, I’ve made a RightEdge indicator that shows 0 for days where the stock was not part of the specified index and 1 if it was in. The indicator queries my MySql db in the constructor and builds a time series out of it.
Ah, I think I found the Achilles heel of Norgate. They don’t adjust for dividends, nor do they provide dividends info. Oddly enough, they say that the reason for this is to “stay in sync” some index providers who don’t adjust for dividends… Sounds like a pretty poor excuse for not handling data properly.
In reality there are dividends which can greatly affect returns over time. Portfolio models using stock ranking and selection mechanisms will end up picking the wrong stocks without this info.
Not so fast :-). Both of these issues have been addressed in the alpha of v4.x (that’s what I’ve been refering to when speaking of “some more improvements”).
The plug-in has an “options” window where you can change the behavior regarding a) date padding and b) adjustments for corporate actions. While v3.x only adjusts for Capital Events and Special Cash Dividends, in v4.x you additionaly can choose to adjust for Ordinary Cash Dividends.
Historical dividend info is there as well; the Norgate plug-in puts it into the “Aux2” array for each symbol in AmiBroker.
Now it’s getting interesting! They really need to update their website with this info.
You’re welcome, Andreas. I would contact Richard Dale of Norgate – he’s pretty open to sensible suggestions.
I’ve asked them about supporting RightEdge some time ago, but they’ve never heard of it at that time (but obviously it’s been put on some “to-do” list).
PS & # 8211; just a personal observation: I am aware that AB has plenty of very happy users. But over time, I’ve got the impression that this user-base – apart from the basics – is not very interested in (dynamic) position sizing and more complex risk management (e. g. dynamic control of position risk, sector risk, portfolio risk, directional risk, etc). I. e. I’ve very rarely seen discussions (let alone code examples) about such topics within AmiBroker’s community. Personally, I’m very interested in those things, which probably is the reason why I tend to constantly run into walls with AB. Another topic would be multiple systems with AB. While I’ve seen several discussions about it, I’ve never seen a real solution (AB’s developer said it would be “possible”, though).
I just spoke with Richard at Norgate and I’m very positively surprised. Their low prices and quite horrible website set my expectations low, but they actually seem very professional and their data looks very interesting.
They seem to have some critical data that to my knowledge no other retail data provider holds. If they can deliver what they promise, they seem severely under priced.
I’m going to try out their data and if it all seems as good as it sounds, I’ll help them integrate it into RightEdge. I’ll report back with my findings later on…
Great to hear that, Andreas! I think I’ve made a good decision when choosing them as my data provider – imho they’re absolutely excellent.
Just don’t persuade them to increase their prices – we small-timers need some affordable quality data as well 😉
Also, it would be fantastic if you could help them integrating into RE. When one is just starting out on a new platform and/or programming language, having to do one of the harder things (i. e. coding plug-ins) right at the beginning is probably sort of challenging.
What about Matlab, or Matlab + C#? Since most trading ideas go nowhere, a fast prototyping language that is flexible seems ok.
Absolutamente. Matlab is just fine, when used by someone skilled in the platform. I know of at least one billion dollar hedge fund using Matlab as their main modelling platform.
Matlab might not be the most intuitive language environment for beginners of course. For those who already learnt Matlab during university studies, it’s a great platform to continue using.
I’m all for quick prototyping. Getting the job done is more important than getting all the details right from the start.
Thanks for the great book it’s now one of my favorite books.
I am new to systematic/strategic trading after going through your book I came to know about Rightedge. As of now for I been using Amibroker but I am currently working on developing my own automatic trading system. Currently bit confused and require a little help.
1st I am planning to buy rightedge , but as I still own Amibroker lifetime license I am not able to make the decision if should explore rightedge or continue with learn Amibroker AFL language (I do not really like the AFL codes).
2nd how an ideal algo system should look like.
Database on separate system Mysql?
For charting, strategies and backtesting rightedge or amibroker ?
Whats for Trade execution?
Você pode por favor ajudar.
I never used AmiBroker, but I hear it’s good if you’re not much into programming. I prefer standard architecture and strong APIs, so RightEdge is more for me.
Please tell the guys at RightEdge that I referred you, and you’ll get a discount. Use my coupon code, ‘tradersplace’. I get a small fee ($50), but more importantly the more people I refer the more they’ll listen to my improvement suggestions.
I’m planning on doing a post about my views on how to set up the infrastructure, databases etc. In brief, I get my data from various sources and have my own C# applications collect, standardize and push into a MySql. From there I make data adapters for RE to fetch data from my DB.
You can do execution straight from RE if you like. I don’t though. Mostly because I’m a control freak and I don’t want a computer to take over my executions. We execute everything manually here.
I guess you’re already in the process of evaluating Norgate – but at least for everyone else – Cesar has recently written a nice post on their “eternal alpha” software:
Hi Thorsten, i know this is almost two years since your post but as an AmiBroker user who is also interested portfolio management, dynamic position sizing and more complex risk management i was wondering if you stuck with AmiBroker?
If yes, I’d be happy to get in touch to discuss how to best use Amibroker for those purposes.
Hi Larry P, I am also very interested in this topic. You can contact me at jofnilsen@hotmail.
I truly enjoyed reading your book. It really made me curious to learn more about trading based on trend while at the same time focusing on volatility and diversification. However, your book focuses on the professional with an institutional investor base.
Personally, I find it hard pitching to investors a simulated result without any hard track record. Thus, I would like to ask you how a ‘newbie’ without any coding and future trading experience can become a ‘professional’ trader. In fact, one of the major hurdles is the small cash base in a retail portfolio.
I would like to implement strategies for my own personal retail portfolio resulting in sane, realistic investment returns. I would be interested in your opinion pertaining to starting in this field with a retail portfolio constraint by a low cash base while at the same time having no experience in this market. Is it possible to replicate your strategy i. e. with mini futures? And how to gain in a quick manner coding and future trading experience without allocating to much time in coding rather than in finding profitable strategies.
Again, I would like to point out that your book is superb and that it really motivated me.
With scandinavian greetings,
Getting in is tough. I’ve never taken the traditional route with anything, so I’m sure if my own path is of much help.
I generally believe that having a solid science background is very helpful. It’s more useful to have a degree in physics than in economics. I say that despite the fact that I have a degree in economics myself.
Since you’re in Europe, you could use CFDs to trade in smaller scale. It’s a little more expensive to trade, but would enable you to take smaller positions. Expect to lose money early on, so don’t trade big.
My view is that you need to have a good understanding of coding in order to be a systematic trader. You’d be helpless without it. This is the core of the business and if you don’t fully understand every detail, you’ll be at the mercy of others.
Overall, focus on the portfolio level. The idea of single systems for single markets is amateur world. You need to focus on overall portfolio returns, not on position or instrument level.
Thanks for the comparison of Wealtlab and RE, that is truly helpful!
At the moment I’m using several platforms to backtest my trading strategies (AmiBroker, Investox, Excel/VBA) and every platform has its limitations.
Especially in the area of risk based position sizing and portfolio back testing I came to the limits of Amibroker and Investox pretty fast, so I used good old Excel/VBA to program my future trading strategy.
Regarding Amibroker I totally agree with Thorstens statement. The tool might be capable of everything but sometimes you spend 3 days to achieve a rather simple objective and it is frustrating if you just want to test your trading ideas (e. g. ATR based position sizing in the custom level backtester).
At the moment I am taking a more detailed look at RightEdge and there are two topics I would appreciate your (and all others) opinion on, before switching platforms:
RightEdge Community: The RightEdge forum looks quite abandoned to me. There are a handful users and the developer discussing several topics. I understand you talked to the developers. Do they have a roadmap for the further development and maintenance of RightEdge?
Availability of plugins: I’m surprised that even standard data connections (e. g. metastock) are not part of the RightEdge installation. It seems that several users have the same issues and have developed plugins for themselves. Besides the Right Edge forum, do you know a place where users share their experience regarding plugin development or even share their plugins?
Obrigado pela ajuda!
I’m concerned as well with the low activity in the RightEdge forums and the lack of improvements and developments of the product.
I really like RightEdge. I think it’s a great piece of software and I’d gladly pay ten times the asking price for it. But, it’s not without worrying elements. It seems to have gone from a ‘real’ company to a hobby project. The developers are not focusing full time on this product, but rather have other jobs in the software industry and see RightEdge as a side revenue.
That makes RightEdge more of a boutique software. The current version, which came about around four years ago, is really good. It’s just a pity that they don’t continue and built upon it, making new versions.
The problem with the overly commercial competitor platforms is the opposite. They keep doing new versions, usually making them less useful for high-end developers and catering to the get-rich-quick retail crowd. Of course, that’s where the volume is for charting/systems software.
For me, the issues you point out are clearly a concern and something to be taken into account. It’s not however a showstopper for me.
As for a dedicated forum for high-end RightEdge developers, perhaps I should just start one. If there’s interest, I could set one up on this site. For such a forum to be useful though, we would need several people willing to contribute ideas and help answer questions. I’d be happy to help out, but I wouldn’t want it to become a “Q&A with Andreas”. It would have to be based on everyone helping out.
If there’s interest, I’d be happy to host such a site though.
As a long time user of another ‘comercial’ software I, I moved to WL / RE after I read your book. As I have a full time job, I am still in the learning stage with everything, the software, C# and programming my systems. Some things are trial and error but fort me this is where I learn the most for myself. I’d be happy to share and contribute (although it isn’t that much atm ;-).
If we can build a large enough base of eager traders, this could be a useful resource for all of us.
On a side note: I’d like to get an adress as I’d be glad to have signed my copy of your book. You may PM me if that is OK.
Hi Torsten, i know this is almost two years since your post but as an AmiBroker user who is also interested portfolio management, dynamic position sizing and more complex risk management i was wondering if you stuck with AmiBroker?
If yes, I’d be happy to get in touch to discuss how to best use Amibroker for those purposes.
I have been using RE since about day dot when it started and helped develop some of the ideas they have in there now. I am one of the old forum users who lingers around every now and then.
I also use it with Norgate data (metastock) so it can be done with a bit of work.
I like there platform for every reason Andreas lists but also agree it looks a bit abandoned at the moment.
I believe the biggest problem for RE is actually the low price. 500 once off, with no maintenance fees, means that there’s a limited economic upside for the developer. I’d much rather see a yearly fee of 500 bucks and a more active development cycle. I’ve told Daniel my view on that in the past.
I’ve even contemplated making a bid for the whole thing and turn it into a much larger business, but frankly I’ve got far too much going on at the moment to be able to commit proper time to oversee it.
I’m hoping my articles are getting them enough new users to increase the activity a bit. It’s an amazing platform with great potential.
Shoot me an email –I can’t find yours – Just about your last post. I have though about the same thing as well.
Great article again, Andreas! And good follow up discussion! As i’m new to portfolio level simulations, it had saved me lots of research time.
This was such a good article, it has inspired me to try to use RightEdge for our own trading! I just created a post where I lay out some of our use cases:
Perhaps you have some insight or opinions you would be willing to share? Also, feel free to email me.
And thanks for the excellent work!
I heard great things about Genesis Trade Navigator. Have you ever heard about them? They offer tick data for backtesting back 30 years because they have own database. And also a very simple programing language.
I looked into them briefly after someone asked a while ago. I believe my conclusion was that it seemed like just another simplistic retail package. ‘Simple programming language’ is actually a bad thing. All these proprietary languages are all horribly bad. They are all severely limiting and they’re not fit for professional use.
Can one execute live trades via RightEdge or WealthLab? What do you use for executing live trades? Saxo Trader?
Thank you in advance for your reply!
WealthLab is gimped after they limited themselves to one single broker.
With RightEdge you can execute automagically with any broker you like, as long as they support some sort of API. RE has a strong API for making your own broker plugin if you need.
We use several different brokers. I’ve worked with most large banks over the years. We do all execution trading manually and don’t use automated software for that.
I thank you for your reply! Does it mean you use RE for charting? That you see your signals and then execute them manually? Since I am looking for a good software where I could also manually execute my trades.
I use RE for a number of things. It’s a great platform for simulation work of course, to develop strategies in. Then I also use it for signal generation for trading models, where I let RE output the alerts to email, database, popups boxes etc.
RE can also be a pretty good portfolio management tool, if you extend it a little. Pre-load the exact real positions and perform analysis from there.
Finally I also use it for automated reporting and analytics. For instance, the ‘trends of the world’ page on this site and many similar things are done with RightEdge.
Andreas, in terms of signal generation, is RE aware of the current portfolio when it generates signals? For example, if one has remaining capital for one more position only, will RE generate only one signal? I know it can be done in backtesting, but what about the live trading?
Yes, it can be done properly. By default, the application is aware of the current (simulated) portfolio, and takes it from there. It prioritizes trades in the order that they were submitted and takes the ones that are possible given cash constraints etc.
If you want to improve it further for live use, you can load your actual live portfolio to get a real life starting condition before signals are generated. You’d have to code that functionality yourself of course, but it can be done.
Andreas, how are things going with the RE’s PremiumData adapter? I thought you were beta-testing it last year. It seems its development has stalled. Perhaps, building industrial-strength adapters for RE is not that easy after all. It’s a pity as this is a major road blocker for me.
Last I heard, it was delayed but still on the way. Premium Data is attempting something very different, going far beyond just a regular data adapter. They’re doing instrument selection based on current and historical index constituents, cash dividends adjustments etc. Quite complex work. I should know, we’ve built the same for our own in-house environment, using a different data source…
Good to hear the project is not abandoned.
Interesting discussion re Amibroker as I’ve been attempting to replicate Andreus’ back tested results using virtually the same market set he states in the book and keep hitting a brick wall in the Amibroker results. Despite being reasonably confident in the code I’m using and a quality Norgate data supply there always seemed to be a disconnect to the backtested returns which you demonstrate in the book so it’s interesting to hear from Thorsten that description of how Amibroker position sizes and why it potentially would not be accurate. The big question mark over my mind now is whether to start again from scratch with Right Edge (and learn how to code in C# which sounds like a very long road ahead) or to continue to attempt to code in Amibroker. As I’ve already got a data subscription and the data itself I’m not sure how difficult it would be to get that data into Right Edge and it doesn’t sound as though it’s as supported as the Norgate/Amibroker currently is…
I spoke with Richard Dale at Premium data last week. He tells me that they’re almost done with a fully integrated RightEdge adapter. They were waiting for some improvements to the symbol watchlist API, which was just released in build 34 a week or so ago.
You don’t need any deeper knowledge of C# to write trading models. Get the trial, drop me a mail and I’ll send you some sample trading models for you to start off with.
Thankyou so much for this update and your kind offer. I will kindly bite your hand off to that suggestion and will be in touch once that Premium Data adapter is released. Have already purchased my C# Programming Yellow Book and as this is a medium/long term path I’m on this help is enourmously appreciated. I’ll keep you updated along my journey as being based in London I’m using SAXO CFDs also whom I understand you have a business relationship with…
I got the same experience as you Simon, I just can’t see to get the same results as Clenow, I get in the proximity of his results, but that is not good enough for me, I can’t trade not knowing that my system is 100%. Now Im converting to rightedge.
Since I have paid for premiumdata for amibroker, I will try and use them, they said they had a plugin for rightedge, but they still had some minor bugs needed fixing… Im waiting a few more days, if they can’t fix it I will use quant quote and mySQL solution.
I think they’re finally done with the RightEdge plugin. They’ve given me an access code for it, but I didn’t have time to try it out yet.
You mentioned Saxo Bank Switzerland as a honest bank/broker to go. I don’t know how the Swiss branch, but almost all other branches of Saxo Bank are terrible, especially the Danish one. I read several terrible reviews on Saxo. I laso asked a few friends of mine who used Saxo for some time.
I found that they manipulate with price and their support is terrible. Also the Saxo Trader has a lot of bugs.
I hope it is not the case for the Swiss branch. I guess you know their trading platform well. Can traders add new indicators into the platform if they are programmers?
Thank you in advance for your reply!
All I can say is that I’ve dealt with quite a few investment banks around the world and I’ve got nothing but good experiences with Saxo.
I’m also aware of this trend of hating on Saxo by the anonymous kids in the hobby trading forums. Frankly, all I’ve seen is a bunch of people hiding behind fake names throwing random accusations in anger. They even keep spamming the comment section on Tradersplace with these ‘saxo stole my money’ Absurdo. They sound like every other internet child trash talking Rebecca Black, Justin Bieber or whatever the hate object of the day is.
Bottom line is simple. If you’ve got something real, then present it. This is Europe. Saxo is a regulated bank. If there’s price manipulation, go sue them. Faça uma reclamação. Get a lawyer. Instead these people are behaving like little children throwing tantrums, hiding behind fake screen names and throwing vague accusations around.
This is a grownup game. I have no patience for these childish internet troll cultures. If these people can’t play a grownup game, perhaps they should do something else.
Now, I have no idea of whether Saxo has ‘manipulated prices’ whatever these people mean by that. I also have no idea if Goldman has done so. But if I thought a bank had ripped me off, they would hear from my lawyers. Not from my anonymous hate comments on some daytrading site.
I thank you for your reply! I will give them a try! I trust you since I really like your book and I tested everything mentioned in the book and everything is as you said … you are definitely not a scam artist! 🙂
I tried their demo, but I couldn’t find the ATR stop indicator in Saxo Trader 2 you mentioned in the book. I want to program it. Do you think is it possible? I worked as a programmer over 2 decades, so it shouldn’t be a big deal for my programming skills.
Obrigado Tom. I should mention that while I do have a business relationship with Saxo, I have no economic interest in them gaining clients (like you). My relationship with them is both that they’re one of several banks we use for my firm and that I write occasional paid articles for their website.
As for their platform, I don’t use it much. We do some execution via that but I wouldn’t use it for charting, analytics etc. Most banks have pretty horrible platforms for that, even the big prime brokers.
If you have no problem with programming, I’d get RightEdge instead.
Using Saxobanks platform you’d use the trailing stop function based on the x multuple of ATR(xx) that you’re getting from another data source which you’d need to update periodically for changes in ATR.
I don’t use Saxo for thier data, just for their brokerage services, for data I use Norgate Premium.
thanks for sharing your thoughts and insights on this site an in your books!
A question regarding software platforms. I use Matlab for my models which is fine but not always the nicest way to go if you want to try some new ideas. I wonder if it could be worthwile to use a more “ready to go” platform for protoyping? I was thinking of trying Mechanica as it seems to offer some relevant features (PF Simulation, Multi-Systems). There may be other platforms offering the same, but my question is not product related. Do you think using a different platform for prototyping could make sense?
I can’t say that my MatLab skills are very good, but as far as I know MatLab is really meant to be a prototyping environment. It’s fine for production as well of course, but prototyping is supposed to be where it really shines, right?
I’ve never used Mechanica, but I absolutely balk at the price tag. I haven’t seen any explanation of why it costs so much and what makes it better than more moderately priced solutions. Their website looks like it hasn’t been maintained since 1999, which isn’t a very good sign for a software company. They charge 25 thousand bucks for a product that they absolutely fail to explain on their site. Their pitch is kind of a one liner about how they are the most powerful on the markets, with zero substance to back it up. I can’t really take that seriously.
We work primarily with RightEdge, using our own quite substantial modifications and additions to it. Standard language environment, open architecture, easy to extend… I take that over some 25k black box product any day.
thanks for the quick response!
“I take that over some 25k black box product any day.”
Bom ponto. It’s indeed amazing how little details they offer.
MatLab ist fine, especially in the derivatives space, but I don’t know if it would be my number one recommendation for trading systems, if had not had to learn it earlier on anyway. But of course you can extend the possibilties quite freely.
The features of RightEgde, especially the use of a real programming language, are fine, although their site does not look as if they were earning a lot of money. Anyway, as C# ist even more versatile and your work is speaking for itself I think I will give RightEdge a shot then.
Great blog and very useful information. I am just getting started with RightEdge but given I have a compsci background I love the fact that I can build plugins and add funtionality.
2 quick questions.
1. How are you accessing general meta data from within your strategy? Are you directly accessing your SQL database from your strategy code or are you loading this meta data into the symbol information somehow? One example would be “Point Value”. I have a lookup table in my database for each product and all the relevant data associated with it but I’m just figuring out the best way to make this available. The new SymbolSource service allows me to load symbols from my database into a Watchlist but that relies on the RightEdge Symbol class having fields for all the data I might want to load. I was therefore wondering if I could/should just load my meta data from my SQL database directly into my strategy (perhaps in the SystemBase startup?). Im sure there will be more data other than just contract details that I will want later so having this ability seems like it would be useful.
2. How are you configuring contracts such as Eurodollars. RightEdge only has contract size and tick size but if you input contract size = $1,000,000 then I would guess the PL calculations will be wrong as 1 point move should be $2500 per contract and not $1,000,000. Do you just configure RightEdge’s contract size to be the PointValue in these cases?
Apologies if these have been answered before. I have been googling around and looking at other posts and I couldn’t quite see anything.
Exactly the reason why I love RE. You can do whatever you want, as long as you’ve got a decent tech background.
MetaData: I load all the fields that RE are designed to hold, using a script of course. There’s an xml file in the user profile called something like symbolconfig. xml. You can write to this to auto add large amounts of metadata, populating from your db etc. Just be aware that RE is a bit touchy about this file, and if you make a mistake in the XML RE won’t start. So be sure to back it up… Anyhow, editing is easy if you’re familiar with XML.
Use this to populate point value, sector, industry etc. Don’t set a tick value, since that wouldn’t work well with back adjusted series. Setting tick value forces that minimum move, and with back adjusted data you might get something very different.
For other metadata, I just let the system ask the db directly. Could be market cap for a stock, dates where a stock is part of a particular index etc.
Eurodollar (and all rates markets): Use the point value, not the contract size. The two are the same for almost all markets, but not for rates. But you already know that, because what you say is absolutely right. For ED, divide by 100 and then by 4. For bond futures, divide by 100 (for most of them anyhow). Your numbers are absolutely correct, Dan, 2500 for ED etc.
Thanks for the quick response! Sounds great. For all the other data I will just setup some sort of clean way for strategies to request data directly from my SQL database.
Have you noticed that CSIData “PointValues” seem strange? I think the issue is that what we really want is what they call “Whole Point Value” (I’ve seen this in some CSI Future factsheets) but it doesn’t seem to be available as part of the download. I think I will just configure these myself. There aren’t all that many and it will just be a one off setup.
There are so many things that I will want to do both for backtesting as well as daily trade generation and keeping track of live trading systems and risk but because it seems so flexible I don’t see any reason they wont be possible with RightEdge and Visual Studio… I mean…the strategy code is clean C# with full CLR/ capabilities meaning I can pretty much do whatever the hell I like inside the strategy code…. (within reason 🙂 )
I seem to remember some oddities with how CSI label their meta data fields, but it was a long time ago. We make our own lookup tables, and just ensures that the incoming data is in the right format. (heads-up for classic dollars vs cents issue…)
The first time I set up all the symbols in RightEdge, I made an Excel spreadsheet with all data, and then a quick little VBA hack to make the necessary xml changes. For futures, it’s at least possible to do manually. Try entering a few thousand stocks with names, sectors, industry, currency etc 🙂
An interesting thing with RE is that you can use it for much more than it’s intended to. Among other things, we use it as a reporting engine, calculating analytics and pushing results into databases. The premium report on this site (which by the way is really neat and everybody should sign up to right now!) is almost completely automated with RightEdge. We make results plugins for RightEdge that really just gather relevant data, inserts into databases and generates nice looking reports.
Just FYI while were we’re talking about PointValue etc. I noticed that your PointValue for JPY CME futures in Following The Trend appears to be wrong…
As far as I know the contract is quoted in cents (ie. currently 1 yen.
0.8 USc) and the contract size is 12,500,000 unless you trade the minis/micros.
I would therefore expect the pointvalue to be for a 1 cent move (ie. from 0.8 USc to 1.8 USc) which would change the value of the contract by 12,500,000 yen.
In your table you have it as 1,250 but in units of MM JPY. That would make it a 1.2Bn Yen PointValue.
It would make sense if your your point change was a $1 change (ie. 100 cents). Maybe I’m missing something.
Also, the EUR/JPY future has a Unit of CHF in your table in the book.
P. S. I wasn’t sure if there was an errata published anywhere but couldn’t find one on Wiley website.
so I gave RE a shot! Here are my impressions from the first 12 days (ok, 4 active evenings to be honest) of evaluating the software.
What you do need to get ahead are basic programming skills in a higher language like JAVA or sth like that. Any language of this kind will do, C# is very easy to learn if you know the basics of any similar language.
If one does not know anything about coding then I think learning the language on this system is not the easiest way. If somebody does not know a lot about coding, I think it to be smarter to learn the basics of C# separately for some weeks before trying RE. This will slower you in the beginning but will be a lot more motivating to keep going.
After reading through the documentation it was quite easy to create the first simple model. I just recreated one of the simple trend following models and used the historical data of the Dow 30 Stocks. I also implemented the ATR based position sizing. These steps are very easy, and apart from looking up something in the API reference to really understand, how the system works, there are no bigger obstacles. Taking some time to review the possibilities given for adjusting the result output, I may say that after some days of serious trying one is able to test ones own ideas.
I will now install mySQL, get some real data feed and try to put it all together. Andreas, if you have any suggestion or could tell me about some possible problems, please let me know. Obrigado!
The RE website should not discourage anybody. The software is fine, the documentation is good and the flexibility is great.
Sounds about right, Nick. It matches my own experiences with it.
Frankly, the largest hurdle for most will be to get the data into the application to begin with. That’s something that they could have made so much easier.
Be sure to look into the class MySystem. It opens up for many interesting tricks. Most people only use MySymbolBase. Really horrible class names, btw…
Just wondering if you have any experience of CSI’s applications or RightEdge on Windows 8/Windows10? I am currently running Windows 7 and am, for now, ignoring Microsoft’s free Win10 upgrade as I don’t really have a need but just for future planning it would be good to know if it works…With RightEdge being CLR/ I expect it should but you can never be sure and I have no idea about CSI’s apps.
I cant find any comments anywhere so wondered what version you run/have tried. No problem if not, I can just email and ask.
I’m running both on Windows 10 without any problem.
So far, I’m very happy with Windows 10. They took out the annoying parts of Windows 8 and everything just works.
Do you know of a provider who has got adjusted data for European stocks (LSE in particular)? Norgate looks great but only covers USA & AUS.
Assuming you would like something resembling reasonable pricing, I don’t really know. I haven’t bothered researching it too much, since I don’t like trading UK stocks. The stamp duties is a huge problem, and the market in the UK has been performing horribly bad for a very long time…
If budget isn’t a problem, Bloomberg or Data Stream should be able to sort you out. That’s not exactly retail pricing territory of course.
Thanks for the comparison. Have you heard or used OpenQuant, any comments on this platform? Recently they published OpenQuant 2014, which provides much more flexibility. I’ve tried the software for several days(trial version), and it does provides all the advantages that you mentioned about RightEdge, like built-in database, portfolio level backtest, dynamic position rebalancing, self-implemented GUI dlls and data/execution providers.
I haven’t used OpenQuant, but I hear good things about it from friends in the business who use it. It seems to be a solid platform.
Of course, the price tag is a little different from RightEdge. Their lowest tier version cost about as much per month as RightEdge cost in total, and their full package will set you back about $22,000 per year. It’s unfair to compare that to the once off $500 for RightEdge.
I have demo’ed RightEdge and I quite like it but my only concern is that there doesnt seem to be to many active users of it or much new development going into it. Have you taken a look at NinjaTrader 8? It is in public beta and is much more extensible than the prior version. Take a look at the AddOn extensions which essentially allows you to leverage their low level objects to build your own mini applications within Nt8. Another platform to take a look at is Iqbroker which is in a closed beta(email them for access). It has an excellent object model for portfolio level back testing and even lets you construct portfolios of strategies. I would be interested what your thoughts are on these platforms.
I’ve looked at NinjaTrader briefly a few years ago, but I don’t have enough knowledge of it to have an intelligent opinion to share.
I also wanted to mention after reading the comment chain is that ninjascript isn’t a proprietary language. It is essentially just the base class that strategies are based on in NinjaTrader.
Big fan of Following the Trend, and I just finished Stocks on the Move. I am currently learning to program, and I’m trying to decide on system development software. I was thrilled to see your recommendation for RightEdge, because the features are ideal and the price is very affordable. I’ve heard very good things about Bob Spears and his Mechanica Software. Have you used Mechanica and have any opinions about it?
I find the pricing of Mechanica to be somewhere between insane and laughable. I don’t get how these software packages can sell at such outrageous prices. There are many similar ones in this segment, with horrible 1998 style websites and no real explanations about why they’re worth the crazy money they ask for. Same with things TradingBlox and PowerSt.
If you charge a very steep price, at least you need to be able to explain why.
A few years ago I asked the guy behind PowerSt why his software was worth something like 50 times RightEdge (per year). He listed only standard features which every serious (even free) simulation packages have and got really upset when I wasn’t convinced.
I’ll going to try RightEdge. One thing that I’ve heard that Mechanica does differently is to Automate the system and execution. I’m assuming if one is running an investment management company or fund, and uses Separately Managed Accounts for clients, the necessity to execute the strategy on each account gets inefficient eventually. Have you experienced this, or is it not a large problem in the professional management arena?
You could automate execution with RE too if you like.
I find that the industry is more or less split down the middle on automatic executions. Some automate everything, some have trading desks with execution guys. I prefer do have the execution handled manually, but I see nothing wrong with either approach.
For managed accounts you can also get the execution workload down significantly with platforms like DB Select.
I will keep in touch and update you on the journey.
Hey Andreas, hope your new years was enjoyable!
I am running through the steps for system development and backtesting. Obviously the first step in any strategy test is to get the data. I was working on a version of your momentum strategy from the book, but wanted to test a futures strategy as well. Is the data import much simpler? It seems that all I would need is the historical end of day data for my chosen universe of futures. I’m assuming CSI would be sufficient for this purpose, but I’m struggling with finding out the step from data import to the beginning of the backtest. Are there any adjustments that need to be made? Can I simply import the historical data and run the system code? Would I have to create my own database or plugin to get the CSI data into RightEdge? I know there are too many questions, but I appreciate any time and effort you spend on any advice. Agradeço antecipadamente.
The data handling (and everything else) is immensely much simpler for futures. Proper equity simulations are painful. Futures are easy.
The data from CSI is just fine. You remembered to use my discount code when you bought it, I hope? 🙂
You could just import the data without a real data adapter. That might open for a few issues that you’ll need to address though. My preference is to use a MySql database in between, which makes the data handling much easier.
Some markets may be quoted in cents, and that’s always a pain. I do automatic conversions to major currency units, feeding dollar values to RightEdge instead. Don’t forget the metadata too. You need to set up each market with the correct metadata for the simulations to work. You also need to configure currency time series, so that the fx impacts will be correctly accounted for.
You don’t have to use a database in between like I do, but in my view it makes life so much easier.
Matt, sounds like we are in about the same place with RightEdge. I’m using binary data store that ships with RE, not a MySql database (project for another day). For the CSI data adapter, I started with the example code provided by Andreas and tweaked it to convert the markets provided in cents and to correct bar data errors. CSI doesn’t seem to provide exchange rate data (am I wrong?) so I found another source for that and was able to use import data tool under tools tab to suck it all into RE. Had to set up symbols and metadata manually (a real pain!). I believe Andreas said there is a way to populate metadata automatically with a. xml file but that is beyond my programming skills at the moment. As for backtesting, I started with replicating the trendfollowing strategies from chapter 4 of Andreas’ book. Por enquanto, tudo bem. Good luck, Matt! If Andreas doesn’t mind, happy to share experiences and questions on this board since the Rightedge forum is pretty dead. Greg B.
Feel free to share what you like here, Greg.
I was, and still am, planning to make a proper discussion site. I had a brand new vBulletin forum set up on this site recently, but during testing it got overrun by spammers and hacked several times, and I don’t have time to deal with that… Perhaps I should revive the old Tradersplace site again, but in a less complex implementation this time around. I took that site down for the same reason, that it was taking far too much time just to keep the hackers and spammers at bay.
I believe you can get exchange rates from CSI, but I haven’t done that myself. I’m pretty sure someone recently told me that works though. Else just get it from Yahoo Finance or Quandl.
Populating metadata isn’t that difficult really. I’ll write up a post for the premium section on how to set up an Excel sheet that automates these metadata xml files. And I’m not mistaken, you’ve already got access to those articles, Greg. 🙂
Btw, the model from my first book is in the premium section of the research library. You can download the full source code there and compare with yours, Greg. Of course, keep in mind that the model for that book was never meant to be some sort of optimal system, just a demo model to show how trend following works. It’s an ok model, but not a great model, and easy to improve.
Do you have the code that you use to rank all stocks in the book ‘Stocks on the move’ shared somewhere on the site? or could you share it here or by email to download it and have a trial with RightEdge to see how it all works?
Or if it’s a code that could be used in a different software, that would help as well as most platforms offer a few days of trial where we could try things.
My current code makes use of my local environment, making direct database calls etc, so it wouldn’t be of too much use to others.
But I’m planning to fix that soon. I’ve been working with Norgate Data to help them make a RightEdge plugin that solved the issues that I used direct database calls for. Their plugin looks very good so far, though there are a couple of bugs to sort out before it’s released.
Once this plugin is released, I’ll publish source code for the momentum model in the book.
Thanks for the how-to articles in premium section. I guess a couple more such articles and you’ll have only a fraction of your subscribers left, as the whole trading game turns out to be very complex and not something magical like Forex ads promise)
I have a suggestion if you don’t mind. Apparently the stock market environment is really volatile at the moment, and the Momentum strategy is moving to cash. You have mentioned in your book that being in cash means allocating funds to money instruments. Would be great if you provided more info on this topic.
Thanks, Vitaly! Yes, that could make sense for an article.
Bring back PTSD style flashbacks from 2008… There was a time when we were analyzing banks daily, moving cash in the late afternoon into whatever bank had the best chance of surviving the next 24 hours. It’s hard to imagine now just how bad the situation was back then.
I should mention of course that most countries have some sort of depositor guarantee, and if someone has a lower amount of cash than their local limit, the cash is guaranteed by their government. So this is an issue that affects professional money managers and HNWIs.
Hi Andreas, do you have any recommendations for software that keeps track of trades/performance/statistics of a live trend following system? RightEdge is great for backtesting but not sure it can be used to track live system(s) without some very heavy customization. Excel could work too, but again, lots of unnecessary work if there is a ready-made product out there. Thanks for your thoughts.
Yes, I should write something about that soon. A proper market data system can be very important and tracking portfolios is just one of many things they can do for you.
It’s essentially a rebranded Reuters Eikon, normally sold for about 2k/month. This rebranded version is sold for around 100/m but only non-professionals are allowed to buy it. It has a great market data application as well as the best financial Excel addin in the market.
Hello Mr. Clenow:
I just purchased your book Stocks on the Move and would like to try using your system. I have a MAC computer, but neither RightEdge nor WealthLab run on a Mac.
1. Can you recommend a Mac-friendly trading software package or website that I can use to SCAN for stocks with high Adjusted Slope (cf Table 7-1 Top Stocks Ranking) in both the US and the Canadian markets?
2. Can you recommend a Mac-friendly system that I could use to do BACKTESTING?
Andreas has created a subscription service that performs all the number crunching for you and provides all the rankings.
If there is an alternative application for Apple, I’m not aware of it. It might be difficult to find financial software for Apple environments, since the industry runs off Windows on the front end side.
I suppose you could dual boot into Windows, if that’s a viable solution. Or, as Ed kindly suggests, subscribe to this site and get the data there. I only cover US markets though.
Thank you for your replies, Ed and Andreas. Your S&P-500 subscription service is very appealing and I may start using it. I am looking at both the US and Canadian markets, however, and at the stock of companies smaller than those in the S&P-500.
I have been inspired by your book “Stocks on the Move”, and also by Antonacci’s book “Dual Momentum”, and the idea that a stock tends to do better if its Sector is going up.
I am developing an evaluation system that takes Price slope and Smoothness into account (Clenow), along with Earnings growth and Revenue growth (Antonacci) as well as Sector strength.
I now have a basic technique with rules but a lot of manual work is involved, and I would really like to automate it. If I could also do do some backtesting, that would be a great bonus!
Any comments on the above would be most welcome! (I could send you more details if you wish.)
PS: I may try to run RightEdge on my Mac with a Windows emulator or some-such, or purchase a PC.
Ken / Andreas – I had exactly the same problem in trying to automate the strategy in an Apple environment. In the end, I coded it up in Java (I’m a professional software engineer) and developed a web front end for visualisation.
Essentially I wrote everything from scratch in Java, getting historical data, cleaning the data, ranking the stocks, applying position sizing, applying buy and sell rules, applying slippage and commissions, tracking stock and portfolio PnL, equity, etc.
I essentially wrote my own backtesting engine. I’m running it against UK stocks and backtesting a UK stock portfolio from Jan 2006 to May 2016 I get 18% CAGR and 16% Annualised Vol.
I’m going to expand it so it covers multiple stock exchanges (US, EU, UK, SG, etc) and supports multi-currency portfolios. I’m also looking at implementing interfaces to my broker so I can automate the trades.
Happy to share any details if anyone is interested.
If what you developed is a self-contained backtesting engine, I would be very interested. How can we get in touch?
Ed – For now the backtesting engine is used primarily for equity momentum strategies. However, there is no reason why it can’t be modified to accept other types of strategies. The core architecture has been designed so that it can handle large amounts of data concurrently, that we otherwise be too large to fit into memory. In fact my next project is to backtest mean-reversion strategies aka ‘pairs trading’. I will be setting up a blog very soon to demonstrate it. You can contact me via LinkedIn – uk. linkedin/in/ravi-cheema-1bbb60.
Awesome article, thanks so much.
I’ve been (discretionary) trading for many years – now looking to get serious with modelling and back-testing, etc.
I’m going to learn to code, so I think it makes perfect sense to choose a platform that uses ‘real’ code and not waste time and energy on the wrong platform (just because it may be easier to begin with).
So, it’s early stages but given the top 10 products that are out there at the moment, I’m thinking that Quantopian and QuantConnect seem to be the ‘new breed’ that offer everything that, say an RE does, and more?
From what you know of them, would you imagine much downside in going this way? What would RE have that these don’t? A better reporting environment perhaps? Can I run “scans” as well as “back-tests” in these applications? (I would like to replace my scanning software with a single platform that can scan and back-test if possible?).
Quais são seus pensamentos?
The online environments are certainly improving, but they are in a very different category than RE.
I looked into Quantopian in detail before going to speak at their conference in NYC a few months ago. They have done a remarkable job, I’ll give them that. The integrated data access alone is worth a lot, as is the cloud based calculation engine. It’s a great environment if you’re just starting out or if you have no desire to do anything customized.
In terms of openness and flexibility though, there’s no way any online environment can compete with RE. It’s just not a fair comparison.
With the online solutions, you only get exactly what they give you. Nothing can be added or changed. So in this case, you get only US equity data and only from 2003. No futures, no currencies, no custom continuations, no spread series etc.. You get only the system results analytics that are built in and you cannot do creative things. The first thing I built for RE was a historical portfolio allocation and attribution analysis plugin.
And what if you want to output your data? Say you want to run a complex portfolio model in a bunch of different iterations, spit out the daily equity curve and differences in portfolio allocation to a local database or a text file for further analysis? Possibilities are limitless in an open environment.
RightEdge is an open API while Quantopian and Quantconnect are closed websites. They are very good closed websites, but that’s still what they are. That’s great for a lot of people, if you don’t want to do much coding, if you don’t need any flexibility, if you need exactly what they provide for you, if you can’t afford a local setup etc.
Yes, Quantopian is a great platform but they can never play in the same league as RightEdge. That’s not what they’re trying to do and that’s not the technology choices that they have made. They’re going for a different audience.
Thanks very much for that Andreas, that has helped a lot.
Next I need to consider the choice (and trade-offs) between ‘easy language’ applications (particularly interested in Amibroker) and a package that requires a ‘real’ língua. I’ve got a huge preference for jumping in and learning C# or Python due to the longer-term benefits, but I’m also mindful that it might take me a lot longer to generate something productive and useful.
I’m wondering how much I will need to ‘re-learn’ if I start with Amibroker and run with that for say, a year, and then move over to a RE later on, and whether that would ultimately be less productive. I know that’s probably impossible to answer. Let me ask this:
What other packages such as RE are out there that utilise C# or Python? Do you feel RE is the “easiest”?
Can I use RE to conduct basic stock market scans? Is that fairly straight-forward? This would be the perfect entry for me, as I could use it to replace my scanning software, and get into back-testing and then strategy construction from there.
Thanks so much once again,
I haven’t used AmiBroker, so I can’t help you there. I hear it’s pretty good. For a proprietary scripting platform. 🙂
There are a few other platforms using CLR, but I haven’t gone into real depth with them. NinjaTrader and MultiCharts, I believe.
Using RE to scan stuff is easy. No, it’s not a built in features, but I wouldn’t want it to be. You want to output something? Just write a few lines of code. Just build a normal system run, calculate what you need calculated and output it. You want it displayed in the application? Fine, make a little plugin to show your stuff after a system run. Fácil.
Thanks again Adreas,
Really enjoyed your interview on Top Traders Unplugged by the way.
I’ll have a good look at Multicharts and compare it against RightEdge.
It’ll interesting to see your opinions on Mulitcharts. I’ve heard less than a stellar opinion from a systematic portfolio speculator. Individual instruments tested fine, but portfolio didn’t, compared to WealthLab. This was a few years back, though.
Third Party Software Integration.
Now you can easily assess the performance of your real trading results and backtests with a huge number of statistics, performance metrics, meaningful charts and analysis tools.
BTAnalytics is the indispensable companion tool that you need to inprove your RightEdge Trading Strategies.
DOWNLOAD NOW AND USE BTANALYTICS FOR FREE!
To export your backtest results from RightEdge into BTAnalytics for in-depth analysis, you simply have to select the "BTAnalytics Data Feeder" System Results Visualizer.
RightEdge "BTAnalytics Data Feeder" System Results Visualizer.
To integrate BTAnalytics with RightEdge y ou just have to follow 3 easy steps:
Thoroughly Analyze the performance and Improve your Trading Systems, Strategies and Portfolios.
RightEdge 2008 Edition 2 Beta 14.
RightEdge 2008 Edition 2 Beta 14.
Você apenas paga: $ 19.
Entre em contato conosco via e-mail: [email & # 160; protected] ou Skype: adam. road (Viking Adam) para saber como pagar e obter os cursos em vez de fazer o checkout com o sistema automático.
Descrição.
Drag and Drop Your Own System.
Nearly every facet of the RightEdge user interface involves dragging and dropping. Drag and drop your way to a trading system in minutes!
Real Languages for Sophisticated Developers.
RightEdge is built on top of Microsoft’s platform. No more script languages to learn, no more proprietary interpreter performance to slow you down. RightEdge supports C# and Visual Basic. A RightEdge project may also contain references to other assemblies for ultimate flexibility and extensibility!
Have Data Your Way.
Trading system execution data is not only displayed in summary format, but also on individual symbol levels as well as trade by trade. RightEdge provides built in risk evalutors, but also extends itself to allow you to develop your own custom risk evaluators.
Cutting Edge User Interface.
Every window within RightEdge is dockable and floatable. Chart windows can be docked away from the main window. Code windows can be split. Anchor windows can be grouped and floated. The professional development environment for traders has arrived.
Windows 2000 or higher.
Microsoft Framework v2.0.
40MB available disk space.
Pentium III 500Mhz or better.
256MB RAM (recommended 1GB)
Built-in Technical Indicator Library.
RightEdge includes more than 100 of the most popular technical indicators out of the box. Technical indicators include Bollinger Bands, Stochastics, Simple and Exponential Moving Average, RSI, MACD and more. Click here for a complete list of indicators.
Historical Data Providers.
Preferred Real Time Data Providers.
Open E Cry (openecry) provides free real-time quotes fromCME, CBOT, ICE, EUREX through our direct connections. In addition todata feeds, Open E Cry LLC is one of the futures industry’s premieronline brokerage firms offering the OEC Trader as our flagship orderentry platform with free quotes, free charts advanced orders and nosoftware fees. Open E Cry provides open access to our API and technicalsupport for ease of integration to our data feeds, functionality andinfrastructure.
Supported Real Time Data Providers.
Preferred Broker Interfaces.
Interactive Brokers provides direct access trade execution and clearing services to individuals, advisors, institutions, and brokers at deep discount commissions. Our premier technology allows customers to trade stocks, options, futures, forex, and bonds on 70 markets worldwide from a single IB Universal account, at best execution prices. As of June 2007, Interactive Brokers Group and its affiliates handled 19.2% of US options volume and held $3 billion in equity capital.
RightEdge Plugin Configuration Guide.
Changing to the Norgate Data Store and Watchlist.
Set "Data Store" to "Norgate Data Store". Set "Watchlist" to "Norgate Data Watchlist". Click Setup to configure the plugin settings for "Date Padding" and "Price & Volume Adjustment". Please note that these settings can be changed at any time by way of RightEdge > Tools > Options.
Referencing the Norgate Data plugin in your trading systems.
The NorgateData-RightEdge assembly now needs to be referenced in all of your trading systems. You can either do this via RightEdge's GUI or via editing your trading system. rep file.
No comments:
Post a Comment