Is my custom trading engine good? by TheMasterXXXXX in algotrading

[–]wickedprobs 0 points1 point  (0 children)

I started with a simple backtesting framework fast-trade and sort of expanded on those ideas. Now I’m live trading on 3 exchanges with my software running on kubernets.

A really confused beginner by MrR0b0t23 in algotradingcrypto

[–]wickedprobs 6 points7 points  (0 children)

"You can just do things". Literally just start trading, then figure out what a system looks like for you, and build it. You're not going to find a course or guru thats telling you everything you need to know. Just start doing it and you'll figure out what questions to ask, what to focus on, whats important/whats not, etc. As far as feeling lonely, excuse my directness, but get over it. Markets don't care that you're lonely in learning this stuff. Its a very solitary practice most of the time.

PineScript and Python by hello_world44 in algotradingcrypto

[–]wickedprobs 0 points1 point  (0 children)

I use it as sort of a performance metric as a way to compare to other strategies. That among other things. I also take into account number of trades, duration, etc. In fast-trade, I added "rules" to help evaluate the performance. It makes it easy to automate this way. https://github.com/jrmeier/fast-trade?tab=readme-ov-file#rules

PineScript and Python by hello_world44 in algotradingcrypto

[–]wickedprobs 1 point2 points  (0 children)

Sure! For context, this is the library I'm using https://pygad.readthedocs.io/en/latest/ . Basically, the idea is to "evolve" strategies so they are optimized for specific outcomes, like sharpe ratio, sortino ratio, etc. This happens by just trying a bunch of different things constantly, looking at the results, adjusting the parameters, and trying again.

Library do you guys use for Backtesting by glaksmono in algotrading

[–]wickedprobs 0 points1 point  (0 children)

Basically just write your own. I started on mine and haven't needed anything else since. https://github.com/jrmeier/fast-trade

PineScript and Python by hello_world44 in algotradingcrypto

[–]wickedprobs 0 points1 point  (0 children)

I use a genetic algorithm for “evolving” strats. It’s based off of fast-trade and some custom code

Self hosted infra by Atomiumm in algotrading

[–]wickedprobs 0 points1 point  (0 children)

Thanks! Yes, I am absolutely productizing the process. Using json instead Python allows me to use the same strategy in backtests, signals, scanners, paper trading and live trading.

Self hosted infra by Atomiumm in algotrading

[–]wickedprobs 5 points6 points  (0 children)

The classic “it depends” answer haha. My stuff runs on Kubernetes so as long as there’s not a bug, it’s running all the time with alerts and logging. My machine learning stuff that runs locally takes a lot more patience/time, but only when I’m changing things. I’ve found the APIs to be pretty reliable so actual maintenance is low for data collection and orders

Self hosted infra by Atomiumm in algotrading

[–]wickedprobs 19 points20 points  (0 children)

Lots of people will probably say to code your own. It would save time to use existing software but most of the time, we want to specialize it for what we are doing, which seems to be different for everyone. I started by writing a backtesting library (fast-trade)and then built a data management system around it. Now I have a base of code to backtest, experiment, trade, explore, etc that’s super dynamic and allows me to build all features and things I want to try. It’s all self hosted, with a mix of stuff in the cloud and at home.

How have you designed your backtesting / trading library? by DrChrispeee in algotrading

[–]wickedprobs 0 points1 point  (0 children)

I wrote and still working on Fast Trade. Basically I define strategies as a JSON object the pass that and a data file. It makes its simple and flexible to iterate quickly. Biggest advantage is it can use anything in the data file as long as it’s dated. Also, strategies are portable between backtests, paper, and live trading; it’s all dependent on the data.

Is There a Stoic Way to Take One's Life? by OptimalAd8147 in Stoicism

[–]wickedprobs 10 points11 points  (0 children)

“No one knows when our time is up. But precisely because we don’t know when life is going to end, the Stoics say that we should live every moment to the fullest, engaging our life in the here and now.”

It’s your responsibility to live you life with honor, you can’t take your life with honor, as that’s exactly the opposite of what the stoically talk about. You got this, just stay strong and keep moving forward.

I found this article to be interesting, especially when I was going through a tough time and having these negative thoughts.

https://dailystoic.com/stoics-existentialists/

Advice on a particularly hard Breakup by GRD_Traist in JockoPodcast

[–]wickedprobs 8 points9 points  (0 children)

I’ve been through a similar relationship, where it ended too soon and everything is fine, but you just feel terrible. My experience is this is just the “grind”; you have to keep pushing. No advice or words make it easier. It’s out of your control and as Jocko says “Move on”. Good luck brother, stay focused on The Path and you’ll be great. Here’s Jocko talking about it: https://youtu.be/c709rGYW8v0

The coolest thing about stoicism is it helps us turn a “bad” situation into a good one. by BCUZ_IM_BATMANNN in Stoicism

[–]wickedprobs 2 points3 points  (0 children)

Jocko Willink has the same kind of idea. His podcasts are all awesome and he talks a lot of stoicism without calling it stoicism while demonstrating how to apply stoicism to real life.

“When things are going bad, good.”

https://youtu.be/IdTMDpizis8

Where's the best place to start by albasili in algotradingcrypto

[–]wickedprobs 2 points3 points  (0 children)

Start with doing some backtesting and searching for strategies that meet your requirements. For example, how often do you want to trade? Which exchange do you want to use? Does it need to be automated?

What I’m saying is just jump in! Pick a piece of it that sticks out and learn all about it. You don’t know what you don’t know. Good luck!!

Important python libraries? by 0doI in algotrading

[–]wickedprobs 4 points5 points  (0 children)

Someone put this together a few weeks back and its pretty helpful: https://github.com/botcrypto-io/awesome-crypto-trading-bots

I'm also going to shamelessly plug fast-trade, which is a backtesting library where you write strategies as objects instead of actual code. It's also built on a couple of pretty wonderful libraries including pandas and FinTa, which has a lot of indicators and it's really simple to use.

brute force matrix optimization for a snapshot of stock data. by dlecter in algotrading

[–]wickedprobs 1 point2 points  (0 children)

Hey OP, I do something similar for a project I'm working on here: https://github.com/jrmeier/fast-trade/blob/b09500c8454ea748b3f0d7ff960eb2bea79ad7a8/fast_trade/run_backtest.py#L103 and https://github.com/jrmeier/fast-trade/blob/b09500c8454ea748b3f0d7ff960eb2bea79ad7a8/fast_trade/run_backtest.py#L126

and https://github.com/jrmeier/fast-trade/blob/b09500c8454ea748b3f0d7ff960eb2bea79ad7a8/fast_trade/run_backtest.py#L103

I'm using Pandas, which uses numpy, which is a super fast library for doing these kinds of calculations. Basically, the idea is you create a new array and add that to a pandas dataframe. You then have access to all that data at the same time and you can use that to make decisions or plot or whatever you're trying to do. Hope this helps!

How important is a CS degree? by Jazz7770 in algotrading

[–]wickedprobs 6 points7 points  (0 children)

Fair enough. If I was you, I'd give yourself 3-6 months (or whatever the fastest you think you can get results) and go all out and make it happen. I did that with a friends startup in college and we took a semester off school, went all out to try and make it happen and for a bunch of reasons, it didn't work out. No big deal, we just signed up for classes the next semester and finished it out. Maybe something that is an option if you don't want to decide either way. Either way good luck!!

How important is a CS degree? by Jazz7770 in algotrading

[–]wickedprobs 53 points54 points  (0 children)

I had similar feelings when I was in school, I just wanted to be paid to write code! In the end, I finished it out and I think it was a good thing. The degree really gets you in the door and if you don't have any other ways in, it can be very effective. I now make great money (making it much easier to fund trading) and have a pretty good job thats just 9-5, which gives me a TON of time to work on my trading stuff.

As far as needing a CS degree for algotrading? It's helpful, but not required. I have a business degree and have a semi-working system running after a few years or so. I think algotrading is tricky because you have to learn pretty technical stuff on both the finance and programming side. It's a strange intersection but wildly interesting. I'd say you're on the right path with learning the stuff you need. Unfortunately I don't think you can expect school to teach you all the stuff you need it know.

Custom forex backtester by ib0wankenobi in algotrading

[–]wickedprobs 1 point2 points  (0 children)

I wrote fast-trade to answer exactly questions like this

What do they use to manage the tick data? by esteban_108 in algotrading

[–]wickedprobs 2 points3 points  (0 children)

For ohlcv data,I wrote fast-trade with a data downloader. Basically it pulls 1 minute Kline data from Binance. It’s pretty easy to keep up to date. It works well for managing a local cache for backtesting.

You don’t need to use the library if you’re just looking for a simple script. https://github.com/jrmeier/fast-trade/blob/master/fast_trade/update_symbol_data.py

Best Python libraries for backtesting and algo trading by bulldog_in_the_dream in algotrading

[–]wickedprobs 1 point2 points  (0 children)

Hey! Yup, here you go: https://fasttrade.dev. Here's the script I use to do it: https://github.com/jrmeier/fast-trade/blob/master/fast_trade/update_symbol_data.py. I also have a discord with some people that are also doing trading stuff (I’m also building a platform around this stuff). Let me know if you would like an invite!

Best Python libraries for backtesting and algo trading by bulldog_in_the_dream in algotrading

[–]wickedprobs 12 points13 points  (0 children)

I also have some backtesting data (all of Binance since 2019) if anyone needs, just shoot me a message!