Conversation
Added CandleRepository and BatchRepository
1. Downloader and API now work within one solution 2. Added dataList to DownloadingResult 3. Added static method for Downloader 4. Added GUI for adding download tasks (available at localhost:5000/addjob.html ) ISSUES - Downloader stops accepting tasks after one error (like broken link).
Rider вдруг начал выдавать ошибку. Других решений не придумал, кроме как добавить этот несчастный main() или запускать без Repository
You will have to "dotnet ef database update". In case of error, drop all tables and do repeat. Also moved DbInitializer into App Context. Changed /api/v0/quotes behaviour a little
1. Added jsonb types when adequate. 2. Namespace -> NeuroTradeAPI.Entities. 3. Added SQL script for DB creation if 'dotnet ef database update' doesn't work for you.
Other filters will be ready soon
Also fixed some DB rules in sql script. This can't be done by EF.
1. Теперь при загрузке свеч, которые уже имеются, они добавляются в БД только если описывают интервалы меньше, чем имеющиеся. 2. Во всяких выводах данные больше не перемешаны - сортируются. 3. Инициализатор вызывается как Task.Wait, потому что начал через раз вызывать ошибку) 4. В Candle.toDict: "per" может быть не доступен, если родительский Batch не кешируется в DbSet.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Пожалуйста, попробуйте запустить у себя, укажите ошибки и исправьте, если можете.