[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/sci/ - Science & Math

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • Additional supported file types are: PDF
  • Use with [math] tags for inline and [eqn] tags for block equations.
  • Right-click equations to view the source.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1615573010613.jpg (157 KB, 382x508)
157 KB
157 KB JPG
How do I learn enough CS and math to be able to code a profitable trading bot?
>>
>>16826061
You're not going to need a lot of math and CS. What makes a trading bot profitable is mostly its trading strategy. Read up on technical analysis (might require basic statistics), experiment a lot, and test against historical market data.
>>
>>16826061
not much
data is the real issue
>>
>>16826061
Code aside, how do you actually do a trade? When you use an app or computer program, you are just relying an order to a brokerage house, i used to go in person to talk to a broker, today you dont see that because its seen as expensive and cutting on the commissions.
I just dont know how ultra fast trading is done, like these people that time signals by the nanosecond. The orders ultimately have to go to the stock exchange computer and i imagine they dont give free access to anyone, only to their licensed people that input orders from brokers or their software.
>>
>>16826280
>internets, how do the work?
JHFC.
>>
This reminds me of when I was the MC of a music stage at a street festival. All day long I had black men who looked on the verge of homelessness asking me questions about the music business, how they could rent a stage, meet distributors, and shit like that. All of them fancied themselves as producers. They all had CDs of their shitty bands someone had burnt for them. They were sure they just needed a couple of pieces of information like how to rent a stage for their band in order to be a mega wealthy producer.
>>
>>16826287
internet is just a bunch of computers as hard drives requesting and sending information to each other. What does that have to do with trading at nanosecond scale?
When i had a broker i would visit her in person, it was a nice experience with a table, coffee being offered, different products for sale being explained. I figure an email would be faster, or an app, or just straight order into the trader's terminal since she wasnt doing more than sales and punching in the orders.
For common brokerage houses, what i heard is that they dont actually buy or sell stocks when you do the orders in an app. Its all fractional banking. They have an internal database with allotted ownership of stocks from their clients, and when you buy a stock it just changes your numbers in their computer, the actual stock exchange doesnt know, but i dunno if its always like that.
>>
>>16826339
>i dunno if its always like that
Yes, most trades are noted in the margins and then the banks rebalance the sheets at the end. If a broker holds 1000 shares of XYZ and only 200 shares were traded by the broker's clients then the bank rebalances shares, taking profits when they can. If they need to go outside to balance, they want to be faster than anyone else. Nanoseconds matter.
They use the Internet for that. So actually knowing what the Internet is helps them win.
You won't be able to do that. You didn't even understand the movie.
>>
>>16826061
>profitable
none
>outperforming
for you, impossible
>>
>make a short/long
>spam fudd/good news to manipulate Trump in on direction of another
>>
>>16826061
The market is highly-manipulated. I honestly think it's better to join the youtuber/streamer lottery.
>>
>>16826061
I applied stochastic control theory to portfolio allocation and test it on various crypro markets simultaneously and online. It achieved good results but I never tested with real money.
To create a full trade bot from scatch without relying on external indicators is hard without studying economics or some engineering that's about modelling and optimization.
you need:
>infinite dimensional optimization
>calculus of variations
>stochastic programming
>time series analysis and online filtering
literature is deep as you go and one should take into account price jumps, transaction costs and bid ask spread exc. Now I'm currently working on estimating probability distributions online from data from master equation.
>>
>>16826293
yo how do you get those big letters to show up when you post on chan
also those things that look like letters but not letters
>>
>>16826481
I didnt see any movie about this, but i have heard about nanosecod trading for years because its mentioned everywhere. I would like to know what exactly it entails, first, how does the electronic stock exchange work. Back when it was paper it was just a big market where brokers would sell and buy, i dont know what rules for transparency they had, if they had some board with "current official price" or if people just freely wrangled for deals. Like in a bazaar, where you can get the same product at different prices if you actually walk and ask in different stalls.
>>
>>16826694
Markets are collections of offers. You have the right idea with your old school trading floor. The market is literally people screaming shit like "Buying XYZ at 30!" or "Selling ABC at 32!". People literally are screaming and trying to be the first when they hear someone say something like "Selling XYZ at 28!" because they're about to make $2 if they can first.
If they can be first.
Literally the same today, but they use the Internet and nanoseconds and points.
>>
>>16826701
well you needed a permit to be in that exchange floor, and if you wanted to buy or sell you went through the brokers that had these permits. I want to know the modern equivalent.
If nanoseconds matter, then it has to be a fully automated process with rules set by the brokers, it cant just be electronic communication that has to be read by a human like in an email.
For instance, are all orders broadcast to all broker terminals? Who can input orders?
>>
>>16826705
So you came heee to find out.
When they investigate mass fatality events they always find a cascading series of minor failures, never a single event.
Your story is going to be amazing.
Please start at the very beginning of your journey that brought you to this moment.
>>
>>16826705
Trading is just like driving. Some roads/markets are private and have their own unique rules and some are public and anyone can drive/trade with a minimal set of credentials.
The fastest driver will win the race, but only if they pay for gas.
What kind of car are you driving these days?
>>
File: NanoTradesGuy.jpg (50 KB, 600x338)
50 KB
50 KB JPG
>>16826694
>I didnt see any movie
Oh, you should. For science.
Biology. Anatomy. Physiology. Elective Surgery.
Still science.
>>
>>16826694
If you have to ask instead of being able to find out for yourself how HFT works you're never ever ever gonna make it to a trading job.
>>
>>16826694
>if they had some board with "current official price" or if people just freely wrangled for deals
If you don't already understand this, you flat out shouldn't be asking the questions you're asking and shouldn't even be thinking about making trading bots. You're experience and understanding is so low you're almost certain to let yourself get led astray and fleeced dry by people who have way more resources, better tools and professional knowledge than you.

Absolutely learn more, try your hand at investing/trading to put your money in markets/assets and profit from that, especially things you're familiar with and personally know about, but don't try to pretend to LARP as a technical guru who'll find some way to beat out the other traders looking for edges over each other. Don't be a dumbass who lets himself be played as a fool.

The very smartest people in the work struggle to find ways of consistently outmatching the market. Nothing works for long because people always find counter strategies.
>>
>>16826718
talk about a public stock exchange like NYSE
>>
>>16826760
>If you have to ask instead of being able to find out for yourself how HFT
You find out by asking. Im not asking abut HFT per se, but electronic in general trading. The fact that someone does an electronic operation faster using lasers is trivial
>>
>>16826781
>If you don't already understand this, you flat out shouldn't be asking the questions you're asking and shouldn't even be thinking about making trading bots.
Im not the OP, and people who dont know things are the ones that should be asking. I could ask all of this from Chatgpt, i ask here for entertainment. Its always a disappointment, you never get answers but mockery for not knowing something or get to ask somewhere else. A literal forum of telling people not to ask about X in a thread about X
>>
>>16826781
Then how do bitcoin billionaires exist?
You are so lost in the sauce bro.
>>
>>16826836
I am. Just like the roads and the Internet, you need credentials and have to follow local protocols and regulations.
You really want NYSE and not DeFi or Commodities? Lots of money to be made swapping 5oybean contracts right now if you know who's buying.
And I know who's buying. You will flip when you see it.
AMA
>>
Im not the OP, im just asking about the mechanics of electronic stock trading.
One of the things i found out is that all shares are owned by a corporation called CEDE &Co, that legally owns all stocks in the US. CEDE then grants rights to brokers, common people that have accounts just have private records with the brokerage houses.
This is all done with legal rights, so only a few people can interact with these depositories, or realistically authorize programs to run.
Because of that it intrigues me how external agents can get faster speeds when the communication channels are all controlled. Its like having the fastest car in the train station.
>>
>>16826839
Bid, Ask, Call, Put, and Look-It-Up-Moran are all active verbs, Anon.
>>
>>16826846
Sort of.
You are right that if you log in to TDAmeriTrade or GlobalHomoSwaps and buy a stick you don't actually buy a stock. You buy a tick mark in you broker's local ledger.
What else?
>>
>>16826848
Thats the empty snark i expect from 4chins. Leave the thread if you have nothing but hate to share
>>
>>16826842
Bigger Sucker Pyramid Scheme.
See "Bag Holders".
And note that no one realizes those gains. They can't. If they sell, the market crashes.
They're living off loans backed by current crypto holdings, hoping they die before anything is ever due.
>>
>>16826850
What else, the rest of the chain all the way to CEDE. And you can add how this HFT thing works in this context
I KNOW ITS LASERS I KNOW THE SPEED OF LIGHT
>>
>>16826852
I'm literally the only person in this room.
>>
>>16826856
Owner of Record is an issue with all stock, right?
Do you understand NFTs? It will help a lot if you do.
>>
>>16826839
>i ask for entertainment
"Are you not entertained?", staring Russell Crowe.png
>>
>>16826860
no, so you have to explain that. I only knew NFT as some kind of crypto asset, no clue about whats under the hood but go ahead
>>
>>16826906
OK, NFT's are just crypto's version of Owner of Record. If you understood NFT's we could save time.
But the original issue is, if we have a symbolic representation of fractional ownership of an asset, we need a way to determine who owns how much of what at any given moment. Companies need to know who owns then to pay them their quarterly profits. Governments need to know who to tax for dividends or gains.
This register can be decentralized like for NFT's, or it can be a company/bank/government sponsored central registrar.
With me so far? Any questions?
>>
>>16826912
I dont follow you on decentralized registries. I mean, different records can be kept in different places, duplicate or not. Its very abstract without talking about something specific like real estate records
>>
>>16826913
Banks are Centralized Registries.
Governments are Centralized Registries.
Blockchaind are Decentralized Registries unless they are not.
How comfortable are you with the entire Blockchain concept in general? If I refer to asynchronous synchronization or cubical degleaning, do you follow?
It all about who Trusts the Trustees, but also the Trusters, because it's all cryptomaths which is verifiable.
>>
>>16826933
Is any of this related to how stock trading works?
My understanding of crypto is flimsy. Imperfect, better explain the whole thing if it matters for the actual mechanism of stock trading.
>>
>>16826941
So the banks/brokers/govt set up this central registrar. Could be a database in the Blockchain but it's not. Losers.
Do terms like "trading-day", "after-hours", "off-the-books", "synthetic-share", or "virtual-chimera" mean anything to you? We really need to establish some common language here. I can't really tell you to defib the fiber reactor, can I?
>>
>>16826962
>>16826962
I studied mathematics and i know what an excel file is and studied accounting as a class in high school, just saying i can follow you on what a database is with names and assets is, anything more complicated you have to break it down.
I may or not know some of these terms. I never understood what fater hours meant, how do you trade after hours, it was ages ago.
Go easy on the buzzwords ok? A lot of these are rebundled common ideas presented as innovations, then you spend half an hour learning how to translate



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.