Skip to content
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

Piping Get-CoinbaseProducts to Get-CoinbaseProductTicker #4

Open
jasonpearce opened this issue Jan 11, 2019 · 0 comments
Open

Piping Get-CoinbaseProducts to Get-CoinbaseProductTicker #4

jasonpearce opened this issue Jan 11, 2019 · 0 comments

Comments

@jasonpearce
Copy link

I'd like to be able to pipe values to Get-CoinbaseProductTicker. Assuming that Get-CoinbaseProductTicker will eventually report pricing for all trading pairs, I'd like to pipe IDs to it. I'd like for the following examples to work.

Get-CoinbaseProducts | Get-CoinbaseProductTicker
Get-CoinbaseProducts | Get-CoinbaseProductTicker -ProdcutID $_.ID

$Products = Get-CoinbaseProducts | Where-Object {$_.ID -like "BTC-*"}
$Products.ID =Get-CoinbaseProductTicker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants