Changelog for coinbase-pro-0.9.3.2
Version 0.9.3.2
- Upgraded to lts-20.4 (ghc 9.2.5)
Version 0.9.3.1
- Added test data to
extra-source-filesso thatcabal testcan be run straight from the hackage package
Version 0.9.3.0
Ordernow hasMaybe Boolinstead ofBoolforpostOnly. Required to maintain spec compliance. From https://docs.pro.coinbase.com/#upcoming-changes:
08/09/21
Orders with a "pending" status returned by the REST API endpoints GET /orders, GET /orders/<id>,
and GET /orders/client:<client_oid> will have a reduced set of fields. See the List Orders documentation
for more details. Orders with non-pending statuses will be unaffected by this change. The change will
take effect in Sandbox starting after August 12th, 2021 and in Production starting after August 19th, 2021.
- Added tests to test order parsing from json file
Version 0.9.2.2
- Added
CoinbasePro.Unauthenticated.singleProduct
Version 0.9.2.1
- Use
Runnerinstead ofClientM a -> IO awhere applicable - Added more documentation around
Runner - Added
runDefCbAuthTas a default for callingrunCbAuthTwithout passing in aRunner - Updated
src/example/request/Main.hsto reflectrunDefCbAuthTand a minor refactor
Version 0.9.2.0
Feature complete! (except FIX)
Additional Features
- Added support for the following endpoints:
- stablecoin conversions
- oracle
Version 0.9.1.0
- Minor refactors + linting.
Additional Features
- Added support for the following endpoints:
ProfilesReports
Version 0.9.0.0
- Upgraded to lts-17.4 (ghc 8.10.4)
- Added hie.yaml for use with haskell-language-server (hls)
- Removed
taker_fee_ratefromActivatewebsocket message - Added
max_withdrawal_amounttoCurrencyDetails - Changed
example/test-requesttoSandboxinstead ofProduction - Use
Network.HTTP.Types.encodePathSegmentswhen makingRequestPathin authenticated requests - Added
min_market_fundsandmax_market_fundstoProduct - Made several explicit
Showinstances - Added support for the following endpoints:
- account history
- account holds
- exchange limits
- deposits
- withdrawals
- list payment methods
- listing coinbase accounts
- list tranfers endpoint
Version 0.8.2.0
- Changed
portinWSConnectionback toPortNumberinstead ofInt
Version 0.8.1.0
- Upgraded to lts-16.7 (ghc 8.8.3)
- Changed
portinWSConnectiontoIntinstead ofPortNumber
Version 0.8.0.0
Breaking API changes:
-
Environmentconcept has been introduced. This allows the user to specify an endpoint (production, sandbox) in which to query or stream.run(and associated functions) now take anEnvironmentas the first parameter.runSandboxand associated functions have been removed.runWithManagernow has different parameter ordering. Signature isrunWithManager :: Manager -> Environment -> ClientM a -> IO arunCbAuthTnow takes aRunner a, whereRunner a = ClientM a -> IO a; allows users to specify an environment in which to run
-
placeOrdernow hasMaybe ClientOrderIdas the first parameter that allows users to assignclient_oidto submitted orders. Theclient_oidfield is visible on theFullchannel. -
CoinbasePro.WebSocketFeed.subscribeToFeedhas two additional parameters:EnvironmentMaybe CoinbaseProCredentials: allows users to authenticate on subscription. SeeUser
-
Moved
UserIdandProfileIdtoCoinbasePro.TypesfromCoinbasePro.WebSocketFeed.Channel.Full.Activate
Additional Features:
-
Added
Userchannel functionality that allows users to seeuser_idandprofile_idon messages that pertain to the subscriber. See documentation for more detailsuser_idandprofile_idfields are now parsed fromFullchannel messages if available.
-
CoinbasePro.Types.ClientOrderIdhas been introduced to specifyclient_oidinplaceOrderAPI request.client_oidis now parsed from `CoinbasePro.WebSocketFeed.Channel.Full.Received.
-
CoinbasePro.Authenticated.getOrderallows users to query status of order -
CoinbasePro.Authenticated.getClientOrderallows users to query status of order usingclient_oid
Misc
- minor cleanups of unused imports
Version 0.7.2.0
- Upgraded to stack lts-14.17
Version 0.7.1.0
- Fixed broken examples
Version 0.7.0.0
-
Unauthenticated requests are now all in the
ClientMmonad.CoinbasePro.Request.runis now required to operate in the IO monad.Example:
run (trades (ProductId "BTC-USD")) >>= print -
Added
run_,runSandbox,runSandboxWithManagerinCoinbasePro.Request -
Added
currencies,fees, andtrailingVolumequeries