< Back

Get-Markets

Sun Jan 12, 2020 3:55 pm

NAME Get-Markets



SYNOPSIS

Get the markets currently active on Bittrex. Optionally return inactive markets.





SYNTAX

Get-Markets [[-IncludeInactive] <String>] [<CommonParameters>]





DESCRIPTION

/public/getmarkets

Used to get the open and available trading markets at Bittrex along with other meta data.



Parameters

None





PARAMETERS

-IncludeInactive <String>

Inclucde Inactive Markets



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$markets = Get-Markets



$markets | Where-Object { $_.MarketName.StartsWith("BTC") } | Select-Object -Property MarketName

MarketName

----------

BTC-LTC

BTC-DOGE

BTC-VTC

BTC-PPC

BTC-FTC

BTC-RDD

BTC-NXT

BTC-DASH

BTC-POT

BTC-BLK

BTC-EMC2

BTC-XMY

BTC-AUR

BTC-EFL

...









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>$markets = Get-Markets | Where-Object { $_.MarketName.Contains("EMC") }



$markets





MarketCurrency : EMC2

BaseCurrency : BTC

MarketCurrencyLong : Einsteinium

BaseCurrencyLong : Bitcoin

MinTradeSize : 16.44736842

MarketName : BTC-EMC2

IsActive : True

Created : 2014-12-24T00:00:00

Notice :

IsSponsored :

LogoUrl :

https://bittrexblobstorage.blob.core.wi ... 7bd166.png



MarketCurrency : EMC

BaseCurrency : BTC

MarketCurrencyLong : EmerCoin

BaseCurrencyLong : Bitcoin

MinTradeSize : 2.65392781

MarketName : BTC-EMC

IsActive : True

Created : 2016-01-06T05:28:04.553

Notice :

IsSponsored :

LogoUrl :

https://bittrexblobstorage.blob.core.wi ... 5e3f36.png











RELATED LINKS