CinderellaMan
Hello,
I’m not sure where this should / could be posted, but I’ve put a lot of effort and just released my first video about streaming cryptocurrency prices in Elixir.
I would like to create more videos that will lead to a fully-fledged cryptocurrency trading bot in Elixir(almost like a course but in this pair programming format). On the way, people will see practical usage of OTP stuff like Supervision trees, etc.
I think that is what is missing as people get to know Elixir, but they didn’t write any “complex” systems (they didn’t get a job in Elixir yet, but they would like to be prepared)
I would love to get some comments(both here and on Youtube
), I know it’s not the greatest quality but even knowing where hurts the most could help me to iron it out the soonest ![]()
Video link: https://www.youtube.com/watch?v=wVYIx7M6o28
PS. Feel free to move it to any other category on the forum.
Thanks in advance,
Kamil
Trending in Screencasts
Other Trending Topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixirconf-us
- #elixir-ls
- #ai
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming











Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
CinderellaMan
Hello,
I just added another episode about the topic mentioned above - this time it’s about building a naive trading strategy:
Let me know what you think,
Thanks in advance,
Kamil
dimitarvp
Pretty interesting! I am starting work at a financial company and this could be extremely useful.
CinderellaMan
Thanks for the comment! I will try to push out those episodes quite frequently but I’m sure that very soon you will know much more about that stuff than me(if that isn’t the case already!)

In the next episode I would like to put much more “Elixir specific” content like introducing supervision tree etc - stay tunned, like and subscribe
ityonemo
Looks good! And til about that elixir socket library which looks fantastic. It’s not over engineered, I think it’s just right. I mean come on you wrote a crypto streaming app in 15 minutes… Try doing that in go! Lol
CinderellaMan
Hehe, I served my time in Go. From personal experience, it would be closer to a week than 15 minutes
Ignoring Go (as nobody cares) - thank you very much for your reply, I’m still testing a lot of things and comments like yours help a lot.
I was wondering did you watch both videos? I feel like the tone of them is really different and I wonder which like you like better?
Thanks in advance
ityonemo
I didn’t see the second one! So a few notes, I didn’t like the music LOL, and there was about 10% of the code style that I didn’t personally like. But overall I think it’s quite good, the only truly fatal flaw is that you shouldn’t
Process.exit(self(), :finished). Anything besides:normalis considered to be an error code, when you start supervising, you might not get what you expect, and if you still want the exit message you should use Logger.info or something. Also, even better than Process.exit is to emit the result {:stop, reason, state_for_terminate_2} in place of{:noreply, state}CinderellaMan
Just some clarification on this one - you didn’t like the music because it wasn’t type of music you like or it was annoying / distracting you?
I think your comment regards the
Process.exitis on point. I didn’t put too much effort in this part as it will be refactored in 3rd video, but indeed I’ve could return{:stop, reason, state}- that’s much less confusing for people new to Elixir processes etc.ityonemo
I think maybe it was not bad for a filler, but I dunno, i didn’t like it, though I don’t categorically hate that type of music. Pretty quickly it more or less faded away in terms of distraction, so this could have been a matter of personal taste.
egze
Damn, this is some good content. Watched the first video, it’s great! I wrote a trading bot in ruby couple of years ago, will be fun to compare how you implement the trading strategies.
CinderellaMan
Thank you very much for your comment. It will take a few good videos before I will get to stop losses, retargeting and similar - also please keep in mind that this is an “naive” strategy. My aim is not to focus on strategy itself but on laying a matrix of states that servers can be in, how they work together etc. I picked up the trading bot as it’s complex enough to get to nice web of supervision tree, updated between videos - on the other hand it’s not too geeky / abstract to keep people engaged - I think it’s cool to understand few thousands (hopefully) lines of Elixir application (not related to web - just processes and their interactions)