ValueRaider

Results 898 comments of ValueRaider

There's a real bug here, leave it open. Your hack doesn't fix the underlying problem, the first interval of day is wrong.

https://github.com/ranaroussi/yfinance/blob/7b95f554bd6019d64caceaf1809fc5af11737776/yfinance/base.py#L726

@ivan23kor Read the thread carefully, you are wrong.

No they want it aligned to HH:15. Yahoo returns this, but `yfinance` loses this when it resamples.

@ivan23kor You are presuming the data returned by Yahoo via the API matches the chart contents. Not necessarily, and not in this case. PLEASE review `base.py` and how it handles...

Problem 1: ask Yahoo for 30m data and response is aligned to HH:15, but the 15m->downsampled->30m is aligned to HH:00, so `yfinance` is not simply returning what Yahoo returns. Problem...

@AbhishekSRaut I'm not reviewing that code, it's awful. Pandas isn't difficult, do some tutorials, and Numpy tutorials too because I suspect you don't understand vector programming.

> if you can update the code from complex to simple code Impossible because this is fundamentally wrong way to fix bug. You could look inside `base.py` and see how...

> I suggest disabling `fix_Yahoo_returning_prepost_unrequested`for this particular case I think exchange-specific code bad idea, and better fix is moving resampling to after. I don't have strong opinion on hh:00 vs...

> if we follow hh:00 to hh:30, then technical levels will be wrong, and result in wrong trade. Good argument. @ivan23kor I must point out that Yahoo doing something isn't...