@quantgate-systems/accounts
v0.2.9
Published
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Downloads
10
Readme
Note: 10,499,785 live websites use react
Installation
npm i --save @quantgate-systems/accounts
or if you are using yarn,
yarn add @quantgate-systems/accounts
Usage
Use Accounts package to create a user on Pilot application and pass your credentials with the optional brokerName to add a broker to your account
create-react-app
import Accounts from "@quantgate-systems/accounts";
return (
<Accounts
credentials={{
UserName: "your user name",
Password: "your password",
}}
brokerName={"ib" || "signals" || "paper" || "amp" || "dorman" || "fx_paper" ||
"gff" || "phillip" || "rjobrien" || "tradestation" || "wedbush" || "alt5_paper" ||
"binance_paper" || "bitfinex_paper" || "bitstamp_paper" || "bittrex_paper" ||
"coinbase_paper" || "gemini_paper" || "huobi_paper" || "kraken_paper" || "liquid_paper"}
/>
);
next.js
import dynamic from "next/dynamic";
const Accounts = dynamic(() => import("@quantgate-systems/accounts"));
return (
<Accounts
credentials={{
UserName: "your user name",
Password: "your password",
}}
brokerName={"ib" || "signals" || "paper" || "amp" || "dorman" || "fx_paper" ||
"gff" || "phillip" || "rjobrien" || "tradestation" || "wedbush" || "alt5_paper" ||
"binance_paper" || "bitfinex_paper" || "bitstamp_paper" || "bittrex_paper" ||
"coinbase_paper" || "gemini_paper" || "huobi_paper" || "kraken_paper" || "liquid_paper"}
/>
);