You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user is first created, they should have a balance gifted to them by the administrator. Perform risk checks for every trade and make sure user has enough money in their wallet.
The text was updated successfully, but these errors were encountered:
Totally! Here's some I thought of for a server like this that will eventually be public facing. They prevent DDOS attacks and out of memory crashes. There are other types of risk factors involving margin, options, total market activity but that is not on the roadmap yet.
How many trades a user has open. Is the user trading too much? (too many trades open = server runs out of memory)
How big is a trade relative to other trades in the market (a huge trade means a long time to fill it. potential DDOS attack)
How many trades are live across all users? (Should rate limit trades when too many trades open to prevent server crashing)
It may be hard to implement these features without user accounts.
When a user is first created, they should have a balance gifted to them by the administrator. Perform risk checks for every trade and make sure user has enough money in their wallet.
The text was updated successfully, but these errors were encountered: