luizparreira / pamela Goto Github PK
View Code? Open in Web Editor NEW🤖💰Pamela is a Telegram Cryptocurrency automatic portfolio rebalancing bot
🤖💰Pamela is a Telegram Cryptocurrency automatic portfolio rebalancing bot
Pamela should be able to tell the metrics related to each session:
Portfolio Info:
Portfolio Info History (plot graph):
History of assets amounts (plot graph):
Benchmark info:
Create docs for:
Hi,
Trying to compile the project but get stucked to this error:
[info] Running PamelaWeb.Endpoint with Cowboy using http://0.0.0.0:4000
[debug] QUERY OK source="trading_sessions" db=2.8ms
SELECT t0."id", t0."name", t0."running", t0."telegram_user_id", t0."command_id", t0."inserted_at", t0."updated_at" FROM "trading_sessions" AS t0 WHERE (t0."telegram_user_id" IS NULL AND t0."running" IS NULL) []
[error] GenServer #PID<0.428.0> terminating
** (ArgumentError) argument error
:erlang.bit_size(nil)
(nadia) lib/nadia/api.ex:9: Nadia.API.build_url/1
(nadia) lib/nadia/api.ex:93: Nadia.API.request/3
(pamela) lib/pamela/message_handler.ex:7: Pamela.MessageHandler.handle/0
(pamela) lib/pamela/periodic_task.ex:15: Pamela.PeriodicTask.handle_info/2
(stdlib) gen_server.erl:616: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:686: :gen_server.handle_msg/6
(stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Last message: :work
State: %{task: #Function<0.71608958/0 in Pamela.Application.start/2>}
Problem:
Pamela was rebalancing just fine, however, after doing it for maybe 8 or 9 times, it suddenly stopped.
Steps to replicate:
Expected: It should continue until /halt
command is triggered
Current: It is stopping by itself
Kick off Checklist:
Pamela.Trader.rebalance
function, it may be failing to pattern match on the with
.with
to other files, should help catch the bug easierA declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.