go_httpx #2
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "go_httpx"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Drop
asksand port tohttpxsince the former is basically abandoned and doesn’t work alongside other up to date libs on py 3.12This patch set includes ports for almost all backends that are actively used (except explicitly
deribitwhich is coming in a follow up PR from @ntorres 😎):Also included are some minor binance fixes:
NoDataon null-history conditions.SpotPairfields (since they’re like always breaking) and add an explicitException.add_note()to indicate to the user how such schema-breaks can be repaired when thebinancedata-engs change things the next time XD@ntorres Ok so i merged in your fixes to the symbology spec and got everything up and working with
httpx.AsyncClientfor the binance client B)Just pinging you so you can see my approach to the port.
About time we tidy'd a buncha status logging in this backend.. particularly for boot-up where there's lots of client-try-connect poll looping with account detection from the user config. `.api.Client` pprint and logging fmt improvements: - add `Client.__repr__()` which shows the minimally useful set of info from the underlying `.ib: IB` as well as a new `.acnts: list[str]` of the account aliases defined in the user's `brokers.toml`. - mk `.bars()` define a comprehensive `query_info: str` with all the request deats but only display if there's a problem with the response data. - mk `.get_config()` report both the config file path and the acnt aliases (NOT the actual account #s). - move all `.load_aio_clients()` client poll loop requests do `log.runtime()` statuses, only falling through to a `.warning()` when the loop fails to connect the client to the spec-ed API-gw addr, and |_ don't allow loading accounts for which the user has not defined an alias in `brokers.toml::[ib]`; raise a value-error in such cases with a message indicating how to mod the config. |_ only `log.info()` about acnts if some were loaded.. Other mod logging de-noising: - better status fmting in `.symbols.open_symbol_search()` with `repr(Client)`. - for `.feed.stream_quotes()` first quote reporting use `.runtime()`.go_httpxto go_httpxb577180773to4025fd244a4025fd244atob064ded813b064ded813to844544ed8e