piker icon indicating copy to clipboard operation
piker copied to clipboard

Brokercheck an all backends

Open guilledk opened this issue 3 years ago • 1 comments

Begin work on #387

Do a brokercheck without logging on all backends, we pull backends from piker.brokers.__brokers__, I added deribit while I was at it cause I forgot to when doing the backend PR.

Currently not passing cause binance doesn't have a trades_dialogue, or get_balance.

Also should we log to console more like when running brokercheck on cli? This would require log_cli flag to be set on pytest config.

guilledk avatar Aug 27 '22 13:08 guilledk

Currently not passing cause binance doesn't have a trades_dialogue, or get_balance.

Can we just maybe have a parameterization based on some kind of "supported" features log? I'm thinking we could check the backend subpackage module for an table that maybe denotes which features are supported and then we map those flags to a method set?

Also should we log to console more like when running brokercheck on cli? This would require log_cli flag to be set on pytest config.

Don't see why not, you can set it in the test module or a pytest.ini iirc.

goodboy avatar Aug 27 '22 19:08 goodboy

Replaced by warnings added in #489

goodboy avatar May 25 '23 19:05 goodboy