Open NikhilPeri opened 6 years ago
First post
You can also edit other comments on github issues Dont do this, play nice
- Nik
UPDATE 2018-01-26 20:58:26 My internet is shit trading will be delayed by 15 min
WE ARE LIVE! any issues now should be real
buying stocks still throws a 500 for me
^ looking into this, my internet is spotty so I will see if I can recreate it
Not a CORS problem, it was server side...fix just went out and 🎩 'd it we should be rolling
@NikhilPeri Unrelated to selling, I'd like if you added CORS headers so I can call the API from the browser.
The API is bugged: it does not show the actual value of remaining cash when you call /api/account
, instead it always shows 10000000.
Our account was reset, and all our holdings deleted. ????
^ same
Can we get an api for only current amount and historical as a separate thing?
our holdings keep disappearing
THERE WAS A MAJOR BUG IN STORING TRANSACTIONS...mostly cause by me not storing them, lol I have reset all account holdings and cash. and fixed the bug
@NikhilPeri are you ranking the performance on cash value right now?
No it is ranked by total_value = holding + cash value
There is a non conformance to the docs for one of the API call results. 'historical_prices' is actually returned as 'historical_price'.
whats going on with the standings lol
is the historical price at index 0 the most recent or oldest
Im getting a 404 error trying to buy
deploying the following fixes:
The historical price is index 0 is oldest
It's down right now too, can't access the main page to see the graph or anything.
can everyone add time outs between price calls...I have 2 webservers and I dont want to add a third
90 stocks * 14 teams, checking prices every minute. Please Add a third webserver
edit: hotel wifi is making this hard enough already -- just bought another 1gb of data ecksdee
you cost me so much money... added a 3rd the down time was because of this
also to be fair i am currently using the shittiest servers heroku offers
What were the deleted comments about 🤔
Get uOttawa to reimburse ;^)
Do historical prices always include the current tick?
unless there is a weird race condition it should
the home view was kinda fucked...I think i fixed it 🤷♂️
not investing everything I had into JOE - worst mistake of my life
It would be nice if this hotel had good internet....
is it me or is the market not updating
it just updated, but it's definitely slow
Sorry I had to pause the simulation to scale up the sidekiq workers....but my wifi craped out so i couldnt restart it
done now! and added some more stocks TOTAL COUNT IS 160
Do all stocks always fluctuate every tick? Or can they remain static?
they haven't changed in like 10 minutes
at least my portfolio hasnt
I need to talk to my accountant about that
It takes me 5 minutes to query the price of all stocks, can you add an endpoint that allows us to simultaneously retrieve all stock prices? This reduces the load on both our ends
Well I don’t know if that’s on purpose or because of the internet problems, I’d like confirmation
I'm ticking on multiple threads and every 5-6 seconds it'll hang for 15 seconds then go back at it again
Maybe you should not query the whole dataset every-time and make some smart decisions
This is "big data" problem, more data = more money
it takes like 10 seconds to query with this internet and we cant just watch like 3 stocks
right now I am runnning 28 requests per second and response time is about 2 sec per request I AM WORKING ON A PR TO THROTTLE PEOPLE MAKING LOTS OF REQUESTS this falls under the ddos rule so I suggest you re-think what data you "need" or prepare to see a slow down
Stocks have different lengths of historical price arrays - for example, YIR has 135 elements and WHT has 142.
also no one said yo have to run this on you laptop....there were points for designing a system which can actually be deployed
☁️
I brought an 8-core (x2 for hyperthreading) desktop
@arilotter stocks can be added an removed from the exchange depending on price, you code should be reseliant to this
A Hacky chat solution for oec 2018