-
-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time interval GetCandlesAsynch not working correct #502
Comments
Not the prettiest fix, but you could send us a PR which uses a |
Can you explane yourself a bit more? |
If Binance is the exchange you use, then send us an updated version of |
I was supposed to help you with potential problems in the open source code that you wrote. PS. Not only Binance uses Interval Letters |
We welcome code contributions / pull requests. Like you, we do this in our free time. We then share our results with the community for free. |
@Speed1972, #504 is an example of how to send us the fix if you don't know how to send a pull request. |
@vslee how would you like this isseu to be soulved if i do not know how to code but inderstand what must be changed? Just like the change #504 the secondes must be changed to interval letters. Just like in the code of HitBTC the code must look like: Exact the same way like in the HitBTC code (ExchangeHitbtcAPI.cs) the code must be inster into the binance code. How to do that? Maybe it is a cut/past for you? |
@CryptoP2345 Kline/Candlestick chart intervals: m -> minutes; h -> hours; d -> days; w -> weeks; M -> months
If you can update the code you pasted above with these new values, then I will handle the rest. |
Api interval now a days has interval letter added to the time interval string.
Example Binance:
intervalNum describes the amount of the interval. For example, intervalNum 5 with intervalLetter M means "Every 5 minutes".
The Defined GetCandleAsync (in ExchnageAPI) has only the period Seconds without the intervalletter.
GetCandlesAsync(string marketSymbol, int periodSeconds, DateTime? startDate = null, DateTime? endDate = null, int? limit = null);
The text was updated successfully, but these errors were encountered: