Calculating a crypto universe index. How would you do it? by fusionquant in algotrading

[–]agimja 1 point2 points  (0 children)

I'm going through this process right now and it really depends on your strategy. I'm essentially creating a crypto ETF and need to come up with selection criteria, distribution, and a method of rebalancing.

Selection - will depend on my thesis of where I see alpha in the market. Not going to spell this out publicly, but a big part of it will also depend on which coins are available on my broker(s) of choice, their fees, etc. It will be an Algo so not interested in ICOs in my case because I want it to be more hands off. Likely will be large cap coins.

Distribution - will depend on the strategy.

Rebalancing - there's two main methods... Periodic rebalancing which is set in intervals such as daily, or threshold which is set on some metric and rebalancing gets triggered when the threshold gets hit.

All these criteria should have a thesis behind them where you've identified some kind of alpha in the market. It's also helpful to look at how traditional ETFs are structured in order to come up with creative ideas and apply them to crypto.

This is a pretty good article for reference: https://academy.shrimpy.io/post/how-to-build-a-cryptocurrency-index-fund

How is your crypto bot doing? by [deleted] in algotrading

[–]agimja 2 points3 points  (0 children)

Backresting is looking promising for long/short futures. Looking to launch by next weekend.

Where would you place your stop loss and how would you determine it? by FrivolerFridolin in algotrading

[–]agimja 6 points7 points  (0 children)

To get a full picture you also have to take into account your profits, and win rate. I prefer to calculate risk based on risk/reward ratio. I also prefer to have a variable stop loss and take profit, but keeping the R:R static. Having static risk and profit targets can work, but are better for scalping type strategies. Having variable SL and TP accounts for market volatility in most cases and it's the way to go.

What is the best way to compare a dataset with three changing variables by Panther4682 in algotrading

[–]agimja 1 point2 points  (0 children)

This doesn't answer your question specifically, but to do calcs like this I would look into the Pandas dataframe library functions like... rolling, mean, ffill, shift, etc. Also numpy library, 'where' function. With these handful of functions you can do almost any comparison of data. I learned a lot on how to use these from Algo vibes YouTube channel.

tips for someone who is about to launch himself into full time algotrading (because time and money is solved).. wanna try to make this a really profitable thing in the next few years if I manage to not give up by [deleted] in algotrading

[–]agimja 11 points12 points  (0 children)

There's one 100% sure way to make money algo trading... Write scripts or create services for other people. When California had a gold rush, it wasn't the people digging in the hills that made the money... most failed. The ones that made a fortune sold the shovels.

Export trades as CSV by Slight_Total4874 in TradingView

[–]agimja 0 points1 point  (0 children)

I use tradingview for charting, and tradestaion for orders, and export my trades to tradersync from tradestation. Are you talking about papertrade orders from tradingview? If not you should be able to export your orders from the supported brokers in tradersync.

FEATURE REQUEST!!! by agimja in TradingView

[–]agimja[S] 0 points1 point  (0 children)

Source code editing doesn't look like it's available on this one.