v2.0 added bitcoin average api support