Prepare Your Data for Optimove- Forex

Required Data Tables

The following data tables describe the content, format, and labels of the required data.

  1. Customers – Each row describes the attributes of a single customer
  2. Assets – Assets IDs and their associated textual names and category
  3. Positions – Each row describes a single position
  4. Transactions – Each row describes a financial transaction

Important*:* All monetary figures must be converted into a single consistent currency.

Customers

KeyFieldData TypeDescription
PKCustomer_ID**string/intUnique customer identifier
Registration_Date**dateDate the customer registered
Email*stringMandatory when using Optimail or if required by external ESP
Mobile_Number*stringMandatory if required by external service provider
Date_Of_BirthdateCustomer’s date of birth
Is_OptInstringDetermines whether it is acceptable to send promotional messages to the specified player. Should hold the values 'Yes' or 'No'.
Allow_Email*stringDetermines whether sending promotional Email messages to the specified email address is acceptable. Should hold the values 'Yes' or 'No'.
Allow_SMS*stringDetermines whether sending promotional SMS messages to the specified mobile address is acceptable. Should hold the values 'Yes' or 'No'.
Allow_Push*stringDetermines whether sending promotional Push messages to the specified mobile number is acceptable. Should hold the values 'Yes' or 'No'.
Is_Email_VerifiedstringDetermines whether the email address is verified. Should hold the values 'Yes' or 'No'.
Is_SMS_VerifiedstringDetermines whether the mobile number is verified. Should hold the values 'Yes' or 'No'.
Is_Blockedstring'No’ = regular customer; 'Yes’ = blocked customer (e.g. fraud)
Is_Teststring'No’ = regular customer; 'Yes’ = test customer
GenderstringCustomer’s gender. Must hold values ‘Male’, ‘Female’, ‘Unknown’
CountrystringCustomer’s country
CitystringCustomer’s city
AddressstringCustomer’s address
First_NamestringCustomer’s first name
Last_NamestringCustomer’s last name
LanguagestringCustomer’s language
BalanceDecimal/intThe monetary value of a customer’s current balance
Brand_NamestringWhen multiple brand platforms exist
AliasstringUser name
CurrencystringCustomer’s currency
Referral_TypestringThe method by which the player was referred to your site (e.g., SEO, Affiliate, Advertising, Marketing, etc.).
Affiliate_IDstringAffiliate identifier or name
Registered_PlatformstringThe platform the customer had registered with (e.g. Web, Android App, iOS App, etc.)
Last_Login_DatedateThe date of the customer’s last login to the website
Allow_WhatsappstringDetermines whether sending promotional WhatsApp messages to the specified mobile number is acceptable. Should hold the values 'Yes' or 'No'.
LastUpdateddateDate when the record was last modified or added (Mandatory in case of DB to DB connection)
Is_Optin_Email_Time_Stamp*TimestampDetermines when it is acceptable to send promotional Email messages to the specified email address in case of approval

Notes:

  • Please include any additional information that you find helpful
  • IsOptinEmailTimeStamp* - In case Optimove will manage the “unsubscribe” for the Opti-Mail integration please include an additional column to describe when the customer opts in \ out, in order to allow perfect sync with the daily batch.

*=Mandatory if required for the execution channel integration

**=Always mandatory

Assets

KeyFieldData TypeDescription
PKAsset_ID**stringUnique asset identifier
Asset_NamestringAsset name (e.g. USD/EUR, Gold, Apple)
Asset_CategorystringAsset category (e.g. Currencies, Indices, Commodities, etc.)
Update_AtdateDate when the record was last modified or added (including status changes)

Note: Please include any additional information that you find helpful.

** Always Mandatory

Positions

KeyFieldData TypeDescription
PKPosition_ID**stringUnique position identifier
Customer_ID**stringUnique customer identifier
Investment_Amount**decimalThe amount invested in the position by the customer
FKAsset_IDstringUnique asset identifier
Position_Open_Date**datePosition open time
Position_Close_DatedatePosition close time
LeveragedecimalCustomer Leverage. Shouldn’t be negative.
Customer_ProfitdecimalThe amount won (Positive) amount lost (negative)
Net_RevenuedecimalCustomer net revenue
Position_StatusstringIndication of position status (e.g. Open, Closed,)
PlatformstringThe platform used to open the position. Should hold ‘Web’, ‘Mobile’, other Forex possible platforms.

Note: Please include any additional information that you find helpful.

** Always Mandatory

Transactions

KeyFieldData TypeDescription
PKTransaction_ID**string/intUnique transaction identifier
FKCustomer_ID**stringUnique customer identifier
Transaction_Date**dateTransaction date
Transaction_TimestamptimestampTransaction Timestamp
Transaction_Type**stringTransaction type. Should hold values 'DEPOSIT', 'WITHDRAWAL', or 'BONUS'
Transaction_Amount**decimalMonetary value of the transaction.
PlatformstringPlatform from which the transaction is made (e.g. Web, Mobile, Download)
Status**stringTransaction status (e.g. Approved, Rejected, Pending). Must have status ‘Approved’ for approved transactions.
Last_UpdatedDateDate when the record was last modified or added (Mandatory in case of DB to DB connection)

Note:

  • Any other transaction dimension available can be added if needed.

**=Always mandatory

Database Schema