Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type AccessKey = ByteString Source #
type SecretKey = ByteString Source #
type Passphrase = ByteString Source #
type Method = ByteString Source #
class HasGdax c where Source #
gdaxAccessKey :: Lens' c AccessKey Source #
gdaxNetworkManager :: Lens' c Manager Source #
gdaxPassphrase :: Lens' c Passphrase Source #
gdaxRestEndpoint :: Lens' c Endpoint Source #
gdaxSecretKey :: Lens' c SecretKey Source #
class HasNetworkManager a where Source #
networkManager :: Lens' a Manager Source #
class HasRestEndpoint a where Source #
restEndpoint :: Lens' a Endpoint Source #
class HasSocketEndpoint a where Source #
socketEndpoint :: Lens' a Endpoint Source #
class HasAccessKey a where Source #
class HasSecretKey a where Source #
class HasPassphrase a where Source #
passphrase :: Lens' a Passphrase Source #
mkLiveGdax :: MonadIO m => AccessKey -> SecretKey -> Passphrase -> m Gdax Source #
mkSandboxGdax :: MonadIO m => AccessKey -> SecretKey -> Passphrase -> m Gdax Source #
mkLiveUnsignedGdax :: MonadIO m => m Gdax Source #
mkSandboxUnsignedGdax :: MonadIO m => m Gdax Source #
gdaxGetWith :: (MonadIO m, MonadThrow m, FromJSON b) => Gdax -> Path -> Options -> m b Source #
gdaxSignedGet :: (MonadIO m, MonadThrow m, FromJSON b) => Gdax -> Path -> m b Source #
gdaxSignedPost :: (MonadIO m, MonadThrow m, ToJSON a, FromJSON b) => Gdax -> Path -> a -> m b Source #