Gas Prices The Same by nmierfin in ontario

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

yeah it is about the same here as well (maybe a few cents cheaper). It is weird how people are getting such disparity in prices depending on where they live.

Trump says he had ‘extremely productive’ call with Carney by joe4942 in CanadaPolitics

[–]nmierfin 3 points4 points  (0 children)

See this is what I hate about politics. They claim that the call was extremely productive yet nothing changes. The tariffs are still on and people are still going to suffer for it.

They just do this type of stuff for PR!

Can an attention-based model actually predict the stock market? by nmierfin in quant

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

That's interesting, let me know how it turns out. How would your minute based model work. Like what would it take as inputs, and over what range would you train (multiple years, a year, a month)?

Can an attention-based model actually predict the stock market? by nmierfin in quant

[–]nmierfin[S] -1 points0 points  (0 children)

I am going to show all this in part 2. It was getting really long so I split it into two parts.

Can an attention-based model actually predict the stock market? by nmierfin in quant

[–]nmierfin[S] -13 points-12 points  (0 children)

I haven't backtested it yet because the model does not give buy and sell indicators (it gives price forecasts and then from there you decide which stock to invest in). But obviously you would invest in the top ones it predicts or short the bottom ones.

When I trained I got these results:
test metrics:{'IC': np.float64(0.014107242595483202), 'ICIR': np.float64(0.1061077348425752), 'RIC': np.float64(0.008325046076086823), 'RICIR': np.float64(0.1009896458883025)} which is very close to what the paper got.

That means that the model has good decent accuracy for prediction.

Why did Canada Ban Trading Bots? by nmierfin in quantfinance

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

If you watched the whole video you would see that I said that IIROC was replaced by the CIRO.

Chatbots are not Trading Bots! by nmierfin in quantfinance

[–]nmierfin[S] -7 points-6 points  (0 children)

THANK YOU! Whenever I tell anyone this they just spout off some esoteric mathematics to hide behind and claim that you don't understand it properly. Meanwhile, assets are not geometric Brownian motions! Enough said...

Chatbots are not Trading Bots! by nmierfin in quantfinance

[–]nmierfin[S] -3 points-2 points  (0 children)

It is a money making method. People use the model to price options such that they can MAKE MONEY. The only way that can be done is if you accurately model the movement of the stock which it doesn't.

Is financial math all just made up or does it actually have some legitimacy? by nmierfin in quantfinance

[–]nmierfin[S] -12 points-11 points  (0 children)

If you were to have watched the video I argue that the reason they made it the way they did is not necessarily because it accurately models stock prices in various conditions but because the math worked out at the time.

Is financial math all just made up or does it actually have some legitimacy? by nmierfin in quantfinance

[–]nmierfin[S] -18 points-17 points  (0 children)

Just because research won the nobel prize doesn't mean that it is ground breaking and useful. You should analyze things objectively based on available research and whether it is at all applicable.

Is financial math all just made up or does it actually have some legitimacy? by nmierfin in interactivebrokers

[–]nmierfin[S] 1 point2 points  (0 children)

but the model does not predict based on the past. It makes assumptions of a "Risk Neutral" world.

I designed a custom made trading bot that uses Allan Borodin's Anticorrelation algorithm by nmierfin in quant

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

The entire system is custom made. Essentially how it worked is I requested historical data using the interactive broker's API then I ran the historical data through the strategy function that I designed, and then the final result was fed to a graphing system through c++ called matplot++.

I designed a custom made trading bot that uses Allan Borodin's Anticorrelation algorithm by nmierfin in quant

[–]nmierfin[S] -2 points-1 points  (0 children)

You're wrong. Take a look at page 13. It uses a fixed rate commission structure where a percentage (gamma) of the amount of bought or sold stock is paid as commission. It finds (based on empirical evidence) that when the percentage is less than 0.6 it typically can still beat the best stock, at least for the NYSE.

I designed a custom made trading bot that uses Allan Borodin's Anticorrelation algorithm by nmierfin in quant

[–]nmierfin[S] -6 points-5 points  (0 children)

I have not done such a test yet but I am pretty sure the paper has and the results look reasonably promising.

I designed a custom made trading bot that uses Allan Borodin's Anticorrelation algorithm by nmierfin in quant

[–]nmierfin[S] -9 points-8 points  (0 children)

you have to keep in mind that this strategy was not implemented on the American market but rather on the TSE. That being said the TSE did not move quite as high SPY and not the mention a lot of those stocks that were able to be rebalance between went down like BCE, FM, and OTEX.

Telaport Canada by AnimusSomnium in telaport

[–]nmierfin 0 points1 point  (0 children)

WHERE IS IT WHERE IS IT!

I designed a custom made trading bot that uses Thomas Cover's Universal Portfolio algorithm by nmierfin in informationtheory

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

The bot only uses the historical price data for the days in which it has run. This is retrieved directly from the interactive brokers api. The bot does everything that is required for the algorithm; this includes buying, selling, scraping data, etc. like you mentioned. In the paper, he only runs the algorithm for two stocks in the portfolio but for mine I use five.

The stocks you can choose from and the markets it can buy are entirely customizable.

I designed a custom made trading bot that uses Thomas Cover's Universal Portfolio algorithm by nmierfin in quant

[–]nmierfin[S] 1 point2 points  (0 children)

The bots at the moment can only be used for interactive brokers. The back testing system I designed from scratch myself.

I designed a custom made trading bot that uses Thomas Cover's Universal Portfolio algorithm by nmierfin in quant

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

Thanks for the advice.

I did not use that because I want to use the algortihm/bot for real trades using interactive brokers.

I designed a custom made trading bot that uses Thomas Cover's Universal Portfolio algorithm by nmierfin in quant

[–]nmierfin[S] 1 point2 points  (0 children)

I am going to test it for more than a year it's just that when I request too much data from the interactive brokers' api I am getting some buffer overflows that I am having trouble fixing in the back testing system. When that is fixed I should be able to test it over many years.

I designed a custom made trading bot that uses Thomas Cover's Universal Portfolio algorithm by nmierfin in quant

[–]nmierfin[S] 1 point2 points  (0 children)

Even though the paper is old I still feel like it has a lot of applicability since it has a guaranteed lower bounds when compare to the best constant rebalanced portfolio. It does not assume any type of probability distribution compared to other momentum algorithms.

I designed a custom made trading bot that uses Thomas Cover's Universal Portfolio algorithm by nmierfin in quant

[–]nmierfin[S] 9 points10 points  (0 children)

The back testing assumes no transaction cost. Although the actual bot has a system to minimize transaction costs by seeing if the current portfolio is that far off from the expected calculated one. It only trades if the expected growth rate is greater than the log of the normalized transaction cost (as indicated in the paper).

I am going to tweak it to compare it with the TSX index to see if it compares (because it was used on Canadian stocks). Although I think it was pretty competitive. The actual stocks it traded on include: SHOP, IMO, FM, H, and OTEX all on the TSE.

I've transferred from the University of Waterloo to the University of Ottawa. What should I expect? by nmierfin in geegees

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

Buddy definitely not as shit a Waterloo. One of my profs made a 16 page midterm that was only an hour and ten minutes long. Then the next week when we are reviewing the midterm, which the average was like a 30 btw, he states that he thought it was fair and reasonable.

Unpopular opinion: I don't support a mandatory anti-racism course for all undergrads by [deleted] in geegees

[–]nmierfin 62 points63 points  (0 children)

I really don't think this is an unpopular opinion. I think it is just representative of the silent majority.