mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
* * Adds script link to GCT logger package * Adds ability to save data as csv via script * addr nits * go mod tidy * add glorious suggestion * rm unused function * fix linter issues * clean up some issues * Add in configuration fields to object for reflection to the csv file * RM line :D * address nits * update to check for target already being set and add more test coverage * force usage of .csv file extention && append date to client filename as to not overwrite file if collision occurs * fix whoopsie * linter issues * purge getter methods * Added glorious suggestion * go mod tidy after merge * niterinos
26 lines
525 B
Plaintext
26 lines
525 B
Plaintext
// import fmt package
|
|
fmt := import("fmt")
|
|
// import exchange package
|
|
exch := import("exchange")
|
|
|
|
|
|
load := func() {
|
|
// retrieve account information from exchange and store in info variable
|
|
// withdrawcrypto
|
|
// 1: Exchange name
|
|
// 2: currency
|
|
// 3: address
|
|
// 4: address tag
|
|
// 5: amount
|
|
// 6: fee amount
|
|
// 7: trade password
|
|
// 8: OTP
|
|
|
|
// submit request to withdraw funds
|
|
info := exch.withdrawfiat("BTC Markets", "AUD", "hello", 1, "-")
|
|
// print out info
|
|
fmt.println(info)
|
|
}
|
|
|
|
load()
|