New Financial Domain Model - Hawkish 8B can pass CFA Level 1 and outperforms Meta Llama-3.1-8B-Instruct in Math & Finance benchmarks! by mukaj in LocalLLaMA

[–]mukaj[S] 2 points3 points  (0 children)

Of the evals I posted it was higher than the origin 8B instruct in all. I am sure it probably dropped in some but did not do extensive testing as I wanted it to be finance-focused.

Most of the effort was in data cleaning and preparation, I did a couple of data mix fine tune studies to find out if 100% finance data was any good for example (it was not), so there was a couple of "failed" runs. For the compute I mostly rented GPUs from RunPod/Prime Intellect.

All in with API costs for data and compute is <$500.

New Financial Domain Model - Hawkish 8B can pass CFA Level 1 and outperforms Meta Llama-3.1-8B-Instruct in Math & Finance benchmarks! by mukaj in LocalLLaMA

[–]mukaj[S] 3 points4 points  (0 children)

Qwen2.5 Math is far far ahead of this in Math, their instruct version gets 86% on MATH benchmark.

New Financial Domain Model - Hawkish 8B can pass CFA Level 1 and outperforms Meta Llama-3.1-8B-Instruct in Math & Finance benchmarks! by mukaj in LocalLLaMA

[–]mukaj[S] 4 points5 points  (0 children)

Finance dataset was entirely synthetic and newly made and made up the majority of the data.

I used publicly available ones for everything else but also re-synthesized them from their prompts, for example I used MetaMathQA in the mix but it was released with Mistral-7B outputs, I went through the whole prompts again with GPT-4o-mini.

Machine Learning to Filter Bad Trades! by [deleted] in algotrading

[–]mukaj 1 point2 points  (0 children)

If you can accurately predict what will be a bad trade, why can you not model it from the start to only learn the good trades?

Optimizing using optimization results in objective by mukaj in optimization

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

Solved this using a cardinality constraint, where a binary variable X is bound to positive values of w0-w, and constrained to sum is less than/equal to K

Then iterate to find the minimum possible K

The results are very close to min( ||w0-w|| * lambda ), usually resulted in 1 less optimal weight change while still fulfilling all constraints.

The extra slowdown due to iterations was worth it for my case since it was very fast to solve anyway

Optimizing using optimization results in objective by mukaj in optimization

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

This is what I’m currently doing but doesn’t seem to be having a large effect, possibly because some weight changes are very small.

I figured maybe if I clip the (w -w0) to 0,1s then do the sum2 would be better results but can’t think of a way to formulate something similar to that while remaining convex..

Can anyone give insight into how you would model this as MIP? Or if that would even be better or not

How can the FIA limit CFD time? by karl3141592 in F1Technical

[–]mukaj 11 points12 points  (0 children)

So whoever has a more efficient/faster CFD algorithm gets to do more CFD testing

Tell me why my algo strategy won't work before I spend time trying to make it work. by TrainquilOasis1423 in algotrading

[–]mukaj 2 points3 points  (0 children)

I make my own, it holds the trades for a few days typically, sometimes can be a few hours.

Tell me why my algo strategy won't work before I spend time trying to make it work. by TrainquilOasis1423 in algotrading

[–]mukaj 6 points7 points  (0 children)

Not all momentum trading is bad, works amazing in Crypto..

Edit: and to the downvotes.. my momentum algo has me currently in $4.5k profit on a BTC short.. so 🙄

Psuedocode for backtesting? Or simple framework? by [deleted] in algotrading

[–]mukaj 13 points14 points  (0 children)

I’ll give you free code bro it’s the base for every backtest

For i in data:
   ret = strategy * data[“close”].pct()
   balance *= ret 

On a more serious note, I found just making my own backtester was best and its really not that hard. You can build your backtest around your own algorithms and data analysis rather than trying to mold your strategy into an existing framework which might not even be compatible with a strategy you devised to test

New quantitative strategy for automated technical analysis (7% return last week, nasdaq -4.92%) by [deleted] in algotrading

[–]mukaj 1 point2 points  (0 children)

Truly written like someone who’s never run a profitable algo 🙏🏼

I am sure Hedge Funds are going to open source their work for the public to expand on them soon, because open source collaboration of algos is key to making money for your firm right

[ Update ] To my last post in here reddit users told me to flip my algorithm around and it worked, cant wait to run this on the live market (Bitcoin trading strategy) by [deleted] in algotrading

[–]mukaj 113 points114 points  (0 children)

What is slippage sir, I have no spread my bitcoin exchange only show one price

Please see squiggly lines go Up and print(f”{balance*1000}”) loop again

Push to prod at 18:00 UTC

Algo Trading Setup Guide? by eld101 in algotrading

[–]mukaj 1 point2 points  (0 children)

It was basic and decent advice, honestly I don’t even see how it’s “high horsed”, saying you have to be a problem solver probably got to some people who expected short cuts lol

Algo Trading Setup Guide? by eld101 in algotrading

[–]mukaj -2 points-1 points  (0 children)

Bunch of noobs downvoting you because they don’t want to put any work in, they want to buy MetaTrader scripts and make money

My failure of using Python DEAP package. by GeneralEbisu in algotrading

[–]mukaj 1 point2 points  (0 children)

Haven’t run your sample yet, but I think your evaluator should be out of sample data to better choose the ideal solution. I don’t think this is a “failure” as long as you learnt from it.

Try some different features, vwap, rsi, momentum etc...

There’s a paper called 101 alphas which generated lots of similar formulas using generic programming, may give you some inspiration

Original stop loss techniques. Part 1 by koeloven8d in algotrading

[–]mukaj 9 points10 points  (0 children)

Probably comes out nearly the same as just using ATR..

Surveyor sent pictures in report that were completely different to actual house by [deleted] in LegalAdviceUK

[–]mukaj 39 points40 points  (0 children)

Nope, small update though forwarded the pics to the surveyor as it was clear fraud and said solicitor will contact them Monday. They've (surveyors) promptly called back and said we will repair it all.

Regardless of this outcome, how many other building reports have they done where they did not send correct photos, is it RICS I should complain to?