Skip to content

Commit

Permalink
Adding remote mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanarodr committed Apr 30, 2024
1 parent f14ebd5 commit b0f80c4
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 0 deletions.
14 changes: 14 additions & 0 deletions mocks/stock-alert.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"stock_ticket": "AAPL",
"alert_value": 150,
"status": "Estoque",
"notification_trigger": "ABOVE"
},
{
"stock_ticket": "ITSA4",
"status": "Indisponível",
"alert_value": 150,
"notification_trigger": "BELOW"
}
]
34 changes: 34 additions & 0 deletions mocks/transactions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[
{
"date": "2024-01-15",
"daily_balance": 6300,
"transactions": [
{
"type": "expense",
"description": "APLICAÇÃO CDB DI",
"value": -5000
},
{
"type": "income",
"description": "DIVIDENDOS ITSA4",
"value": 1000
},
{
"type": "income",
"description": "DIVIDENDOS ITUB3",
"value": 300
}
]
},
{
"date": "2024-01-14",
"daily_balance": 10000,
"transactions": [
{
"type": "income",
"description": "PIX TRANSF",
"value": 10000
}
]
}
]
31 changes: 31 additions & 0 deletions mocks/wallet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"available_balance": 6300,
"invested_balance": 160000,
"total_assets": 166300,
"portfolio": [
{
"portfolio_name": "Conta Investimento",
"portfolio_type": "account",
"total_investment": 6300,
"allocation": 3.79
},
{
"portfolio_name": "Fundos de Investimentos",
"portfolio_type": "fund",
"total_investment": 96000,
"allocation": 57.73
},
{
"portfolio_name": "Tesouro Direto e Títulos Públicos",
"portfolio_type": "bond",
"total_investment": 32000,
"allocation": 19.24
},
{
"portfolio_name": "Ações",
"portfolio_type": "stock",
"total_investment": 32000,
"allocation": 19.24
}
]
}

0 comments on commit b0f80c4

Please sign in to comment.