Algo-trading with Jesse in 100 seconds — Transcript
Full transcript
- 0:00[Music]
- 0:01Jesse a python trading framework that
- 0:03helps you become the next gym Simon or
- 0:06maybe not to get started let's write a
- 0:08golden cross strategy inside a new
- 0:10strategy class we're going to define a
- 0:12new property method and in it we're
- 0:14going to return ta. EMA and pass the
- 0:17current candles as its first parameter
- 0:19and pass 50 period as its second next
- 0:21we're going to do the same for the 200
- 0:23moving average next we're going to
- 0:24Define when should the strategy take
- 0:26long positions we'll simply return true
- 0:29if the current EMA 50 is bigger than EMA
- 0:32200 if the long entry is met then it's
- 0:34time to go long for entry if you use the
- 0:36current price then it's going to use a
- 0:38market order automatically but if we
- 0:40pass a lower price then it will use a
- 0:42limit order as for quantity let's use
- 0:45the size to quantity utility function
- 0:47that Jesse provides and pass half the
- 0:48current accounts balance as the first
- 0:50parameter and the entry price as the
- 0:52second now to submit the order all we
- 0:54need to do is to say self buy equals
- 0:57quantity and then the entry price if the
- 0:59instrument we trading supports shorting
- 1:01then we can Define the opposite for
- 1:03short positions but what about exiting
- 1:05this trade we can use the build in
- 1:07onopen position event I can simply say
- 1:10if this is a long trade my stplus is
- 1:12going to be the quantity of the current
- 1:14open position and the price of it could
- 1:15be the current price minus the current
- 1:17ATR multiplied by two as for the take
- 1:20profit order I can do the opposite
- 1:22except to use four times of the current
- 1:24ATR if it's a short position we'll
- 1:26simply do the opposite but what if you
- 1:28wanted to close the position dynamically
- 1:30like when a death cross happens we can
- 1:32do that by using the update position
- 1:34event if it's a long position and the
- 1:36opposite of our in rule is happening
- 1:38then liquidate my position and of course
- 1:40the opposite for a short position
- 1:41congratulations you just wrote your
- 1:43first strategy we can now run a back
- 1:45test see the performance metrics or even
- 1:47Benchmark the performance of multiple
- 1:49back tests if you're happy with the
- 1:51numbers you're seeing you can move on to
- 1:52trading it with real money it also has
- 1:55hyper parameter optimization mode a
- 1:57built-in code editor a collection of
- 1:59built-in Strat Mees and even its own AI
- 2:01assistant helping you writing strategies
- 2:04to get started head over to the
- 2:05documentation or begin watching this
- 2:07handome guys YouTube tutorials if you
- 2:09still feel lost come and join our free
- 2:11Discord so we can be lost together this
- 2:14has been Jesse in 100 seconds thanks for
- 2:16watching
About this transcript
This page contains the full transcript of Algo-trading with Jesse in 100 seconds by Algo-trading with Saleh, generated from the public captions YouTube serves with the video. The transcript has 468 words across 67 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.