@johnabs if its just a stubbed out API probably not much value there that I can extract just yet, but still feel free to share the link and I dont mind taking a quick look and see if anything stands out as worth looking at closer
@johnabs I could edit and pull out any code you have that might be of interest, that isnt a problem.
But I use Alpaca and Interactive brokers for my trades, polygon for my data.
It would be gaussian modulated though not strictly gaussian itself... basically just amplitude modulation of a sine wave carrier by a gaussian. Related to a pure gaussian but not the same.
That said, yea, you are probably right.
@icedquinn
@johnabs the core algorithm has already been wildly successful for me and been using it for months, but it lacks the elements we discussed here. Sadly the main algo is also top secret since it is just too valuable to let it get out in the wild right now. These are all enhancements im working on and i can at least discuss some aspects outside fo the core algorithm.
Right now im mostly just porting my algo to python for better automation as until now ive been using it to signal my trades but I make them manually, and already making far more money than anyone should be able to off the stock market.
@johnabs Here is a thesis someone did evaluating my algorithm on an earlier version of it (the final version had some significant improvements that came after this paper):
http://korykirk.com/thesis.pdf
As for the FT vs wavelets question there are a few considerations. for starters the FT approach is just a standin for a model i have in my head that I havent flushed out yet, so its unlikely to be the final iteration, but in this form it is still useful. There is also the fact that I have access to a wider range of libraries that handle FFT than I would for wavelets. Moreover, the FT stuff I'm doing right now isnt really as complex as the scenario you suggest.
Basically at the current moment I'm using FFT analysis as little more than a bandpass filter and improved moving average (really a low pass filter). In this way I can apply the FFT split the low-pass and high pass out, and then convert it back to time domain, the low-pass will show the actual trends with any "noise" and fluctuations removed, and the high pass are effectively just the noise isolated. The noise essentially represents the volatility and will integrate to approximately 0, so represents short term signals that should average out over time.
From there I know if im looking to trade on time scales on the order of a month then I set my cutoff appropriately and look at what sort of volatility is to be expected and therefore know that as long as the fluctiations are within the norm for noise there is no need to close my position. In other words I can set a trailing stop limit where the amount of the trail is equal to the maximum amplitude of the high-pass filter. That way i can be relatively certain that if a stock deviates by more than the peak volatility that it represents a mis-trend rather than normal noise that will recover and thus is an optimal set point for a trailing stop.
Obviously wavelets could do this in a more dynamic way (responding to suffen changes in volatility). Just not needed yet.
You could probably get away with a transient setup if you pass it over something like an oil-flow visualisation medium. The flow changes direction over each oblique shock, so there should be sharp corners in the traces. And that's likely safer anyway, because the observer doesn't have to get near the exhaust while it's moving at supersonic speeds, and the exhaust doesn't have to be hot enough to glow for visibility. Run the demo with everyone a safe distance away, then bring over the oil plate for everyone to see the streak pattern.
The problem is you only get diamonds in an overexpanded supersonic jet (i.e. lower pressure than ambient air), which means you need a good idea of what the properties of the high-pressure combustion products would be so you can design an appropriate nozzle to bring them down to below-ambient pressures. These combustion products are probably highly nonuniform and may even still be reacting as they pass through the nozzle, so the problem of nozzle design would be trickier than in steady flow.
@carlesjove@mastodont.cat I can probably answer that for you, though im not a leftist I do deal in cryptocurrencies and many lefties WRT cryptocurrency.
For starters most leftists arent communists and most have no desire to abolish money all together. There are some extreme leftists who think that but they arent the majority at all.
The reason they like the state to not be involved really tends to be two fold (though not entierly consistent with their ideology all the same).
1) Anonymity for their finances. Particularly for protecting people who may work under the table.
2) This is the more important one, they seem to feel the USA mismanages money in a way that causes it to become devalued, or at the very least unfair. Obviously if you have money and the government can print more for itself and devalue you what you have, your less likly to want to hold onto that money as a store of wealth. There is a real fear of the US dollar collapsing. Meanwhile by having an algorithmic and fair process determine how money is printed, and at such a slow rate that it effectively causes negative-inflation satisfies their concerns in that regard.
@freemo Hi there Freemo, if I may make a suggestion, I would recommend trying to incorporate wavelet analysis rather than Fourier analysis for this particular application, as the wavelet transform allows for some temporal specificity on signals that vary over time, while still allowing you to access the frequency data you need. It's incredibly useful, and you may even be able to use a matrix factorization approach with the resultant data to pull out key points of interest and recommend stocks based on the behaviors of other stocks, assuming you have the processing power and access to relevant data. Here is a link to a paper I recently read on the topic regarding this application in brain networks, as well as the Wikipedia page to wavelet transforms, and a video on the application to financial time series analysis. Feel free to ask any questions you may have and I'll try to respond soon :)
https://en.wikipedia.org/wiki/Wavelet_transform
@johnabs I've worked a lot with wavelets and generally speaking I dont disagree that stocks are better suited to wavlets than a fourier transform if we arent talking about specifics. But in truth both types of analysis have their place it just depends on what your doing and how you apply it.
FYI I wrote a wavelet based Machine Learning algorithm over a decade ago you may wish to check out (Genetic Wavelets Algorithm)
So that said, first thing to keep in mind is a fourier transform is also temporal in nature, just in a different way. Generally speaking when you do fourier analysis you use a sliding window with some type of overlap and a window function. In this way you dont have a single FT but rather a FT specific to each moment in time. So it very much becomes temporal.
The way it differs is that wavelet analysis allows you to work with different size "windows" (not the correct term but basically the idea as a wavelet has a limited bandwidth where it is high enough magnitude to have significance) at the same time across different frequencies without needing to compare windows in the way you would with FFT.
So with a FFT approach you can still say things like "this particular frequency was present and dominate in this time range here"
If you arent using a Cooley-tukey Fast fourier Transform to analyze your stock data can you really say you know how to buy/sell stocks? :)
Integrating fourier analysis into my Algorithmic Trading that I've been doing. I really should have done this much sooner.
@L29Ah As I understand it that would only work with a pulse engine, which can be supersonic but wont produce diamonds without tuning the pulse frequency, even then might not... not really sure if or how pulse engines could produce diamonds as it usually requires a constant exhaust velocity.
Generally to create a constant supersonic stream youd need a compressor feeding the reaction chamber. At sufficient pressures fuels that are not normally capable of detonation like gasoline (which typically only deflagerates) will engage in detonation. Though jet fuel would require less pressure.
So I think the easiest design would involve a fairly enriched fuel source on the order of jet fuel plus a pressurized combustion chamber.
@realcaseyrollins It is a perfectly reasonable perspective and price to pay... I just have no intention of making even small compromises. In fact I welcome any attempt to attack me someone might make as it gives me a free moral pass to destroy them and teach them a lesson so they wont go and do it to the next person.
doubtful, only high explosives by definition can produce a supersonic shockwave. Diamonds only occur for supersonic exhaust. The thing is any high explosive wouldn't be able to sustain a stream, it would destroy the engine and create, at best, a split second jet.
You would likely need to do it using jet engine principles, even if rudimentary in nature.
@realcaseyrollins Understandable, you probably would be considering your not an extreme liberal and dont try to hide it. Hell they will dox even moderate liberals these days.
I just have no fear of being doxxed or targeted. As a matter of principle I refuse to be scared of anyone. Let someone try it, they wont get far and I will utterly destroy them in the process.
@b10m I am, at the moment, at my philly home. Though I usually spend most of my time living out of the Netherlands.
@realcaseyrollins Fair, My address is pretty much public, has been most of my life. So never really a thought for me.
@realcaseyrollins You farther north than me maybe? Fresh snow is always nice for the camera if you can get it before all the humans ruin it :)
Jeffrey Phillips Freeman
Innovator & Entrepreneur in Machine Learning, Evolutionary Computing & Big Data. Avid SCUBA diver, Open-source developer, HAM radio operator, astrophotographer, and anything nerdy.
Born and raised in Philadelphia, PA, USA, currently living in Utrecht, Netherlands, USA, and Thailand. Was also living in Israel, but left.
Pronouns: Sir / Mister
(Above pronouns are not intended to mock, i will respect any persons pronouns and only wish pronouns to show respect be used with me as well. These are called neopronouns, see an example of the word "frog" used as a neopronoun here: http://tinyurl.com/44hhej89 )
A proud member of the Penobscot Native American tribe, as well as a Mayflower passenger descendant. I sometimes post about my genealogical history.
My stance on various issues:
Education: Free to PhD, tax paid
Abortion: Protected, tax paid, limited time-frame
Welfare: Yes, no one should starve
UBI: No, use welfare
Racism: is real
Guns: Shall not be infringed
LGBT+/minorities: Support
Pronouns: Will respect
Trump: Moron, evil
Biden: Senile, racist
Police: ACAB
Drugs: Fully legal, no prescriptions needed
GPG/PGP Fingerprint: 8B23 64CD 2403 6DCB 7531 01D0 052D DA8E 0506 CBCE