Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.GDAX.Core
Documentation
type AccessKey = ByteString Source #
type SecretKey = ByteString Source #
type Passphrase = ByteString Source #
type Method = ByteString Source #
class HasGdax c where Source #
Minimal complete definition
Methods
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 #
Minimal complete definition
Methods
networkManager :: Lens' a Manager Source #
Instances
class HasRestEndpoint a where Source #
Minimal complete definition
Methods
restEndpoint :: Lens' a Endpoint Source #
Instances
class HasSocketEndpoint a where Source #
Minimal complete definition
Methods
socketEndpoint :: Lens' a Endpoint Source #
Instances
class HasPassphrase a where Source #
Minimal complete definition
Methods
passphrase :: Lens' a Passphrase Source #
Instances
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 -> Params -> m b Source #
gdaxSignedPost :: (MonadIO m, MonadThrow m, ToJSON a, FromJSON b) => Gdax -> Path -> Params -> a -> m b Source #
gdaxSignedDelete :: (MonadIO m, MonadThrow m, FromJSON b) => Gdax -> Path -> Params -> m b Source #