Skip to content

Instantly share code, notes, and snippets.

View Victorcorcos's full-sized avatar
💎

Victor Cordeiro Costa Victorcorcos

💎
View GitHub Profile
@Victorcorcos
Victorcorcos / joel_greenblatt.md
Last active April 28, 2024 00:05
Greenblatt Magic Formula 🔍 > ROE e < P/L + > ROIC e < EV/EBIT

| Papel | Empresa | Tipo | Score | Cotação | 2022 | 2023 | 2024 | Average Yield (5Y) | Median Yield (5Y) | Ranking | Setor | Subsetor | Últ balanço processado | P/L | P/VP | PSR | P/Cap. Giro | P/EBIT | P/Ativ Circ Liq | P/Ativos | EV / EBIT | EV/EBIT | EV / EBITDA | L/P | Div. Yield | Payout | LPA | VPA | DPA | Marg. Bruta | Marg. EBIT | Marg. Líquida | ROE | ROIC | ROTC | ROA | ROCE | Dív.Brut/ Patrim. | Div Liq/ Patrimônio Líquido | Div Br/ Ativo | Div Liq/ EBIT | Dív. Bruta | Dív. Líquida | Cres. Rec (5a) | Receita Líquida | Receita Líquida Trimestral | EBIT | EBIT Trimestral | Lucro Líquido | Lucro Líquido Trimestral | EBIT / Ativo | Disponibilidades | Patrim. Líq | Liquidez Corr | Capital de Giro | Giro Ativos | Ativo | Ativo Circulante | Passivo Circulante | Valor da firma | Valor de mercado | Nro. Ações | Vol $ méd (2m) | Depósitos | Cart. de Crédito | Result Int Financ | Result Int Financ Trimestral | Rec Serviços | Rec Serviços Trimestral | Data últ cot | Min 52 sem | Max 52 sem | Oscilação - Dia |

@Victorcorcos
Victorcorcos / benjamin_graham.md
Last active April 27, 2024 23:58
Aplica todos os filtros na bolsa brasileira estipulados por Benjamin Graham (estão no livro "O Investidor Inteligente")! Também calcula o Valor Intrínseco (Preço Justo) e Margem de Segurança, ambos também definidos por Benjamin Graham. Graham foi o mentor dos melhores investidores do mundo, como o grandíssimo Warren Buffet, além do Irving Kahn e…

| Papel | Empresa | Tipo | Score | Cotação | Fair Price ⚖️ | Price Safe Margin | Good Valuation | P/L < 15 | P/VP < 1.5 | Cres. Rec (5a) > 5% | ROE > 20% | Liquidez Corr > 2 | Dív.Brut/ Patrim. < 50% | Valor de Mercado > 500 mi | 10 Years of History | Positive Earnings | Crescent Earnings | Recent LPA Higher | Positive Dividends | 2022 | 2023 | 2024 | Average Yield (5Y) | Median Yield (5Y) | Setor | Subsetor | Últ balanço processado | P/L | P/VP | PSR | P/Cap. Giro | P/EBIT | P/Ativ Circ Liq | P/Ativos | EV / EBIT | EV/EBIT | EV / EBITDA | L/P | Div. Yield | Payout | LPA | VPA | DPA | Marg. Bruta | Marg. EBIT | Marg. Líquida | ROE | ROIC | ROTC | ROA | ROCE | Dív.Brut/ Patrim. | Div Liq/ Patrimônio Líquido | Div Br/ Ativo | Div Liq/ EBIT | Dív. Bruta | Dív. Líquida | Cres. Rec (5a) | Receita Líquida | Receita Líquida Trimestral | EBIT | EBIT Trimestral | Lucro Líquido | Lucro Líquido Trimestral | EBIT / Ativo | Disponibilidades | Patrim. Líq | Liquidez Corr | Capital de Giro | Giro Ativos | Ativo | Ativo Circ

@Victorcorcos
Victorcorcos / creating_a_mirror_repository_on_git.md
Last active February 13, 2020 16:15
Creating a mirror repository on git

Creating a Mirror Repository

And submit the changes from the original repository to the mirrored repository.

These are shell functions to

  1. Create a git mirror repository from a original repository (create_mirror)
  2. Update the mirror repository with the original repository changes (update_mirror)

You can add to your ~/.bash_profile the following functions

Shell functions

@Victorcorcos
Victorcorcos / dpms_formulas.md
Last active December 5, 2023 01:17
Parsec Formulas

Parsec Formulas 🔢

This file has the purpose to fully explain the possibilities of the Parsec formulas equations. Here you can check the syntax, examples, variable types, operators and a real example.

Variable Types

We support the following types:

  1. Integer
  2. Float
@Victorcorcos
Victorcorcos / gist:c7c7871858086b7545403eb471dc7638
Created August 28, 2017 00:34
Installing mysql on your MacOS via brew
Removing MySQL completely
ps -ax | grep mysql
(stop and kill any MySQL processes)
brew remove mysql
brew cleanup
sudo rm /usr/local/mysql
sudo rm -rf /usr/local/var/mysql
sudo rm -rf /usr/local/mysql*
sudo rm ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist